Claude Sonnet 4 by Anthropic demonstrates strong general intelligence, excellent coding ability. View detailed benchmark data including scores across coding, math, reasoning, speed, and cost metrics.
Specifications last checked against the provider on . Benchmark scores carry their own source, linked beside each number.
General Benchmarks
Massive Multitask Language Understanding professional benchmark
HuggingFace LeaderboardHuman preference ELO from blind head-to-head votes
LMSYS / HuggingFaceCoding Benchmarks
Human preference ELO for building a working web page from a brief
Design Arena (via OpenRouter)Artificial Analysis composite coding score
Artificial Analysis (via OpenRouter)Human preference ELO for building things — websites, UI, games, charts, SVG
Design Arena (via OpenRouter)Math Benchmarks
Reasoning Benchmarks
Multi-turn service agent making tool calls under strict policy constraints
OpenRouter (measured)Speed Benchmarks
Cost Benchmarks
Cost per 1M cached input tokens — the price that actually applies to a long agent conversation
OpenRouter APIContext Benchmarks
Available from 13 providers
The same model costs different amounts depending on who serves it. You can bring your own key for 3 of these — connect it here.
| Provider | Input / 1M | Output / 1M | Cached in | Context | Your key |
|---|---|---|---|---|---|
| Poe | $2.6 | $13 | $0.26 | 983K | — |
| Cortecs | $2.898 | $14.493 | $0.29 | 200K | — |
| Abacus | $3 | $15 | — | 200K | — |
| DigitalOcean | $3 | $15 | $0.3 | 1.0M | — |
| FastRouter | $3 | $15 | $0.3 | 200K | — |
| Merge Gateway | $3 | $15 | $0.3 | 200K | — |
| OpenCode Zen | $3 | $15 | $0.3 | 1.0M | — |
| OpenRouter | $3 | $15 | $0.3 | 1.0M | Supported |
| Requesty | $3 | $15 | $0.3 | 1.0M | — |
| Vercel AI Gateway | $3 | $15 | $0.3 | 1.0M | Supported |
| Vertex | $3 | $15 | $0.3 | 200K | Supported |
| Vertex (Anthropic) | $3 | $15 | $0.3 | 200K | — |
| ZenMux | $3 | $15 | $0.3 | 1.0M | — |
Claude Sonnet 4 — Benchmark Scores Overview
Scores normalized to percentage scale for visual comparison. ELO scores mapped to 0-100 range (1100-1500).
Compare Claude Sonnet 4 With
Claude Sonnet 4 — Frequently Asked Questions
How intelligent is Claude Sonnet 4?
Claude Sonnet 4 scores 1365 on the Chatbot Arena ELO rating, making it a high-performing AI model. This score is based on blind head-to-head human preference voting.
How much does Claude Sonnet 4 cost?
Claude Sonnet 4 costs $3.0 per 1M input tokens and $15.0 per 1M output tokens. This is mid-range pricing for its capability level.
How fast is Claude Sonnet 4?
Claude Sonnet 4 generates output at 75 tokens per second, which is slower, prioritizing quality over speed compared to other models. The time to first token is 400 ms.
How good is Claude Sonnet 4 at coding?
Claude Sonnet 4 achieves 72.7% on SWE-bench Verified, demonstrating excellent real-world software engineering capability. This benchmark tests the model's ability to resolve actual GitHub issues.
How good is Claude Sonnet 4 at math and reasoning?
Claude Sonnet 4 scores 85.0% on the MATH benchmark (competition-level mathematics). It also achieves 76.7% on GPQA Diamond, a graduate-level science reasoning benchmark.
What is the context window of Claude Sonnet 4?
Claude Sonnet 4 has a context window of 1.0M tokens. This determines how much text, conversation history, and code the model can process in a single request.
Who created Claude Sonnet 4?
Claude Sonnet 4 was created by Anthropic. It is classified as a mid model in our catalogue.
Is Claude Sonnet 4 open source?
No, Claude Sonnet 4 is a proprietary model. It is available through Anthropic's API and compatible providers.