GPT-5.1-Codex vs o3
Updated October 21, 2026. 19 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Pick o3 for coding: it scores 70.7 on the Vibe Coding Index against 50.5 for GPT-5.1-Codex.
Pick GPT-5.1-Codex when the context window is larger, 400K against 200K tokens, or when what matters is SWE-bench Verified or LiveCodeBench (Vals AI), where it leads.
- Shared results
- 19
- GPT-5.1-Codex only
- 7
- o3 only
- 78
- Like-for-like categories
- 8 of 9
Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.
Which one for your work
Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.
Coding
Vibe Coding Index, four public coding benchmarks
o3
o3 scores 70.7 against 50.5.
2 benchmarks behind each score
Intelligence
AA Intelligence Index
GPT-5.1-Codex
GPT-5.1-Codex leads, 23.7 against 20.2.
Same board, both measured
Reasoning
GPQA Diamond
No call
Only o3 has a GPQA Diamond result, 84.1%.
Directional only
Math
AIME
No call
Only o3 has a AIME result, 85.3%.
Directional only
Knowledge
MMLU Pro
No call
Only o3 has a MMLU Pro result, 85.6%.
Directional only
Web design
Design Arena: websites
GPT-5.1-Codex
GPT-5.1-Codex leads, 1162 against 1036.
Same board, both measured
Long documents
Listed context window
GPT-5.1-Codex
GPT-5.1-Codex takes 400K tokens against 200K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
o3
GPT-5.1-Codex $0.0063, o3 $0.0060 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
o3
GPT-5.1-Codex $0.892, o3 $0.571.
Published attempt cost and pass rate
At a glance
- Coding index
- GPT-5.1-Codex 50.5 from 2 benchmarks, o3 70.7 from 2 benchmarks.
- Widest category
- Web design, 14.9 points apart on average over 5 shared benchmarks.
- Widest single gap
- Design Arena: UI components: GPT-5.1-Codex 1237 against o3 1016, 27.6 points apart on a 0 to 100 scale.
- Output price
- GPT-5.1-Codex $10.00 against o3 $8.00 per million output tokens, 1.3x apart.
- Context window
- GPT-5.1-Codex takes 400K tokens, o3 200K.
Benchmark by benchmark
First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.
| Category | GPT-5.1-Codex | Bars | o3 | Ties |
|---|---|---|---|---|
| Coding | 4 | 1 | ||
| Intelligence | 1 | 0 | ||
| Agentic work | 1 | 0 | ||
| Reasoning | 2 | 0 | ||
| Math | 2 | 0 | ||
| Knowledge | 1 | 0 | ||
| Web design | 5 | 0 | ||
| General | 0 | 2 | ||
| All shared boards | 16 | 3 |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index41
| Benchmark | GPT-5.1-Codex | o3 | Leader |
|---|---|---|---|
| Aider polyglot | Not measured | 81.3% | Only o3 measured |
| SWE-bench Verified | 66.0% | 58.4% | GPT-5.1-Codex |
| SWE-bench Multimodal | Not measured | 36.0% | Only o3 measured |
| LMArena WebDev | 1337 | Not measured | Only GPT-5.1-Codex measured |
| LiveCodeBench (Vals AI) | 85.5% | 83.9% | GPT-5.1-Codex |
| Vibe Code Bench (Vals AI) | 13.1% | Not measured | Only GPT-5.1-Codex measured |
| LiveCodeBench (Artificial Analysis run) | 84.9% | 80.8% | GPT-5.1-Codex |
| Terminal-Bench Hard (Artificial Analysis run) | 34.8% | 37.1% | o3 |
| Terminal-Bench | 57.8% | Not measured | Only GPT-5.1-Codex measured |
| GSO-Bench | Not measured | 8.8% | Only o3 measured |
| WeirdML | Not measured | 52.4% | Only o3 measured |
| ALE-Bench | 1244.9 | 933.5 | GPT-5.1-Codex |
| LMArena Text: coding | Not measured | 1407 | Only o3 measured |
| LMArena Text: software and IT | Not measured | 1415 | Only o3 measured |
| LMArena WebDev: HTML | 1346 | Not measured | Only GPT-5.1-Codex measured |
| Neither model has a result on the other 23 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GPT-5.1-Codex | o3 | Leader |
|---|---|---|---|
| AA Intelligence Index | 23.7 | 20.2 | GPT-5.1-Codex |
| Epoch Capabilities Index | Not measured | 146.7 | Only o3 measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GPT-5.1-Codex | o3 | Leader |
|---|---|---|---|
| Design Arena: agents building web apps | 1018 | Not measured | Only GPT-5.1-Codex measured |
| Design Arena: agents building full-stack apps | 1086 | Not measured | Only GPT-5.1-Codex measured |
| Design Arena: agents building mobile apps | 1191 | Not measured | Only GPT-5.1-Codex measured |
| τ²-Bench Telecom | 83.0% | 80.7% | GPT-5.1-Codex |
| METR time horizons | Not measured | 65.4% | Only o3 measured |
| GDPval | Not measured | 30.8% | Only o3 measured |
| DeepResearch Bench | Not measured | 45.2% | Only o3 measured |
| OSWorld | Not measured | 23.0% | Only o3 measured |
| Neither model has a result on the other 31 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | GPT-5.1-Codex | o3 | Leader |
|---|---|---|---|
| GPQA Diamond | Not measured | 84.1% | Only o3 measured |
| MMMU Pro (Vals AI) | Not measured | 80.4% | Only o3 measured |
| GPQA Diamond (Artificial Analysis run) | 86.0% | 82.7% | GPT-5.1-Codex |
| Humanity's Last Exam (Artificial Analysis run) | 25.7% | 20.1% | GPT-5.1-Codex |
| GPQA Diamond (Epoch AI run) | Not measured | 81.8% | Only o3 measured |
| ARC-AGI | Not measured | 60.8% | Only o3 measured |
| ARC-AGI-2 | Not measured | 6.5% | Only o3 measured |
| SimpleBench | Not measured | 53.1% | Only o3 measured |
| Chess puzzles | Not measured | 37.0% | Only o3 measured |
| Mystery game puzzles | Not measured | 29.0% | Only o3 measured |
| VPCT | Not measured | 52.0% | Only o3 measured |
| LMArena Text: hard prompts | Not measured | 1402 | Only o3 measured |
| LMArena Text: expert | Not measured | 1402 | Only o3 measured |
| LMArena Text: hard prompts in English | Not measured | 1411 | Only o3 measured |
| LMArena Vision: diagrams | Not measured | 1220 | Only o3 measured |
| LMArena Vision: homework | Not measured | 1234 | Only o3 measured |
| Neither model has a result on the other 5 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | GPT-5.1-Codex | o3 | Leader |
|---|---|---|---|
| AIME | Not measured | 85.3% | Only o3 measured |
| MATH 500 (Vals AI) | Not measured | 94.6% | Only o3 measured |
| MGSM (Vals AI) | Not measured | 91.8% | Only o3 measured |
| AA Math Index | 95.7 | 88.3 | GPT-5.1-Codex |
| AIME 2025 (Artificial Analysis run) | 95.7% | 88.3% | GPT-5.1-Codex |
| OTIS Mock AIME | Not measured | 84.4% | Only o3 measured |
| FrontierMath, tiers 1 to 3 | Not measured | 33.3% | Only o3 measured |
| MATH level 5 | Not measured | 97.8% | Only o3 measured |
| LMArena Text: math | Not measured | 1426 | Only o3 measured |
| LMArena Text: mathematical work | Not measured | 1423 | Only o3 measured |
| Neither model has a result on the other 3 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GPT-5.1-Codex | o3 | Leader |
|---|---|---|---|
| MMLU Pro | Not measured | 85.6% | Only o3 measured |
| LegalBench (Vals AI) | Not measured | 83.8% | Only o3 measured |
| CorpFin (Vals AI) | Not measured | 59.7% | Only o3 measured |
| TaxEval (Vals AI) | Not measured | 74.6% | Only o3 measured |
| MortgageTax (Vals AI) | Not measured | 65.7% | Only o3 measured |
| MedQA (Vals AI) | Not measured | 96.1% | Only o3 measured |
| MedCode (Vals AI) | Not measured | 47.3% | Only o3 measured |
| MMLU Pro (Artificial Analysis run) | 86.0% | 85.3% | GPT-5.1-Codex |
| SimpleQA Verified | Not measured | 49.4% | Only o3 measured |
| GeoBench | Not measured | 74.0% | Only o3 measured |
| LMArena Text: science | Not measured | 1429 | Only o3 measured |
| LMArena Text: medicine and healthcare | Not measured | 1448 | Only o3 measured |
| LMArena Text: legal and government | Not measured | 1428 | Only o3 measured |
| LMArena Text: business and finance | Not measured | 1393 | Only o3 measured |
| Neither model has a result on the other 3 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index50
| Benchmark | GPT-5.1-Codex | o3 | Leader |
|---|---|---|---|
| Design Arena: websites | 1162 | 1036 | GPT-5.1-Codex |
| Design Arena: UI components | 1237 | 1016 | GPT-5.1-Codex |
| Design Arena: game dev | 1138 | 1034 | GPT-5.1-Codex |
| Design Arena: data viz | 1213 | 1200 | GPT-5.1-Codex |
| Design Arena: all code categories | 1153 | 1021 | GPT-5.1-Codex |
| Neither model has a result on the other 4 boards here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | GPT-5.1-Codex | o3 | Leader |
|---|---|---|---|
| SAGE (Vals AI) | Not measured | 41.8% | Only o3 measured |
| MedScribe (Vals AI) | Not measured | 76.7% | Only o3 measured |
| IFBench | 70.0% | 71.4% | o3 |
| Long context reasoning (AA-LCR) | 69.3% | 74.7% | o3 |
| DTBench | Not measured | 84.8% | Only o3 measured |
| LMCA | Not measured | 39.7% | Only o3 measured |
| Fiction.LiveBench | Not measured | 88.9% | Only o3 measured |
| Creative writing (Lech Mazur) | Not measured | 83.9% | Only o3 measured |
| CL-bench | Not measured | 17.8% | Only o3 measured |
| LMArena Text | Not measured | 1410 | Only o3 measured |
| LMArena Text: instruction following | Not measured | 1368 | Only o3 measured |
| LMArena Text: creative writing | Not measured | 1359 | Only o3 measured |
| LMArena Vision | Not measured | 1214 | Only o3 measured |
| LMArena Text: English | Not measured | 1417 | Only o3 measured |
| LMArena Text: non-English | Not measured | 1401 | Only o3 measured |
| LMArena Text: Chinese | Not measured | 1437 | Only o3 measured |
| LMArena Text: German | Not measured | 1420 | Only o3 measured |
| LMArena Text: Japanese | Not measured | 1403 | Only o3 measured |
| LMArena Text: Korean | Not measured | 1370 | Only o3 measured |
| LMArena Text: French | Not measured | 1430 | Only o3 measured |
| LMArena Text: Spanish | Not measured | 1395 | Only o3 measured |
| LMArena Text: Russian | Not measured | 1406 | Only o3 measured |
| LMArena Text: Polish | Not measured | 1438 | Only o3 measured |
| LMArena Text: multi-turn | Not measured | 1405 | Only o3 measured |
| LMArena Text: longer queries | Not measured | 1372 | Only o3 measured |
| LMArena Text: writing and language | Not measured | 1372 | Only o3 measured |
| LMArena Text: entertainment and media | Not measured | 1373 | Only o3 measured |
| LMArena Vision: English | Not measured | 1221 | Only o3 measured |
| LMArena Vision: Chinese | Not measured | 1237 | Only o3 measured |
| LMArena Vision: reading text | Not measured | 1218 | Only o3 measured |
| LMArena Vision: humor | Not measured | 1222 | Only o3 measured |
| LMArena Vision: captioning | Not measured | 1210 | Only o3 measured |
| LMArena Vision: recognizing things | Not measured | 1234 | Only o3 measured |
| LMArena Vision: creative writing | Not measured | 1201 | Only o3 measured |
| Neither model has a result on the other 12 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GPT-5.1-Codex | o3 | Leader |
|---|---|---|---|
| Neither model has a result on 5 boards here | |||
What each workload costs
Three fixed token mixes at each model's listed price, so per-token rates become a bill.
Chat turn
1K input + 500 output tokens
o3 costs less
Repository review
50K input + 3K output tokens
GPT-5.1-Codex costs less
Agent loop
200K input + 10K output tokens
GPT-5.1-Codex costs less
Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.
Specification differences
The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.
| Specification | OpenAI GPT-5.1-Codex | OpenAI o3 |
|---|---|---|
| Maker | OpenAI | OpenAI |
| Weights | No public weights listed | No public weights listed |
| Released | November 13, 2025 | April 16, 2025 |
| Context window | 400K | 200K |
| Input $/Mtok | $1.25 | $2.00 |
| Output $/Mtok | $10.00 | $8.00 |
| Coding index | 50.5 | 70.7 |
| Independent measurements behind it | 2 | 2 |
| Cost per solved task | $0.892 | $0.571 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-5.1-Codex better than o3 for coding?
Pick o3 for coding: it scores 70.7 on the Vibe Coding Index against 50.5 for GPT-5.1-Codex. Pick GPT-5.1-Codex when the context window is larger, 400K against 200K tokens, or when what matters is SWE-bench Verified or LiveCodeBench (Vals AI), where it leads.
Which is cheaper, GPT-5.1-Codex or o3?
GPT-5.1-Codex costs $1.25 per million input tokens and $10.00 per million output tokens; o3 costs $2.00 and $8.00. Per solved SWE-bench Verified task, GPT-5.1-Codex costs $0.892 and o3 $0.571.
Which has the bigger context window, GPT-5.1-Codex or o3?
GPT-5.1-Codex, with 400K tokens against 200K.
How many benchmarks is the GPT-5.1-Codex vs o3 comparison based on?
19 benchmarks have a result for both models as of October 21, 2026. GPT-5.1-Codex's coding index rests on 2 independent benchmarks and o3's on 2. Where only one model has a result, the page says so instead of naming a winner.