LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

Claude Opus 5 vs GPT-5.2-Codex

Updated October 21, 2026. 16 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

Claude Opus 5Anthropic
Coding
81.8
Overall
50.8
Output $/M
$25.00
15
GPT-5.2-CodexOpenAI
Coding
55.1
Overall
28.5
Output $/M
$14.00
1
vs boards won of 16 shared

Decision reading

Pick Claude Opus 5 for coding: it scores 81.8 on the Vibe Coding Index against 55.1 for GPT-5.2-Codex.

Pick GPT-5.2-Codex when output tokens cost 1.8x less, or when a solved task costs $0.43 against $1.33.

Shared results
16
Claude Opus 5 only
114
GPT-5.2-Codex only
6
Like-for-like categories
5 of 9

Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.

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 Opus 5 81.8 from 2 benchmarks, GPT-5.2-Codex 55.1 from 2 benchmarks.
Widest category
Coding, 34.6 points apart on average over 7 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): Claude Opus 5 88.4% against GPT-5.2-Codex 37.9%, 50.5 points apart on a 0 to 100 scale.
Output price
Claude Opus 5 $25.00 against GPT-5.2-Codex $14.00 per million output tokens, 1.8x apart.
Context window
Claude Opus 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 Opus 5BarsGPT-5.2-CodexTies
Coding70
Intelligence10
Agentic work50
Reasoning20
General01
All shared boards151
CodingLike-for-likeFour of these boards feed the Vibe Coding Index70
Coding benchmarks for Claude Opus 5 and GPT-5.2-Codex
BenchmarkClaude Opus 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 coding90.8%Not measuredOnly Claude Opus 5 measured
LMArena WebDev16891339Claude Opus 5
AA Coding Index78.0Not measuredOnly Claude Opus 5 measured
LiveCodeBench (Vals AI)89.0%88.0%Claude Opus 5
SWE-bench Verified (Vals AI)97.0%72.4%Claude Opus 5
Terminal-Bench 4 (Vals AI)53.5%Not measuredOnly Claude Opus 5 measured
Vibe Code Bench (Vals AI)88.4%37.9%Claude Opus 5
Code migration (Vals AI)57.5%Not measuredOnly Claude Opus 5 measured
ProgramBench (Vals AI)3.0%Not measuredOnly Claude Opus 5 measured
IOI (Vals AI)84.3%Not measuredOnly Claude Opus 5 measured
Terminal-Bench 2.1 (Vals AI)84.6%Not measuredOnly Claude Opus 5 measured
Vibe Code Bench 1-100 (Vals AI)28.5%Not measuredOnly Claude Opus 5 measured
SkillsBench (Vals AI)60.4%Not measuredOnly Claude Opus 5 measured
CyberBench (Vals AI)65.4%Not measuredOnly Claude Opus 5 measured
SciCode56.4%Not measuredOnly Claude Opus 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
FrontierCode53.4%Not measuredOnly Claude Opus 5 measured
FrontierSWE52.0%Not measuredOnly Claude Opus 5 measured
WeirdML91.8%Not measuredOnly Claude Opus 5 measured
ALE-Bench2164.61299.9Claude Opus 5
LMArena Text: coding1533Not measuredOnly Claude Opus 5 measured
LMArena Text: software and IT1527Not measuredOnly Claude Opus 5 measured
LMArena WebDev: React17111329Claude Opus 5
LMArena WebDev: HTML16801348Claude Opus 5
LMArena WebDev: from an image1662Not measuredOnly Claude Opus 5 measured
Neither model has a result on the other 10 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for Claude Opus 5 and GPT-5.2-Codex
BenchmarkClaude Opus 5GPT-5.2-CodexLeader
AA Intelligence Index50.828.5Claude Opus 5
Epoch Capabilities Index163.9Not measuredOnly Claude Opus 5 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index50
Agentic work benchmarks for Claude Opus 5 and GPT-5.2-Codex
BenchmarkClaude Opus 5GPT-5.2-CodexLeader
AA Agentic Index56.5Not measuredOnly Claude Opus 5 measured
Design Arena: agents building web apps12661051Claude Opus 5
Design Arena: agents building full-stack apps1306993Claude Opus 5
Design Arena: agents building mobile apps13481090Claude Opus 5
Design Arena: agents building Android apps12581176Claude Opus 5
Design Arena: agents building Godot games12791142Claude Opus 5
Design Arena: agents building games1261Not measuredOnly Claude Opus 5 measured
Design Arena: PowerPoint slides1265Not measuredOnly Claude Opus 5 measured
LiveBench research88.9%Not measuredOnly Claude Opus 5 measured
LiveBench browser84.0%Not measuredOnly Claude Opus 5 measured
LiveBench long agentic62.1%Not measuredOnly Claude Opus 5 measured
SREBench (Vals AI)12.2%Not measuredOnly Claude Opus 5 measured
Finance Agent (Vals AI)58.6%Not measuredOnly Claude Opus 5 measured
Tax Agent Bench (Vals AI)45.5%Not measuredOnly Claude Opus 5 measured
Legal Research Bench (Vals AI)55.3%Not measuredOnly Claude Opus 5 measured
Excel Modeling Benchmark (Vals AI)73.6%Not measuredOnly Claude Opus 5 measured
BioMysteryBench (Vals AI)79.3%Not measuredOnly Claude Opus 5 measured
Terminal-Bench-Science (Vals AI)27.1%Not measuredOnly Claude Opus 5 measured
Vals Science Index47.9%Not measuredOnly Claude Opus 5 measured
Time Horizon Index (Vals AI)18.8%Not measuredOnly Claude Opus 5 measured
CUA-bench (Vals AI)9.0%Not measuredOnly Claude Opus 5 measured
τ²-Bench TelecomNot measured92.1%Only GPT-5.2-Codex measured
APEX-Agents65.8%Not measuredOnly Claude Opus 5 measured
OSWorld 2.031.4%Not measuredOnly Claude Opus 5 measured
BALROG63.4%Not measuredOnly Claude Opus 5 measured
PostTrainBench35.0%Not measuredOnly Claude Opus 5 measured
Vending-Bench 2$11,182Not measuredOnly Claude Opus 5 measured
LMArena Search1242Not measuredOnly Claude Opus 5 measured
Neither model has a result on the other 11 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index20
Reasoning benchmarks for Claude Opus 5 and GPT-5.2-Codex
BenchmarkClaude Opus 5GPT-5.2-CodexLeader
GPQA Diamond93.4%Not measuredOnly Claude Opus 5 measured
LiveBench reasoning91.2%Not measuredOnly Claude Opus 5 measured
MysteryMechanism (Vals AI)37.4%Not measuredOnly Claude Opus 5 measured
MMMU Pro (Vals AI)89.9%Not measuredOnly Claude Opus 5 measured
GPQA Diamond (Artificial Analysis run)93.7%89.9%Claude Opus 5
Humanity's Last Exam (Artificial Analysis run)54.9%35.7%Claude Opus 5
GPQA Diamond (Epoch AI run)93.9%Not measuredOnly Claude Opus 5 measured
ARC-AGI97.5%Not measuredOnly Claude Opus 5 measured
ARC-AGI-290.4%Not measuredOnly Claude Opus 5 measured
SimpleBench80.6%Not measuredOnly Claude Opus 5 measured
Chess puzzles43.0%Not measuredOnly Claude Opus 5 measured
Mystery game puzzles59.0%Not measuredOnly Claude Opus 5 measured
EBR-bench45.7%Not measuredOnly Claude Opus 5 measured
LMArena Text: hard prompts1527Not measuredOnly Claude Opus 5 measured
LMArena Text: expert1554Not measuredOnly Claude Opus 5 measured
LMArena Text: hard prompts in English1523Not measuredOnly Claude Opus 5 measured
LMArena Vision: diagrams1348Not measuredOnly Claude Opus 5 measured
LMArena Vision: homework1338Not measuredOnly Claude Opus 5 measured
Neither model has a result on the other 3 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Math benchmarks for Claude Opus 5 and GPT-5.2-Codex
BenchmarkClaude Opus 5GPT-5.2-CodexLeader
OTIS Mock AIME98.9%Not measuredOnly Claude Opus 5 measured
FrontierMath, tiers 1 to 385.6%Not measuredOnly Claude Opus 5 measured
FrontierMath, tier 473.2%Not measuredOnly Claude Opus 5 measured
ProofBench99.0%Not measuredOnly Claude Opus 5 measured
LMArena Text: math1533Not measuredOnly Claude Opus 5 measured
LMArena Text: mathematical work1544Not measuredOnly Claude Opus 5 measured
Neither model has a result on the other 7 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index11 boards, none shared
Knowledge benchmarks for Claude Opus 5 and GPT-5.2-Codex
BenchmarkClaude Opus 5GPT-5.2-CodexLeader
MMLU Pro91.6%Not measuredOnly Claude Opus 5 measured
LegalBench (Vals AI)87.0%Not measuredOnly Claude Opus 5 measured
CorpFin (Vals AI)73.2%Not measuredOnly Claude Opus 5 measured
TaxEval (Vals AI)75.1%Not measuredOnly Claude Opus 5 measured
MortgageTax (Vals AI)72.1%Not measuredOnly Claude Opus 5 measured
MedCode (Vals AI)63.6%Not measuredOnly Claude Opus 5 measured
SimpleQA Verified59.9%Not measuredOnly Claude Opus 5 measured
LMArena Text: science1531Not measuredOnly Claude Opus 5 measured
LMArena Text: medicine and healthcare1525Not measuredOnly Claude Opus 5 measured
LMArena Text: legal and government1530Not measuredOnly Claude Opus 5 measured
LMArena Text: business and finance1501Not measuredOnly Claude Opus 5 measured
Neither model has a result on the other 6 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
Web design benchmarks for Claude Opus 5 and GPT-5.2-Codex
BenchmarkClaude Opus 5GPT-5.2-CodexLeader
Design Arena: websites1309Not measuredOnly Claude Opus 5 measured
Design Arena: UI components1348Not measuredOnly Claude Opus 5 measured
Design Arena: game dev1339Not measuredOnly Claude Opus 5 measured
Design Arena: data viz1329Not measuredOnly Claude Opus 5 measured
Design Arena: 3D1335Not measuredOnly Claude Opus 5 measured
Design Arena: all code categories1324Not measuredOnly Claude Opus 5 measured
Design Arena: SVG1310Not measuredOnly Claude Opus 5 measured
Design Arena: ASCII art1352Not measuredOnly Claude Opus 5 measured
LiveBench design83.0%Not measuredOnly Claude Opus 5 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index01
General benchmarks for Claude Opus 5 and GPT-5.2-Codex
BenchmarkClaude Opus 5GPT-5.2-CodexLeader
LiveBench data analysis74.6%Not measuredOnly Claude Opus 5 measured
Public Benefits Bench (Vals AI)76.9%Not measuredOnly Claude Opus 5 measured
SAGE (Vals AI)49.4%Not measuredOnly Claude Opus 5 measured
MedScribe (Vals AI)91.0%Not measuredOnly Claude Opus 5 measured
Vals Multimodal Index73.9%Not measuredOnly Claude Opus 5 measured
IFBenchNot measured77.6%Only GPT-5.2-Codex measured
Long context reasoning (AA-LCR)82.0%82.3%GPT-5.2-Codex
DTBench97.9%Not measuredOnly Claude Opus 5 measured
LMCA64.5%Not measuredOnly Claude Opus 5 measured
Furniture assembly60.8%Not measuredOnly Claude Opus 5 measured
LMArena Text1509Not measuredOnly Claude Opus 5 measured
LMArena Text: instruction following1518Not measuredOnly Claude Opus 5 measured
LMArena Text: creative writing1493Not measuredOnly Claude Opus 5 measured
LMArena Vision1320Not measuredOnly Claude Opus 5 measured
LMArena Text: English1508Not measuredOnly Claude Opus 5 measured
LMArena Text: non-English1502Not measuredOnly Claude Opus 5 measured
LMArena Text: Chinese1573Not measuredOnly Claude Opus 5 measured
LMArena Text: German1527Not measuredOnly Claude Opus 5 measured
LMArena Text: Japanese1520Not measuredOnly Claude Opus 5 measured
LMArena Text: Korean1517Not measuredOnly Claude Opus 5 measured
LMArena Text: French1519Not measuredOnly Claude Opus 5 measured
LMArena Text: Spanish1523Not measuredOnly Claude Opus 5 measured
LMArena Text: Russian1507Not measuredOnly Claude Opus 5 measured
LMArena Text: Polish1522Not measuredOnly Claude Opus 5 measured
LMArena Text: multi-turn1500Not measuredOnly Claude Opus 5 measured
LMArena Text: longer queries1517Not measuredOnly Claude Opus 5 measured
LMArena Text: writing and language1499Not measuredOnly Claude Opus 5 measured
LMArena Text: entertainment and media1481Not measuredOnly Claude Opus 5 measured
LMArena Vision: English1315Not measuredOnly Claude Opus 5 measured
LMArena Vision: Chinese1400Not measuredOnly Claude Opus 5 measured
LMArena Vision: reading text1329Not measuredOnly Claude Opus 5 measured
LMArena Vision: humor1293Not measuredOnly Claude Opus 5 measured
LMArena Vision: creative writing1313Not measuredOnly Claude Opus 5 measured
LMArena Document1516Not measuredOnly Claude Opus 5 measured
Neither model has a result on the other 12 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Claude Opus 5 and GPT-5.2-Codex
BenchmarkClaude Opus 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 Opus 5$0.018Fits in one request
GPT-5.2-Codex$0.0088Fits in one request

