- Organizations
- Anthropic
- Claude Sonnet 4
Claude Sonnet 4: API Pricing, Context Window & Benchmarks
Claude Sonnet 4 is a language model from Anthropic, released in May 2025, with multimodal input.
Claude Sonnet 4, part of the Claude 4 family, is a significant upgrade to Claude Sonnet 3.7. It excels in coding (72.7% on SWE-bench) and reasoning, responding more precisely to instructions. Sonnet 4 offers an optimal mix of capability
Claude Sonnet 4 benchmarks
Capability tiers
Standing within each category, adjusted for leaderboard depth.
Real tasks performance
High-confidence performance for Claude Sonnet 4 across real-world prompt categories. Only 95% intervals at most 4 points wide are shown.
Performance by conversation depth
How Claude Sonnet 4 holds up as conversations get longer.
Quality Tracker
Claude Sonnet 4 Performance Across Datasets
Scores sourced from the model's scorecard, paper, or official blog posts
Claude Sonnet 4 pricing
Providers
Claude Sonnet 4 starts at $3.00 per million input tokens and $15.00 per million output tokens via Anthropic. See all 3 providers below with their per-token pricing, latency, throughput, and modality support.
| Provider | Input $/M | Cached input $/M | Output $/M | Context in / out | TTFT p95 s | Output p5 c/s | Modalities in / out |
|---|---|---|---|---|---|---|---|
| $3.00 | — | $15.00 | 200.0K/64.0K | 0.40 | — | / | |
| $3.00 | — | $15.00 | 200.0K/128.0K | 0.50 | — | / | |
| $3.00 | — | $15.00 | 200.0K/128.0K | 0.40 | — | / |
Cached input is the discounted price for prompt tokens served from a provider cache. TTFT is time to first token. Output is characters per second; p5 is the sustained floor exceeded by 95% of observed requests.
Claude Sonnet 4 context window
Input and output token limits for Claude Sonnet 4, plus how it ranks on long-context understanding.
Claude Sonnet 4 API
Available from the model provider
Claude Sonnet 4 has an official provider API. It is not currently routed through the LLM Stats gateway.
Read the official API documentationClaude Sonnet 4 latency
Claude Sonnet 4 time to first token, sustained output throughput, and failed-request rate from live API traffic over the trailing 7 days.
Claude Sonnet 4 examples
Recent arena outputs from Claude Sonnet 4, picked from the highest-ranked matchups.
Claude Sonnet 4 license
Claude Sonnet 4 is a proprietary model available under its provider's product and API terms.
- License
- Proprietary
- Hosted access
Proprietary license - usage restrictions apply
Claude Sonnet 4 resources
Official sources for Claude Sonnet 4: api documentation, official playground, official launch post.
Claude Sonnet 4 vs other models
The most-compared alternatives to Claude Sonnet 4 are Kimi K2 0905, Claude 3.7 Sonnet, Qwen3 30B A3B. Open any pair side-by-side for benchmarks, pricing, context, and latency.
Models like Claude Sonnet 4
Models ranked just above and below Claude Sonnet 4 by LLM Stats score.
FAQ
Common questions about Claude Sonnet 4.