GPT-5.1-Codex-Mini vs GPT-5.4 Mini
GPT-5.4 Mini leads GPT-5.1-Codex-Mini on the Artificial Analysis Intelligence Index, 24.1 to 20.4, and GPT-5.1-Codex-Mini costs 2.3x less per output token ($2.00 vs $4.50 per million). Updated October 21, 2026; 9 benchmarks have a result for both.
GPT-5.1-Codex-Mini or GPT-5.4 Mini: which to pick
Only GPT-5.4 Mini has a coding score, 35.8 on the Vibe Coding Index; GPT-5.1-Codex-Mini has none, so the two cannot be ranked on coding.
Pick GPT-5.1-Codex-Mini for output tokens 2.3x cheaper ($2.00 vs $4.50 per million).
- Shared results
- 9
- GPT-5.1-Codex-Mini only
- 13
- GPT-5.4 Mini only
- 80
- Like-for-like categories
- 5 of 9
Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.
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, six public coding benchmarks
No call
Only GPT-5.4 Mini has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
GPT-5.4 Mini
GPT-5.4 Mini leads, 24.1 against 20.4.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only GPT-5.4 Mini has a AA Agentic Index result, 17.9.
Directional only
Reasoning
GPQA Diamond
No call
Only GPT-5.4 Mini has a GPQA Diamond result, 83.1%.
Directional only
Math
AIME
No call
Only GPT-5.4 Mini has a AIME result, 95.6%.
Directional only
Knowledge
MMLU Pro
No call
Only GPT-5.4 Mini has a MMLU Pro result, 84.5%.
Directional only
Web design
Design Arena: websites
No call
Only GPT-5.1-Codex-Mini has a Design Arena: websites result, 1111.
Directional only
Long documents
Listed context window
No call
Both take 400K tokens.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GPT-5.1-Codex-Mini
GPT-5.1-Codex-Mini $0.0013, GPT-5.4 Mini $0.0030 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only GPT-5.4 Mini has the number, $0.70.
Directional only
At a glance
- Coding index
- GPT-5.1-Codex-Mini not benchmarked, GPT-5.4 Mini 35.8 from 5 benchmarks.
- Widest category
- Coding, 22.9 points apart on average over 3 shared benchmarks.
- Widest single gap
- LMArena WebDev: HTML: GPT-5.1-Codex-Mini 1253 against GPT-5.4 Mini 1419, 27.7 points apart on a 0 to 100 scale.
- Output price
- GPT-5.1-Codex-Mini $2.00 against GPT-5.4 Mini $4.50 per million output tokens, 2.3x apart.
- Context window
- Both take 400K tokens.
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-Mini | Bars | GPT-5.4 Mini | Ties |
|---|---|---|---|---|
| Coding | 0 | 3 | ||
| Intelligence | 0 | 1 | ||
| Agentic work | 0 | 1 | ||
| Reasoning | 0 | 2 | ||
| General | 0 | 2 | ||
| All shared boards | 0 | 9 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index03
| Benchmark | GPT-5.1-Codex-Mini | GPT-5.4 Mini | Leader |
|---|---|---|---|
| LMArena WebDev | 1244 | 1397 | GPT-5.4 Mini |
| AA Coding Index | Not measured | 56.1 | Only GPT-5.4 Mini measured |
| LiveCodeBench (Vals AI) | Not measured | 81.5% | Only GPT-5.4 Mini measured |
| SWE-bench Verified (Vals AI) | Not measured | 73.0% | Only GPT-5.4 Mini measured |
| Terminal-Bench 4 (Vals AI) | Not measured | 2.5% | Only GPT-5.4 Mini measured |
| Vibe Code Bench (Vals AI) | Not measured | 48.0% | Only GPT-5.4 Mini measured |
| Code migration (Vals AI) | Not measured | 12.9% | Only GPT-5.4 Mini measured |
| ProgramBench (Vals AI) | Not measured | 0.0% | Only GPT-5.4 Mini measured |
| Terminal-Bench 2.1 (Vals AI) | Not measured | 54.7% | Only GPT-5.4 Mini measured |
| LiveCodeBench (Artificial Analysis run) | 83.6% | Not measured | Only GPT-5.1-Codex-Mini measured |
| SciCode | Not measured | 52.1% | Only GPT-5.4 Mini measured |
| Terminal-Bench Hard (Artificial Analysis run) | 33.3% | 52.3% | GPT-5.4 Mini |
| Terminal-Bench | 61.6% | Not measured | Only GPT-5.1-Codex-Mini measured |
| FrontierCode | Not measured | 27.0% | Only GPT-5.4 Mini measured |
| WeirdML | Not measured | 60.3% | Only GPT-5.4 Mini measured |
| ALE-Bench | Not measured | 1188.6 | Only GPT-5.4 Mini measured |
| LMArena Text: coding | Not measured | 1438 | Only GPT-5.4 Mini measured |
| LMArena Text: software and IT | Not measured | 1436 | Only GPT-5.4 Mini measured |
| LMArena WebDev: React | Not measured | 1386 | Only GPT-5.4 Mini measured |
| LMArena WebDev: HTML | 1253 | 1419 | GPT-5.4 Mini |
| Neither model has a result on the other 19 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | GPT-5.1-Codex-Mini | GPT-5.4 Mini | Leader |
|---|---|---|---|
| AA Intelligence Index | 20.4 | 24.1 | GPT-5.4 Mini |
| Epoch Capabilities Index | Not measured | 148.7 | Only GPT-5.4 Mini measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | GPT-5.1-Codex-Mini | GPT-5.4 Mini | Leader |
|---|---|---|---|
| AA Agentic Index | Not measured | 17.9 | Only GPT-5.4 Mini measured |
| Finance Agent (Vals AI) | Not measured | 45.4% | Only GPT-5.4 Mini measured |
| Tax Agent Bench (Vals AI) | Not measured | 8.8% | Only GPT-5.4 Mini measured |
| Legal Research Bench (Vals AI) | Not measured | 12.5% | Only GPT-5.4 Mini measured |
| Excel Modeling Benchmark (Vals AI) | Not measured | 45.4% | Only GPT-5.4 Mini measured |
| τ²-Bench Telecom | 62.9% | 83.3% | GPT-5.4 Mini |
| DeepResearch Bench | Not measured | 36.3% | Only GPT-5.4 Mini measured |
| Neither model has a result on the other 34 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | GPT-5.1-Codex-Mini | GPT-5.4 Mini | Leader |
|---|---|---|---|
| GPQA Diamond | Not measured | 83.1% | Only GPT-5.4 Mini measured |
| MMMU Pro (Vals AI) | Not measured | 79.3% | Only GPT-5.4 Mini measured |
| GPQA Diamond (Artificial Analysis run) | 81.3% | 87.5% | GPT-5.4 Mini |
| Humanity's Last Exam (Artificial Analysis run) | 18.5% | 28.1% | GPT-5.4 Mini |
| GPQA Diamond (Epoch AI run) | Not measured | 86.9% | Only GPT-5.4 Mini measured |
| ARC-AGI | Not measured | 63.7% | Only GPT-5.4 Mini measured |
| ARC-AGI-2 | Not measured | 18.9% | Only GPT-5.4 Mini measured |
| Chess puzzles | Not measured | 23.0% | Only GPT-5.4 Mini measured |
| Mystery game puzzles | Not measured | 11.0% | Only GPT-5.4 Mini measured |
| LMArena Text: hard prompts | Not measured | 1424 | Only GPT-5.4 Mini measured |
| LMArena Text: expert | Not measured | 1435 | Only GPT-5.4 Mini measured |
| LMArena Text: hard prompts in English | Not measured | 1420 | Only GPT-5.4 Mini measured |
| LMArena Vision: diagrams | Not measured | 1266 | Only GPT-5.4 Mini measured |
| LMArena Vision: homework | Not measured | 1285 | Only GPT-5.4 Mini measured |
| Kagi LLM Benchmark | Not measured | 37.9% | Only GPT-5.4 Mini measured |
| Neither model has a result on the other 7 boards here | |||
MathDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
| Benchmark | GPT-5.1-Codex-Mini | GPT-5.4 Mini | Leader |
|---|---|---|---|
| AIME | Not measured | 95.6% | Only GPT-5.4 Mini measured |
| AA Math Index | 91.7 | Not measured | Only GPT-5.1-Codex-Mini measured |
| AIME 2025 (Artificial Analysis run) | 91.7% | Not measured | Only GPT-5.1-Codex-Mini measured |
| OTIS Mock AIME | Not measured | 88.9% | Only GPT-5.4 Mini measured |
| FrontierMath, tiers 1 to 3 | Not measured | 51.2% | Only GPT-5.4 Mini measured |
| FrontierMath, tier 4 | Not measured | 9.8% | Only GPT-5.4 Mini measured |
| ProofBench | Not measured | 21.0% | Only GPT-5.4 Mini measured |
| LMArena Text: math | Not measured | 1418 | Only GPT-5.4 Mini measured |
| LMArena Text: mathematical work | Not measured | 1429 | Only GPT-5.4 Mini measured |
| Neither model has a result on the other 4 boards here | |||
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index11 boards, none shared
| Benchmark | GPT-5.1-Codex-Mini | GPT-5.4 Mini | Leader |
|---|---|---|---|
| MMLU Pro | Not measured | 84.5% | Only GPT-5.4 Mini measured |
| CaseLaw (Vals AI) | Not measured | 51.7% | Only GPT-5.4 Mini measured |
| CorpFin (Vals AI) | Not measured | 60.9% | Only GPT-5.4 Mini measured |
| TaxEval (Vals AI) | Not measured | 71.2% | Only GPT-5.4 Mini measured |
| MortgageTax (Vals AI) | Not measured | 63.5% | Only GPT-5.4 Mini measured |
| MMLU Pro (Artificial Analysis run) | 82.0% | Not measured | Only GPT-5.1-Codex-Mini measured |
| SimpleQA Verified | Not measured | 29.4% | Only GPT-5.4 Mini measured |
| LMArena Text: science | Not measured | 1417 | Only GPT-5.4 Mini measured |
| LMArena Text: medicine and healthcare | Not measured | 1395 | Only GPT-5.4 Mini measured |
| LMArena Text: legal and government | Not measured | 1414 | Only GPT-5.4 Mini measured |
| LMArena Text: business and finance | Not measured | 1418 | Only GPT-5.4 Mini measured |
| Neither model has a result on the other 7 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
| Benchmark | GPT-5.1-Codex-Mini | GPT-5.4 Mini | Leader |
|---|---|---|---|
| Design Arena: websites | 1111 | Not measured | Only GPT-5.1-Codex-Mini measured |
| Design Arena: UI components | 1081 | Not measured | Only GPT-5.1-Codex-Mini measured |
| Design Arena: game dev | 1092 | Not measured | Only GPT-5.1-Codex-Mini measured |
| Design Arena: data viz | 1097 | Not measured | Only GPT-5.1-Codex-Mini measured |
| Design Arena: 3D | 988 | Not measured | Only GPT-5.1-Codex-Mini measured |
| Design Arena: all code categories | 1094 | Not measured | Only GPT-5.1-Codex-Mini measured |
| Design Arena: SVG | 978 | Not measured | Only GPT-5.1-Codex-Mini measured |
| Design Arena: ASCII art | 1105 | Not measured | Only GPT-5.1-Codex-Mini measured |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | GPT-5.1-Codex-Mini | GPT-5.4 Mini | Leader |
|---|---|---|---|
| SAGE (Vals AI) | Not measured | 50.8% | Only GPT-5.4 Mini measured |
| Vals Multimodal Index | Not measured | 54.2% | Only GPT-5.4 Mini measured |
| IFBench | 67.9% | 73.3% | GPT-5.4 Mini |
| Long context reasoning (AA-LCR) | 66.7% | 77.0% | GPT-5.4 Mini |
| DTBench | Not measured | 80.0% | Only GPT-5.4 Mini measured |
| LMCA | Not measured | 40.8% | Only GPT-5.4 Mini measured |
| LMArena Text | Not measured | 1412 | Only GPT-5.4 Mini measured |
| LMArena Text: instruction following | Not measured | 1405 | Only GPT-5.4 Mini measured |
| LMArena Text: creative writing | Not measured | 1370 | Only GPT-5.4 Mini measured |
| LMArena Vision | Not measured | 1245 | Only GPT-5.4 Mini measured |
| LMArena Text: English | Not measured | 1412 | Only GPT-5.4 Mini measured |
| LMArena Text: non-English | Not measured | 1405 | Only GPT-5.4 Mini measured |
| LMArena Text: Chinese | Not measured | 1446 | Only GPT-5.4 Mini measured |
| LMArena Text: German | Not measured | 1408 | Only GPT-5.4 Mini measured |
| LMArena Text: Japanese | Not measured | 1375 | Only GPT-5.4 Mini measured |
| LMArena Text: Korean | Not measured | 1370 | Only GPT-5.4 Mini measured |
| LMArena Text: French | Not measured | 1441 | Only GPT-5.4 Mini measured |
| LMArena Text: Spanish | Not measured | 1405 | Only GPT-5.4 Mini measured |
| LMArena Text: Russian | Not measured | 1417 | Only GPT-5.4 Mini measured |
| LMArena Text: Polish | Not measured | 1415 | Only GPT-5.4 Mini measured |
| LMArena Text: multi-turn | Not measured | 1429 | Only GPT-5.4 Mini measured |
| LMArena Text: longer queries | Not measured | 1408 | Only GPT-5.4 Mini measured |
| LMArena Text: writing and language | Not measured | 1393 | Only GPT-5.4 Mini measured |
| LMArena Text: entertainment and media | Not measured | 1373 | Only GPT-5.4 Mini measured |
| LMArena Vision: English | Not measured | 1244 | Only GPT-5.4 Mini measured |
| LMArena Vision: Chinese | Not measured | 1286 | Only GPT-5.4 Mini measured |
| LMArena Vision: reading text | Not measured | 1253 | Only GPT-5.4 Mini measured |
| LMArena Vision: humor | Not measured | 1235 | Only GPT-5.4 Mini measured |
| LMArena Vision: recognizing things | Not measured | 1218 | Only GPT-5.4 Mini measured |
| LMArena Vision: creative writing | Not measured | 1222 | Only GPT-5.4 Mini measured |
| Neither model has a result on the other 16 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GPT-5.1-Codex-Mini | GPT-5.4 Mini | 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
GPT-5.1-Codex-Mini costs less
Repository review
50K input + 3K output tokens
GPT-5.1-Codex-Mini costs less
Agent loop
200K input + 10K output tokens
GPT-5.1-Codex-Mini 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-Mini | OpenAI GPT-5.4 Mini |
|---|---|---|
| Maker | OpenAI | OpenAI |
| Weights | No public weights listed | No public weights listed |
| Released | November 13, 2025 | March 17, 2026 |
| Context window | 400K | 400K |
| Input $/Mtok | $0.25 | $0.75 |
| Output $/Mtok | $2.00 | $4.50 |
| Coding index | Not benchmarked | 35.8 |
| Independent measurements behind it | 1 | 5 |
| Cost per solved task | Not computable | $0.70 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-5.1-Codex-Mini better than GPT-5.4 Mini for coding?
Only GPT-5.4 Mini has a coding score, 35.8 on the Vibe Coding Index; GPT-5.1-Codex-Mini has none, so the two cannot be ranked on coding. Pick GPT-5.1-Codex-Mini for output tokens 2.3x cheaper ($2.00 vs $4.50 per million).
Which is cheaper, GPT-5.1-Codex-Mini or GPT-5.4 Mini?
GPT-5.1-Codex-Mini costs $0.25 per million input tokens and $2.00 per million output tokens; GPT-5.4 Mini costs $0.75 and $4.50. Cost per solved task is known for GPT-5.4 Mini only.
Which has the bigger context window, GPT-5.1-Codex-Mini or GPT-5.4 Mini?
Neither: both take 400K tokens.
How many benchmarks is the GPT-5.1-Codex-Mini vs GPT-5.4 Mini comparison based on?
9 benchmarks have a result for both models as of October 21, 2026. GPT-5.1-Codex-Mini's coding index rests on 1 independent benchmark and GPT-5.4 Mini's on 5. Where only one model has a result, the page says so instead of naming a winner.