Claude Opus 4.7 vs GPT-5.2-Codex
Verdict
- Claude Opus 4.7 leads on quality: 65.6 vs 60.8.
- Claude Opus 4.7 is stronger in agents & tools, coding, composite, human preference, knowledge, maths, multimodal, reasoning.
- GPT-5.2-Codex is stronger in instruction following, long context.
- GPT-5.2-Codex is 2.1× cheaper ($4.81 vs $10.00 per 1M blended).
- Claude Opus 4.7 streams 1.7× faster (43 vs 25 tokens per second).
| Metric | Claude Opus 4.7 | GPT-5.2-Codex |
|---|---|---|
| BenchLeader Index | 65.6 | 60.8 |
| Agents & tools score | 69.4 | 63.5 |
| Coding score | 64.8 | 55.7 |
| Composite score | 80.4 | 56.8 |
| Human preference score | 69.1 | – |
| Instruction following score | 58.7 | 75.1 |
| Knowledge score | 66.5 | 63.1 |
| Long context score | 65.9 | 67.8 |
| Maths score | 65.4 | – |
| Multimodal score | 65.7 | 60.7 |
| Reasoning score | 66.6 | – |
| Blended price $/M | $10.00 | $4.81 |
| Output speed | 43 tok/s | 25 tok/s |
| Time to first answer | 21.7 s | 6.7 s |
| Context window | 1M | 400k |
| Humanity's Last Exam | 36.2% | – |
| Terminal-Bench | 80.2% | 66.5% |
| SimpleBench | 61.7% | – |
| WeirdML | 76.4% | – |
| APEX-Agents | – | 27.6% |
| FrontierCode | 38.5% | – |
| GSO-Bench | 44.1% | – |
| Epoch Capabilities Index | 156.3 | – |
| LMArena Text | 1495 | – |
| LMArena Hard Prompts | 1519 | – |
| LMArena Coding | 1547 | – |
| LMArena WebDev | 1557 | 1339 |
| LMArena Vision | 1317 | – |
| LiveBench | – | 74.0% |
| LiveBench Reasoning | – | 77.7% |
| LiveBench Coding | – | 83.6% |
| LiveBench Agentic Coding | – | 49.4% |
| LiveBench Mathematics | – | 88.8% |
| LiveBench Data Analysis | – | 78.2% |
| LiveBench Language | – | 73.7% |
| AA Intelligence Index | 40.7 | 28.5 |
| IFBench | 58.6% | 77.6% |
| AA-LCR | 78.7% | 82.3% |
| MMMU-Pro | 78.8% | 76.3% |
| AA-Omniscience | 27.3 | -2.2 |
| Terminal-Bench Hard | 51.5% | 37.1% |
| GPQA Diamond (AA) | 91.4% | 89.9% |
| Humanity's Last Exam (AA) | 42.3% | 35.7% |
| τ²-Bench Telecom (AA) | 88.6% | 92.1% |
| AIME (Vals) | 96.3% | – |
| LiveCodeBench | 85.1% | 88.0% |
| MMLU-Pro | 89.9% | – |
| IOI | 47.1% | – |
| LegalBench | 85.3% | – |
| CorpFin | 66.1% | – |
| TaxEval | 75.3% | – |
| Terminal-Bench 2.1 (Vals) | 68.5% | – |
| SWE-bench (Vals) | 82.0% | – |
| GPQA Diamond (Vals) | 90.2% | – |
| Vals Index | 56.1 | – |
| SWE-Bench Pro | – | 41.0% |
| HiL-Bench | 41.7% | – |
| EQ-Bench 4 | 1311 | – |
| Kagi LLM Benchmark | 73.3% | – |
| SWE-bench Verified (bash only) | – | 72.8% |
| SWE-bench Verified (any scaffold) | – | 72.8% |
Data as of 2026-09-10. Best configuration of each model; every score links to its source on the model pages.
Claude Opus 4.7 vs GPT-5.2-Codex: questions
- Is Claude Opus 4.7 better than GPT-5.2-Codex?
- Claude Opus 4.7 leads on quality: 65.6 vs 60.8. The BenchLeader Index combines every independent quality benchmark; Claude Opus 4.7 is ahead overall as of 2026-09-10, but check the category scores for your use.
- Is Claude Opus 4.7 better than GPT-5.2-Codex for coding?
- Claude Opus 4.7 scores higher in coding (65 vs 56 on the category index, where 50 is average).
- Is Claude Opus 4.7 better than GPT-5.2-Codex for agentic tasks?
- Claude Opus 4.7 scores higher in agentic tasks (69 vs 64 on the category index, where 50 is average).
- Which is cheaper, Claude Opus 4.7 or GPT-5.2-Codex?
- GPT-5.2-Codex is cheaper: $4.81 against $10.00 per million tokens, blended at three input tokens per output token.
- Which is faster, Claude Opus 4.7 or GPT-5.2-Codex?
- Claude Opus 4.7 streams faster: 43 against 25 output tokens per second.
- Which has the larger context window?
- Claude Opus 4.7 accepts more context: 1M against 400k tokens.