Claude Opus 5 vs GPT-5-Codex
Full profiles: Claude Opus 5 (Anthropic) and GPT-5-Codex (OpenAI): every benchmark, price and rank.
Updated · Data from 11 sources
As of 29 Oct 2026, Claude Opus 5 is ahead of GPT-5-Codex on quality (65.5 vs 58.6 on the BenchLeader Index), but GPT-5-Codex is 2.9× cheaper at $3.44 vs $10.00 per 1M tokens blended. Choose Claude Opus 5 for coding (70 vs 59), multimodal (68 vs 56), and long context (65 vs 61); choose GPT-5-Codex for fast first answers (10.9 s vs 43.9 s) and agents & tools (67 vs 64), where it also streams 3×+ faster.
Key facts (as of 29 Oct 2026)
- Claude Opus 5 scores 65.5 on the BenchLeader Index and GPT-5-Codex scores 58.6 (BenchLeader, 29 Oct 2026).
- Claude Opus 5 costs $10.00 per 1M tokens blended (list price, 29 Oct 2026).
- GPT-5-Codex costs $3.44 per 1M tokens blended (list price, 29 Oct 2026).
- GPT-5-Codex streams 3×+ faster than Claude Opus 5 (Artificial Analysis, 7-day median, 29 Oct 2026).
- Of the 7 benchmarks both models have, Claude Opus 5 leads 7 (BenchLeader, 29 Oct 2026).
Which to pick for…
The pick's numbers come first. Category scores on the BenchLeader scale (50 is the average model, 15 points one standard deviation). High confidence means a lead of half a standard deviation or more; under one point is called either.
| Use case | Pick | Why | Confidence |
|---|---|---|---|
| Coding | Claude Opus 5 | 70 vs 59 category score; WeirdML 91.8% vs 54.5% | High |
| Agents & tool use | GPT-5-Codex | 67 vs 64 category score | Medium |
| Long documents | Claude Opus 5 | 65 vs 61 category score; AA-LCR v1.1 79.3% vs 71.7% | Medium |
| Images and other media | Claude Opus 5 | 68 vs 56 category score; MMMU-Pro 84.7% vs 73.8% | High |
| Chat quality (human preference) | – | Only Claude Opus 5 has an Arena rating (68 category score) | Not comparable |
| Lowest cost | GPT-5-Codex | $3.44 vs $10.00 per 1M blended; agentic coding session $0.115 vs $0.400 | – |
| Fastest first answer | GPT-5-Codex | 10.9 s (GPT-5-Codex (high)) vs 43.9 s (Claude Opus 5 (max)) to the first answer token | – |
| High volume on a budget | Neither flagship | A smaller model is usually the better fit: Cheapest good LLMs, Fastest LLMs | – |
Key differences
- Claude Opus 5 (max) leads on quality: 65.5 vs 58.6.
- Claude Opus 5 (max) is stronger in coding, human preference, knowledge, long context, maths, multimodal, reasoning.
- GPT-5-Codex (high) is stronger in agents & tools, instruction following.
- GPT-5-Codex (high) is 2.9× cheaper ($3.44 vs $10.00 per 1M blended).
- GPT-5-Codex (high) streams 3.5× faster (195 vs 56 tokens per second).
At a glance
| Spec | Claude Opus 5 | GPT-5-Codex |
|---|---|---|
| Developer | Anthropic | OpenAI |
| Released | 24 Jul 2026 | 15 Sept 2025 |
| Context window (tokens) | 1,000,000 | 400,000 |
| Compared at | Claude Opus 5 (max) | GPT-5-Codex (high) |
| Open weights | No | No |
| Price in / out / cached input per 1M | $5.00 / $25.00 / $0.500 | $1.25 / $10.00 / $0.125 |
Category by category
Category scores on the BenchLeader scale: 50 is the average evaluated model, 15 points is one standard deviation. A gap under one point is called level.
| Category | Claude Opus 5 (max) | GPT-5-Codex (high) | Leader |
|---|---|---|---|
| Reasoning | 69.2 | – | not comparable |
| Coding | 70.0 | 58.5 | Claude Opus 5 |
| Agents & tools | 64.3 | 66.8 | GPT-5-Codex |
| Maths | 70.4 | – | not comparable |
| Knowledge | 65.0 | – | not comparable |
| Instruction following | – | 72.4 | not comparable |
| Human preference | 68.4 | – | not comparable |
| Multimodal | 67.6 | 56.4 | Claude Opus 5 |
| Long context | 64.5 | 60.5 | Claude Opus 5 |
Where sources disagree
Across the 7 benchmarks both have, Claude Opus 5 leads 7, GPT-5-Codex leads 0. Every overall index that rates both puts Claude Opus 5 ahead.
| Overall index | Claude Opus 5 (max) | GPT-5-Codex (high) | Leader |
|---|---|---|---|
| BenchLeader Index | 65.5 | 58.6 | Claude Opus 5 |
Each publisher runs its own tasks, harnesses and effort settings, so their overall verdicts can differ; BenchLeader reconciles them on one scale. † measured at another effort setting of the same model (the publisher did not test the one compared here).
Price, speed and latency
List prices blended at three input tokens per output token. Per-task prices use the token counts on the methodology page; suite cost is what Artificial Analysis paid to run its whole Intelligence Index.
| Measure | Claude Opus 5 (max) | GPT-5-Codex (high) |
|---|---|---|
| Blended price per 1M tokens | $10.00 | $3.44 |
| Input / output per 1M | $5.00 / $25.00 | $1.25 / $10.00 |
| Cached input per 1M | $0.500 | $0.125 |
| Price per task: chat reply | $0.0095 | $0.0035 |
| Price per task: summarize a 30-page report | $0.075 | $0.021 |
| Price per task: code edit | $0.068 | $0.022 |
| Price per task: agentic coding session | $0.400 | $0.115 |
| Price per task: structured extraction | $0.015 | $0.0045 |
| Output speed | 56 tok/s | 195 tok/s |
| Time to first answer | 43.9 s | 10.9 s |
| Time to a complete answer | 52.8 s | 13.4 s |
Each model is compared at its best-ranked reasoning-effort setting. Claude Opus 5 (max) scores 65.5 and takes 44 s to its first answer token; Claude Opus 5 scores 65.2 in 3 s, Claude Opus 5 (high) scores 64.4 in 14 s. GPT-5-Codex (high) scores 58.6 and takes 11 s to its first answer token. Higher effort means more thinking before the answer: better scores, longer waits and more tokens billed. How reasoning effort changes scores and cost.
Every benchmark
123 benchmarks, grouped by category; each name links to the board and its leaders. † measured at another effort setting of the same model, shown for reference and not counted as a win.
| Metric | Publisher | Claude Opus 5 (max) | GPT-5-Codex (high) |
|---|---|---|---|
| BenchLeader Index | BenchLeader | 65.5 | 58.6 |
| Agents & tools score | BenchLeader | 64.3 | 66.8 |
| Coding score | BenchLeader | 70.0 | 58.5 |
| Human preference score | BenchLeader | 68.4 | – |
| Knowledge score | BenchLeader | 65.0 | – |
| Long context score | BenchLeader | 64.5 | 60.5 |
| Maths score | BenchLeader | 70.4 | – |
| Multimodal score | BenchLeader | 67.6 | 56.4 |
| Reasoning score | BenchLeader | 69.2 | – |
| Instruction following score | BenchLeader | – | 72.4 |
| Blended price $/M | BenchLeader | $10.00 | $3.44 |
| Output speed | BenchLeader | 56 tok/s | 195 tok/s |
| Time to first answer | BenchLeader | 43.9 s | 10.9 s |
| Context window | BenchLeader | 1,000,000 tokens | 400,000 tokens |
| Reasoning | |||
| GPQA Diamond | Epoch AI Benchmarking Hub | 93.9% | – |
| SimpleBench | SimpleBench | 80.6%† | – |
| Arena Hard Prompts | Arena (LMArena) | 1515 | – |
| LiveBench 1.0 Reasoning | LiveBench | 91.2% | – |
| GPQA Diamond (AA) | Artificial Analysis | 93.2% | 83.7% |
| Humanity's Last Exam (AA) | Artificial Analysis | 54.9% | 27.9% |
| GPQA Diamond (Vals) | Vals AI | 93.4%† | – |
| Kagi LLM Benchmark | Kagi LLM Benchmark | – | 70.3%† |
| ARC-AGI-1 | ARC Prize | 97.5% | – |
| ARC-AGI-2 | ARC Prize | 90.4% | – |
| ARC-AGI-3 | ARC Prize | 30.2%† | – |
| CritPt | Artificial Analysis | 29.1% | 5.1% |
| MysteryMechanism | Vals AI | 37.4%† | – |
| Chess Puzzles | Epoch AI Benchmarking Hub | 43.0% | – |
| Mystery Game Puzzles | Epoch AI Benchmarking Hub | 59.0% | – |
| LMCA | Epoch AI Benchmarking Hub | 63.3% | – |
| DTBench | Epoch AI Benchmarking Hub | 97.6% | – |
| ForecastBench | ForecastBench | 66.5% | – |
| BTF-3 | Epoch AI Benchmarking Hub | 12.0%† | – |
| Coding | |||
| SciCode | SciCode | 56.4% | – |
| WeirdML | WeirdML | 91.8% | 54.5% |
| FrontierCode | Cognition | 53.4% | – |
| Arena Coding | Arena (LMArena) | 1528 | – |
| Arena WebDev | Arena (LMArena) | 1690 | – |
| LiveBench 1.0 Coding | LiveBench | 81.5% | – |
Show all 123 benchmarks
| Metric | Publisher | Claude Opus 5 (max) | GPT-5-Codex (high) |
|---|---|---|---|
| Coding | |||
| LiveCodeBench | Vals AI | 89.0%† | 84.7% |
| IOI | Vals AI | 84.3%† | – |
| SWE-bench (Vals) | Vals AI | 97.0%† | – |
| Code Migration | Vals AI | 57.5%† | – |
| ProgramBench | Vals AI | 3.0%† | – |
| Vibe Code Bench 1-100 | Vals AI | 28.5%† | – |
| Vibe Code Bench v1.1 | Vals AI | 88.4%† | – |
| SWE Atlas: Codebase QnA | Scale AI SEAL | 63.2%† | – |
| SWE Atlas: Test Writing | Scale AI SEAL | 62.2%† | – |
| DeepSWE v1.1 | Epoch AI Benchmarking Hub | 73.7% | – |
| CursorBench | Cursor | 46.6% | – |
| ALE-Bench | Epoch AI Benchmarking Hub | 2164.6† | – |
| FrontierSWE | Epoch AI Benchmarking Hub | 52.0% | – |
| Terminal-Bench 4.0 (AA) | Artificial Analysis | 49.0% | – |
| Terminal-Bench 2.1 (AA) | Artificial Analysis | 89.1% | – |
| Startrise Frontend | Startrise | 82.3%† | – |
| LiveCodeBench (AA) | Artificial Analysis | – | 84.0% |
| Agents & tools | |||
| Terminal-Bench | Terminal-Bench | 51.8% | 44.3%† |
| OSWorld-Verified 2.0 | OSWorld | 31.4% | – |
| APEX-Agents | Mercor | 65.8% | – |
| Arena Agent | Arena (LMArena) | 8.2 | – |
| LiveBench Agentic Coding | LiveBench | 65.2% | – |
| Terminal-Bench Hard | Artificial Analysis | – | 37.9% |
| τ²-Bench Telecom (AA) | Artificial Analysis | – | 86.8% |
| Terminal-Bench 2.1 (Vals) | Vals AI | 84.6%† | – |
| MCP Atlas | Scale AI SEAL | 85.8%† | – |
| HiL-Bench | Scale AI SEAL | 57.0%† | – |
| τ³-bench Banking | τ²-bench | 48.7% | – |
| τ³-Banking (AA) | Artificial Analysis | 42.1% | – |
| Analyst Agent (AA) | Artificial Analysis | 53.8% | – |
| CUA-bench | Vals AI | 9.0% | – |
| CyberBench | Vals AI | 65.4%† | – |
| Finance Agent v2 | Vals AI | 58.6%† | – |
| Harvey's Legal Agent Benchmark v1 | Vals AI | 6.7%† | – |
| Legal Research Bench | Vals AI | 55.3%† | – |
| SkillsBench | Vals AI | 60.4%† | – |
| SREBench | Vals AI | 12.2%† | – |
| Tax Agent Bench | Vals AI | 45.5%† | – |
| Terminal-Bench 4.0 (Vals) | Vals AI | 53.5%† | – |
| Terminal-Bench Science | Vals AI | 27.1%† | – |
| Time Horizon Index: KSP | Vals AI | 18.8%† | – |
| Arena Search | Arena (LMArena) | 1214† | – |
| BALROG | BALROG | 63.4% | – |
| PostTrainBench | Epoch AI Benchmarking Hub | 35.0%† | – |
| GBAEval | Epoch AI Benchmarking Hub | 79.6%† | – |
| Vending-Bench 2 | Andon Labs | 11181.9† | – |
| AutomationBench | Artificial Analysis | 56.6% | – |
| GDP.pdf (AA) | Artificial Analysis | 21.6% | – |
| EnterpriseOps-Gym | Artificial Analysis | 47.5% | – |
| AA-Briefcase v1.1 | Artificial Analysis | 1655 | – |
| Terminal-Bench-Science 0.1 (AA) | Artificial Analysis | 28.6% | – |
| DeepSec-Bench (AA) | Artificial Analysis | 25.9% | – |
| FACTS Search | 85.3%† | – | |
| Maths | |||
| FrontierMath Tiers 1–3 | Epoch AI Benchmarking Hub | 85.6% | – |
| FrontierMath Tier 4 | Epoch AI Benchmarking Hub | 73.2% | – |
| OTIS Mock AIME | Epoch AI Benchmarking Hub | 98.9% | – |
| ProofBench | Vals AI | 99.0% | – |
| LiveBench Mathematics | LiveBench | 95.7% | – |
| Arena Maths | Arena (LMArena) | 1517 | – |
| Knowledge | |||
| SimpleQA Verified | Epoch AI Benchmarking Hub | 59.9% | – |
| LiveBench 1.0 Data Analysis | LiveBench | 74.5% | – |
| MMLU-Pro | Vals AI | 91.6%† | – |
| LegalBench | Vals AI | 87.0%† | – |
| CorpFin | Vals AI | 73.2%† | – |
| TaxEval | Vals AI | 75.1%† | – |
| BioMysteryBench | Vals AI | 79.3%† | – |
| Excel Modeling Benchmark | Vals AI | 73.6%† | – |
| MedCode | Vals AI | 63.6%† | – |
| MedScribe | Vals AI | 91.0%† | – |
| Public Benefits Bench v1.1 | Vals AI | 76.9%† | – |
| DrugDiscoveryBench | Scale AI SEAL | 53.7% | – |
| EBR-bench | Epoch AI Benchmarking Hub | 45.7% | – |
| GDP.pdf | Epoch AI Benchmarking Hub | 24.0% | – |
| Instruction following | |||
| LiveBench Language | LiveBench | 88.7% | – |
| LiveBench Instruction Following | LiveBench | 63.8% | – |
| IFBench | Artificial Analysis | – | 74.2% |
| Arena Instruction Following | Arena (LMArena) | 1495 | – |
| Human preference | |||
| Arena Text | Arena (LMArena) | 1491 | – |
| EQ-Bench 4 | EQ-Bench | 1365† | – |
| Arena Creative Writing | Arena (LMArena) | 1474 | – |
| Arena Multi-turn | Arena (LMArena) | 1487 | – |
| Arena Longer Queries | Arena (LMArena) | 1503 | – |
| Multimodal | |||
| Arena Vision | Arena (LMArena) | 1320† | – |
| MMMU-Pro | Artificial Analysis | 84.7% | 73.8% |
| MMMU-Pro (Vals) | Vals AI | 89.9%† | – |
| MortgageTax | Vals AI | 72.1%† | – |
| Blueprint-Bench 2 | Epoch AI Benchmarking Hub | 30.4%† | – |
| Long context | |||
| AA-LCR v1.1 | Artificial Analysis | 79.3% | 71.7% |
| Arena Document | Arena (LMArena) | 1490† | – |
| MLCR | Artificial Analysis | 11.1% | – |
| Composite | |||
| Epoch Capabilities Index | Epoch AI Benchmarking Hub | 163.9† | – |
| LiveBench 1.0 | LiveBench | 80.1% | – |
| AA Intelligence Index v4.3.2 | Artificial Analysis | 50.8 | 24.9 |
| AA Progress Index v1 | Artificial Analysis | 333.7 | 275.1 |
| Vals RSI Index | Vals AI | 33.0% | – |
| Vals Science Index | Vals AI | 47.9%† | – |
| Vals Multimodal Index | Vals AI | 73.9%† | – |
| Safety & honesty | |||
| FORTRESS | Scale AI SEAL | 16.8%† | – |
Data as of 2026-10-29. Best configuration of each model; every score links to its source on the model pages.
What changed
- Claude Opus 5 (max): BenchLeader Index 66.3 → 65.5.
- Claude Opus 5 (max): 1 new result (AA Progress Index v1).
- GPT-5-Codex (high): 1 new result (AA Progress Index v1).
- Claude Opus 5 (max): BenchLeader Index 66.8 → 66.3.
- Claude Opus 5 (max): 1 new result (Vals RSI Index).
- Claude Opus 5 (max): 1 score revision.
- Claude Opus 5 (max): 1 new result (ForecastBench); 1 score revision.
- GPT-5-Codex (high): BenchLeader Index 59.0 → 58.5.
- Claude Opus 5 (max): 4 new results (GDPval-AA v2.1, normalised score, AA-Omniscience v1.1: accuracy, AA-Omniscience v1.1: non-hallucination…).
- Claude Opus 5 (max): 1 score revision.
Related comparisons
- Claude Opus 5 vs Claude Opus 5.5
- Claude Opus 5 vs GPT-6 Astra
- Claude Opus 5 vs GPT-6.1 Sol
- GPT-5-Codex vs Claude Opus 5.5
- GPT-5-Codex vs GPT-6 Astra
- GPT-5-Codex vs GPT-6.1 Sol
- GPT-5-Codex vs Claude Fable 5.1
- Claude Fable 5 vs GPT-5-Codex
Rankings: Best LLM overall · Best LLM for coding · Best LLM for agents · Best cheap LLMs
Claude Opus 5 vs GPT-5-Codex: questions
- Is Claude Opus 5 better than GPT-5-Codex?
- Claude Opus 5 (max) leads on quality: 65.5 vs 58.6. The BenchLeader Index combines every independent quality benchmark; Claude Opus 5 (max) is ahead overall as of 29 Oct 2026, but check the category scores for your use.
- Claude Opus 5 vs GPT-5-Codex: which is cheaper, and will that change?
- GPT-5-Codex is cheaper today: $3.44 against $10.00 per million tokens, blended at three input tokens per output token. No price change has been announced for either.
- Is Claude Opus 5 or GPT-5-Codex better for coding?
- Claude Opus 5 scores higher in coding (70 vs 59 on the category index, where 50 is average). On WeirdML, the top shared coding benchmark, it is 91.8% for Claude Opus 5 against 54.5% for GPT-5-Codex.
- Which is faster, Claude Opus 5 or GPT-5-Codex?
- GPT-5-Codex streams 3×+ faster (195 vs 56 output tokens per second, Artificial Analysis 7-day median).
- Is Claude Opus 5 or GPT-5-Codex better for agents and tool use?
- GPT-5-Codex scores higher in agentic tasks (67 vs 64 on the category index, where 50 is average).
More questions (4)
- Which is better for long documents?
- Claude Opus 5 scores higher on long-context benchmarks (65 vs 61). Claude Opus 5 accepts more context: 1,000,000 against 400,000 tokens for GPT-5-Codex.
- Which has lower latency?
- GPT-5-Codex answers first: 10.9 s against 43.9 s to the first answer token, as Artificial Analysis measures it. Reasoning effort drives most of this: a higher setting thinks longer before it answers.
- Do independent benchmarks agree on Claude Opus 5 vs GPT-5-Codex?
- Across the 7 benchmarks both have, Claude Opus 5 leads 7, GPT-5-Codex leads 0. Every overall index that rates both puts Claude Opus 5 ahead.
- When was Claude Opus 5 released?
- Claude Opus 5 was released on 24 Jul 2026.