Anthropic logo

Claude Sonnet 5

The successor to Sonnet 4.6, approaching Opus 4.8 on reasoning, tool use and coding, with adaptive thinking that adjusts reasoning depth per task.

List price via Anthropic
Input
$2.00 / 1M tokens
Output
$10.00 / 1M tokens
Anthropic Replicate 2 providers

Key Specifications

Context window
1M tokens
Max output
128K tokens
Knowledge cutoff
web search available
Released
Inputs
Text, image
Capabilities Show details
Reasoning Thinks before it answers, always on or as a switchable mode. Function calling Connect to external tools, APIs, and systems. Structured output Return responses in structured formats like JSON. Web search Search the web for up-to-date information. Code execution Write and execute code in a sandboxed environment. File upload Process uploaded documents, spreadsheets, and other files. MCP Connect to services via Model Context Protocol.

Hosted API pricing

Provider Input / 1M tokens Output / 1M tokens Cost at 10M in + 2M out
Anthropic logo Anthropic Creator $2.00 $10.00 $40.00 View
Replicate logo Replicate $2.00 $10.00 $40.00 View

Heads up: Prices are estimates using base-tier, on-demand rates per 1M tokens from published pages; cached, batch and long-context tiers are shown only where listed. Providers may serve a shorter context or a quantized build than the creator's release. Verify with the provider before provisioning. How we estimate costs.

Similarly priced models

The models nearest Claude Sonnet 5 by blended rate, five each way, each at its own cheapest provider.

Model Blended / 1M vs Claude Sonnet 5
OpenAI GPT-5.1 OpenAI $2.71 −19%
Google Cloud Gemini 3.5 Flash Google Cloud $2.75 −17%
OpenAI GPT-4.1 OpenAI $3.00 −10%
OpenAI o3 OpenAI $3.00 −10%
Alibaba Cloud Qwen3.8-2.4T-A95B Alibaba Cloud $3.13 −6%
Anthropic Claude Sonnet 5 This model Anthropic $3.33
Google Cloud Gemini 3.1 Pro Preview Google Cloud $3.67 +10%
OpenAI GPT-5.6 Terra OpenAI $3.67 +10%
Cohere Command A Cohere $3.75 +13%
OpenAI GPT-5.2 OpenAI $3.79 +14%
OpenAI GPT-5.3-Codex OpenAI $3.79 +14%

Prices are USD per 1M tokens at each model's cheapest listed provider. Blended is the cost of 10M input plus 2M output tokens, spread over the 12M.

Frequently Asked Questions

What is Claude Sonnet 5 good for?

Reasoning, tool use and coding. It costs less than the other current Sonnets and much less than Claude Fable 5, one tier above Haiku 4.5.

When is Claude Sonnet 5 not a good fit?

Audio or video input, or output other than text. Work that needs knowledge past January 2026, where Opus 5 has a May 2026 cutoff. Closed weights, so no self-hosting.

What is the cheapest way to run Claude Sonnet 5?

The cheapest hosted rate is $2.00 / $10.00 per 1M tokens via Anthropic.

How does Claude Sonnet 5 compare with Claude Sonnet 4.6?

Anthropic says Claude Sonnet 5 is a substantial step up from Claude Sonnet 4.6 in reasoning, tool use, coding and knowledge work, finishing tasks where earlier Sonnets stopped short and checking its own output unasked. It uses a new tokenizer and hallucinates less. Same 1M-token context and text and image input. Claude Sonnet 5 lists at 33% less per 1M input tokens and 33% less per 1M output tokens than Claude Sonnet 4.6. It came out 4 months later and has a newer knowledge cutoff (January 2026 against August 2025).

Can I self-host Claude Sonnet 5?

No. Anthropic does not publish the weights; Claude Sonnet 5 is available only through hosted APIs.

More from Anthropic

Model Context Input / 1M Output / 1M
Anthropic Claude Sonnet 4.6 1M $3.00 $15.00
Anthropic Claude Sonnet 4 200K $3.00 $15.00
Anthropic Claude Sonnet 4.5 200K $3.00 $15.00
Anthropic Claude Haiku 4.5 200K $1.00 $5.00
Anthropic Claude Opus 5 1M $5.00 $25.00
Anthropic Claude Opus 4.7 1M $5.00 $25.00
Anthropic Claude Opus 4.8 1M $5.00 $25.00
Anthropic Claude Opus 4.6 1M $5.00 $25.00