Sonnet 5 is Anthropic's most capable Sonnet-class model, with frontier performance across coding, agents, and professional work. It supports adaptive thinking with selectable reasoning effort levels (low, medium, high, max, and x-high), a 1M-token context window, and text, image, and file inputs. Sonnet 5 uses an updated tokenizer and includes real-time cyber safeguards that block certain high-risk dual-use activities.
Providers
Different companies host the same model. OpenRouter routes your request to one of them based on the routing mode you pick: Balanced (price + speed), Nitro (fastest), or Floor (cheapest).
| $2.00 | $10.00 | $0.20 | 0.58s | 76 tok/s | ||
| $2.00 | $10.00 | $0.20 | 0.74s | 85 tok/s | ||
| $2.00 | $10.00 | $0.20 | 1.03s | 60 tok/s | ||
| $2.00 | $10.00 | $0.20 | 1.13s | 70 tok/s | ||
| $2.00 | $10.00 | $0.20 | 2.81s | 95 tok/s | ||
Not used in Standard routing:Why these endpoints are not used | ||||||
| $2.20 | $11.00 | $0.22 | 1.20s | 89 tok/s | ||
| $2.20 | $11.00 | $0.22 | 2.25s | 99 tok/s | ||
| $2.20 | $11.00 | $0.22 | 2.17s | 88 tok/s | ||
| $2.20 | $11.00 | $0.22 | 2.18s | 102 tok/s | ||
| $2.20 | $11.00 | $0.22 | 5.35s | 74 tok/s | ||
- Input $2.00 / Output $10.0076 tok/s98.92% uptime
- Input $2.00 / Output $10.0085 tok/s100.00% uptime
- Input $2.00 / Output $10.0060 tok/s100.00% uptime
- Input $2.00 / Output $10.0070 tok/s99.73% uptime
- Input $2.00 / Output $10.0095 tok/s80.24% uptime
- Not used in Standard routing:Why these endpoints are not used
- Input $2.20 / Output $11.0089 tok/s100.00% uptime
- Input $2.20 / Output $11.0099 tok/s100.00% uptime
- Input $2.20 / Output $11.0088 tok/s100.00% uptime
- Input $2.20 / Output $11.00102 tok/s100.00% uptime
- Input $2.20 / Output $11.0074 tok/s100.00% uptime
Pricing
The average price customers actually pay for this model, next to the prices providers post. Caching and discounts mean the price actually paid is often well below the listed one.
Weighted average
Claude Sonnet 5 — Price history
| $0.473 | $10.00 | 86.7% | 0.3% | ||
| $0.533 | $10.00 | 83.9% | 13.7% | ||
| $0.600 | $10.00 | 80.7% | 18.3% | ||
| $0.711 | $10.00 | 75.1% | 12.4% | ||
| $0.711 | $10.00 | 74.2% | 52.3% | ||
Not used in Standard routing:Why these endpoints are not used | |||||
| $0.321 | $11.00 | 97.1% | 0.9% | ||
| $0.424 | $11.00 | 91.5% | 0.4% | ||
| $0.592 | $11.00 | 82.5% | 0.8% | ||
| $1.426 | $11.00 | 43.2% | 1.0% | ||
| $1.548 | $11.00 | 42.7% | 0.0% | ||
- Effective in $0.473 / Effective out $10.00Token share0.3%
- Effective in $0.533 / Effective out $10.00Token share13.7%
- Effective in $0.600 / Effective out $10.00Token share18.3%
- Effective in $0.711 / Effective out $10.00Token share12.4%
- Effective in $0.711 / Effective out $10.00Token share52.3%
- Not used in Standard routing:Why these endpoints are not used
- Effective in $0.321 / Effective out $11.00Token share0.9%
- Effective in $0.424 / Effective out $11.00Token share0.4%
- Effective in $0.592 / Effective out $11.00Token share0.8%
- Effective in $1.426 / Effective out $11.00Token share1.0%
- Effective in $1.548 / Effective out $11.00Token share0.0%
Performance
Throughput is how fast the model writes (tokens per second — higher is better). Latency is total round-trip time (lower is better). TTFT is time-to-first-token — how long before you see anything appear (lower is better).
P50, best across providers
P50, best provider
Uptime
Uptime is the percentage of the past 3 days that at least one provider was responding to requests. Availability is the percentage of time that inference was successfully served. OpenRouter continuously monitors and uses the next-best provider when one returns an error.
Availability over the last 3 days
Last 72 hoursAvailability over the last 24 hours
When an error occurs in an upstream provider, we can recover by routing to another healthy provider, if your request filters allow it. You can access per-provider uptime data programmatically through the Endpoints API. Learn more about our load balancing and provider routing options.
Benchmarks
Scores on standardized evaluations and this model’s own outputs on shared benchmark prompts. Higher percentages are better — and each rank shows where this model lands among the models evaluated on that source.
| Source | Benchmark | Score |
|---|---|---|
| Artificial Analysis | Claude Sonnet 5 (Medium) HLE | 30.0% |
| Artificial Analysis | Claude Sonnet 5 (Medium) AA-LCR | 73.7% |
| Artificial Analysis | Claude Sonnet 5 (Medium) GDPval-AA | 33.3% |
| Artificial Analysis | Claude Sonnet 5 (Medium) CritPt | 8.6% |
| Artificial Analysis | Claude Sonnet 5 (Medium) SciCode | 51.6% |
| Artificial Analysis | Claude Sonnet 5 (Medium) Terminal-Bench 4.0 | 2.0% |
| Artificial Analysis | Claude Sonnet 5 (Xhigh) HLE | 39.0% |
| Artificial Analysis | Claude Sonnet 5 (Xhigh) AA-LCR | 76.7% |
| Artificial Analysis | Claude Sonnet 5 (Xhigh) GDPval-AA | 43.3% |
| Artificial Analysis | Claude Sonnet 5 (Xhigh) CritPt | 15.4% |
| Artificial Analysis | Claude Sonnet 5 (Xhigh) SciCode | 54.1% |
| Artificial Analysis | Claude Sonnet 5 (Xhigh) Terminal-Bench 4.0 | 7.1% |
| Artificial Analysis | Claude Sonnet 5 (Max) Coding Index | 71.5 |
| Artificial Analysis | Claude Sonnet 5 (Max) Agentic Index | 43.6 |
| Artificial Analysis | Claude Sonnet 5 (Max) GPQA Diamond | 91.1% |
| Artificial Analysis | Claude Sonnet 5 (Max) HLE | 41.3% |
| Artificial Analysis | Claude Sonnet 5 (Max) AA-LCR | 82.0% |
| Artificial Analysis | Claude Sonnet 5 (Max) τ-Bench Banking | 37.3% |
| Artificial Analysis | Claude Sonnet 5 (Max) GDPval-AA | 48.5% |
| Artificial Analysis | Claude Sonnet 5 (Max) CritPt | 16.9% |
| Artificial Analysis | Claude Sonnet 5 (Max) SciCode | 54.3% |
| Artificial Analysis | Claude Sonnet 5 (Max) Terminal-Bench 4.0 | 14.1% |
| Artificial Analysis | Claude Sonnet 5 (Max) Terminal-Bench 2.1 | 80.5% |
| Artificial Analysis | Claude Sonnet 5 (Low) HLE | 21.9% |
| Artificial Analysis | Claude Sonnet 5 (Low) AA-LCR | 67.3% |
| Artificial Analysis | Claude Sonnet 5 (Low) GDPval-AA | 28.8% |
| Artificial Analysis | Claude Sonnet 5 (Low) CritPt | 4.6% |
| Artificial Analysis | Claude Sonnet 5 (Low) SciCode | 50.1% |
| Artificial Analysis | Claude Sonnet 5 (Low) Terminal-Bench 4.0 | 2.5% |
| Artificial Analysis | Claude Sonnet 5 (High) HLE | 35.7% |
| Artificial Analysis | Claude Sonnet 5 (High) AA-LCR | 76.7% |
| Artificial Analysis | Claude Sonnet 5 (High) GDPval-AA | 38.1% |
| Artificial Analysis | Claude Sonnet 5 (High) CritPt | 15.1% |
| Artificial Analysis | Claude Sonnet 5 (High) SciCode | 54.3% |
| Artificial Analysis | Claude Sonnet 5 (High) Terminal-Bench 4.0 | 5.1% |
| Artificial Analysis | Claude Sonnet 5 (Non-reasoning, High) Coding Index | 66.4 |
| Artificial Analysis | Claude Sonnet 5 (Non-reasoning, High) GPQA Diamond | 80.0% |
| Artificial Analysis | Claude Sonnet 5 (Non-reasoning, High) HLE | 19.0% |
| Artificial Analysis | Claude Sonnet 5 (Non-reasoning, High) AA-LCR | 70.0% |
| Artificial Analysis | Claude Sonnet 5 (Non-reasoning, High) τ-Bench Banking | 15.7% |
| Artificial Analysis | Claude Sonnet 5 (Non-reasoning, High) GDPval-AA | 36.0% |
| Artificial Analysis | Claude Sonnet 5 (Non-reasoning, High) CritPt | 1.1% |
| Artificial Analysis | Claude Sonnet 5 (Non-reasoning, High) Terminal-Bench 2.1 | 75.3% |
| Design Arena | Claude Sonnet 5 Agents Arena Agenticgamedev Elo | 1166 |
| Design Arena | Claude Sonnet 5 Agents Arena Androidnative Elo | 1212 |
| Design Arena | Claude Sonnet 5 Agents Arena Blender3d Elo | 990 |
| Design Arena | Claude Sonnet 5 Agents Arena Codetovideo Elo | 1102 |
| Design Arena | Claude Sonnet 5 Agents Arena Full Stack Elo | 1222 |
| Design Arena | Claude Sonnet 5 Agents Arena Godotgamedev Elo | 1201 |
| Design Arena | Claude Sonnet 5 Agents Arena Htmlslides Elo | 1112 |
| Design Arena | Claude Sonnet 5 Agents Arena Mobile Apps Elo | 1202 |
| Design Arena | Claude Sonnet 5 Agents Arena Pdf Elo | 1210 |
| Design Arena | Claude Sonnet 5 Agents Arena Python-Pptxslides Elo | 1180 |
| Design Arena | Claude Sonnet 5 Agents Arena Spreadsheet Elo | 1046 |
| Design Arena | Claude Sonnet 5 Agents Arena Webapps Elo | 1217 |
| Design Arena | Claude Sonnet 5 Models Arena 3D Elo | 1237 |
| Design Arena | Claude Sonnet 5 Models Arena Asciiart Elo | 1199 |
| Design Arena | Claude Sonnet 5 Models Arena Code Categories Elo | 1267 |
| Design Arena | Claude Sonnet 5 Models Arena Data Visualization Elo | 1247 |
| Design Arena | Claude Sonnet 5 Models Arena Game Development Elo | 1271 |
| Design Arena | Claude Sonnet 5 Models Arena SVG Elo | 1183 |
| Design Arena | Claude Sonnet 5 Models Arena UI Component Elo | 1268 |
| Design Arena | Claude Sonnet 5 Models Arena Website Elo | 1268 |
| Vals AI | Claude Sonnet 5 Code Migration | 44.4% |
| Vals AI | Claude Sonnet 5 CorpFin v2 | 67.0% |
| Vals AI | Claude Sonnet 5 CyberBench v1.1 | 61.9% |
| Vals AI | Claude Sonnet 5 EMB | 66.3% |
| Vals AI | Claude Sonnet 5 Finance Agent (v2) | 53.9% |
| Vals AI | Claude Sonnet 5 GPQA Diamond | 88.9% |
| Vals AI | Claude Sonnet 5 Harvey's Legal Agent Benchmark v1 | 5.0% |
| Vals AI | Claude Sonnet 5 IOI | 45.0% |
| Vals AI | Claude Sonnet 5 LiveCodeBench | 82.4% |
| Vals AI | Claude Sonnet 5 LegalBench | 83.9% |
| Vals AI | Claude Sonnet 5 Legal Research Bench | 41.8% |
| Vals AI | Claude Sonnet 5 MedCode | 47.5% |
| Vals AI | Claude Sonnet 5 MedScribe | 76.1% |
| Vals AI | Claude Sonnet 5 MMLU Pro | 87.5% |
| Vals AI | Claude Sonnet 5 MMMU Pro | 83.0% |
| Vals AI | Claude Sonnet 5 MortgageTax | 70.0% |
| Vals AI | Claude Sonnet 5 ProgramBench | 0.0% |
| Vals AI | Claude Sonnet 5 ProofBench v1.1 | 77.0% |
| Vals AI | Claude Sonnet 5 Public Benefits Bench v1.1 | 66.0% |
| Vals AI | Claude Sonnet 5 SAGE v1 | 48.9% |
| Vals AI | Claude Sonnet 5 SkillsBench | 46.5% |
| Vals AI | Claude Sonnet 5 SRE Bench | 0.4% |
| Vals AI | Claude Sonnet 5 SWE-bench | 79.6% |
| Vals AI | Claude Sonnet 5 Tax Agent Bench | 29.4% |
| Vals AI | Claude Sonnet 5 TaxEval v2 | 75.6% |
| Vals AI | Claude Sonnet 5 Terminal-Bench 4.0 | 10.6% |
| Vals AI | Claude Sonnet 5 Terminal-Bench-Science | 5.7% |
| Vals AI | Claude Sonnet 5 Vals Index | 51.9% |
| Vals AI | Claude Sonnet 5 Vals Multimodal Index | 68.8% |
| Vals AI | Claude Sonnet 5 Vibe Code Bench 1-100 | 13.8% |
| Vals AI | Claude Sonnet 5 Vibe Code Bench v1.1 | 81.3% |
Apps
Public apps that send the most traffic to this model. Good signal for what real production workloads look like — and a hint at which use cases this model is best suited for.
Activity
Token volume and request traffic to this model over time.
API
Drop-in code to call this model. OpenRouter's API is OpenAI-compatible — most SDKs work by just swapping the base URL. The only thing that changes between models is the model slug below.
Anthropic: Claude Sonnet versions
Available through EU in-region routing
Anthropic: Claude Sonnet 5 is available through EU in-region routing. Requests sent to eu.openrouter.ai are decrypted in the EU and routed only to shared provider endpoints in Europe (the EU/EEA, the UK, and Switzerland).
- Providers in Europe
- Amazon Bedrock, Google Vertex
- Prices in Europe
- Amazon Bedrock: $2.20/M tokens input, $11/M tokens output
- Google Vertex: $2.20/M tokens input, $11/M tokens output
- Base URL
https://eu.openrouter.ai/api/v1- Plan
- Requires Business or Enterprise. Self-serve on Business: no contract, no monthly minimum. OpenRouter Business for EU in-region routing
Fails closed: if no shared provider endpoint in Europe is available, the request errors instead of leaving the region. Requests served by your own BYOK key go to your deployment’s region, which you control. In-region routing docs
Documentation
Guides, cookbooks, blog posts, and tools for building with Anthropic: Claude Sonnet 5 on OpenRouter.
Frequently asked questions
Sonnet 5 is Anthropic's most capable Sonnet-class model, with frontier performance across coding, agents, and professional work. It supports adaptive thinking with selectable reasoning effort levels (low, medium, high, max, and x-high), a 1M-token context window, and text, image, and file inputs.
The Claude Sonnet 5 documentation on OpenRouter includes the Claude 5 Sonnet Migration Guide cookbook. The quickstart covers API keys and your first request, and the API reference lists every parameter.
Claude Sonnet 5 costs $2.00/M input tokens and $10.00/M output tokens, with separate rates for Cache Read at $0.20/M tokens, Cache Write at $2.50/M tokens, Cache Write (1h) at $4.00/M tokens, and Web Search at $10.00/1K calls.
Claude Sonnet 5 has a 1,000,000 token context window. It supports up to 128,000 completion tokens.
Yes. Claude Sonnet 5 accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.
Claude Sonnet 5 accepts text, images, and files such as PDFs as input and returns text.
Claude Sonnet 5 is served by 5 providers on OpenRouter: Claude Platform on AWS, Azure, Google Vertex, Amazon Bedrock, and Anthropic. Requests are routed to the best available provider, with automatic failover to the others, and you can pin or exclude providers with provider routing.
Claude Sonnet 5 was released on June 30, 2026.