Agnes 2.5 Flash is a generally available language model upgraded from Agnes 2.0 Flash. It keeps the same OpenAI-compatible Chat Completions integration path while improving the experience for coding, agent workflows, tool calling, multi-turn conversations, reasoning, and image understanding.
Model
agnes-2.5-flashAPI Endpoints
Chat Completions:
Responses:
Messages:
POST /v1/chat/completionsResponses:
POST /v1/responsesMessages:
POST /v1/messagesRelease Status
Generally available to users with Agnes API access.
Upgrade Path
API-compatible upgrade from the deprecated
agnes-2.0-flash model.Overview
Agnes 2.5 Flash is designed as the next-step upgrade for developers already using Agnes 2.0 Flash. In most integrations, you only need to replace themodel value with agnes-2.5-flash; the Base URL, endpoint, headers, message format, streaming format, tool-calling format, and image URL input format remain the same.
The model focuses on a smoother developer experience, stronger instruction following, more stable multi-turn output, and improved code-specific capability for generation, debugging, refactoring, explanation, and agentic coding workflows.
Core Capabilities
Chat Completions
Generate high-quality responses for conversations, applications, and business systems.
Multi-turn Conversations
Maintain context consistency across continuous interactions.
Image URL Input
Accept visual content through publicly accessible image URLs.
Image Understanding
Analyze screenshots, describe images, answer visual questions, and extract visual information.
Tool Calling
Support function calling and external tool orchestration.
Agent Workflows
Improved planning, execution, context tracking, and multi-step task completion.
Code-specialized Tasks
Optimized for code generation, debugging, refactoring, explanation, and patch-style development workflows.
Streaming
Return responses in real time for a better interactive experience.
Use Cases
AI Assistants
General Q&A, productivity assistants, personal assistants, and in-app copilots.
Autonomous Agents
Multi-step task execution, planning, tool use, and workflow scheduling.
Coding Assistants
Code generation, bug fixing, refactoring suggestions, code review, test generation, and code explanation.
Customer Support
FAQ automation, support chatbots, and service workflow automation.
Search and Q&A
Retrieval-based answers, summarization, and information extraction.
Image Understanding
Screenshot analysis, image description, visual Q&A, and structured extraction.
Upgrade from Agnes 2.0 Flash
If you already callagnes-2.0-flash, the 2.5 Flash migration is intentionally small.
API Reference
Endpoint
Headers
Request Parameters
Image URL Input
Agnes 2.5 Flash supports passing text and image URLs in the samemessages request.
Request Examples
- Basic Chat
- Streaming
- Tool Calling
- Image Understanding
Response Format
Response Fields
Responses API
In addition to Chat Completions, this model supports the OpenAI Responses API. Useinput instead of messages.
Responses endpoint
Responses request parameters
- Text Input
- Structured Input
Responses output format
Reasoning items are optional and can use either
content[].reasoning_text or summary[].summary_text. Token usage field names can also vary by model: support both input_tokens / output_tokens and prompt_tokens / completion_tokens.Messages API
This model also supports the Anthropic-compatible Messages API. Send conversation input inmessages and authenticate with x-api-key.
Messages endpoint
Messages headers
Messages request parameters
Messages request example
Messages response format
Read generated text from content blocks where
content[].type is text. If stop_reason is max_tokens, retry with a larger max_tokens value.Thinking Mode
For coding, debugging, reasoning, and agent workflows, you can enable Thinking mode to improve task decomposition and problem-solving quality.- OpenAI-compatible Format
- Anthropic-compatible Format
Best Practices
Prompt Structure
Prompt Structure
Product Copywriting
Product Copywriting
Coding Tasks
Coding Tasks
Agent Workflows
Agent Workflows
Image Understanding Tasks
Image Understanding Tasks
Limits and Pricing
Agnes 2.5 Flash is generally available. Availability, rate limits, and billing behavior follow the entitlement shown for your Agnes AI account and API key.Integration Checklist
Use
agnes-2.5-flash as the model name.Basic chat completion requests must include
model and messages.Image inputs must use publicly accessible
image_url values.Set
stream to true when you need streaming responses.