Claude Opus 4.7 vs Claude Sonnet 5
API pricing, monthly cost and benchmark scores for Claude Opus 4.7 (Anthropic) and Claude Sonnet 5 (Anthropic), side by side.
The short answer
Claude Sonnet 5 is the cheaper of the two on the default workload (2,000 input and 500 output tokens a request, 10,000 requests a day, 40% cached): $2,268 a month against $5,670 for Claude Opus 4.7, 60% less. Claude Opus 4.7 scores higher on the Epoch Capabilities Index, 157.5 against 156.9 for Claude Sonnet 5, but the confidence intervals overlap, so the gap may not be real.
Both have a 1,000,000-token context window. Claude Sonnet 5 generates 76 tokens per second, 64% faster than Claude Opus 4.7 at 47. Across the 7 benchmarks both have results for, Claude Opus 4.7 leads on 4 and Claude Sonnet 5 on 3.
Side by side
| Specification | ||
|---|---|---|
| Input price per 1M tokens | $5.00 | $2.00 |
| Cached input per 1M tokens | $0.500 | $0.200 |
| Output price per 1M tokens | $25.00 | $10.00 |
| Batch input / cached / output per 1M | $2.50 / $0.250 / $12.50 | $1.00 / $0.100 / $5.00 |
| Context window | 1M tokens | 1M tokens |
| Epoch Capabilities Index | 157.5 | 156.9 |
| GPQA | 90.5% | 91.0% |
| Output speed | 47 tokens/s | 76 tokens/s |
| Release date | Apr 16, 2026 | Jun 30, 2026 |
| Open weights | No | No |
| Capabilities | tools, reasoning, json, vision, pdf | tools, reasoning, json, vision, pdf |
Monthly cost for three workloads
Each row prices 30 days of traffic at standard rates. Cached input is billed at the cached rate for the share shown.
| Workload | Difference | ||
|---|---|---|---|
| Default workload2,000 input and 500 output tokens a request, 10,000 requests a day, 40% cached | $5,670.00 | $2,268.00 | Claude Sonnet 5 is 60% cheaper |
| Input-heavy10,000 input and 300 output tokens a request, 10,000 requests a day, 40% cached | $11,850.00 | $4,740.00 | Claude Sonnet 5 is 60% cheaper |
| Output-heavy500 input and 2,000 output tokens a request, 10,000 requests a day, 0% cached | $15,750.00 | $6,300.00 | Claude Sonnet 5 is 60% cheaper |
Benchmark by benchmark
Only benchmarks where both models have a score. Scores are as published on each benchmark; higher is better unless the benchmark page says otherwise.
| Benchmark | ||
|---|---|---|
| Epoch Capabilities IndexECI | 157.5 | 156.9 |
| FrontierMath Tiers 1-3% solved | 73.87 | 69.07 |
| FrontierMath Tier 4% solved | 31.71 | 29.27 |
| FrontierCodeMain score (%) | 38.54 | 42.73 |
| APEX-Agents% pass@1 | 49.2 | 54.5 |
| SimpleQA Verified% correct | 51.7 | 33.7 |
| GPQA Diamond% accuracy | 90.49 | 91.01 |
Go further
Full pages: Claude Opus 4.7 and Claude Sonnet 5. Or use the interactive comparison to pick any models.