GPT-4.1 vs GPT-5.4 Mini
Updated October 21, 2026. 65 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-4.1 for coding: it scores 46.5 on the Vibe Coding Index against 28.2 for GPT-5.4 Mini.
Pick GPT-5.4 Mini when output tokens cost 1.8x less, or when what matters is LiveCodeBench (Vals AI) or Terminal-Bench Hard (Artificial Analysis run), where it leads.
- Shared results
- 65
- GPT-4.1 only
- 22
- GPT-5.4 Mini only
- 23
- Like-for-like categories
- 7 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-4.1
GPT-4.1 scores 46.5 against 28.2.
2 and 1 benchmarks behind the scores
Intelligence
AA Intelligence Index
GPT-5.4 Mini
GPT-5.4 Mini leads, 24.1 against 12.7.
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
GPT-5.4 Mini
GPT-5.4 Mini leads, 83.1% against 65.4%.
Same board, both measured
Math
AIME
GPT-5.4 Mini
GPT-5.4 Mini leads, 95.6% against 39.6%.
Same board, both measured
Knowledge
MMLU Pro
GPT-5.4 Mini
GPT-5.4 Mini leads, 84.5% against 80.5%.
Same board, both measured
Web design
Design Arena: websites
No call
Only GPT-4.1 has a Design Arena: websites result, 1039.
Directional only
Long documents
Listed context window
GPT-4.1
GPT-4.1 takes 1.05M tokens against 400K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GPT-5.4 Mini
GPT-4.1 $0.0060, GPT-5.4 Mini $0.0030 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GPT-4.1
GPT-4.1 $0.37, GPT-5.4 Mini $0.70.
Published attempt cost and pass rate
At a glance
- Coding index
- GPT-4.1 46.5 from 2 benchmarks, GPT-5.4 Mini 28.2 from 1 benchmark.
- Widest category
- Agentic work, 36.3 points apart on average over 1 shared benchmark.
- Widest single gap
- ARC-AGI: GPT-4.1 5.5% against GPT-5.4 Mini 63.7%, 58.2 points apart on a 0 to 100 scale.
- Output price
- GPT-4.1 $8.00 against GPT-5.4 Mini $4.50 per million output tokens, 1.8x apart.
- Context window
- GPT-4.1 takes 1.05M tokens, GPT-5.4 Mini 400K.
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 | Bars | GPT-5.4 Mini | Ties |
|---|---|---|---|---|
| Coding | 0 | 6 | ||
| Intelligence | 0 | 2 | ||
| Agentic work | 0 | 1 | ||
| Reasoning | 0 | 13 | ||
| Math | 0 | 5 | ||
| Knowledge | 5 | 5 | ||
| General | 0 | 28 | ||
| All shared boards | 5 | 60 |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index06
| Benchmark | GPT-4.1 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| Aider polyglot | 52.4% | Not measured | Only GPT-4.1 measured |
| SWE-bench Verified | 39.6% | Not measured | Only GPT-4.1 measured |
| SWE-bench Multimodal | 31.1% | Not measured | Only GPT-4.1 measured |
| LMArena WebDev | Not measured | 1397 | Only GPT-5.4 Mini measured |
| AA Coding Index | Not measured | 56.1 | Only GPT-5.4 Mini measured |
| LiveCodeBench (Vals AI) | 54.7% | 81.5% | GPT-5.4 Mini |
| 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) | 45.7% | Not measured | Only GPT-4.1 measured |
| SciCode | Not measured | 52.1% | Only GPT-5.4 Mini measured |
| Terminal-Bench Hard (Artificial Analysis run) | 13.6% | 52.3% | GPT-5.4 Mini |
| FrontierCode | Not measured | 27.0% | Only GPT-5.4 Mini measured |
| WeirdML | 39.0% | 60.3% | GPT-5.4 Mini |
| ALE-Bench | 558.1 | 1188.6 | GPT-5.4 Mini |
| LMArena Text: coding | 1390 | 1438 | GPT-5.4 Mini |
| LMArena Text: software and IT | 1391 | 1436 | GPT-5.4 Mini |
| LMArena WebDev: React | Not measured | 1386 | Only GPT-5.4 Mini measured |
| LMArena WebDev: HTML | Not measured | 1419 | Only GPT-5.4 Mini 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 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| AA Intelligence Index | 12.7 | 24.1 | GPT-5.4 Mini |
| Epoch Capabilities Index | 136.7 | 148.7 | GPT-5.4 Mini |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | GPT-4.1 | 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 | 47.1% | 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 32 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index013
| Benchmark | GPT-4.1 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| GPQA Diamond | 65.4% | 83.1% | GPT-5.4 Mini |
| MMMU Pro (Vals AI) | 72.4% | 79.3% | GPT-5.4 Mini |
| GPQA Diamond (Artificial Analysis run) | 66.6% | 87.5% | GPT-5.4 Mini |
| Humanity's Last Exam (Artificial Analysis run) | 4.2% | 28.1% | GPT-5.4 Mini |
| GPQA Diamond (Epoch AI run) | 66.9% | 86.9% | GPT-5.4 Mini |
| ARC-AGI | 5.5% | 63.7% | GPT-5.4 Mini |
| ARC-AGI-2 | 0.4% | 18.9% | GPT-5.4 Mini |
| SimpleBench | 27.0% | Not measured | Only GPT-4.1 measured |
| Chess puzzles | 3.0% | 23.0% | GPT-5.4 Mini |
| Mystery game puzzles | Not measured | 11.0% | Only GPT-5.4 Mini measured |
| LMArena Text: hard prompts | 1384 | 1424 | GPT-5.4 Mini |
| LMArena Text: expert | 1364 | 1435 | GPT-5.4 Mini |
| LMArena Text: hard prompts in English | 1393 | 1420 | GPT-5.4 Mini |
| LMArena Vision: diagrams | 1215 | 1266 | GPT-5.4 Mini |
| LMArena Vision: homework | 1248 | 1285 | GPT-5.4 Mini |
| 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 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| AIME | 39.6% | 95.6% | GPT-5.4 Mini |
| MATH 500 (Vals AI) | 87.2% | Not measured | Only GPT-4.1 measured |
| MGSM (Vals AI) | 87.7% | Not measured | Only GPT-4.1 measured |
| AA Math Index | 34.7 | Not measured | Only GPT-4.1 measured |
| AIME 2025 (Artificial Analysis run) | 34.7% | Not measured | Only GPT-4.1 measured |
| OTIS Mock AIME | 38.3% | 88.9% | GPT-5.4 Mini |
| FrontierMath, tiers 1 to 3 | 6.0% | 51.2% | GPT-5.4 Mini |
| FrontierMath, tier 4 | Not measured | 9.8% | Only GPT-5.4 Mini measured |
| ProofBench | Not measured | 21.0% | Only GPT-5.4 Mini measured |
| MATH level 5 | 83.0% | Not measured | Only GPT-4.1 measured |
| LMArena Text: math | 1369 | 1418 | GPT-5.4 Mini |
| LMArena Text: mathematical work | 1360 | 1429 | GPT-5.4 Mini |
| Neither model has a result on the other 1 board here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index55
| Benchmark | GPT-4.1 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| MMLU Pro | 80.5% | 84.5% | GPT-5.4 Mini |
| LegalBench (Vals AI) | 83.1% | Not measured | Only GPT-4.1 measured |
| CaseLaw (Vals AI) | 69.9% | 51.7% | GPT-4.1 |
| CorpFin (Vals AI) | 63.0% | 60.9% | GPT-4.1 |
| TaxEval (Vals AI) | 75.1% | 71.2% | GPT-4.1 |
| MortgageTax (Vals AI) | 65.9% | 63.5% | GPT-4.1 |
| MedQA (Vals AI) | 91.2% | Not measured | Only GPT-4.1 measured |
| MMLU Pro (Artificial Analysis run) | 80.6% | Not measured | Only GPT-4.1 measured |
| SimpleQA Verified | 31.1% | 29.4% | GPT-4.1 |
| GeoBench | 72.0% | Not measured | Only GPT-4.1 measured |
| LMArena Text: science | 1382 | 1417 | GPT-5.4 Mini |
| LMArena Text: medicine and healthcare | 1379 | 1395 | GPT-5.4 Mini |
| LMArena Text: legal and government | 1399 | 1414 | GPT-5.4 Mini |
| LMArena Text: business and finance | 1369 | 1418 | GPT-5.4 Mini |
| Neither model has a result on the other 3 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
| Benchmark | GPT-4.1 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| Design Arena: websites | 1039 | Not measured | Only GPT-4.1 measured |
| Design Arena: UI components | 1000 | Not measured | Only GPT-4.1 measured |
| Design Arena: game dev | 1080 | Not measured | Only GPT-4.1 measured |
| Design Arena: data viz | 1104 | Not measured | Only GPT-4.1 measured |
| Design Arena: 3D | 850 | Not measured | Only GPT-4.1 measured |
| Design Arena: all code categories | 1026 | Not measured | Only GPT-4.1 measured |
| Neither model has a result on the other 3 boards here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index028
| Benchmark | GPT-4.1 | 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 | 43.0% | 73.3% | GPT-5.4 Mini |
| Long context reasoning (AA-LCR) | 68.3% | 77.0% | GPT-5.4 Mini |
| DTBench | 68.3% | 80.0% | GPT-5.4 Mini |
| LMCA | 25.6% | 40.8% | GPT-5.4 Mini |
| Fiction.LiveBench | 63.9% | Not measured | Only GPT-4.1 measured |
| LMArena Text | 1383 | 1412 | GPT-5.4 Mini |
| LMArena Text: instruction following | 1367 | 1405 | GPT-5.4 Mini |
| LMArena Text: creative writing | 1363 | 1370 | GPT-5.4 Mini |
| LMArena Vision | 1210 | 1245 | GPT-5.4 Mini |
| LMArena Text: English | 1392 | 1412 | GPT-5.4 Mini |
| LMArena Text: non-English | 1370 | 1405 | GPT-5.4 Mini |
| LMArena Text: Chinese | 1382 | 1446 | GPT-5.4 Mini |
| LMArena Text: German | 1381 | 1408 | GPT-5.4 Mini |
| LMArena Text: Japanese | 1319 | 1375 | GPT-5.4 Mini |
| LMArena Text: Korean | 1338 | 1370 | GPT-5.4 Mini |
| LMArena Text: French | 1382 | 1441 | GPT-5.4 Mini |
| LMArena Text: Spanish | 1376 | 1405 | GPT-5.4 Mini |
| LMArena Text: Russian | 1377 | 1417 | GPT-5.4 Mini |
| LMArena Text: Polish | 1389 | 1415 | GPT-5.4 Mini |
| LMArena Text: multi-turn | 1397 | 1429 | GPT-5.4 Mini |
| LMArena Text: longer queries | 1385 | 1408 | GPT-5.4 Mini |
| LMArena Text: writing and language | 1371 | 1393 | GPT-5.4 Mini |
| LMArena Text: entertainment and media | 1365 | 1373 | GPT-5.4 Mini |
| LMArena Vision: English | 1209 | 1244 | GPT-5.4 Mini |
| LMArena Vision: Chinese | 1226 | 1286 | GPT-5.4 Mini |
| LMArena Vision: reading text | 1218 | 1253 | GPT-5.4 Mini |
| LMArena Vision: humor | 1196 | 1235 | GPT-5.4 Mini |
| LMArena Vision: captioning | 1207 | Not measured | Only GPT-4.1 measured |
| LMArena Vision: recognizing things | 1208 | 1218 | GPT-5.4 Mini |
| LMArena Vision: creative writing | 1210 | 1222 | GPT-5.4 Mini |
| Neither model has a result on the other 14 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GPT-4.1 | 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.4 Mini costs less
Repository review
50K input + 3K output tokens
GPT-5.4 Mini costs less
Agent loop
200K input + 10K output tokens
GPT-5.4 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 | OpenAI GPT-5.4 Mini |
|---|---|---|
| Maker | OpenAI | OpenAI |
| Weights | No public weights listed | No public weights listed |
| Released | April 14, 2025 | March 17, 2026 |
| Context window | 1.05M | 400K |
| Input $/Mtok | $2.00 | $0.75 |
| Output $/Mtok | $8.00 | $4.50 |
| Coding index | 46.5 | 28.2 |
| Independent measurements behind it | 2 | 1 |
| Cost per solved task | $0.37 | $0.70 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-4.1 better than GPT-5.4 Mini for coding?
Pick GPT-4.1 for coding: it scores 46.5 on the Vibe Coding Index against 28.2 for GPT-5.4 Mini. Pick GPT-5.4 Mini when output tokens cost 1.8x less, or when what matters is LiveCodeBench (Vals AI) or Terminal-Bench Hard (Artificial Analysis run), where it leads.
Which is cheaper, GPT-4.1 or GPT-5.4 Mini?
GPT-4.1 costs $2.00 per million input tokens and $8.00 per million output tokens; GPT-5.4 Mini costs $0.75 and $4.50. Per solved SWE-bench Verified task, GPT-4.1 costs $0.37 and GPT-5.4 Mini $0.70.
Which has the bigger context window, GPT-4.1 or GPT-5.4 Mini?
GPT-4.1, with 1.05M tokens against 400K.
How many benchmarks is the GPT-4.1 vs GPT-5.4 Mini comparison based on?
65 benchmarks have a result for both models as of October 21, 2026. GPT-4.1's coding index rests on 2 independent benchmarks and GPT-5.4 Mini's on 1. Where only one model has a result, the page says so instead of naming a winner.