Claude Opus 4.5 vs GPT-5 Codex
Wins 5 of 7 areas
Coding · Agents · Reasoning · Facts · Long documents
Wins 1 of 7 areas
Following instructions
Claude Opus 4.5 is the stronger all-rounder.GPT-5 Codex is cheaper and better at following instructions.
Scores updated · 17 tests both models report · How we compare
Where each one wins
Tests won in each of the seven areas where both have results. Each piece is one test, so a longer bar means more evidence; grey means the two scored within a point of each other.
- CodingWriting and fixing software30Claude Opus 4.53 of 3 tests
- ReasoningHard problems that need careful thinking20Claude Opus 4.52 of 3 tests · 1 tie
- FactsGetting facts right instead of making them up20Claude Opus 4.52 of 2 tests
- AgentsCarrying out multi-step tasks on its own10Claude Opus 4.51 of 1 test
- Long documentsFinding answers in very long texts10Claude Opus 4.51 of 1 test
- Following instructionsDoing exactly what it is asked01GPT-5 Codex1 of 1 test
- Images and chartsUnderstanding pictures, charts and video00Even0 each · 1 tie
Agents, images and charts, long documents and following instructions rest on a single test each.
What it costs
Prices per million tokens, roughly 750,000 words. The bars show the cost of a million tokens read plus a million written.
GPT-5 Codex costs 63% less for the same work.
The biggest differences
The tests each model wins by the widest margin, up to three each. Scores are out of 100.
Where Claude Opus 4.5 pulls ahead
- Avoids making up answers it doesn't knowAA-Omniscience · Non-hallucination+14.4points ahead
- Real work tasks from 44 professionsGDPVal+11.5points ahead
- Hard command-line tasks in a real terminalTerminal-Bench Hard+9.1points ahead
Where GPT-5 Codex pulls ahead
- Follows unfamiliar, precisely checkable instructionsIFBench+16.1points ahead
Every test, side by side
All 17 tests both models report. The winning score is in its model's colour; marks a score checked independently.
CodingClaude Opus 4.5
- Terminal-Bench HardClaude Opus 4.5 by 9.14737.9+9.1
- SciCodeClaude Opus 4.5 by 8.649.540.9+8.6
- SWE-bench VerifiedClaude Opus 4.5 by 6.480.974.5+6.4
ReasoningClaude Opus 4.5
- GPQA DiamondClaude Opus 4.5 by 2.986.683.7+2.9
- Humanity's Last ExamClaude Opus 4.5 by 2.330.127.8+2.3
- CritPttie4.65.1tie
FactsClaude Opus 4.5
- AA-Omniscience · Non-hallucinationClaude Opus 4.5 by 14.43924.6+14.4
- AA-Omniscience · AccuracyClaude Opus 4.5 by 7.946.638.7+7.9
Following instructionsGPT-5 Codex
- IFBenchGPT-5 Codex by 16.15874.1+16.1
Other results5 tests, not counted
Tests outside the eight areas. They are not counted above: several are summary scores built from other tests, or the same test under another name.
- AA-OmniscienceClaude Opus 4.5 by 21.514-7.5+21.5
- Artificial Analysis Coding IndexClaude Opus 4.5 by 8.947.838.9+8.9
- AA Agentic IndexClaude Opus 4.5 by 6.959.652.7+6.9
- AA IntelligenceClaude Opus 4.5 by 4.229.124.9+4.2
- τ²-Bench Telecom (AA run)Claude Opus 4.5 by 2.789.586.8+2.7
Questions people ask
Which is better, Claude Opus 4.5 or GPT-5 Codex?
Claude Opus 4.5 wins five of the seven areas where both have results: coding, agents, reasoning, facts and long documents. GPT-5 Codex wins following instructions, and costs 63% less. They are level on images and charts.
Which is better for coding?
Claude Opus 4.5. It wins 3 of the 3 coding tests both models report; GPT-5 Codex wins none.
Which is cheaper?
Claude Opus 4.5 costs $5.00 per million input tokens and $25.00 per million output tokens; GPT-5 Codex costs $1.25 and $10.00. That makes GPT-5 Codex about 63% cheaper for the same work.
How do you compare the two?
We use the 17 benchmark tests both models have published scores on. The verdict counts the 12 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 5 are listed but not counted, because several are summary scores or repeat a test. Each score is the one shown on the model's own page.