ModelsCompareBest forBenchmarksStatusPricingAPI
Compare / head-to-head

Claude Opus 4vsClaude Sonnet 5

Claude Sonnet 5 leads 3 of 3 shared benchmarks. Claude Sonnet 5 is 7.5x cheaper per token. Claude Sonnet 5 has the larger context window (1M tokens).

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

Shared benchmarks
0 – 3
Claude Sonnet 5 leads
Cheaper per token
Claude Sonnet 5
7.5x cheaper, input + output
Larger context
Claude Sonnet 5
1M 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 5
Anthropic · released 2026-06-30
textvision
Context
1M
Max out
128K
Input /1M
$2
Output /1M
$10
Cached /1M
$0.2
Scores
8 · 8 core
Quality

Benchmark matrix

BenchmarkClaude Opus 4Claude Sonnet 5ΔEdge
Reported by both · 3
SWE-bench Verified72.5% 85.2% -12.7 ptClaude Sonnet 5
GPQA Diamond76.3% epoch90.5% epoch-14.2 ptClaude Sonnet 5
OTIS Mock AIME 2024-2025 (Epoch AI run)64.4% epoch94.7% epoch-30.3 ptClaude Sonnet 5
Only Claude Opus 4 reports · 3
AIME 2024 (no extended thinking)33.9% not reported
SWE-bench Verified (Epoch AI run)70.7% epochnot reported
Terminal-bench43.2% not reported
Only Claude Sonnet 5 reports · 5
Humanity's Last Exam (no tools)not reported43.2%
FrontierMath Tier 4 v2 (Epoch AI run)not reported29.3% epoch
FrontierMath Tiers 1-3 v2 (Epoch AI run)not reported65.6% epoch
Humanity's Last Exam (with tools)not reported57.4%
SimpleQA Verifiednot reported33.7% epoch
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 5 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 5Edge
Context window200K tokens1M tokensClaude Sonnet 5
Max output32K tokens128K tokensClaude Sonnet 5
Input price / 1M$15 $2 Claude Sonnet 5
Output price / 1M$75 $10 Claude Sonnet 5
Cached input / 1M$1.5 $0.2 Claude Sonnet 5
Input + output / 1M
Lower is cheaper. List prices; batch, tool and regional fees excluded.
$90$12Claude Sonnet 5
Modalitiestext · visiontext · visionTie
Released2025-05-222026-06-30
Cited benchmark scores68
Reliability

Anthropic status

All providers
More matchups

Claude Opus 4 vs …

More matchups

Claude Sonnet 5 vs …

Built by Respan
Which one wins on your data?

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