Compare / head-to-head

Claude Sonnet 5.5vsGPT-5.2-Codex

Claude Sonnet 5.5 leads 8 of 8 shared benchmarks. Claude Sonnet 5.5 is 1.3x cheaper per token. Claude Sonnet 5.5 has the larger context window (1M tokens).

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

Shared benchmarks
8 – 0
Claude Sonnet 5.5 leads
Cheaper per token
Claude Sonnet 5.5
1.3x cheaper, input + output
Larger context
Claude Sonnet 5.5
1M tokens
Providers
2 providers
Anthropic · OpenAI
Claude Sonnet 5.5
Anthropic · released 2026-09-28
textvision
Context
1M
Max out
128K
Input /1M
$2 ↗
Output /1M
$10 ↗
Cached /1M
$0.2
Scores
29 · 10 core
GPT-5.2-Codex
OpenAI · released 2025-12-18
textvision
Context
400K
Max out
128K
Input /1M
$1.75 ↗
Output /1M
$14 ↗
Cached /1M
$0.175
Scores
13 · 2 core
Quality

Benchmark matrix

BenchmarkClaude Sonnet 5.5GPT-5.2-CodexΔEdge
Reported by both · 8
LiveBench Agentic Coding (LiveBench)56.3% ↗49.4% ↗+6.9 ptClaude Sonnet 5.5
LiveBench Coding (LiveBench)91.4% ↗83.6% ↗+7.8 ptClaude Sonnet 5.5
LiveBench Data Analysis (LiveBench)78.6% ↗78.2% ↗+0.4 ptClaude Sonnet 5.5
LiveBench Instruction Following (LiveBench)70.5% ↗66.4% ↗+4.1 ptClaude Sonnet 5.5
LiveBench Language (LiveBench)83.4% ↗73.7% ↗+9.7 ptClaude Sonnet 5.5
LiveBench Mathematics (LiveBench)96.7% ↗88.8% ↗+7.9 ptClaude Sonnet 5.5
LiveBench Reasoning (LiveBench)91.6% ↗77.7% ↗+13.9 ptClaude Sonnet 5.5
LMArena WebDev (LMArena)1786.3 ↗1338.9 ↗+447.4Claude Sonnet 5.5
Only Claude Sonnet 5.5 reports · 21
GPQA Diamond95.6% ↗epoch runnot reported——
LMArena Elo1471 ↗not reported——
APEX-Agents (Mercor)75.5% ↗not reported——
Chartography (no tools)61.6% ↗not reported——
CursorBench 4.055.5% ↗not reported——
FrontierCode v1.1 (Main)46.2% ↗not reported——
FrontierMath Tier 4 v2 (Epoch AI run)80.5% ↗epoch runnot reported——
FrontierMath Tiers 1-3 v2 (Epoch AI run)88.8% ↗epoch runnot reported——
FrontierSWE V2 (Proximal Labs)61.9% ↗not reported——
Furniture Assembly (Epoch AI run)75% ↗epoch runnot reported——
Humanity's Last Exam (with tools)64.5% ↗not reported——
LMArena Agent (LMArena)0.1252 ↗not reported——
LMArena Vision (LMArena)1268.3 ↗not reported——
Mystery Game Puzzles (Epoch AI run)65% ↗epoch runnot reported——
OSWorld 2.1 (partial)80.1% ↗not reported——
OTIS Mock AIME 2024-2025 (Epoch AI run)100% ↗epoch runnot reported——
SAGE (Vals AI)51.8% ↗not reported——
SimpleBench (SimpleBench)75.9% ↗not reported——
SimpleQA Verified46.5% ↗epoch runnot reported——
Terminal-Bench 4.070.6% ↗not reported——
Terminal-Bench 4.0 (Vals AI)64.1% ↗not reported——
Only GPT-5.2-Codex reports · 5
Cybersecurity Capture The Flag Challengesnot reported67.4% ↗——
OSWorld-Verifiednot reported38.2% ↗——
SWE-Bench Pronot reported56.4% ↗——
SWE-Lancer IC Diamondnot reported76% ↗——
Terminal-Bench 2.0not reported64% ↗——
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.5 minus GPT-5.2-Codex 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 5.5GPT-5.2-CodexEdge
Context window1M tokens400K tokensClaude Sonnet 5.5
Max output128K tokens128K tokensTie
Input price / 1M$2 ↗$1.75 ↗GPT-5.2-Codex
Output price / 1M$10 ↗$14 ↗Claude Sonnet 5.5
Cached input / 1M$0.2 ↗$0.175 ↗GPT-5.2-Codex
Input + output / 1M
Lower is cheaper. List prices; batch, tool and regional fees excluded.
$12$15.75Claude Sonnet 5.5
Modalitiestext · visiontext · visionTie
Released2026-09-282025-12-18—
Cited benchmark scores2913—
Reliability

Provider status

All providers →
More matchups

Claude Sonnet 5.5 vs …

More matchups

GPT-5.2-Codex vs …

Built by Respan
Which one wins on your data?

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