Skip to main content
Agnes 2.0 Flash is deprecated and is no longer recommended for new API integrations. Existing callers should migrate to agnes-2.5-flash.
agnes-2.0-flash is deprecated. This page is retained for historical endpoint and parameter reference only. Change the request model to agnes-2.5-flash.

Model

agnes-2.0-flash

Historical API Endpoints

Chat Completions: POST /v1/chat/completions
Responses: POST /v1/responses
Messages: POST /v1/messages

Model Status

Deprecated; migrate to agnes-2.5-flash.

Context Window

512K

Current 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 same messages request.

Request Examples

Response Format

Response Fields

Responses API

In addition to Chat Completions, this model supports the OpenAI Responses API. Use input instead of messages.

Responses endpoint

Responses request parameters

Responses output format

The current response does not include a top-level output_text convenience field. Extract generated text from message items where output[].type is message and output[].content[].type is output_text.
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.
If status is incomplete, inspect incomplete_details and retry with a larger max_output_tokens value. Reasoning models can consume part of the output budget before producing assistant text.

Messages API

This model also supports the Anthropic-compatible Messages API. Send conversation input in messages 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.
For regular coding tasks, start with budget_tokens: 2048. For complex debugging, refactoring, or multi-step agent workflows, increase the budget as needed.

Best Practices

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.