GPT-4.1 Mini vs GPT-5.4
Updated October 21, 2026. 73 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Pick GPT-5.4 for coding: it scores 37.7 on the Vibe Coding Index against 28.5 for GPT-4.1 Mini, though on 1 benchmark against 2.
Pick GPT-4.1 Mini when output tokens cost 9.4x less.
- Shared results
- 73
- GPT-4.1 Mini only
- 11
- GPT-5.4 only
- 36
- 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
GPT-5.4
GPT-5.4 scores 37.7 against 28.5.
2 and 1 benchmarks behind the scores
Intelligence
AA Intelligence Index
GPT-5.4
GPT-5.4 leads, 39.0 against 10.2.
Same board, both measured
Reasoning
GPQA Diamond
GPT-5.4
GPT-5.4 leads, 91.7% against 67.9%.
Same board, both measured
Math
AIME
GPT-5.4
GPT-5.4 leads, 96.7% against 49.4%.
Same board, both measured
Knowledge
MMLU Pro
GPT-5.4
GPT-5.4 leads, 87.5% against 77.2%.
Same board, both measured
Web design
Design Arena: websites
GPT-5.4
GPT-5.4 leads, 1199 against 997.
Same board, both measured
Long documents
Listed context window
GPT-5.4
GPT-5.4 takes 1.05M tokens against 1.05M.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GPT-4.1 Mini
GPT-4.1 Mini $0.0012, GPT-5.4 $0.010 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GPT-5.4
GPT-4.1 Mini $1.818, GPT-5.4 $1.02.
Published attempt cost and pass rate
At a glance
- Coding index
- GPT-4.1 Mini 28.5 from 2 benchmarks, GPT-5.4 37.7 from 1 benchmark.
- Widest category
- Math, 44.3 points apart on average over 5 shared benchmarks.
- Widest single gap
- ARC-AGI: GPT-4.1 Mini 3.5% against GPT-5.4 93.7%, 90.2 points apart on a 0 to 100 scale.
- Output price
- GPT-4.1 Mini $1.60 against GPT-5.4 $15.00 per million output tokens, 9.4x apart.
- Context window
- GPT-4.1 Mini takes 1.05M tokens, GPT-5.4 1.05M.
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-4.1 Mini | Bars | GPT-5.4 | Ties |
|---|---|---|---|---|
| Coding | 0 | 6 | ||
| Intelligence | 0 | 2 | ||
| Agentic work | 0 | 1 | ||
| Reasoning | 0 | 14 | ||
| Math | 0 | 5 | ||
| Knowledge | 0 | 11 | ||
| Web design | 0 | 6 | ||
| General | 0 | 28 | ||
| All shared boards | 0 | 73 |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index06
| Benchmark | GPT-4.1 Mini | GPT-5.4 | Leader |
|---|---|---|---|
| Aider polyglot | 32.4% | Not measured | Only GPT-4.1 Mini measured |
| SWE-bench Verified | 23.9% | Not measured | Only GPT-4.1 Mini measured |
| LMArena WebDev | Not measured | 1464 | Only GPT-5.4 measured |
| AA Coding Index | 20.2 | 71.1 | GPT-5.4 |
| LiveCodeBench (Vals AI) | 58.2% | 84.1% | GPT-5.4 |
| SWE-bench Verified (Vals AI) | Not measured | 78.2% | Only GPT-5.4 measured |
| Vibe Code Bench (Vals AI) | Not measured | 67.4% | Only GPT-5.4 measured |
| Code migration (Vals AI) | Not measured | 35.0% | Only GPT-5.4 measured |
| ProgramBench (Vals AI) | Not measured | 0.5% | Only GPT-5.4 measured |
| SkillsBench (Vals AI) | Not measured | 51.7% | Only GPT-5.4 measured |
| LiveCodeBench (Artificial Analysis run) | 48.3% | Not measured | Only GPT-4.1 Mini measured |
| Terminal-Bench Hard (Artificial Analysis run) | 7.6% | 57.6% | GPT-5.4 |
| Terminal-Bench | Not measured | 81.8% | Only GPT-5.4 measured |
| GSO-Bench | Not measured | 31.4% | Only GPT-5.4 measured |
| WeirdML | 37.6% | 77.7% | GPT-5.4 |
| MirrorCode | Not measured | 15.6% | Only GPT-5.4 measured |
| ALE-Bench | Not measured | 1607.0 | Only GPT-5.4 measured |
| LMArena Text: coding | 1367 | 1496 | GPT-5.4 |
| LMArena Text: software and IT | 1360 | 1491 | GPT-5.4 |
| LMArena WebDev: React | Not measured | 1454 | Only GPT-5.4 measured |
| LMArena WebDev: HTML | Not measured | 1478 | Only GPT-5.4 measured |
| LMArena WebDev: from an image | Not measured | 1436 | Only GPT-5.4 measured |
| Neither model has a result on the other 16 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | GPT-4.1 Mini | GPT-5.4 | Leader |
|---|---|---|---|
| AA Intelligence Index | 10.2 | 39.0 | GPT-5.4 |
| Epoch Capabilities Index | 134.9 | 157.3 | GPT-5.4 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | GPT-4.1 Mini | GPT-5.4 | Leader |
|---|---|---|---|
| Design Arena: agents building web apps | Not measured | 1059 | Only GPT-5.4 measured |
| Design Arena: agents building full-stack apps | Not measured | 1017 | Only GPT-5.4 measured |
| Design Arena: agents building mobile apps | Not measured | 1087 | Only GPT-5.4 measured |
| Design Arena: agents building Android apps | Not measured | 1037 | Only GPT-5.4 measured |
| Design Arena: agents building Godot games | Not measured | 1135 | Only GPT-5.4 measured |
| τ²-Bench Telecom | 52.9% | 87.1% | GPT-5.4 |
| APEX-Agents | Not measured | 52.4% | Only GPT-5.4 measured |
| METR time horizons | Not measured | 74.3% | Only GPT-5.4 measured |
| DeepResearch Bench | Not measured | 35.1% | Only GPT-5.4 measured |
| PostTrainBench | Not measured | 19.0% | Only GPT-5.4 measured |
| Vending-Bench 2 | Not measured | $6,144 | Only GPT-5.4 measured |
| Neither model has a result on the other 28 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index014
| Benchmark | GPT-4.1 Mini | GPT-5.4 | Leader |
|---|---|---|---|
| GPQA Diamond | 67.9% | 91.7% | GPT-5.4 |
| MMMU Pro (Vals AI) | 70.5% | 87.5% | GPT-5.4 |
| GPQA Diamond (Artificial Analysis run) | 66.4% | 92.0% | GPT-5.4 |
| Humanity's Last Exam (Artificial Analysis run) | 5.0% | 43.7% | GPT-5.4 |
| GPQA Diamond (Epoch AI run) | 65.8% | 93.3% | GPT-5.4 |
| ARC-AGI | 3.5% | 93.7% | GPT-5.4 |
| ARC-AGI-2 | 0.0% | 74.0% | GPT-5.4 |
| Chess puzzles | 1.0% | 48.0% | GPT-5.4 |
| Mystery game puzzles | 7.0% | 37.0% | GPT-5.4 |
| EBR-bench | Not measured | 25.4% | Only GPT-5.4 measured |
| LMArena Text: hard prompts | 1349 | 1485 | GPT-5.4 |
| LMArena Text: expert | 1338 | 1507 | GPT-5.4 |
| LMArena Text: hard prompts in English | 1362 | 1479 | GPT-5.4 |
| LMArena Vision: diagrams | 1182 | 1327 | GPT-5.4 |
| LMArena Vision: homework | 1214 | 1336 | GPT-5.4 |
| Neither model has a result on the other 6 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index05
| Benchmark | GPT-4.1 Mini | GPT-5.4 | Leader |
|---|---|---|---|
| AIME | 49.4% | 96.7% | GPT-5.4 |
| MATH 500 (Vals AI) | 88.0% | Not measured | Only GPT-4.1 Mini measured |
| MGSM (Vals AI) | 87.8% | Not measured | Only GPT-4.1 Mini measured |
| AA Math Index | 46.3 | Not measured | Only GPT-4.1 Mini measured |
| AIME 2025 (Artificial Analysis run) | 46.3% | Not measured | Only GPT-4.1 Mini measured |
| OTIS Mock AIME | 44.7% | 97.8% | GPT-5.4 |
| FrontierMath, tiers 1 to 3 | 6.7% | 78.6% | GPT-5.4 |
| FrontierMath, tier 4 | Not measured | 49.0% | Only GPT-5.4 measured |
| ProofBench | Not measured | 56.0% | Only GPT-5.4 measured |
| MATH level 5 | 87.3% | Not measured | Only GPT-4.1 Mini measured |
| LMArena Text: math | 1343 | 1488 | GPT-5.4 |
| LMArena Text: mathematical work | 1347 | 1497 | GPT-5.4 |
| Neither model has a result on the other 1 board here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index011
| Benchmark | GPT-4.1 Mini | GPT-5.4 | Leader |
|---|---|---|---|
| MMLU Pro | 77.2% | 87.5% | GPT-5.4 |
| LegalBench (Vals AI) | 78.0% | 86.0% | GPT-5.4 |
| CaseLaw (Vals AI) | Not measured | 63.8% | Only GPT-5.4 measured |
| CorpFin (Vals AI) | 57.9% | 65.3% | GPT-5.4 |
| TaxEval (Vals AI) | 71.9% | 74.0% | GPT-5.4 |
| MortgageTax (Vals AI) | 65.5% | 68.3% | GPT-5.4 |
| MedQA (Vals AI) | 84.6% | 96.1% | GPT-5.4 |
| MedCode (Vals AI) | Not measured | 41.3% | Only GPT-5.4 measured |
| MMLU Pro (Artificial Analysis run) | 78.1% | Not measured | Only GPT-4.1 Mini measured |
| SimpleQA Verified | 12.7% | 45.1% | GPT-5.4 |
| LMArena Text: science | 1328 | 1479 | GPT-5.4 |
| LMArena Text: medicine and healthcare | 1324 | 1458 | GPT-5.4 |
| LMArena Text: legal and government | 1343 | 1486 | GPT-5.4 |
| LMArena Text: business and finance | 1322 | 1474 | GPT-5.4 |
| Neither model has a result on the other 3 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index06
| Benchmark | GPT-4.1 Mini | GPT-5.4 | Leader |
|---|---|---|---|
| Design Arena: websites | 997 | 1199 | GPT-5.4 |
| Design Arena: UI components | 961 | 1215 | GPT-5.4 |
| Design Arena: game dev | 1071 | 1195 | GPT-5.4 |
| Design Arena: data viz | 1034 | 1196 | GPT-5.4 |
| Design Arena: 3D | 837 | 1065 | GPT-5.4 |
| Design Arena: all code categories | 994 | 1180 | GPT-5.4 |
| Design Arena: SVG | Not measured | 1141 | Only GPT-5.4 measured |
| Design Arena: ASCII art | Not measured | 1188 | Only GPT-5.4 measured |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index028
| Benchmark | GPT-4.1 Mini | GPT-5.4 | Leader |
|---|---|---|---|
| SAGE (Vals AI) | Not measured | 43.3% | Only GPT-5.4 measured |
| MedScribe (Vals AI) | Not measured | 77.5% | Only GPT-5.4 measured |
| IFBench | 38.3% | 73.9% | GPT-5.4 |
| Long context reasoning (AA-LCR) | 44.0% | 82.0% | GPT-5.4 |
| DTBench | 68.8% | 94.4% | GPT-5.4 |
| LMCA | 21.1% | 52.0% | GPT-5.4 |
| Fiction.LiveBench | 44.4% | Not measured | Only GPT-4.1 Mini measured |
| CL-bench | Not measured | 27.9% | Only GPT-5.4 measured |
| Furniture assembly | Not measured | 37.5% | Only GPT-5.4 measured |
| CL-bench Life | Not measured | 21.7% | Only GPT-5.4 measured |
| LMArena Text | 1341 | 1469 | GPT-5.4 |
| LMArena Text: instruction following | 1333 | 1469 | GPT-5.4 |
| LMArena Text: creative writing | 1299 | 1439 | GPT-5.4 |
| LMArena Vision | 1181 | 1303 | GPT-5.4 |
| LMArena Text: English | 1356 | 1467 | GPT-5.4 |
| LMArena Text: non-English | 1318 | 1465 | GPT-5.4 |
| LMArena Text: Chinese | 1329 | 1520 | GPT-5.4 |
| LMArena Text: German | 1350 | 1472 | GPT-5.4 |
| LMArena Text: Japanese | 1290 | 1485 | GPT-5.4 |
| LMArena Text: Korean | 1298 | 1449 | GPT-5.4 |
| LMArena Text: French | 1358 | 1493 | GPT-5.4 |
| LMArena Text: Spanish | 1319 | 1452 | GPT-5.4 |
| LMArena Text: Russian | 1324 | 1480 | GPT-5.4 |
| LMArena Text: Polish | 1326 | 1472 | GPT-5.4 |
| LMArena Text: multi-turn | 1354 | 1482 | GPT-5.4 |
| LMArena Text: longer queries | 1344 | 1473 | GPT-5.4 |
| LMArena Text: writing and language | 1319 | 1458 | GPT-5.4 |
| LMArena Text: entertainment and media | 1300 | 1438 | GPT-5.4 |
| LMArena Vision: English | 1191 | 1301 | GPT-5.4 |
| LMArena Vision: Chinese | 1186 | 1354 | GPT-5.4 |
| LMArena Vision: reading text | 1188 | 1312 | GPT-5.4 |
| LMArena Vision: humor | 1182 | 1284 | GPT-5.4 |
| LMArena Vision: captioning | 1174 | Not measured | Only GPT-4.1 Mini measured |
| LMArena Vision: recognizing things | 1187 | 1251 | GPT-5.4 |
| LMArena Vision: creative writing | 1182 | 1283 | GPT-5.4 |
| LMArena Document | Not measured | 1471 | Only GPT-5.4 measured |
| Neither model has a result on the other 10 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GPT-4.1 Mini | GPT-5.4 | 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-4.1 Mini costs less
Repository review
50K input + 3K output tokens
GPT-4.1 Mini costs less
Agent loop
200K input + 10K output tokens
GPT-4.1 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-4.1 Mini | OpenAI GPT-5.4 |
|---|---|---|
| Maker | OpenAI | OpenAI |
| Weights | No public weights listed | No public weights listed |
| Released | April 14, 2025 | March 5, 2026 |
| Context window | 1.05M | 1.05M |
| Input $/Mtok | $0.40 | $2.50 |
| Output $/Mtok | $1.60 | $15.00 |
| Coding index | 28.5 | 37.7 |
| Independent measurements behind it | 2 | 1 |
| Cost per solved task | $1.818 | $1.02 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-4.1 Mini better than GPT-5.4 for coding?
Pick GPT-5.4 for coding: it scores 37.7 on the Vibe Coding Index against 28.5 for GPT-4.1 Mini, though on 1 benchmark against 2. Pick GPT-4.1 Mini when output tokens cost 9.4x less.
Which is cheaper, GPT-4.1 Mini or GPT-5.4?
GPT-4.1 Mini costs $0.40 per million input tokens and $1.60 per million output tokens; GPT-5.4 costs $2.50 and $15.00. Per solved SWE-bench Verified task, GPT-4.1 Mini costs $1.818 and GPT-5.4 $1.02.
Which has the bigger context window, GPT-4.1 Mini or GPT-5.4?
GPT-5.4, with 1.05M tokens against 1.05M.
How many benchmarks is the GPT-4.1 Mini vs GPT-5.4 comparison based on?
73 benchmarks have a result for both models as of October 21, 2026. GPT-4.1 Mini's coding index rests on 2 independent benchmarks and GPT-5.4's on 1. Where only one model has a result, the page says so instead of naming a winner.