Claude Opus 4.6 vs GPT-5.1 Codex
Wins 6 of 7 areas
Coding · Agents · Reasoning · Facts · Images and charts · Long documents
Wins 1 of 7 areas
Following instructions
Claude Opus 4.6 is the stronger all-rounder.GPT-5.1 Codex is cheaper and better at following instructions.
Scores updated · 19 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 software40Claude Opus 4.64 of 4 tests
- ReasoningHard problems that need careful thinking30Claude Opus 4.63 of 3 tests
- FactsGetting facts right instead of making them up20Claude Opus 4.62 of 2 tests
- AgentsCarrying out multi-step tasks on its own10Claude Opus 4.61 of 1 test
- Images and chartsUnderstanding pictures, charts and video10Claude Opus 4.61 of 1 test
- Long documentsFinding answers in very long texts10Claude Opus 4.61 of 1 test
- Following instructionsDoing exactly what it is asked01GPT-5.1 Codex1 of 1 test
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.1 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.6 pulls ahead
- Real work tasks from 44 professionsGDPVal+21.3points ahead
- Avoids making up answers it doesn't knowAA-Omniscience · Non-hallucination+14.4points ahead
- Very hard expert questions across many subjectsHumanity's Last Exam+14.2points ahead
Where GPT-5.1 Codex pulls ahead
- Follows unfamiliar, precisely checkable instructionsIFBench+16.9points ahead
Every test, side by side
All 19 tests both models report. The winning score is in its model's colour; marks a score checked independently.
CodingClaude Opus 4.6
- LMArena · WebDevClaude Opus 4.6 by 210 rating points15461336+210 rating
- SciCodeClaude Opus 4.6 by 11.751.940.2+11.7
- Terminal-Bench HardClaude Opus 4.6 by 11.446.234.8+11.4
- SWE-bench VerifiedClaude Opus 4.6 by 7.180.873.7+7.1
ReasoningClaude Opus 4.6
- Humanity's Last ExamClaude Opus 4.6 by 14.239.925.7+14.2
- CritPtClaude Opus 4.6 by 6.912.65.7+6.9
- GPQA DiamondClaude Opus 4.6 by 3.689.686+3.6
FactsClaude Opus 4.6
- AA-Omniscience · Non-hallucinationClaude Opus 4.6 by 14.437.222.8+14.4
- AA-Omniscience · AccuracyClaude Opus 4.6 by 7.14739.9+7.1
Images and chartsClaude Opus 4.6
- MMMU-ProClaude Opus 4.6 by 2.975.472.5+2.9
Following instructionsGPT-5.1 Codex
- IFBenchGPT-5.1 Codex by 16.953.170+16.9
Other results6 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.6 by 20.213.7-6.5+20.2
- AA Agentic IndexClaude Opus 4.6 by 16.967.650.7+16.9
- Terminal-Bench 2.0Claude Opus 4.6 by 12.665.452.8+12.6
- Artificial Analysis Coding IndexClaude Opus 4.6 by 11.548.136.6+11.5
- τ²-Bench Telecom (AA run)Claude Opus 4.6 by 9.192.183+9.1
- AA IntelligenceClaude Opus 4.6 by 8.231.923.7+8.2
Questions people ask
Which is better, Claude Opus 4.6 or GPT-5.1 Codex?
Claude Opus 4.6 wins six of the seven areas where both have results: coding, agents, reasoning, facts, images and charts and long documents. GPT-5.1 Codex wins following instructions, and costs 63% less.
Which is better for coding?
Claude Opus 4.6. It wins 4 of the 4 coding tests both models report; GPT-5.1 Codex wins none.
Which is cheaper?
Claude Opus 4.6 costs $5.00 per million input tokens and $25.00 per million output tokens; GPT-5.1 Codex costs $1.25 and $10.00. That makes GPT-5.1 Codex about 63% cheaper for the same work.
How do you compare the two?
We use the 19 benchmark tests both models have published scores on. The verdict counts the 13 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 6 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.