Enter opens the highlighted result. Esc closes.

Claude Sonnet 5.5 vs GPT-5.2-Codex

Claude Sonnet 5.5 leads GPT-5.2-Codex on coding, 87.3 to 45.4 on the Vibe Coding Index, and Claude Sonnet 5.5 costs 1.4x less per output token ($10.00 vs $14.00 per million). Updated October 22, 2026; 10 benchmarks have a result for both.

Claude Sonnet 5.5Anthropic
Coding
87.3
Overall
82.8
Output $/M
$10.00
10
GPT-5.2-CodexOpenAI
Coding
45.4
Overall
No data
Output $/M
$14.00
0
vs boards won of 10 shared

Claude Sonnet 5.5 or GPT-5.2-Codex: which to pick

Pick Claude Sonnet 5.5 for coding: it scores 87.3 on the Vibe Coding Index against 45.4 for GPT-5.2-Codex.

GPT-5.2-Codex is neither cheaper nor larger in context, and leads no benchmark both models were measured on.

Shared results
10
Claude Sonnet 5.5 only
86
GPT-5.2-Codex only
12
Like-for-like categories
5 of 9

Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.

Which one for your work

Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.

At a glance

Coding index
Claude Sonnet 5.5 87.3 from 5 benchmarks, GPT-5.2-Codex 45.4 from 3 benchmarks.
Widest category
Coding, 44.0 points apart on average over 5 shared benchmarks.
Widest single gap
LMArena WebDev: Claude Sonnet 5.5 1768 against GPT-5.2-Codex 1339, 61.4 points apart on a 0 to 100 scale.
Output price
Claude Sonnet 5.5 $10.00 against GPT-5.2-Codex $14.00 per million output tokens, 1.4x apart.
Context window
Claude Sonnet 5.5 takes 1M tokens, GPT-5.2-Codex 400K.

Benchmark by benchmark

First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.

