ModelsCompareBest forBenchmarksStatusPricingAPI
Compare / head-to-head

Claude Sonnet 5vsGPT-5.2

GPT-5.2 leads 5 of 6 shared benchmarks. Claude Sonnet 5 is 1.3x 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
1 – 5
GPT-5.2 leads
Cheaper per token
Claude Sonnet 5
1.3x cheaper, input + output
Larger context
Claude Sonnet 5
1M tokens
Provider uptime (30d)
100% · 95.493%
Anthropic · OpenAI
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
GPT-5.2
OpenAI · released 2025-12-11
textvision
Context
400K
Max out
128K
Input /1M
$1.75
Output /1M
$14
Cached /1M
$0.175
Scores
16 · 11 core
Quality

Benchmark matrix

BenchmarkClaude Sonnet 5GPT-5.2ΔEdge
Reported by both · 6
SWE-bench Verified85.2% 80% +5.2 ptClaude Sonnet 5
GPQA Diamond90.5% epoch92.4% -1.9 ptGPT-5.2
FrontierMath Tier 4 v2 (Epoch AI run)29.3% epoch31.7% epoch-2.4 ptGPT-5.2
FrontierMath Tiers 1-3 v2 (Epoch AI run)65.6% epoch67.4% epoch-1.8 ptGPT-5.2
OTIS Mock AIME 2024-2025 (Epoch AI run)94.7% epoch96.1% epoch-1.4 ptGPT-5.2
SimpleQA Verified33.7% epoch37.1% epoch-3.4 ptGPT-5.2
Only Claude Sonnet 5 reports · 2
Humanity's Last Exam (no tools)43.2% not reported
Humanity's Last Exam (with tools)57.4% not reported
Only GPT-5.2 reports · 8
AIME 2025not reported100%
AIME 2026not reported98.3% matharena
LMArena Elonot reported1412.4
ARC-AGI-1 (Verified)not reported86.2%
ARC-AGI-2 (Verified)not reported52.9%
GDPval (wins or ties)not reported70.9%
SWE-Bench Pronot reported55.6%
SWE-bench Verified (Epoch AI run)not reported73.8% 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 Sonnet 5 minus GPT-5.2 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 Sonnet 5GPT-5.2Edge
Context window1M tokens400K tokensClaude Sonnet 5
Max output128K tokens128K tokensTie
Input price / 1M$2 $1.75 GPT-5.2
Output price / 1M$10 $14 Claude Sonnet 5
Cached input / 1M$0.2 $0.175 GPT-5.2
Input + output / 1M
Lower is cheaper. List prices; batch, tool and regional fees excluded.
$12$15.75Claude Sonnet 5
Modalitiestext · visiontext · visionTie
Released2026-06-302025-12-11
Cited benchmark scores816
Reliability

Provider status

All providers
More matchups

Claude Sonnet 5 vs …

Built by Respan
Which one wins on your data?

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