Claude Sonnet 5
Newer version available: Claude Sonnet 5.5
- Family
- Claude 5
- Released
- 2026-06-30
- Context
- 1M
- Max output
- 128K
- Architecture
- Decoder Only
- Knowledge cutoff
- 2026-01
- Specialization
- general
- Openness
- Proprietary
- License
- ProprietaryRestricted
- Weights
- Not released
- Code
- Unknown
- Training
- Fine-tuned
Cheapest of 6 routes · Anthropic · cache read $0.200
Cheapest of 6 routes · Anthropic · cache read $0.200
About
Claude Sonnet 5 is Anthropic's next-generation Sonnet model for agentic coding, tool use, computer use, and professional work. It is a proprietary decoder-only model with a 1M-token context window, 128K max output, multimodal vision, adaptive thinking, function calling, structured outputs, prompt caching, and Batch API support. It is available through the Claude API, AWS Bedrock, Google Cloud Vertex AI, Microsoft Foundry preview, and OpenRouter. Anthropic lists durable standard pricing at $3/1M input and $15/1M output tokens, with introductory $2/$10 pricing through 2026-08-31.
Providers(6)
Compare all 6Compare API pricing across 6 tracked provider routes for input and output tokens, batch, and cached reads when available.
| Provider | Input / 1M | Output / 1M | Batch in / out | Cache | Route |
|---|---|---|---|---|---|
| Anthropic | $2.00 | $10.00 | $1.00 / $5.00 | read $0.200 / 5m $2.50 / 1h $4.00 | Serverless |
| GCP Vertex AI | $2.00 | $10.00 | $1.00 / $5.00 | read $0.200 / 5m $2.50 / 1h $4.00 | Serverless |
| OpenRouter | $2.00 | $10.00 | - | read $0.200 / 5m $2.50 / 1h $4.00 | Serverless |
| AWS Bedrock | $2.20 | $11.00 | - | read $0.220 / 5m $2.75 / 1h $4.40 | Serverless |
| Microsoft Foundry | - | - | - | - | ServerlessPartial |
| Salesforce Models API | - | - | - | - | ServerlessPartial |
Available via routers & gateways(16)
LiteLLM
GatewayOpen-source Python SDK and proxy server that unifies 100+ LLM APIs behind a single OpenAI-compatible interface, with load balancing, cost tracking, and configurable failover.
OpenRouter
HybridUnified hybrid gateway to 500+ models from 80+ providers via a single OpenAI-compatible API, with an optional Auto Router that selects a model per prompt from market spend data.
Portkey
GatewayProduction AI gateway routing to 1,600+ LLMs with failover, load balancing, caching, and guardrails; MIT-licensed open-source core is self-hostable. Now part of Palo Alto Networks as Prisma AIRS AI Gateway.
AIRouter
RouterCommercial LLM router (branded "AI Router" on its site) that picks the best model per request via a Decision API or an OpenAI-compatible Chat Completions endpoint, with a private selection mode that routes on anonymized patterns; sold as BYOK subscription plans priced by routed tokens.
Amazon Bedrock Intelligent Prompt Routing
RouterAWS Bedrock's native prompt router that predicts each model's performance per request and routes between two models of the same family (Anthropic Claude, Meta Llama or Amazon Nova).
Azure AI Foundry Model Router
RouterMicrosoft Azure AI Foundry's native model router that uses a trained ML model to route each prompt in real time to the optimal Azure-hosted model, with Balanced/Cost/Quality mode selection and automatic failover.
Capabilities
Benchmark peer barsfor Coding
Benchmark scores(24)
| Benchmark | Score | Version | Evaluation | Source |
|---|---|---|---|---|
| 85.2 | SWE-bench Verified; Anthropic standard configuration, adaptive thinking at max effort, default sampling, average over 5 trialsObserved 2026-06-30 | — | ||
| 63.2 | SWE-bench Pro; Anthropic standard configuration, adaptive thinking at max effort, default sampling, average over 5 trialsObserved 2026-06-30 | — | ||
| 78.3 | SWE-bench Multilingual; Anthropic standard configuration, adaptive thinking at max effort, default sampling, average over 5 trialsObserved 2026-06-30 | — | ||
| 80.4 | Terminal-Bench 2.1; mini-SWE-agent harness on GKE, 1x timeout rate, 3x memory ceiling, xhigh effort, 445 trialsObserved 2026-06-30 | — | ||
| 57.4 | Humanity's Last Exam with web search, web fetch, programmatic tool calling, and code execution; Claude Opus 4.6 grader; 1M total-token capObserved 2026-06-30 | — | ||
| 86.6 | BrowseComp multi-agent; web search, web fetch, programmatic tool calling, code execution; 10M-token limit with context compactionObserved 2026-06-30 | — | ||
| 84.7 | BrowseComp single-agent; adaptive thinking at maximum effort, 10M-token limit with context compaction triggered at 200kObserved 2026-06-30 | — | ||
| 81.2 | OSWorld-Verified; 361 tasks, 1080p Ubuntu VM, 100 action steps, adaptive thinking at max effort, pass@1 averaged over 5 runsObserved 2026-06-30 | — | ||
| 81.6 | GDP.pdf with Python tools and image cropping tool; internal harness, Opus 4.7 judge, mean criteria pass rate averaged over 5 runsObserved 2026-06-30 | — | ||
| 43.2 | Humanity's Last Exam; no tools; reasoning-only; thinking auto; 1M total-token cap; Claude Opus 4.6 graderObserved 2026-06-30 | — | ||
| 61.2 | CursorBench 3.1Observed 2026-06-30 | Configuration: Sonnet 5 Max Harness: CursorBench 3.1 Evaluator: Cursor Confidence: confirmed Notes: Highest CursorBench 3.1 score across Cursor's published effort configurations for this base model. | ||
| 61.5 | CursorBench 3.2Observed 2026-07-18 | Configuration: Sonnet 5 Max Harness: CursorBench 3.2 productized Cursor-agent workflow Evaluator: Cursor Confidence: confirmed Cost/task: $6.45 Tokens/task: 92,882 Steps/task: 86 Notes: Cursor vendor-reported result; not independently reproducible. Results are subject to variance, and small score differences may not be statistically meaningful. | ||
| 58.7 | CursorBench 3.2Observed 2026-07-18 | Configuration: Sonnet 5 Extra High Harness: CursorBench 3.2 productized Cursor-agent workflow Evaluator: Cursor Confidence: confirmed Cost/task: $4.16 Tokens/task: 52,871 Steps/task: 67 Notes: Cursor vendor-reported result; not independently reproducible. Results are subject to variance, and small score differences may not be statistically meaningful. | ||
| 56.9 | CursorBench 3.2Observed 2026-07-18 | Configuration: Sonnet 5 High Harness: CursorBench 3.2 productized Cursor-agent workflow Evaluator: Cursor Confidence: confirmed Cost/task: $3.19 Tokens/task: 39,483 Steps/task: 57 Notes: Cursor vendor-reported result; not independently reproducible. Results are subject to variance, and small score differences may not be statistically meaningful. | ||
| 52.4 | CursorBench 3.2Observed 2026-07-18 | Configuration: Sonnet 5 Medium Harness: CursorBench 3.2 productized Cursor-agent workflow Evaluator: Cursor Confidence: confirmed Cost/task: $2.16 Tokens/task: 26,200 Steps/task: 46 Notes: Cursor vendor-reported result; not independently reproducible. Results are subject to variance, and small score differences may not be statistically meaningful. | ||
| 47.7 | CursorBench 3.2Observed 2026-07-18 | Configuration: Sonnet 5 Low Harness: CursorBench 3.2 productized Cursor-agent workflow Evaluator: Cursor Confidence: confirmed Cost/task: $1.30 Tokens/task: 16,269 Steps/task: 33 Notes: Cursor vendor-reported result; not independently reproducible. Results are subject to variance, and small score differences may not be statistically meaningful. | ||
| 34.1 | CursorBench 4.0Observed 2026-09-10 | Configuration: Sonnet 5 Max Harness: CursorBench 4.0 productized Cursor-agent workflow Evaluator: Cursor Confidence: confirmed Cost/task: $7.17 Tokens/task: 149,257 Steps/task: 140 Notes: Cursor vendor-reported configuration result; not independently reproducible. Results are subject to variance, and small score differences may not be statistically meaningful. | ||
| 32.0 | CursorBench 4.0Observed 2026-09-10 | Configuration: Sonnet 5 Extra High Harness: CursorBench 4.0 productized Cursor-agent workflow Evaluator: Cursor Confidence: confirmed Cost/task: $4.55 Tokens/task: 83,373 Steps/task: 102 Notes: Cursor vendor-reported configuration result; not independently reproducible. Results are subject to variance, and small score differences may not be statistically meaningful. | ||
| 30.8 | CursorBench 4.0Observed 2026-09-10 | Configuration: Sonnet 5 High Harness: CursorBench 4.0 productized Cursor-agent workflow Evaluator: Cursor Confidence: confirmed Cost/task: $3.48 Tokens/task: 61,146 Steps/task: 85 Notes: Cursor vendor-reported configuration result; not independently reproducible. Results are subject to variance, and small score differences may not be statistically meaningful. | ||
| 28.0 | CursorBench 4.0Observed 2026-09-10 | Configuration: Sonnet 5 Medium Harness: CursorBench 4.0 productized Cursor-agent workflow Evaluator: Cursor Confidence: confirmed Cost/task: $2.31 Tokens/task: 39,114 Steps/task: 65 Notes: Cursor vendor-reported configuration result; not independently reproducible. Results are subject to variance, and small score differences may not be statistically meaningful. | ||
| 24.1 | CursorBench 4.0Observed 2026-09-10 | Configuration: Sonnet 5 Low Harness: CursorBench 4.0 productized Cursor-agent workflow Evaluator: Cursor Confidence: confirmed Cost/task: $1.39 Tokens/task: 23,772 Steps/task: 46 Notes: Cursor vendor-reported configuration result; not independently reproducible. Results are subject to variance, and small score differences may not be statistically meaningful. | ||
| 1262.0 | vision_style_control overall 2026-10-19 (style control, default view)Observed 2026-10-26 | Configuration: Claude Sonnet 5 (High) Harness: LMArena blind pairwise human votes, Bradley-Terry Evaluator: LMArena Confidence: confirmed Notes: LMArena vision style control leaderboard, overall category, published 2026-10-19 (HF lmarena-ai/leaderboard-dataset @9761a3ce, latest split). Board entry 'Claude Sonnet 5 (High)': rank 44, Arena Score 1261.9 (95% CI 1255.0-1268.7), 14034 votes. Retrieved 2026-10-26. | Source Source: LMArena (lmarena.ai), CC BY 4.0 | |
| 1462.0 | text_style_control overall 2026-10-22 (style control, default view)Observed 2026-10-26 | Configuration: Claude Sonnet 5 (High) Harness: LMArena blind pairwise human votes, Bradley-Terry Evaluator: LMArena Confidence: confirmed Notes: LMArena text style control leaderboard, overall category, published 2026-10-22 (HF lmarena-ai/leaderboard-dataset @9761a3ce, latest split). Board entry 'Claude Sonnet 5 (High)': rank 58, Arena Score 1461.5 (95% CI 1457.4-1465.5), 51784 votes. Retrieved 2026-10-26. | Source Source: LMArena (lmarena.ai), CC BY 4.0 | |
| 1416.0 | text creative_writing 2026-10-22Observed 2026-10-22 | Configuration: Claude Sonnet 5 (High) Harness: LMArena blind pairwise human votes, Bradley-Terry Evaluator: LMArena Confidence: confirmed Notes: LMArena Text arena, Creative Writing category (no style control), board published 2026-10-22 (HF lmarena-ai/leaderboard-dataset @a467e6b9, text config, latest split). Board entry 'Claude Sonnet 5 (High)' (category creative_writing in text/latest-00000-of-00001.parquet): rank 73 of 416, rating 1416.0 (95% CI 1409.1-1422.9), 10786 votes. Source: LMArena (CC BY 4.0). Retrieved 2026-10-27. | Source Source: LMArena (lmarena.ai), CC BY 4.0 |
Migration checks
No linked migration route is available for this model yet.