GPT-4.1 vs GPT-5 Mini
GPT-5 Mini leads GPT-4.1 on the Artificial Analysis Intelligence Index, 20.6 to 12.7, and GPT-5 Mini costs 4.0x less per output token ($2.00 vs $8.00 per million). Updated October 22, 2026; 85 benchmarks have a result for both.
GPT-4.1 or GPT-5 Mini: which to pick
Only GPT-5 Mini has a coding score, 34.2 on the Vibe Coding Index; GPT-4.1 has none, so the two cannot be ranked on coding.
Pick GPT-4.1 for a larger context window (1.05M against 400K tokens) and work measured by LMArena Text: hard prompts or LMArena Text: hard prompts in English, where it leads.
- Shared results
- 85
- GPT-4.1 only
- 7
- GPT-5 Mini only
- 16
- Like-for-like categories
- 8 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 Mini has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
GPT-5 Mini
GPT-5 Mini leads, 20.6 against 12.7.
Same board, both measured
Reasoning
GPQA Diamond
GPT-5 Mini
GPT-5 Mini leads, 80.3% against 65.4%.
Same board, both measured
Math
AIME
GPT-5 Mini
GPT-5 Mini leads, 91.5% against 39.6%.
Same board, both measured
Knowledge
MMLU Pro
GPT-5 Mini
GPT-5 Mini leads, 82.2% against 80.5%.
Same board, both measured
Web design
Design Arena: websites
GPT-5 Mini
GPT-5 Mini leads, 1125 against 1038.
Same board, both measured
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 Mini
GPT-4.1 $0.0060, GPT-5 Mini $0.0013 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GPT-5 Mini
GPT-4.1 $0.37, GPT-5 Mini $0.08.
Published attempt cost and pass rate
At a glance
- Coding index
- GPT-4.1 not benchmarked, GPT-5 Mini 34.2 from 2 benchmarks.
- Widest category
- Math, 28.5 points apart on average over 10 shared benchmarks.
- Widest single gap
- AA Math Index: GPT-4.1 34.7 against GPT-5 Mini 90.7, 56.0 points apart on a 0 to 100 scale.
- Output price
- GPT-4.1 $8.00 against GPT-5 Mini $2.00 per million output tokens, 4.0x apart.
- Context window
- GPT-4.1 takes 1.05M tokens, GPT-5 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 Mini | Ties |
|---|---|---|---|---|
| Coding | 0 | 7 | ||
| Intelligence | 0 | 2 | ||
| Agentic work | 0 | 2 | ||
| Reasoning | 4 | 10 | ||
| Math | 0 | 10 | ||
| Knowledge | 8 | 6 | ||
| Web design | 0 | 6 | ||
| General | 18 | 12 | ||
| All shared boards | 30 | 55 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index07
| Benchmark | GPT-4.1 | GPT-5 Mini | Leader |
|---|---|---|---|
| Aider polyglot | 52.4% | Not measured | Only GPT-4.1 measured |
| SWE-bench Verified | 39.6% | 59.8% | GPT-5 Mini |
| SWE-bench Multimodal | 31.1% | Not measured | Only GPT-4.1 measured |
| SWE-bench Multilingual | Not measured | 39.7% | Only GPT-5 Mini measured |
| LiveCodeBench (Vals AI) | 54.7% | 86.6% | GPT-5 Mini |
| SWE-bench Verified (Vals AI) | Not measured | 60.8% | Only GPT-5 Mini measured |
| Vibe Code Bench (Vals AI) | Not measured | 14.2% | Only GPT-5 Mini measured |
| LiveCodeBench (Artificial Analysis run) | 45.7% | 83.8% | GPT-5 Mini |
| SciCode | Not measured | 39.0% | Only GPT-5 Mini measured |
| Terminal-Bench Hard (Artificial Analysis run) | 13.6% | 33.3% | GPT-5 Mini |
| Terminal-Bench | Not measured | 34.8% | Only GPT-5 Mini measured |
| WeirdML | 39.0% | 52.7% | GPT-5 Mini |
| ALE-Bench | 558.1 | Not measured | Only GPT-4.1 measured |
| LMArena Text: coding | 1390 | 1406 | GPT-5 Mini |
| LMArena Text: software and IT | 1391 | 1394 | GPT-5 Mini |
| SciCode | 4.6% | Not measured | Only GPT-4.1 measured |
| Neither model has a result on the other 23 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | GPT-4.1 | GPT-5 Mini | Leader |
|---|---|---|---|
| AA Intelligence Index | 12.7 | 20.6 | GPT-5 Mini |
| Epoch Capabilities Index | 136.7 | 145.3 | GPT-5 Mini |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | GPT-4.1 | GPT-5 Mini | Leader |
|---|---|---|---|
| τ²-Bench Telecom | 47.1% | 71.1% | GPT-5 Mini |
| Vending-Bench 2 | Not measured | -$31 | Only GPT-5 Mini measured |
| Berkeley Function Calling Leaderboard (BFCL) | 54.0% | 55.5% | GPT-5 Mini |
| BrowseComp-Plus | 36.4% | Not measured | Only GPT-4.1 measured |
| Neither model has a result on the other 37 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index410
| Benchmark | GPT-4.1 | GPT-5 Mini | Leader |
|---|---|---|---|
| GPQA Diamond | 65.4% | 80.3% | GPT-5 Mini |
| MMMU Pro (Vals AI) | 72.4% | 78.9% | GPT-5 Mini |
| GPQA Diamond (Artificial Analysis run) | 66.6% | 82.8% | GPT-5 Mini |
| Humanity's Last Exam (Artificial Analysis run) | 4.2% | 21.5% | GPT-5 Mini |
| GPQA Diamond (Epoch AI run) | 66.9% | 75.0% | GPT-5 Mini |
| ARC-AGI | 5.5% | 54.3% | GPT-5 Mini |
| ARC-AGI-2 | 0.4% | 4.4% | GPT-5 Mini |
| SimpleBench | 27.0% | Not measured | Only GPT-4.1 measured |
| Chess puzzles | 3.0% | 24.0% | GPT-5 Mini |
| Mystery game puzzles | Not measured | 10.0% | Only GPT-5 Mini measured |
| VPCT | Not measured | 40.2% | Only GPT-5 Mini measured |
| LMArena Text: hard prompts | 1384 | 1380 | GPT-4.1 |
| LMArena Text: expert | 1364 | 1379 | GPT-5 Mini |
| LMArena Text: hard prompts in English | 1393 | 1383 | GPT-4.1 |
| LMArena Vision: diagrams | 1215 | 1202 | GPT-4.1 |
| LMArena Vision: homework | 1248 | 1210 | GPT-4.1 |
| Kagi LLM Benchmark | 52.3% | 70.3% | GPT-5 Mini |
| Neither model has a result on the other 5 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index010
| Benchmark | GPT-4.1 | GPT-5 Mini | Leader |
|---|---|---|---|
| AIME | 39.6% | 91.5% | GPT-5 Mini |
| MATH 500 (Vals AI) | 87.2% | 94.8% | GPT-5 Mini |
| MGSM (Vals AI) | 87.7% | 92.6% | GPT-5 Mini |
| AA Math Index | 34.7 | 90.7 | GPT-5 Mini |
| AIME 2025 (Artificial Analysis run) | 34.7% | 90.7% | GPT-5 Mini |
| OTIS Mock AIME | 38.3% | 86.7% | GPT-5 Mini |
| FrontierMath, tiers 1 to 3 | 6.0% | 46.7% | GPT-5 Mini |
| FrontierMath, tier 4 | Not measured | 12.2% | Only GPT-5 Mini measured |
| ProofBench | Not measured | 9.0% | Only GPT-5 Mini measured |
| MATH level 5 | 83.0% | 97.8% | GPT-5 Mini |
| LMArena Text: math | 1369 | 1378 | GPT-5 Mini |
| LMArena Text: mathematical work | 1360 | 1380 | GPT-5 Mini |
| Neither model has a result on the other 1 board here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index86
| Benchmark | GPT-4.1 | GPT-5 Mini | Leader |
|---|---|---|---|
| MMLU Pro | 80.5% | 82.2% | GPT-5 Mini |
| LegalBench (Vals AI) | 83.1% | 81.8% | GPT-4.1 |
| CaseLaw (Vals AI) | 69.9% | 68.5% | GPT-4.1 |
| CorpFin (Vals AI) | 63.0% | 60.2% | GPT-4.1 |
| TaxEval (Vals AI) | 75.1% | 75.2% | GPT-5 Mini |
| MortgageTax (Vals AI) | 65.9% | 66.9% | GPT-5 Mini |
| MedQA (Vals AI) | 91.2% | 96.1% | GPT-5 Mini |
| MedCode (Vals AI) | Not measured | 43.0% | Only GPT-5 Mini measured |
| MMLU Pro (Artificial Analysis run) | 80.6% | 83.7% | GPT-5 Mini |
| SimpleQA Verified | 31.1% | 21.6% | GPT-4.1 |
| GeoBench | 72.0% | Not measured | Only GPT-4.1 measured |
| LMArena Text: science | 1382 | 1371 | GPT-4.1 |
| LMArena Text: medicine and healthcare | 1379 | 1380 | GPT-5 Mini |
| LMArena Text: legal and government | 1399 | 1375 | GPT-4.1 |
| LMArena Text: business and finance | 1369 | 1358 | GPT-4.1 |
| FACTS Benchmark Suite | 45.8% | 38.6% | GPT-4.1 |
| Neither model has a result on the other 2 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index06
| Benchmark | GPT-4.1 | GPT-5 Mini | Leader |
|---|---|---|---|
| Design Arena: websites | 1038 | 1125 | GPT-5 Mini |
| Design Arena: UI components | 997 | 1103 | GPT-5 Mini |
| Design Arena: game dev | 1079 | 1129 | GPT-5 Mini |
| Design Arena: data viz | 1104 | 1131 | GPT-5 Mini |
| Design Arena: 3D | 849 | 1036 | GPT-5 Mini |
| Design Arena: all code categories | 1025 | 1114 | GPT-5 Mini |
| Design Arena: SVG | Not measured | 1091 | Only GPT-5 Mini measured |
| Design Arena: ASCII art | Not measured | 1125 | Only GPT-5 Mini measured |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index1812
| Benchmark | GPT-4.1 | GPT-5 Mini | Leader |
|---|---|---|---|
| SAGE (Vals AI) | Not measured | 43.0% | Only GPT-5 Mini measured |
| MedScribe (Vals AI) | Not measured | 80.6% | Only GPT-5 Mini measured |
| IFBench | 43.0% | 75.4% | GPT-5 Mini |
| Long context reasoning (AA-LCR) | 68.3% | 72.3% | GPT-5 Mini |
| DTBench | 68.3% | 80.5% | GPT-5 Mini |
| LMCA | 25.6% | 34.2% | GPT-5 Mini |
| Fiction.LiveBench | 63.9% | 69.4% | GPT-5 Mini |
| Creative writing (Lech Mazur) | Not measured | 83.1% | Only GPT-5 Mini measured |
| LMArena Text | 1383 | 1373 | GPT-4.1 |
| LMArena Text: instruction following | 1367 | 1357 | GPT-4.1 |
| LMArena Text: creative writing | 1363 | 1325 | GPT-4.1 |
| LMArena Vision | 1210 | 1202 | GPT-4.1 |
| LMArena Text: English | 1392 | 1379 | GPT-4.1 |
| LMArena Text: non-English | 1370 | 1363 | GPT-4.1 |
| LMArena Text: Chinese | 1382 | 1386 | GPT-5 Mini |
| LMArena Text: German | 1381 | 1366 | GPT-4.1 |
| LMArena Text: Japanese | 1319 | 1341 | GPT-5 Mini |
| LMArena Text: Korean | 1338 | 1308 | GPT-4.1 |
| LMArena Text: French | 1382 | 1386 | GPT-5 Mini |
| LMArena Text: Spanish | 1376 | 1354 | GPT-4.1 |
| LMArena Text: Russian | 1377 | 1362 | GPT-4.1 |
| LMArena Text: Polish | 1389 | 1378 | GPT-4.1 |
| LMArena Text: multi-turn | 1397 | 1363 | GPT-4.1 |
| LMArena Text: longer queries | 1385 | 1355 | GPT-4.1 |
| LMArena Text: writing and language | 1371 | 1344 | GPT-4.1 |
| LMArena Text: entertainment and media | 1365 | 1340 | GPT-4.1 |
| LMArena Vision: English | 1209 | 1216 | GPT-5 Mini |
| LMArena Vision: Chinese | 1226 | 1214 | GPT-4.1 |
| LMArena Vision: reading text | 1218 | 1199 | GPT-4.1 |
| LMArena Vision: humor | 1196 | 1205 | GPT-5 Mini |
| LMArena Vision: captioning | 1207 | 1217 | GPT-5 Mini |
| LMArena Vision: recognizing things | 1208 | 1226 | GPT-5 Mini |
| LMArena Vision: creative writing | 1210 | 1181 | GPT-4.1 |
| Neither model has a result on the other 13 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GPT-4.1 | GPT-5 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 Mini costs less
Repository review
50K input + 3K output tokens
GPT-5 Mini costs less
Agent loop
200K input + 10K output tokens
GPT-5 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 Mini |
|---|---|---|
| Maker | OpenAI | OpenAI |
| Weights | No public weights listed | No public weights listed |
| Released | April 14, 2025 | August 7, 2025 |
| Context window | 1.05M | 400K |
| Input $/Mtok | $2.00 | $0.25 |
| Output $/Mtok | $8.00 | $2.00 |
| Coding index | Not benchmarked | 34.2 |
| Independent measurements behind it | 0 | 2 |
| Cost per solved task | $0.37 | $0.08 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-4.1 better than GPT-5 Mini for coding?
Only GPT-5 Mini has a coding score, 34.2 on the Vibe Coding Index; GPT-4.1 has none, so the two cannot be ranked on coding. Pick GPT-4.1 for a larger context window (1.05M against 400K tokens) and work measured by LMArena Text: hard prompts or LMArena Text: hard prompts in English, where it leads.
Which is cheaper, GPT-4.1 or GPT-5 Mini?
GPT-4.1 costs $2.00 per million input tokens and $8.00 per million output tokens; GPT-5 Mini costs $0.25 and $2.00. Per solved SWE-bench Verified task, GPT-4.1 costs $0.37 and GPT-5 Mini $0.08.
Which has the bigger context window, GPT-4.1 or GPT-5 Mini?
GPT-4.1, with 1.05M tokens against 400K.
How many benchmarks is the GPT-4.1 vs GPT-5 Mini comparison based on?
85 benchmarks have a result for both models as of October 22, 2026. GPT-4.1's coding index rests on 0 independent benchmarks and GPT-5 Mini's on 2. Where only one model has a result, the page says so instead of naming a winner.