LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

Claude Opus 4.6 vs GPT-5.2-Codex

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

Claude Opus 4.6Anthropic
Coding
66.9
Overall
31.9
Output $/M
$25.00
15
GPT-5.2-CodexOpenAI
Coding
55.1
Overall
28.5
Output $/M
$14.00
4
vs boards won of 20 shared, 1 tied

Decision reading

Pick Claude Opus 4.6 for coding: it scores 66.9 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.56.

Shared results
20
Claude Opus 4.6 only
88
GPT-5.2-Codex only
2
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 4.6 66.9 from 2 benchmarks, GPT-5.2-Codex 55.1 from 2 benchmarks.
Widest category
Coding, 16.2 points apart on average over 10 shared benchmarks.
Widest single gap
LMArena WebDev: HTML: Claude Opus 4.6 1559 against GPT-5.2-Codex 1348, 35.1 points apart on a 0 to 100 scale.
Output price
Claude Opus 4.6 $25.00 against GPT-5.2-Codex $14.00 per million output tokens, 1.8x apart.
Context window
Claude Opus 4.6 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 4.6BarsGPT-5.2-CodexTies
Coding91
Intelligence10
Agentic work401 tie
Reasoning11
General02
All shared boards1541 tie
CodingLike-for-likeFour of these boards feed the Vibe Coding Index91
Coding benchmarks for Claude Opus 4.6 and GPT-5.2-Codex
BenchmarkClaude Opus 4.6GPT-5.2-CodexLeader
SWE-bench Verified75.6%72.8%Claude Opus 4.6
SWE-bench Multilingual72.0%66.3%Claude Opus 4.6
LMArena WebDev15471339Claude Opus 4.6
LiveCodeBench (Vals AI)84.7%88.0%GPT-5.2-Codex
SWE-bench Verified (Vals AI)78.2%72.4%Claude Opus 4.6
Vibe Code Bench (Vals AI)57.6%37.9%Claude Opus 4.6
Terminal-Bench Hard (Artificial Analysis run)48.5%37.1%Claude Opus 4.6
Terminal-Bench79.8%66.5%Claude Opus 4.6
FrontierCode26.6%Not measuredOnly Claude Opus 4.6 measured
GSO-Bench41.2%Not measuredOnly Claude Opus 4.6 measured
WeirdML78.0%Not measuredOnly Claude Opus 4.6 measured
Cybench93.0%Not measuredOnly Claude Opus 4.6 measured
ALE-BenchNot measured1299.9Only GPT-5.2-Codex measured
LMArena Text: coding1534Not measuredOnly Claude Opus 4.6 measured
LMArena Text: software and IT1527Not measuredOnly Claude Opus 4.6 measured
LMArena WebDev: React15391329Claude Opus 4.6
LMArena WebDev: HTML15591348Claude Opus 4.6
LMArena WebDev: from an image1543Not measuredOnly Claude Opus 4.6 measured
Neither model has a result on the other 20 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for Claude Opus 4.6 and GPT-5.2-Codex
BenchmarkClaude Opus 4.6GPT-5.2-CodexLeader
AA Intelligence Index31.928.5Claude Opus 4.6
Epoch Capabilities Index155.7Not measuredOnly Claude Opus 4.6 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index40
Agentic work benchmarks for Claude Opus 4.6 and GPT-5.2-Codex
BenchmarkClaude Opus 4.6GPT-5.2-CodexLeader
Design Arena: agents building web apps12061051Claude Opus 4.6
Design Arena: agents building full-stack apps1220993Claude Opus 4.6
Design Arena: agents building mobile apps12071090Claude Opus 4.6
Design Arena: agents building Android apps12041176Claude Opus 4.6
Design Arena: agents building Godot gamesNot measured1142Only GPT-5.2-Codex measured
Design Arena: agents building games1214Not measuredOnly Claude Opus 4.6 measured
τ²-Bench Telecom92.1%92.1%Tie
APEX-Agents46.3%Not measuredOnly Claude Opus 4.6 measured
METR time horizons78.9%Not measuredOnly Claude Opus 4.6 measured
Remote Labor Index4.2%Not measuredOnly Claude Opus 4.6 measured
DeepResearch Bench55.3%Not measuredOnly Claude Opus 4.6 measured
Vending-Bench 2$8,018Not measuredOnly Claude Opus 4.6 measured
Neither model has a result on the other 27 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index11
Reasoning benchmarks for Claude Opus 4.6 and GPT-5.2-Codex
BenchmarkClaude Opus 4.6GPT-5.2-CodexLeader
GPQA Diamond89.7%Not measuredOnly Claude Opus 4.6 measured
MMMU Pro (Vals AI)83.9%Not measuredOnly Claude Opus 4.6 measured
GPQA Diamond (Artificial Analysis run)89.6%89.9%GPT-5.2-Codex
Humanity's Last Exam (Artificial Analysis run)39.9%35.7%Claude Opus 4.6
GPQA Diamond (Epoch AI run)90.5%Not measuredOnly Claude Opus 4.6 measured
ARC-AGI94.0%Not measuredOnly Claude Opus 4.6 measured
ARC-AGI-269.2%Not measuredOnly Claude Opus 4.6 measured
SimpleBench67.6%Not measuredOnly Claude Opus 4.6 measured
Chess puzzles21.0%Not measuredOnly Claude Opus 4.6 measured
Mystery game puzzles25.0%Not measuredOnly Claude Opus 4.6 measured
EBR-bench12.7%Not measuredOnly Claude Opus 4.6 measured
LMArena Text: hard prompts1525Not measuredOnly Claude Opus 4.6 measured
LMArena Text: expert1544Not measuredOnly Claude Opus 4.6 measured
LMArena Text: hard prompts in English1530Not measuredOnly Claude Opus 4.6 measured
LMArena Vision: diagrams1340Not measuredOnly Claude Opus 4.6 measured
LMArena Vision: homework1337Not measuredOnly Claude Opus 4.6 measured
Neither model has a result on the other 5 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Math benchmarks for Claude Opus 4.6 and GPT-5.2-Codex
BenchmarkClaude Opus 4.6GPT-5.2-CodexLeader
AIME95.6%Not measuredOnly Claude Opus 4.6 measured
OTIS Mock AIME94.4%Not measuredOnly Claude Opus 4.6 measured
FrontierMath, tiers 1 to 366.0%Not measuredOnly Claude Opus 4.6 measured
FrontierMath, tier 426.8%Not measuredOnly Claude Opus 4.6 measured
ProofBench50.0%Not measuredOnly Claude Opus 4.6 measured
LMArena Text: math1518Not measuredOnly Claude Opus 4.6 measured
LMArena Text: mathematical work1525Not measuredOnly Claude Opus 4.6 measured
Neither model has a result on the other 6 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index13 boards, none shared
Knowledge benchmarks for Claude Opus 4.6 and GPT-5.2-Codex
BenchmarkClaude Opus 4.6GPT-5.2-CodexLeader
MMLU Pro89.1%Not measuredOnly Claude Opus 4.6 measured
LegalBench (Vals AI)85.3%Not measuredOnly Claude Opus 4.6 measured
CaseLaw (Vals AI)62.1%Not measuredOnly Claude Opus 4.6 measured
CorpFin (Vals AI)67.0%Not measuredOnly Claude Opus 4.6 measured
TaxEval (Vals AI)76.0%Not measuredOnly Claude Opus 4.6 measured
MortgageTax (Vals AI)68.5%Not measuredOnly Claude Opus 4.6 measured
MedQA (Vals AI)95.4%Not measuredOnly Claude Opus 4.6 measured
MedCode (Vals AI)49.1%Not measuredOnly Claude Opus 4.6 measured
SimpleQA Verified47.0%Not measuredOnly Claude Opus 4.6 measured
LMArena Text: science1519Not measuredOnly Claude Opus 4.6 measured
LMArena Text: medicine and healthcare1504Not measuredOnly Claude Opus 4.6 measured
LMArena Text: legal and government1512Not measuredOnly Claude Opus 4.6 measured
LMArena Text: business and finance1497Not measuredOnly Claude Opus 4.6 measured
Neither model has a result on the other 4 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Web design benchmarks for Claude Opus 4.6 and GPT-5.2-Codex
BenchmarkClaude Opus 4.6GPT-5.2-CodexLeader
Design Arena: websites1291Not measuredOnly Claude Opus 4.6 measured
Design Arena: UI components1284Not measuredOnly Claude Opus 4.6 measured
Design Arena: game dev1278Not measuredOnly Claude Opus 4.6 measured
Design Arena: data viz1279Not measuredOnly Claude Opus 4.6 measured
Design Arena: 3D1274Not measuredOnly Claude Opus 4.6 measured
Design Arena: all code categories1289Not measuredOnly Claude Opus 4.6 measured
Design Arena: SVG1227Not measuredOnly Claude Opus 4.6 measured
Design Arena: ASCII art1254Not measuredOnly Claude Opus 4.6 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index02
General benchmarks for Claude Opus 4.6 and GPT-5.2-Codex
BenchmarkClaude Opus 4.6GPT-5.2-CodexLeader
SAGE (Vals AI)51.6%Not measuredOnly Claude Opus 4.6 measured
MedScribe (Vals AI)86.7%Not measuredOnly Claude Opus 4.6 measured
IFBench53.1%77.6%GPT-5.2-Codex
Long context reasoning (AA-LCR)78.0%82.3%GPT-5.2-Codex
DTBench91.2%Not measuredOnly Claude Opus 4.6 measured
LMCA55.8%Not measuredOnly Claude Opus 4.6 measured
CL-bench20.7%Not measuredOnly Claude Opus 4.6 measured
Furniture assembly28.3%Not measuredOnly Claude Opus 4.6 measured
CL-bench Life17.0%Not measuredOnly Claude Opus 4.6 measured
LMArena Text1501Not measuredOnly Claude Opus 4.6 measured
LMArena Text: instruction following1521Not measuredOnly Claude Opus 4.6 measured
LMArena Text: creative writing1505Not measuredOnly Claude Opus 4.6 measured
LMArena Vision1316Not measuredOnly Claude Opus 4.6 measured
LMArena Text: English1511Not measuredOnly Claude Opus 4.6 measured
LMArena Text: non-English1488Not measuredOnly Claude Opus 4.6 measured
LMArena Text: Chinese1551Not measuredOnly Claude Opus 4.6 measured
LMArena Text: German1500Not measuredOnly Claude Opus 4.6 measured
LMArena Text: Japanese1488Not measuredOnly Claude Opus 4.6 measured
LMArena Text: Korean1464Not measuredOnly Claude Opus 4.6 measured
LMArena Text: French1512Not measuredOnly Claude Opus 4.6 measured
LMArena Text: Spanish1510Not measuredOnly Claude Opus 4.6 measured
LMArena Text: Russian1497Not measuredOnly Claude Opus 4.6 measured
LMArena Text: Polish1499Not measuredOnly Claude Opus 4.6 measured
LMArena Text: multi-turn1511Not measuredOnly Claude Opus 4.6 measured
LMArena Text: longer queries1518Not measuredOnly Claude Opus 4.6 measured
LMArena Text: writing and language1502Not measuredOnly Claude Opus 4.6 measured
LMArena Text: entertainment and media1492Not measuredOnly Claude Opus 4.6 measured
LMArena Vision: English1324Not measuredOnly Claude Opus 4.6 measured
LMArena Vision: Chinese1370Not measuredOnly Claude Opus 4.6 measured
LMArena Vision: reading text1326Not measuredOnly Claude Opus 4.6 measured
LMArena Vision: humor1314Not measuredOnly Claude Opus 4.6 measured
LMArena Vision: recognizing things1274Not measuredOnly Claude Opus 4.6 measured
LMArena Vision: creative writing1331Not measuredOnly Claude Opus 4.6 measured
LMArena Document1507Not measuredOnly Claude Opus 4.6 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 4.6 and GPT-5.2-Codex
BenchmarkClaude Opus 4.6GPT-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 4.6$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 4.6$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 4.6$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 4.6 and GPT-5.2-Codex
SpecificationAnthropic Claude Opus 4.6OpenAI GPT-5.2-Codex
MakerAnthropicOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedFebruary 4, 2026January 14, 2026
Context window1M400K
Input $/Mtok$5.00$1.75
Output $/Mtok$25.00$14.00
Coding index66.955.1
Independent measurements behind it22
Cost per solved task$1.56$0.43
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick Claude Opus 4.6 for coding: it scores 66.9 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.56.

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

Claude Opus 4.6 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 4.6 costs $1.56 and GPT-5.2-Codex $0.43.

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

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

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

20 benchmarks have a result for both models as of October 21, 2026. Claude Opus 4.6'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-4-6-vs-gpt-5-2-codex" title="Claude Opus 4.6 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-4-6-vs-gpt-5-2-codex">LLMBenchmark.ai, Claude Opus 4.6 vs GPT-5.2-Codex</a></p>