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.
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.
Coding
Vibe Coding Index, four public coding benchmarks
Claude Opus 4.6
Claude Opus 4.6 scores 66.9 against 55.1.
2 benchmarks behind each score
Intelligence
AA Intelligence Index
Claude Opus 4.6
Claude Opus 4.6 leads, 31.9 against 28.5.
Same board, both measured
Reasoning
GPQA Diamond
No call
Only Claude Opus 4.6 has a GPQA Diamond result, 89.7%.
Directional only
Math
AIME
No call
Only Claude Opus 4.6 has a AIME result, 95.6%.
Directional only
Knowledge
MMLU Pro
No call
Only Claude Opus 4.6 has a MMLU Pro result, 89.1%.
Directional only
Web design
Design Arena: websites
No call
Only Claude Opus 4.6 has a Design Arena: websites result, 1291.
Directional only
Long documents
Listed context window
Claude Opus 4.6
Claude Opus 4.6 takes 1M tokens against 400K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GPT-5.2-Codex
Claude Opus 4.6 $0.018, GPT-5.2-Codex $0.0088 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GPT-5.2-Codex
Claude Opus 4.6 $1.56, GPT-5.2-Codex $0.43.
Published attempt cost and pass rate
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.
| Category | Claude Opus 4.6 | Bars | GPT-5.2-Codex | Ties |
|---|---|---|---|---|
| Coding | 9 | 1 | ||
| Intelligence | 1 | 0 | ||
| Agentic work | 4 | 0 | 1 tie | |
| Reasoning | 1 | 1 | ||
| General | 0 | 2 | ||
| All shared boards | 15 | 4 | 1 tie |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index91
| Benchmark | Claude Opus 4.6 | GPT-5.2-Codex | Leader |
|---|---|---|---|
| SWE-bench Verified | 75.6% | 72.8% | Claude Opus 4.6 |
| SWE-bench Multilingual | 72.0% | 66.3% | Claude Opus 4.6 |
| LMArena WebDev | 1547 | 1339 | Claude 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-Bench | 79.8% | 66.5% | Claude Opus 4.6 |
| FrontierCode | 26.6% | Not measured | Only Claude Opus 4.6 measured |
| GSO-Bench | 41.2% | Not measured | Only Claude Opus 4.6 measured |
| WeirdML | 78.0% | Not measured | Only Claude Opus 4.6 measured |
| Cybench | 93.0% | Not measured | Only Claude Opus 4.6 measured |
| ALE-Bench | Not measured | 1299.9 | Only GPT-5.2-Codex measured |
| LMArena Text: coding | 1534 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Text: software and IT | 1527 | Not measured | Only Claude Opus 4.6 measured |
| LMArena WebDev: React | 1539 | 1329 | Claude Opus 4.6 |
| LMArena WebDev: HTML | 1559 | 1348 | Claude Opus 4.6 |
| LMArena WebDev: from an image | 1543 | Not measured | Only 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
| Benchmark | Claude Opus 4.6 | GPT-5.2-Codex | Leader |
|---|---|---|---|
| AA Intelligence Index | 31.9 | 28.5 | Claude Opus 4.6 |
| Epoch Capabilities Index | 155.7 | Not measured | Only Claude Opus 4.6 measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index40
| Benchmark | Claude Opus 4.6 | GPT-5.2-Codex | Leader |
|---|---|---|---|
| Design Arena: agents building web apps | 1206 | 1051 | Claude Opus 4.6 |
| Design Arena: agents building full-stack apps | 1220 | 993 | Claude Opus 4.6 |
| Design Arena: agents building mobile apps | 1207 | 1090 | Claude Opus 4.6 |
| Design Arena: agents building Android apps | 1204 | 1176 | Claude Opus 4.6 |
| Design Arena: agents building Godot games | Not measured | 1142 | Only GPT-5.2-Codex measured |
| Design Arena: agents building games | 1214 | Not measured | Only Claude Opus 4.6 measured |
| τ²-Bench Telecom | 92.1% | 92.1% | Tie |
| APEX-Agents | 46.3% | Not measured | Only Claude Opus 4.6 measured |
| METR time horizons | 78.9% | Not measured | Only Claude Opus 4.6 measured |
| Remote Labor Index | 4.2% | Not measured | Only Claude Opus 4.6 measured |
| DeepResearch Bench | 55.3% | Not measured | Only Claude Opus 4.6 measured |
| Vending-Bench 2 | $8,018 | Not measured | Only 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
| Benchmark | Claude Opus 4.6 | GPT-5.2-Codex | Leader |
|---|---|---|---|
| GPQA Diamond | 89.7% | Not measured | Only Claude Opus 4.6 measured |
| MMMU Pro (Vals AI) | 83.9% | Not measured | Only 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 measured | Only Claude Opus 4.6 measured |
| ARC-AGI | 94.0% | Not measured | Only Claude Opus 4.6 measured |
| ARC-AGI-2 | 69.2% | Not measured | Only Claude Opus 4.6 measured |
| SimpleBench | 67.6% | Not measured | Only Claude Opus 4.6 measured |
| Chess puzzles | 21.0% | Not measured | Only Claude Opus 4.6 measured |
| Mystery game puzzles | 25.0% | Not measured | Only Claude Opus 4.6 measured |
| EBR-bench | 12.7% | Not measured | Only Claude Opus 4.6 measured |
| LMArena Text: hard prompts | 1525 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Text: expert | 1544 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Text: hard prompts in English | 1530 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Vision: diagrams | 1340 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Vision: homework | 1337 | Not measured | Only 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
| Benchmark | Claude Opus 4.6 | GPT-5.2-Codex | Leader |
|---|---|---|---|
| AIME | 95.6% | Not measured | Only Claude Opus 4.6 measured |
| OTIS Mock AIME | 94.4% | Not measured | Only Claude Opus 4.6 measured |
| FrontierMath, tiers 1 to 3 | 66.0% | Not measured | Only Claude Opus 4.6 measured |
| FrontierMath, tier 4 | 26.8% | Not measured | Only Claude Opus 4.6 measured |
| ProofBench | 50.0% | Not measured | Only Claude Opus 4.6 measured |
| LMArena Text: math | 1518 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Text: mathematical work | 1525 | Not measured | Only 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
| Benchmark | Claude Opus 4.6 | GPT-5.2-Codex | Leader |
|---|---|---|---|
| MMLU Pro | 89.1% | Not measured | Only Claude Opus 4.6 measured |
| LegalBench (Vals AI) | 85.3% | Not measured | Only Claude Opus 4.6 measured |
| CaseLaw (Vals AI) | 62.1% | Not measured | Only Claude Opus 4.6 measured |
| CorpFin (Vals AI) | 67.0% | Not measured | Only Claude Opus 4.6 measured |
| TaxEval (Vals AI) | 76.0% | Not measured | Only Claude Opus 4.6 measured |
| MortgageTax (Vals AI) | 68.5% | Not measured | Only Claude Opus 4.6 measured |
| MedQA (Vals AI) | 95.4% | Not measured | Only Claude Opus 4.6 measured |
| MedCode (Vals AI) | 49.1% | Not measured | Only Claude Opus 4.6 measured |
| SimpleQA Verified | 47.0% | Not measured | Only Claude Opus 4.6 measured |
| LMArena Text: science | 1519 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Text: medicine and healthcare | 1504 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Text: legal and government | 1512 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Text: business and finance | 1497 | Not measured | Only 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
| Benchmark | Claude Opus 4.6 | GPT-5.2-Codex | Leader |
|---|---|---|---|
| Design Arena: websites | 1291 | Not measured | Only Claude Opus 4.6 measured |
| Design Arena: UI components | 1284 | Not measured | Only Claude Opus 4.6 measured |
| Design Arena: game dev | 1278 | Not measured | Only Claude Opus 4.6 measured |
| Design Arena: data viz | 1279 | Not measured | Only Claude Opus 4.6 measured |
| Design Arena: 3D | 1274 | Not measured | Only Claude Opus 4.6 measured |
| Design Arena: all code categories | 1289 | Not measured | Only Claude Opus 4.6 measured |
| Design Arena: SVG | 1227 | Not measured | Only Claude Opus 4.6 measured |
| Design Arena: ASCII art | 1254 | Not measured | Only 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
| Benchmark | Claude Opus 4.6 | GPT-5.2-Codex | Leader |
|---|---|---|---|
| SAGE (Vals AI) | 51.6% | Not measured | Only Claude Opus 4.6 measured |
| MedScribe (Vals AI) | 86.7% | Not measured | Only Claude Opus 4.6 measured |
| IFBench | 53.1% | 77.6% | GPT-5.2-Codex |
| Long context reasoning (AA-LCR) | 78.0% | 82.3% | GPT-5.2-Codex |
| DTBench | 91.2% | Not measured | Only Claude Opus 4.6 measured |
| LMCA | 55.8% | Not measured | Only Claude Opus 4.6 measured |
| CL-bench | 20.7% | Not measured | Only Claude Opus 4.6 measured |
| Furniture assembly | 28.3% | Not measured | Only Claude Opus 4.6 measured |
| CL-bench Life | 17.0% | Not measured | Only Claude Opus 4.6 measured |
| LMArena Text | 1501 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Text: instruction following | 1521 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Text: creative writing | 1505 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Vision | 1316 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Text: English | 1511 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Text: non-English | 1488 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Text: Chinese | 1551 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Text: German | 1500 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Text: Japanese | 1488 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Text: Korean | 1464 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Text: French | 1512 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Text: Spanish | 1510 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Text: Russian | 1497 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Text: Polish | 1499 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Text: multi-turn | 1511 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Text: longer queries | 1518 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Text: writing and language | 1502 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Text: entertainment and media | 1492 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Vision: English | 1324 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Vision: Chinese | 1370 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Vision: reading text | 1326 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Vision: humor | 1314 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Vision: recognizing things | 1274 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Vision: creative writing | 1331 | Not measured | Only Claude Opus 4.6 measured |
| LMArena Document | 1507 | Not measured | Only 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
| Benchmark | Claude Opus 4.6 | GPT-5.2-Codex | Leader |
|---|---|---|---|
| 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
GPT-5.2-Codex costs less
Repository review
50K input + 3K output tokens
GPT-5.2-Codex costs less
Agent loop
200K input + 10K output tokens
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.
| Specification | Anthropic Claude Opus 4.6 | OpenAI GPT-5.2-Codex |
|---|---|---|
| Maker | Anthropic | OpenAI |
| Weights | No public weights listed | No public weights listed |
| Released | February 4, 2026 | January 14, 2026 |
| Context window | 1M | 400K |
| Input $/Mtok | $5.00 | $1.75 |
| Output $/Mtok | $25.00 | $14.00 |
| Coding index | 66.9 | 55.1 |
| Independent measurements behind it | 2 | 2 |
| Cost per solved task | $1.56 | $0.43 |
| Source | OpenRouter listing | OpenRouter 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.