Boards won, where both have a result
CategoryClaude Sonnet 5.5BarsGPT-5.2-CodexTies
Coding50
Intelligence10
Agentic work20
Reasoning10
General10
All shared boards100
CodingLike-for-likeSix of these boards feed the Vibe Coding Index50
Coding benchmarks for Claude Sonnet 5.5 and GPT-5.2-Codex
BenchmarkClaude Sonnet 5.5GPT-5.2-CodexLeader
SWE-bench VerifiedNot measured72.8%Only GPT-5.2-Codex measured
SWE-bench MultilingualNot measured66.3%Only GPT-5.2-Codex measured
LiveBench coding94.7%Not measuredOnly Claude Sonnet 5.5 measured
LMArena WebDev17681339Claude Sonnet 5.5
LiveCodeBench (Vals AI)Not measured88.0%Only GPT-5.2-Codex measured
SWE-bench Verified (Vals AI)Not measured72.4%Only GPT-5.2-Codex measured
Terminal-Bench 4 (Vals AI)64.1%Not measuredOnly Claude Sonnet 5.5 measured
Vibe Code Bench (Vals AI)92.4%37.9%Claude Sonnet 5.5
Code migration (Vals AI)69.8%Not measuredOnly Claude Sonnet 5.5 measured
ProgramBench (Vals AI)6.5%Not measuredOnly Claude Sonnet 5.5 measured
IOI (Vals AI)83.1%Not measuredOnly Claude Sonnet 5.5 measured
Terminal-Bench 2.1 (Vals AI)83.2%Not measuredOnly Claude Sonnet 5.5 measured
SWE-bench Multimodal (Vals AI)58.3%Not measuredOnly Claude Sonnet 5.5 measured
CyberBench (Vals AI)59.6%Not measuredOnly Claude Sonnet 5.5 measured
SciCode61.0%Not measuredOnly Claude Sonnet 5.5 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured37.1%Only GPT-5.2-Codex measured
Terminal-BenchNot measured66.5%Only GPT-5.2-Codex measured
FrontierCode52.1%Not measuredOnly Claude Sonnet 5.5 measured
FrontierSWE61.9%Not measuredOnly Claude Sonnet 5.5 measured
ALE-Bench1819.11299.9Claude Sonnet 5.5
LMArena Text: coding1513Not measuredOnly Claude Sonnet 5.5 measured
LMArena Text: software and IT1504Not measuredOnly Claude Sonnet 5.5 measured
LMArena WebDev: React18171329Claude Sonnet 5.5
LMArena WebDev: HTML17411348Claude Sonnet 5.5
LMArena WebDev: from an image1737Not measuredOnly Claude Sonnet 5.5 measured
SciCode13.8%Not measuredOnly Claude Sonnet 5.5 measured
Neither model has a result on the other 13 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for Claude Sonnet 5.5 and GPT-5.2-Codex
BenchmarkClaude Sonnet 5.5GPT-5.2-CodexLeader
AA Intelligence Index56.028.5Claude Sonnet 5.5
Epoch Capabilities Index166.2Not measuredOnly Claude Sonnet 5.5 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index20
Agentic work benchmarks for Claude Sonnet 5.5 and GPT-5.2-Codex
BenchmarkClaude Sonnet 5.5GPT-5.2-CodexLeader
Design Arena: agents building web apps13051051Claude Sonnet 5.5
Design Arena: agents building full-stack appsNot measured993Only GPT-5.2-Codex measured
Design Arena: agents building mobile apps12601090Claude Sonnet 5.5
Design Arena: agents building Android appsNot measured1176Only GPT-5.2-Codex measured
Design Arena: agents building Godot gamesNot measured1142Only GPT-5.2-Codex measured
Design Arena: spreadsheets1260Not measuredOnly Claude Sonnet 5.5 measured
LiveBench research83.6%Not measuredOnly Claude Sonnet 5.5 measured
LiveBench browser84.0%Not measuredOnly Claude Sonnet 5.5 measured
LiveBench long agentic78.8%Not measuredOnly Claude Sonnet 5.5 measured
SREBench (Vals AI)30.1%Not measuredOnly Claude Sonnet 5.5 measured
Finance Agent (Vals AI)58.1%Not measuredOnly Claude Sonnet 5.5 measured
Tax Agent Bench (Vals AI)42.0%Not measuredOnly Claude Sonnet 5.5 measured
Legal Research Bench (Vals AI)48.1%Not measuredOnly Claude Sonnet 5.5 measured
Harvey's Legal Agent Benchmark (Vals AI)10.4%Not measuredOnly Claude Sonnet 5.5 measured
Excel Modeling Benchmark (Vals AI)75.7%Not measuredOnly Claude Sonnet 5.5 measured
BioMysteryBench (Vals AI)81.1%Not measuredOnly Claude Sonnet 5.5 measured
Terminal-Bench-Science (Vals AI)47.1%Not measuredOnly Claude Sonnet 5.5 measured
Vals Science Index59.1%Not measuredOnly Claude Sonnet 5.5 measured
τ²-Bench TelecomNot measured92.1%Only GPT-5.2-Codex measured
APEX-Agents75.5%Not measuredOnly Claude Sonnet 5.5 measured
SpireClimb1.3%Not measuredOnly Claude Sonnet 5.5 measured
Vending-Bench 2$11,165Not measuredOnly Claude Sonnet 5.5 measured
Neither model has a result on the other 19 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index10
Reasoning benchmarks for Claude Sonnet 5.5 and GPT-5.2-Codex
BenchmarkClaude Sonnet 5.5GPT-5.2-CodexLeader
LiveBench reasoning91.6%Not measuredOnly Claude Sonnet 5.5 measured
MysteryMechanism (Vals AI)49.1%Not measuredOnly Claude Sonnet 5.5 measured
GPQA Diamond (Artificial Analysis run)Not measured89.9%Only GPT-5.2-Codex measured
Humanity's Last Exam (Artificial Analysis run)55.0%35.7%Claude Sonnet 5.5
GPQA Diamond (Epoch AI run)95.6%Not measuredOnly Claude Sonnet 5.5 measured
Chess puzzles59.0%Not measuredOnly Claude Sonnet 5.5 measured
Mystery game puzzles65.0%Not measuredOnly Claude Sonnet 5.5 measured
LMArena Text: hard prompts1494Not measuredOnly Claude Sonnet 5.5 measured
LMArena Text: expert1531Not measuredOnly Claude Sonnet 5.5 measured
LMArena Text: hard prompts in English1502Not measuredOnly Claude Sonnet 5.5 measured
LMArena Vision: diagrams1329Not measuredOnly Claude Sonnet 5.5 measured
LMArena Vision: homework1331Not measuredOnly Claude Sonnet 5.5 measured
Neither model has a result on the other 10 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Math benchmarks for Claude Sonnet 5.5 and GPT-5.2-Codex
BenchmarkClaude Sonnet 5.5GPT-5.2-CodexLeader
OTIS Mock AIME100.0%Not measuredOnly Claude Sonnet 5.5 measured
FrontierMath, tiers 1 to 388.8%Not measuredOnly Claude Sonnet 5.5 measured
FrontierMath, tier 480.5%Not measuredOnly Claude Sonnet 5.5 measured
ProofBench100.0%Not measuredOnly Claude Sonnet 5.5 measured
LMArena Text: math1497Not measuredOnly Claude Sonnet 5.5 measured
LMArena Text: mathematical work1510Not measuredOnly Claude Sonnet 5.5 measured
Neither model has a result on the other 7 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Knowledge benchmarks for Claude Sonnet 5.5 and GPT-5.2-Codex
BenchmarkClaude Sonnet 5.5GPT-5.2-CodexLeader
MedCode (Vals AI)52.9%Not measuredOnly Claude Sonnet 5.5 measured
SimpleQA Verified46.5%Not measuredOnly Claude Sonnet 5.5 measured
LMArena Text: science1483Not measuredOnly Claude Sonnet 5.5 measured
LMArena Text: medicine and healthcare1464Not measuredOnly Claude Sonnet 5.5 measured
LMArena Text: legal and government1483Not measuredOnly Claude Sonnet 5.5 measured
LMArena Text: business and finance1468Not measuredOnly Claude Sonnet 5.5 measured
Neither model has a result on the other 12 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Web design benchmarks for Claude Sonnet 5.5 and GPT-5.2-Codex
BenchmarkClaude Sonnet 5.5GPT-5.2-CodexLeader
Design Arena: websites1326Not measuredOnly Claude Sonnet 5.5 measured
Design Arena: UI components1368Not measuredOnly Claude Sonnet 5.5 measured
Design Arena: game dev1471Not measuredOnly Claude Sonnet 5.5 measured
Design Arena: data viz1392Not measuredOnly Claude Sonnet 5.5 measured
Design Arena: 3D1445Not measuredOnly Claude Sonnet 5.5 measured
Design Arena: all code categories1364Not measuredOnly Claude Sonnet 5.5 measured
LiveBench design85.0%Not measuredOnly Claude Sonnet 5.5 measured
Neither model has a result on the other 2 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index10
General benchmarks for Claude Sonnet 5.5 and GPT-5.2-Codex
BenchmarkClaude Sonnet 5.5GPT-5.2-CodexLeader
Vals Index70.8%Not measuredOnly Claude Sonnet 5.5 measured
LiveBench data analysis59.5%Not measuredOnly Claude Sonnet 5.5 measured
Public Benefits Bench (Vals AI)67.2%Not measuredOnly Claude Sonnet 5.5 measured
SAGE (Vals AI)51.8%Not measuredOnly Claude Sonnet 5.5 measured
MedScribe (Vals AI)91.1%Not measuredOnly Claude Sonnet 5.5 measured
IFBenchNot measured77.6%Only GPT-5.2-Codex measured
Long context reasoning (AA-LCR)82.7%82.3%Claude Sonnet 5.5
DTBench97.3%Not measuredOnly Claude Sonnet 5.5 measured
LMCA68.3%Not measuredOnly Claude Sonnet 5.5 measured
Furniture assembly75.0%Not measuredOnly Claude Sonnet 5.5 measured
LMArena Text1473Not measuredOnly Claude Sonnet 5.5 measured
LMArena Text: instruction following1492Not measuredOnly Claude Sonnet 5.5 measured
LMArena Text: creative writing1467Not measuredOnly Claude Sonnet 5.5 measured
LMArena Vision1287Not measuredOnly Claude Sonnet 5.5 measured
LMArena Text: English1484Not measuredOnly Claude Sonnet 5.5 measured
LMArena Text: non-English1456Not measuredOnly Claude Sonnet 5.5 measured
LMArena Text: Chinese1535Not measuredOnly Claude Sonnet 5.5 measured
LMArena Text: French1499Not measuredOnly Claude Sonnet 5.5 measured
LMArena Text: Spanish1451Not measuredOnly Claude Sonnet 5.5 measured
LMArena Text: Russian1454Not measuredOnly Claude Sonnet 5.5 measured
LMArena Text: multi-turn1465Not measuredOnly Claude Sonnet 5.5 measured
LMArena Text: longer queries1495Not measuredOnly Claude Sonnet 5.5 measured
LMArena Text: writing and language1474Not measuredOnly Claude Sonnet 5.5 measured
LMArena Text: entertainment and media1461Not measuredOnly Claude Sonnet 5.5 measured
LMArena Vision: English1289Not measuredOnly Claude Sonnet 5.5 measured
LMArena Vision: reading text1297Not measuredOnly Claude Sonnet 5.5 measured
LMArena Vision: creative writing1242Not measuredOnly Claude Sonnet 5.5 measured
Neither model has a result on the other 19 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Claude Sonnet 5.5 and GPT-5.2-Codex
BenchmarkClaude Sonnet 5.5GPT-5.2-CodexLeader
Neither model has a result on 5 boards here

