# Claude Opus 4 vs GPT-5.2 Codex

> Claude Opus 4 and GPT-5.2 Codex score almost the same on the Noometry Index (43.1 vs 42.6), so choose on price, context window or the category you care about most.

- Canonical page: https://noometry.com/compare/claude-opus-4-vs-gpt-5-2-codex
- Last updated: 2026-10-10
- Shared benchmarks: 1

## Summary

- They share 1 benchmark with published results for both. Claude Opus 4 scores higher in 1 category and GPT-5.2 Codex in 1 category; 2 gaps are clear of the uncertainty.
- The widest gap is in agentic & tool use, where GPT-5.2 Codex leads 41.0 to 34.8.
- The biggest single-benchmark swing is SWE-bench Verified (bash only): 67.6% for Claude Opus 4 and 72.8% for GPT-5.2 Codex.
- GPT-5.2 Codex is cheaper at $1.75 / $14 per million input/output tokens, against $15 / $75 for Claude Opus 4.
- GPT-5.2 Codex accepts more context: 400K tokens versus 200K.

## Snapshot

| | Claude Opus 4 | GPT-5.2 Codex |
|---|---|---|
| Provider | Anthropic | OpenAI |
| Noometry Index | 43.1 | 42.6 |
| Rank | 100 | 111 |
| Context | 200K | 400K |
| Input $/M | $15 | $1.75 |
| Output $/M | $75 | $14 |
| Weights | Proprietary | Proprietary |

## Coding

- Claude Opus 4: 47.2 (#62)
- GPT-5.2 Codex: 45.5 (#71)

| Benchmark | Claude Opus 4 | GPT-5.2 Codex |
|---|---|---|
| SWE-bench Verified (bash only) | 67.6% | 72.8% |
| SWE-bench Verified | 70.7% | — |
| Aider Polyglot | 72% | — |
| LMArena WebDev | — | 1339 |
| SWE-bench Multilingual | — | 66.3% |
| GSO | 6.9% | — |
| WeirdML | 43.7% | — |
| LMArena Coding | 1442 | — |
| ALE-Bench | — | 1,300 |
| AlgoTune | 1.33 | — |

## Agentic & Tool Use

- Claude Opus 4: 34.8 (#42)
- GPT-5.2 Codex: 41.0 (#22)

| Benchmark | Claude Opus 4 | GPT-5.2 Codex |
|---|---|---|
| Terminal-Bench | — | 66.5% |
| Cybench | 38% | — |
| DeepResearch Bench | 46.8% | — |
| LMArena Search | 1127 | — |
| METR Time Horizons | 63.9% | — |

## Reasoning

- Claude Opus 4: 27.3 (#121)
- GPT-5.2 Codex: —

| Benchmark | Claude Opus 4 | GPT-5.2 Codex |
|---|---|---|
| ARC-AGI-2 | 8.6% | — |
| SimpleBench | 58.8% | — |
| Kagi LLM Benchmark | 74.3% | — |
| ARC-AGI-1 | 35.7% | — |
| CritPt | 0.3% | — |
| EnigmaEval | 5.6% | — |
| LMArena Hard Prompts | 1399 | — |
| DTBench | 81.6% | — |
| LMCA | 37.4% | — |
| Epoch Capabilities Index | 142.67 | — |
| ForecastBench | 61.1 | — |

## Math

- Claude Opus 4: 42.0 (#86)
- GPT-5.2 Codex: —

| Benchmark | Claude Opus 4 | GPT-5.2 Codex |
|---|---|---|
| OTIS Mock AIME 2024-2025 | 64.4% | — |
| Omni-MATH | 61.6% | — |
| LMArena Math | 1390 | — |
| MATH Level 5 | 85% | — |
| FrontierMath (Feb 2025 set) | 4.5% | — |
| FrontierMath Tier 4 (v1) | 4.2% | — |

## Knowledge

- Claude Opus 4: 44.0 (#88)
- GPT-5.2 Codex: —

| Benchmark | Claude Opus 4 | GPT-5.2 Codex |
|---|---|---|
| GPQA Diamond | 76.3% | — |
| Humanity's Last Exam | 10.7% | — |
| MMLU-Pro | 87.5% | — |
| Confabulations | 15.9% | — |
| Vectara Hallucination Rate | 12% | — |
| GPQA (HELM) | 70.8% | — |
| LMArena Expert | 1386 | — |

## Multimodal

- Claude Opus 4: 31.5 (#106)
- GPT-5.2 Codex: —

| Benchmark | Claude Opus 4 | GPT-5.2 Codex |
|---|---|---|
| LMArena Vision | 1192 | — |
| GeoBench | 49% | — |
| VPCT | 38% | — |

## Multilingual

- Claude Opus 4: 48.8 (#138)
- GPT-5.2 Codex: —

| Benchmark | Claude Opus 4 | GPT-5.2 Codex |
|---|---|---|
| LMArena Non-English | 1362 | — |
| LMArena Chinese | 1386 | — |
| LMArena French | 1372 | — |
| LMArena German | 1391 | — |
| LMArena Japanese | 1331 | — |
| LMArena Korean | 1321 | — |
| LMArena Russian | 1392 | — |
| LMArena Spanish | 1389 | — |

## Instruction Following

- Claude Opus 4: 77.1 (#28)
- GPT-5.2 Codex: —

| Benchmark | Claude Opus 4 | GPT-5.2 Codex |
|---|---|---|
| IFEval | 91.8% | — |
| LMArena Instruction Following | 1406 | — |

## Long Context

- Claude Opus 4: 39.6 (#172)
- GPT-5.2 Codex: —

| Benchmark | Claude Opus 4 | GPT-5.2 Codex |
|---|---|---|
| Fiction.LiveBench | 61.1% | — |
| LMArena Longer Query | 1422 | — |

## Writing & Preference

- Claude Opus 4: 61.2 (#89)
- GPT-5.2 Codex: —

| Benchmark | Claude Opus 4 | GPT-5.2 Codex |
|---|---|---|
| LMArena Text | 1377 | — |
| LMArena Creative Writing | 1387 | — |
| Short-Story Creative Writing | 83.6% | — |
| EQ-Bench Creative Writing | 1580 | — |
| WildBench | 85.2% | — |
| LMArena Multi-Turn | 1396 | — |

## FAQ

### Is Claude Opus 4 better than GPT-5.2 Codex?

Claude Opus 4 and GPT-5.2 Codex score almost the same on the Noometry Index (43.1 vs 42.6), so choose on price, context window or the category you care about most.

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

GPT-5.2 Codex is cheaper. It lists at $1.75 per million input tokens and $14 per million output tokens; Claude Opus 4 lists at $15 and $75.

### Is Claude Opus 4 or GPT-5.2 Codex better for coding?

Claude Opus 4 scores higher on coding benchmarks: 47.2 versus 45.5 in the Noometry coding category.

### Which has the bigger context window?

GPT-5.2 Codex does, with 400K tokens against 200K.

### How many benchmarks do Claude Opus 4 and GPT-5.2 Codex share?

1 benchmark has published results for both models. Claude Opus 4 has 56 scored results on Noometry and GPT-5.2 Codex has 5.
