Skip to main content
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-flash

API Endpoint

POST /v1/chat/completions

Release Status

Generally available to users with Agnes API access.

Upgrade Path

API-compatible upgrade from agnes-2.0-flash.

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 the model 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.
Use agnes-2.5-flash directly as the model name. If you need to keep compatibility with an existing integration, agnes-2.0-flash remains available as the previous generation model.

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 call agnes-2.0-flash, the 2.5 Flash migration is intentionally small.
For existing integrations, the migration can be handled as a model-name change. Keep agnes-2.0-flash only if you need a compatibility fallback for legacy workflows.

API Reference

Endpoint

Headers

Request Parameters

Image URL Input

Agnes 2.5 Flash supports passing text and image URLs in the same messages request.

Request Examples

Response Format

Response Fields

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

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.