Compare / head-to-head
Claude Opus 4.7vsClaude Sonnet 4
Claude Opus 4.7 leads 3 of 3 shared benchmarks. Claude Sonnet 4 is 1.7x cheaper per token. Claude Opus 4.7 has the larger context window (1M tokens).
Benchmarks from cited public sources; pricing from official pages; status from official provider feeds.
Shared benchmarks
3 – 0
Claude Opus 4.7 leads
Cheaper per token
Claude Sonnet 4
1.7x cheaper, input + output
Larger context
Claude Opus 4.7
1M tokens
Provider uptime (30d)
100%
Anthropic
Claude Opus 4.7
Anthropic · released 2026-04-16
textvision
Claude Sonnet 4
Anthropic · released 2025-05-22
textvision
Quality
Benchmark matrix
3 shared · 14 only Claude Opus 4.7 · 1 only Claude Sonnet 4| Benchmark | Claude Opus 4.7 | Claude Sonnet 4 | Δ | Edge |
|---|---|---|---|---|
| Reported by both · 3 | ||||
| SWE-bench Verified | 87.6% ↗ | 72.7% ↗ | +14.9 pt | Claude Opus 4.7 |
| GPQA Diamond | 94.2% ↗ | 79.2% ↗epoch | +15 pt | Claude Opus 4.7 |
| OTIS Mock AIME 2024-2025 (Epoch AI run) | 97.8% ↗epoch | 71.1% ↗epoch | +26.7 pt | Claude Opus 4.7 |
| Only Claude Opus 4.7 reports · 14 | ||||
| AIME 2026 | 95.8% ↗matharena ⚠ | not reported | — | — |
| Humanity's Last Exam (no tools) | 46.9% ↗ | not reported | — | — |
| LMArena Elo | 1483.4 ↗ | not reported | — | — |
| BrowseComp | 79.8% ↗ | not reported | — | — |
| FrontierMath Tier 4 v2 (Epoch AI run) | 31.7% ↗epoch | not reported | — | — |
| FrontierMath Tiers 1-3 v2 (Epoch AI run) | 70.2% ↗epoch | not reported | — | — |
| Humanity's Last Exam (with tools) | 54.7% ↗ | not reported | — | — |
| OSWorld-Verified | 82.8% ↗ | not reported | — | — |
| SimpleQA Verified | 51.7% ↗epoch | not reported | — | — |
| SWE-bench Multilingual | 80.5% ↗ | not reported | — | — |
| SWE-bench Multimodal | 34.5% ↗ | not reported | — | — |
| SWE-Bench Pro | 64.3% ↗ | not reported | — | — |
| SWE-bench Verified (Epoch AI run) | 83.5% ↗epoch | not reported | — | — |
| Terminal-Bench 2.1 | 66.1% ↗ | not reported | — | — |
| Only Claude Sonnet 4 reports · 1 | ||||
| AIME 2024 (no extended thinking) | not reported | 33.1% ↗ | — | — |
Scores tagged "epoch" or "matharena" are independent runs, used only where the lab has not published its own; ⚠ marks rows MathArena flags as released after the competition. Higher is better on every row. Δ is Claude Opus 4.7 minus Claude Sonnet 4 in the benchmark's own unit. "Not reported" means the lab has not published that figure; it is not a zero. ↗ opens the source.
Specs & pricing
Side by side
Official pricing pages and model cards| Spec | Claude Opus 4.7 | Claude Sonnet 4 | Edge |
|---|---|---|---|
| Context window | 1M tokens | 200K tokens | Claude Opus 4.7 |
| Max output | 128K tokens | 64K tokens | Claude Opus 4.7 |
| Input price / 1M | $5 ↗ | $3 ↗ | Claude Sonnet 4 |
| Output price / 1M | $25 ↗ | $15 ↗ | Claude Sonnet 4 |
| Cached input / 1M | $0.5 ↗ | $0.3 ↗ | Claude Sonnet 4 |
| Input + output / 1M Lower is cheaper. List prices; batch, tool and regional fees excluded. | $30 | $18 | Claude Sonnet 4 |
| Modalities | text · vision | text · vision | Tie |
| Released | 2026-04-16 | 2025-05-22 | — |
| Cited benchmark scores | 18 | 4 | — |
Reliability
Anthropic status
Last 60 days · refreshed daily on this page · live on /statusMore matchups
Claude Opus 4.7 vs …
Models sharing the most benchmarksMore matchups
Claude Sonnet 4 vs …
Models sharing the most benchmarksBuilt by Respan
Which one wins on your data?
Public benchmarks are a starting point. Run Claude Opus 4.7 and Claude Sonnet 4 on your own prompts with Respan evals, or route to either through one gateway key with automatic failover.