GPT-5.2-Codex costs less

Repository review

50K input + 3K output tokens

Claude Opus 5$0.325Fits 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 Opus 5$1.25Fits 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 Opus 5 and GPT-5.2-Codex
SpecificationAnthropic Claude Opus 5OpenAI GPT-5.2-Codex
MakerAnthropicOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedJuly 24, 2026January 14, 2026
Context window1M400K
Input $/Mtok$5.00$1.75
Output $/Mtok$25.00$14.00
Coding index81.855.1
Independent measurements behind it22
Cost per solved task$1.33$0.43
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Opus 5 better than GPT-5.2-Codex for coding?

Pick Claude Opus 5 for coding: it scores 81.8 on the Vibe Coding Index against 55.1 for GPT-5.2-Codex. Pick GPT-5.2-Codex when output tokens cost 1.8x less, or when a solved task costs $0.43 against $1.33.

Which is cheaper, Claude Opus 5 or GPT-5.2-Codex?

Claude Opus 5 costs $5.00 per million input tokens and $25.00 per million output tokens; GPT-5.2-Codex costs $1.75 and $14.00. Per solved SWE-bench Verified task, Claude Opus 5 costs $1.33 and GPT-5.2-Codex $0.43.

Which has the bigger context window, Claude Opus 5 or GPT-5.2-Codex?

Claude Opus 5, with 1M tokens against 400K.

How many benchmarks is the Claude Opus 5 vs GPT-5.2-Codex comparison based on?

16 benchmarks have a result for both models as of October 21, 2026. Claude Opus 5's coding index rests on 2 independent benchmarks and GPT-5.2-Codex's on 2. 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-opus-5-vs-gpt-5-2-codex" title="Claude Opus 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-opus-5-vs-gpt-5-2-codex">LLMBenchmark.ai, Claude Opus 5 vs GPT-5.2-Codex</a></p>