GPT-4.1 Mini vs GPT-5 Mini
Updated October 21, 2026. 82 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 Mini for coding: it scores 59.8 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 1.3x less, or when the context window is larger, 1.05M against 400K tokens.
- Shared results
- 82
- GPT-4.1 Mini only
- 2
- GPT-5 Mini only
- 16
- 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 Mini
GPT-5 Mini scores 59.8 against 28.5.
2 and 1 benchmarks behind the scores
Intelligence
AA Intelligence Index
GPT-5 Mini
GPT-5 Mini leads, 20.6 against 10.2.
Same board, both measured
Reasoning
GPQA Diamond
GPT-5 Mini
GPT-5 Mini leads, 80.3% against 67.9%.
Same board, both measured
Math
AIME
GPT-5 Mini
GPT-5 Mini leads, 91.5% against 49.4%.
Same board, both measured
Knowledge
MMLU Pro
GPT-5 Mini
GPT-5 Mini leads, 82.2% against 77.2%.
Same board, both measured
Web design
Design Arena: websites
GPT-5 Mini
GPT-5 Mini leads, 1125 against 997.
Same board, both measured
Long documents
Listed context window
GPT-4.1 Mini
GPT-4.1 Mini takes 1.05M tokens against 400K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GPT-4.1 Mini
GPT-4.1 Mini $0.0012, 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 Mini $1.818, GPT-5 Mini $0.08.
Published attempt cost and pass rate
At a glance
- Coding index
- GPT-4.1 Mini 28.5 from 2 benchmarks, GPT-5 Mini 59.8 from 1 benchmark.
- Widest category
- Math, 24.6 points apart on average over 10 shared benchmarks.
- Widest single gap
- ARC-AGI: GPT-4.1 Mini 3.5% against GPT-5 Mini 54.3%, 50.8 points apart on a 0 to 100 scale.
- Output price
- GPT-4.1 Mini $1.60 against GPT-5 Mini $2.00 per million output tokens, 1.3x apart.
- Context window
- GPT-4.1 Mini 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 Mini | Bars | GPT-5 Mini | Ties |
|---|---|---|---|---|
| Coding | 0 | 7 | ||
| Intelligence | 0 | 2 | ||
| Agentic work | 0 | 1 | ||
| Reasoning | 1 | 13 | ||
| Math | 0 | 10 | ||
| Knowledge | 0 | 12 | ||
| Web design | 0 | 6 | ||
| General | 1 | 29 | ||
| All shared boards | 2 | 80 |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index07
| Benchmark | GPT-4.1 Mini | GPT-5 Mini | Leader |
|---|---|---|---|
| Aider polyglot | 32.4% | Not measured | Only GPT-4.1 Mini measured |
| SWE-bench Verified | 23.9% | 59.8% | GPT-5 Mini |
| SWE-bench Multilingual | Not measured | 39.7% | Only GPT-5 Mini measured |
| AA Coding Index | 20.2 | Not measured | Only GPT-4.1 Mini measured |
| LiveCodeBench (Vals AI) | 58.2% | 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) | 48.3% | 83.8% | GPT-5 Mini |
| SciCode | Not measured | 39.0% | Only GPT-5 Mini measured |
| Terminal-Bench Hard (Artificial Analysis run) | 7.6% | 33.3% | GPT-5 Mini |
| Terminal-Bench | Not measured | 34.8% | Only GPT-5 Mini measured |
| WeirdML | 37.6% | 52.7% | GPT-5 Mini |
| LMArena Text: coding | 1367 | 1406 | GPT-5 Mini |
| LMArena Text: software and IT | 1360 | 1394 | GPT-5 Mini |
| Neither model has a result on the other 24 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | GPT-4.1 Mini | GPT-5 Mini | Leader |
|---|---|---|---|
| AA Intelligence Index | 10.2 | 20.6 | GPT-5 Mini |
| Epoch Capabilities Index | 134.9 | 145.3 | GPT-5 Mini |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | GPT-4.1 Mini | GPT-5 Mini | Leader |
|---|---|---|---|
| τ²-Bench Telecom | 52.9% | 71.1% | GPT-5 Mini |
| Vending-Bench 2 | Not measured | -$31 | Only GPT-5 Mini measured |
| Neither model has a result on the other 37 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index113
| Benchmark | GPT-4.1 Mini | GPT-5 Mini | Leader |
|---|---|---|---|
| GPQA Diamond | 67.9% | 80.3% | GPT-5 Mini |
| MMMU Pro (Vals AI) | 70.5% | 78.9% | GPT-5 Mini |
| GPQA Diamond (Artificial Analysis run) | 66.4% | 82.8% | GPT-5 Mini |
| Humanity's Last Exam (Artificial Analysis run) | 5.0% | 21.5% | GPT-5 Mini |
| GPQA Diamond (Epoch AI run) | 65.8% | 75.0% | GPT-5 Mini |
| ARC-AGI | 3.5% | 54.3% | GPT-5 Mini |
| ARC-AGI-2 | 0.0% | 4.4% | GPT-5 Mini |
| Chess puzzles | 1.0% | 24.0% | GPT-5 Mini |
| Mystery game puzzles | 7.0% | 10.0% | GPT-5 Mini |
| VPCT | Not measured | 40.2% | Only GPT-5 Mini measured |
| LMArena Text: hard prompts | 1349 | 1380 | GPT-5 Mini |
| LMArena Text: expert | 1338 | 1379 | GPT-5 Mini |
| LMArena Text: hard prompts in English | 1362 | 1383 | GPT-5 Mini |
| LMArena Vision: diagrams | 1182 | 1202 | GPT-5 Mini |
| LMArena Vision: homework | 1214 | 1210 | GPT-4.1 Mini |
| Neither model has a result on the other 6 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index010
| Benchmark | GPT-4.1 Mini | GPT-5 Mini | Leader |
|---|---|---|---|
| AIME | 49.4% | 91.5% | GPT-5 Mini |
| MATH 500 (Vals AI) | 88.0% | 94.8% | GPT-5 Mini |
| MGSM (Vals AI) | 87.8% | 92.6% | GPT-5 Mini |
| AA Math Index | 46.3 | 90.7 | GPT-5 Mini |
| AIME 2025 (Artificial Analysis run) | 46.3% | 90.7% | GPT-5 Mini |
| OTIS Mock AIME | 44.7% | 86.7% | GPT-5 Mini |
| FrontierMath, tiers 1 to 3 | 6.7% | 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 | 87.3% | 97.8% | GPT-5 Mini |
| LMArena Text: math | 1343 | 1378 | GPT-5 Mini |
| LMArena Text: mathematical work | 1347 | 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 index012
| Benchmark | GPT-4.1 Mini | GPT-5 Mini | Leader |
|---|---|---|---|
| MMLU Pro | 77.2% | 82.2% | GPT-5 Mini |
| LegalBench (Vals AI) | 78.0% | 81.8% | GPT-5 Mini |
| CaseLaw (Vals AI) | Not measured | 68.5% | Only GPT-5 Mini measured |
| CorpFin (Vals AI) | 57.9% | 60.2% | GPT-5 Mini |
| TaxEval (Vals AI) | 71.9% | 75.2% | GPT-5 Mini |
| MortgageTax (Vals AI) | 65.5% | 66.9% | GPT-5 Mini |
| MedQA (Vals AI) | 84.6% | 96.1% | GPT-5 Mini |
| MedCode (Vals AI) | Not measured | 43.0% | Only GPT-5 Mini measured |
| MMLU Pro (Artificial Analysis run) | 78.1% | 83.7% | GPT-5 Mini |
| SimpleQA Verified | 12.7% | 21.6% | GPT-5 Mini |
| LMArena Text: science | 1328 | 1371 | GPT-5 Mini |
| LMArena Text: medicine and healthcare | 1324 | 1380 | GPT-5 Mini |
| LMArena Text: legal and government | 1343 | 1375 | GPT-5 Mini |
| LMArena Text: business and finance | 1322 | 1358 | GPT-5 Mini |
| 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 Mini | Leader |
|---|---|---|---|
| Design Arena: websites | 997 | 1125 | GPT-5 Mini |
| Design Arena: UI components | 961 | 1106 | GPT-5 Mini |
| Design Arena: game dev | 1071 | 1130 | GPT-5 Mini |
| Design Arena: data viz | 1034 | 1131 | GPT-5 Mini |
| Design Arena: 3D | 837 | 1037 | GPT-5 Mini |
| Design Arena: all code categories | 994 | 1115 | GPT-5 Mini |
| Design Arena: SVG | Not measured | 1091 | Only GPT-5 Mini measured |
| Design Arena: ASCII art | Not measured | 1124 | 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 index129
| Benchmark | GPT-4.1 Mini | 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 | 38.3% | 75.4% | GPT-5 Mini |
| Long context reasoning (AA-LCR) | 44.0% | 72.3% | GPT-5 Mini |
| DTBench | 68.8% | 80.5% | GPT-5 Mini |
| LMCA | 21.1% | 34.2% | GPT-5 Mini |
| Fiction.LiveBench | 44.4% | 69.4% | GPT-5 Mini |
| Creative writing (Lech Mazur) | Not measured | 83.1% | Only GPT-5 Mini measured |
| LMArena Text | 1341 | 1373 | GPT-5 Mini |
| LMArena Text: instruction following | 1333 | 1357 | GPT-5 Mini |
| LMArena Text: creative writing | 1299 | 1325 | GPT-5 Mini |
| LMArena Vision | 1181 | 1202 | GPT-5 Mini |
| LMArena Text: English | 1356 | 1379 | GPT-5 Mini |
| LMArena Text: non-English | 1318 | 1363 | GPT-5 Mini |
| LMArena Text: Chinese | 1329 | 1386 | GPT-5 Mini |
| LMArena Text: German | 1350 | 1366 | GPT-5 Mini |
| LMArena Text: Japanese | 1290 | 1341 | GPT-5 Mini |
| LMArena Text: Korean | 1298 | 1308 | GPT-5 Mini |
| LMArena Text: French | 1358 | 1386 | GPT-5 Mini |
| LMArena Text: Spanish | 1319 | 1354 | GPT-5 Mini |
| LMArena Text: Russian | 1324 | 1362 | GPT-5 Mini |
| LMArena Text: Polish | 1326 | 1378 | GPT-5 Mini |
| LMArena Text: multi-turn | 1354 | 1363 | GPT-5 Mini |
| LMArena Text: longer queries | 1344 | 1355 | GPT-5 Mini |
| LMArena Text: writing and language | 1319 | 1344 | GPT-5 Mini |
| LMArena Text: entertainment and media | 1300 | 1340 | GPT-5 Mini |
| LMArena Vision: English | 1191 | 1216 | GPT-5 Mini |
| LMArena Vision: Chinese | 1186 | 1214 | GPT-5 Mini |
| LMArena Vision: reading text | 1188 | 1199 | GPT-5 Mini |
| LMArena Vision: humor | 1182 | 1205 | GPT-5 Mini |
| LMArena Vision: captioning | 1174 | 1217 | GPT-5 Mini |
| LMArena Vision: recognizing things | 1187 | 1226 | GPT-5 Mini |
| LMArena Vision: creative writing | 1182 | 1181 | GPT-4.1 Mini |
| 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 Mini | 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-4.1 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 Mini | 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 | $0.40 | $0.25 |
| Output $/Mtok | $1.60 | $2.00 |
| Coding index | 28.5 | 59.8 |
| Independent measurements behind it | 2 | 1 |
| Cost per solved task | $1.818 | $0.08 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-4.1 Mini better than GPT-5 Mini for coding?
Pick GPT-5 Mini for coding: it scores 59.8 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 1.3x less, or when the context window is larger, 1.05M against 400K tokens.
Which is cheaper, GPT-4.1 Mini or GPT-5 Mini?
GPT-4.1 Mini costs $0.40 per million input tokens and $1.60 per million output tokens; GPT-5 Mini costs $0.25 and $2.00. Per solved SWE-bench Verified task, GPT-4.1 Mini costs $1.818 and GPT-5 Mini $0.08.
Which has the bigger context window, GPT-4.1 Mini or GPT-5 Mini?
GPT-4.1 Mini, with 1.05M tokens against 400K.
How many benchmarks is the GPT-4.1 Mini vs GPT-5 Mini comparison based on?
82 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 Mini's on 1. Where only one model has a result, the page says so instead of naming a winner.