Agnes 2.0 Flash is deprecated and is no longer recommended for new API integrations. Existing callers should migrate to
agnes-2.5-flash.Model
agnes-2.0-flashHistorical API Endpoints
Chat Completions:
Responses:
Messages:
POST /v1/chat/completionsResponses:
POST /v1/responsesMessages:
POST /v1/messagesModel Status
Deprecated; migrate to
agnes-2.5-flash.Context Window
512KCurrent Price
Input and output tokens are currently
$0 / 1M tokens.Overview
Agnes 2.0 Flash is optimized for fast, reliable, and cost-effective language generation, agent task execution, tool orchestration, and image understanding. The model performs strongly on the Claw-Eval benchmark. It ranks No. 9 on the general leaderboard with a Pass^3 score of 60.9%, demonstrating strong autonomous agent capabilities.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
Suitable for planning, execution, and multi-step task completion.
Coding Tasks
Assist with code generation, debugging, explanation, and refactoring.
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, 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.
API Reference
Endpoint
Headers
Request Parameters
Image URL Input
Agnes 2.0 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
The following specifications and prices are retained as historical records for this deprecated model.Integration Checklist
Stop using the deprecated
agnes-2.0-flash model and migrate to agnes-2.5-flash.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.