What each workload costs

Three fixed token mixes at each model's listed price, so per-token rates become a bill.

Chat turn

1K input + 500 output tokens

Claude Sonnet 5.5$0.0070Fits in one request
GPT-5.2-Codex$0.0088Fits in one request

Claude Sonnet 5.5 costs less

Repository review

50K input + 3K output tokens

Claude Sonnet 5.5$0.130Fits in one request
GPT-5.2-Codex$0.130Fits in one request

GPT-5.2-Codex costs less

Agent loop

200K input + 10K output tokens

Claude Sonnet 5.5$0.500Fits in one request
GPT-5.2-Codex$0.490Fits in one request

GPT-5.2-Codex costs less

Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.

Specification differences

The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.

Specifications of Claude Sonnet 5.5 and GPT-5.2-Codex
SpecificationAnthropic Claude Sonnet 5.5OpenAI GPT-5.2-Codex
MakerAnthropicOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedSeptember 28, 2026January 14, 2026
Context window1M400K
Input $/Mtok$2.00$1.75
Output $/Mtok$10.00$14.00
Coding index87.345.4
Independent measurements behind it53
Cost per solved taskNot computable$0.43
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Sonnet 5.5 better than GPT-5.2-Codex for coding?

Pick Claude Sonnet 5.5 for coding: it scores 87.3 on the Vibe Coding Index against 45.4 for GPT-5.2-Codex. GPT-5.2-Codex is neither cheaper nor larger in context, and leads no benchmark both models were measured on.

