ModelsCompareBest forBenchmarksStatusPricingAPI
Compare / head-to-head

Claude Opus 4vsClaude Sonnet 4

Claude Sonnet 4 leads 3 of 4 shared benchmarks. Claude Sonnet 4 is 5x cheaper per token. Both offer a 200K-token context window.

Benchmarks from cited public sources; pricing from official pages; status from official provider feeds.

Shared benchmarks
1 – 3
Claude Sonnet 4 leads
Cheaper per token
Claude Sonnet 4
5x cheaper, input + output
Larger context
Tie
both 200K tokens
Provider uptime (30d)
100%
Anthropic
Claude Opus 4
Anthropic · released 2025-05-22
textvision
Context
200K
Max out
32K
Input /1M
$15
Output /1M
$75
Cached /1M
$1.5
Scores
6 · 5 core
Claude Sonnet 4
Anthropic · released 2025-05-22
textvision
Context
200K
Max out
64K
Input /1M
$3
Output /1M
$15
Cached /1M
$0.3
Scores
4 · 4 core
Quality

Benchmark matrix

BenchmarkClaude Opus 4Claude Sonnet 4ΔEdge
Reported by both · 4
SWE-bench Verified72.5% 72.7% -0.2 ptClaude Sonnet 4
GPQA Diamond76.3% epoch79.2% epoch-2.9 ptClaude Sonnet 4
AIME 2024 (no extended thinking)33.9% 33.1% +0.8 ptClaude Opus 4
OTIS Mock AIME 2024-2025 (Epoch AI run)64.4% epoch71.1% epoch-6.7 ptClaude Sonnet 4
Only Claude Opus 4 reports · 2
SWE-bench Verified (Epoch AI run)70.7% epochnot reported
Terminal-bench43.2% not reported
Only Claude Sonnet 4 reports · 0
Claude Sonnet 4 reports nothing Claude Opus 4 does not.
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 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

SpecClaude Opus 4Claude Sonnet 4Edge
Context window200K tokens200K tokensTie
Max output32K tokens64K tokensClaude Sonnet 4
Input price / 1M$15 $3 Claude Sonnet 4
Output price / 1M$75 $15 Claude Sonnet 4
Cached input / 1M$1.5 $0.3 Claude Sonnet 4
Input + output / 1M
Lower is cheaper. List prices; batch, tool and regional fees excluded.
$90$18Claude Sonnet 4
Modalitiestext · visiontext · visionTie
Released2025-05-222025-05-22
Cited benchmark scores64
Reliability

Anthropic status

All providers
More matchups

Claude Opus 4 vs …

More matchups

Claude Sonnet 4 vs …

Built by Respan
Which one wins on your data?

Public benchmarks are a starting point. Run Claude Opus 4 and Claude Sonnet 4 on your own prompts with Respan evals, or route to either through one gateway key with automatic failover.