Claude Sonnet 4 pricing & benchmarks
Claude Sonnet 4 is available from Anthropic at $3.00 per million input tokens and $15.00 per million output tokens ($6.00 blended at 3:1). It accepts up to 1,000,000 tokens of context. Claude Sonnet 4 significantly enhances the capabilities of its predecessor, Sonnet 3.7, excelling in both coding and reasoning tasks with improved precision and controllability. Achieving state-of-the-art performance on SWE-bench (72.7%),..โฆ
Pricing
Per million tokens ยท OpenRouter
Input$3.00
Output$15.00
Blended (3:1)$6.00
Specification
anthropic/claude-sonnet-4
Context window1M
Max output64K
ReleasedMay 2025
LicenceProprietary
Modalitiesin:text, in:image, in:file, out:text
Benchmarks
Independently run โ not vendor self-reports. Every score links its source.
| Benchmark | Score | Config | Run | Source |
|---|---|---|---|---|
| GPQA Diamond | 79.2% ยฑ2.7 | 59k thinking effort | 2025-05-26 | Independently run ยท Epoch AI |
| OTIS Mock AIME | 71.1% ยฑ6.8 | 32k thinking effort | 2025-05-22 | Independently run ยท Epoch AI |
Scores published by Epoch AI, 'AI Benchmarking Hub', used under CC BY 4.0.
Cheaper models that score at least as well on GPQA Diamond
Strictly lower blended price AND an equal-or-higher GPQA Diamond score. One benchmark is one dimension โ a model that wins here may still be weaker at your specific task.
| Model | Provider | Blended $/1M | GPQA Diamond | |
|---|---|---|---|---|
| DeepSeek V4 Flash 0731 | DeepSeek | $0.113 (โ98%) | 91.0% | Compare โ |
| GPT-5.6 Luna | OpenAI | $0.225 (โ96%) | 91.6% | Compare โ |
| GLM 5.2 | Zhipu AI | $0.387 (โ94%) | 91.9% | Compare โ |
| Qwen3.6 Flash | Alibaba | $0.422 (โ93%) | 83.3% | Compare โ |
| DeepSeek V4 Pro | DeepSeek | $0.544 (โ91%) | 90.9% | Compare โ |
Where to run Claude Sonnet 4
5 options across 2 providers ยท all priced within ~5% of each other. Blended at 3:1. โ marks an option serving less context than the best available, or re-pricing above a prompt-length threshold. Bracketed labels are the provider's own service tier or region.
| Host | Blended $/1M | In / Out | Context | Uptime 24h |
|---|---|---|---|---|
| Google (global) โ re-prices above 200K prompt tokens ($6.00/$22.50) |
$6.00 | $3.00 / $15.00 | 1M | 100.0% |
| Amazon Bedrock (eu-west-1) โ 200K context, not 1M ยท re-prices above 200K prompt tokens ($6.00/$22.50) |
$6.00 | $3.00 / $15.00 | 200K | โ |
| Amazon Bedrock โ 200K context, not 1M ยท re-prices above 200K prompt tokens ($6.00/$22.50) |
$6.00 | $3.00 / $15.00 | 200K | 100.0% |
| Google (europe) โ re-prices above 200K prompt tokens ($6.00/$22.50) |
$6.00 | $3.00 / $15.00 | 1M | โ |
| Google โ re-prices above 200K prompt tokens ($6.00/$22.50) |
$6.00 | $3.00 / $15.00 | 1M | โ |
Host prices and uptime from OpenRouter, synced 2026-08-08.
Compare Claude Sonnet 4
FAQ
How much does Claude Sonnet 4 cost?
Claude Sonnet 4 costs $3.00 per million input tokens and $15.00 per million output tokens on OpenRouter. At a 3:1 input:output mix that blends to $6.00 per million tokens.
What is Claude Sonnet 4's context window?
Claude Sonnet 4 accepts up to 1,000,000 tokens of context, and can generate up to 64,000 output tokens.
How good is Claude Sonnet 4 on benchmarks?
Claude Sonnet 4 scores 79.2% on GPQA Diamond, independently run and published by Epoch AI. 2 benchmark results are listed on this page, each with its run date and source.
Is there a cheaper model as good as Claude Sonnet 4?
Yes โ 5 models in our catalogue cost less per token than Claude Sonnet 4 and score at least as high on the same benchmark. The cheapest is DeepSeek V4 Flash 0731 at $0.113 per million tokens blended.