Which is cheaper, Claude Sonnet 5.5 or GPT-5.2-Codex?

Claude Sonnet 5.5 costs $2.00 per million input tokens and $10.00 per million output tokens; GPT-5.2-Codex costs $1.75 and $14.00. Cost per solved task is known for GPT-5.2-Codex only.

Which has the bigger context window, Claude Sonnet 5.5 or GPT-5.2-Codex?

Claude Sonnet 5.5, with 1M tokens against 400K.

How many benchmarks is the Claude Sonnet 5.5 vs GPT-5.2-Codex comparison based on?

10 benchmarks have a result for both models as of October 22, 2026. Claude Sonnet 5.5's coding index rests on 5 independent benchmarks and GPT-5.2-Codex's on 3. Where only one model has a result, the page says so instead of naming a winner.

Compare next

Embed this comparison on your site

Free under CC BY 4.0, while the source link stays visible. Preview the frame · Terms and other embeds

<iframe src="https://llmbenchmark.ai/embed/compare/claude-sonnet-5-5-vs-gpt-5-2-codex" title="Claude Sonnet 5.5 vs GPT-5.2-Codex, LLMBenchmark.ai" width="100%" height="360" style="border:0;max-width:100%" loading="lazy"></iframe>
<p style="font:13px/1.4 sans-serif;margin:6px 0 0">Source: <a href="https://llmbenchmark.ai/compare/claude-sonnet-5-5-vs-gpt-5-2-codex">LLMBenchmark.ai, Claude Sonnet 5.5 vs GPT-5.2-Codex</a></p>