claude-sonnet-5
Auto-routeranthropic/claude-sonnet-5
Context
1M
Max output
128K
Input / 1M
$3.00
Output / 1M
$15.00
Modality
Chat
Cutoff
Jan 2026
About this model
Anthropic's most agentic Sonnet model, closing much of the gap to Opus 4.8 on coding, agentic, and knowledge-work tasks at Sonnet-tier pricing.
Best suited for
- Claude Sonnet 5 is Anthropic's most capable Sonnet model yet, built for long-horizon agentic coding, browser and terminal automation, deep research, and everyday knowledge work — at a fraction of Opus-tier cost.
Built-in tools
Hosted by the gateway — enable them per request without wiring your own endpoint.
Capabilities
Vision
Accepts images alongside text in the same message.
Files
Accepts file attachments — PDFs, transcripts, spreadsheets.
Tools
Native function calling, so agents can invoke your endpoints.
System prompt
Honours a dedicated system role, separate from the user turn.
Reasoning
Emits a separate thinking pass before the answer.
Supported parameters
max_tokensMax Tokens LimitSpecifies the maximum number of text units (tokens) allowed in a response, limiting its length. Max is 128k on the standard Messages API (up to 300k via the Batch API using the output-300k-2026-03-24 beta header).
toolsLists tool definitions or capabilities available to the model.
tool_choiceDecides whether to use tools or just the model for generating responses.
response_typeDefines the format or type of the generated response.
reasoningControls the level of reasoning used by the model.
streamSends the response in real-time as it's being generated.