GPT-4.1 Mini vs GPT-5 Nano
GPT-5 Nano leads GPT-4.1 Mini on the Artificial Analysis Intelligence Index, 13.0 to 10.2, and GPT-5 Nano costs 4.0x less per output token ($0.40 vs $1.60 per million). Updated October 22, 2026; 79 benchmarks have a result for both.
GPT-4.1 Mini or GPT-5 Nano: which to pick
Neither model has a coding score yet, so the two cannot be ranked on coding.
Pick GPT-4.1 Mini for a larger context window (1.05M against 400K tokens) and work measured by SWE-bench Verified or LiveCodeBench (Vals AI), where it leads.
- Shared results
- 79
- GPT-4.1 Mini only
- 9
- GPT-5 Nano only
- 9
- 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
Neither has a coding score yet.
One side not measured
Intelligence
AA Intelligence Index
GPT-5 Nano
GPT-5 Nano leads, 13.0 against 10.2.
Same board, both measured
Reasoning
GPQA Diamond
GPT-4.1 Mini
GPT-4.1 Mini leads, 67.9% against 63.4%.
Same board, both measured
Math
AIME
GPT-5 Nano
GPT-5 Nano leads, 81.2% against 49.4%.
Same board, both measured
Knowledge
MMLU Pro
GPT-4.1 Mini
GPT-4.1 Mini leads, 77.2% against 76.1%.
Same board, both measured
Web design
Design Arena: websites
GPT-5 Nano
GPT-5 Nano leads, 1101 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-5 Nano
GPT-4.1 Mini $0.0012, GPT-5 Nano $0.0003 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GPT-5 Nano
GPT-4.1 Mini $1.818, GPT-5 Nano $0.109.
Published attempt cost and pass rate
At a glance
- Coding index
- GPT-4.1 Mini not benchmarked, GPT-5 Nano not benchmarked.
- Widest category
- Math, 17.9 points apart on average over 10 shared benchmarks.
- Widest single gap
- AA Math Index: GPT-4.1 Mini 46.3 against GPT-5 Nano 83.7, 37.4 points apart on a 0 to 100 scale.
- Output price
- GPT-4.1 Mini $1.60 against GPT-5 Nano $0.40 per million output tokens, 4.0x apart.
- Context window
- GPT-4.1 Mini takes 1.05M tokens, GPT-5 Nano 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 Nano | Ties |
|---|---|---|---|---|
| Coding | 2 | 5 | ||
| Intelligence | 0 | 2 | ||
| Agentic work | 1 | 1 | ||
| Reasoning | 6 | 9 | ||
| Math | 2 | 8 | ||
| Knowledge | 9 | 2 | ||
| Web design | 1 | 5 | ||
| General | 21 | 4 | 1 tie | |
| All shared boards | 42 | 36 | 1 tie |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index25
| Benchmark | GPT-4.1 Mini | GPT-5 Nano | Leader |
|---|---|---|---|
| Aider polyglot | 32.4% | Not measured | Only GPT-4.1 Mini measured |
| SWE-bench Verified | 23.9% | 34.8% | GPT-5 Nano |
| AA Coding Index | 20.2 | Not measured | Only GPT-4.1 Mini measured |
| LiveCodeBench (Vals AI) | 58.2% | 70.2% | GPT-5 Nano |
| LiveCodeBench (Artificial Analysis run) | 48.3% | 78.9% | GPT-5 Nano |
| Terminal-Bench Hard (Artificial Analysis run) | 7.6% | 17.4% | GPT-5 Nano |
| Terminal-Bench | Not measured | 21.8% | Only GPT-5 Nano measured |
| WeirdML | 37.6% | 38.1% | GPT-5 Nano |
| LMArena Text: coding | 1367 | 1351 | GPT-4.1 Mini |
| LMArena Text: software and IT | 1360 | 1345 | GPT-4.1 Mini |
| Neither model has a result on the other 33 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | GPT-4.1 Mini | GPT-5 Nano | Leader |
|---|---|---|---|
| AA Intelligence Index | 10.2 | 13.0 | GPT-5 Nano |
| Epoch Capabilities Index | 134.9 | 139.2 | GPT-5 Nano |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index11
| Benchmark | GPT-4.1 Mini | GPT-5 Nano | Leader |
|---|---|---|---|
| τ²-Bench Telecom | 52.9% | 36.5% | GPT-4.1 Mini |
| Berkeley Function Calling Leaderboard (BFCL) | 50.4% | 51.4% | GPT-5 Nano |
| Neither model has a result on the other 40 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index69
| Benchmark | GPT-4.1 Mini | GPT-5 Nano | Leader |
|---|---|---|---|
| GPQA Diamond | 67.9% | 63.4% | GPT-4.1 Mini |
| MMMU Pro (Vals AI) | 70.5% | 70.9% | GPT-5 Nano |
| GPQA Diamond (Artificial Analysis run) | 66.4% | 67.6% | GPT-5 Nano |
| Humanity's Last Exam (Artificial Analysis run) | 5.0% | 9.5% | GPT-5 Nano |
| GPQA Diamond (Epoch AI run) | 65.8% | 69.4% | GPT-5 Nano |
| ARC-AGI | 3.5% | 20.7% | GPT-5 Nano |
| ARC-AGI-2 | 0.0% | 2.6% | GPT-5 Nano |
| Chess puzzles | 1.0% | 22.0% | GPT-5 Nano |
| Mystery game puzzles | 7.0% | 9.0% | GPT-5 Nano |
| VPCT | Not measured | 37.2% | Only GPT-5 Nano measured |
| LMArena Text: hard prompts | 1349 | 1328 | GPT-4.1 Mini |
| LMArena Text: expert | 1338 | 1321 | GPT-4.1 Mini |
| LMArena Text: hard prompts in English | 1362 | 1338 | GPT-4.1 Mini |
| LMArena Vision: diagrams | 1182 | 1141 | GPT-4.1 Mini |
| LMArena Vision: homework | 1214 | 1157 | GPT-4.1 Mini |
| Kagi LLM Benchmark | 48.6% | 62.2% | GPT-5 Nano |
| Neither model has a result on the other 7 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index28
| Benchmark | GPT-4.1 Mini | GPT-5 Nano | Leader |
|---|---|---|---|
| AIME | 49.4% | 81.2% | GPT-5 Nano |
| MATH 500 (Vals AI) | 88.0% | 93.8% | GPT-5 Nano |
| MGSM (Vals AI) | 87.8% | 89.3% | GPT-5 Nano |
| AA Math Index | 46.3 | 83.7 | GPT-5 Nano |
| AIME 2025 (Artificial Analysis run) | 46.3% | 83.7% | GPT-5 Nano |
| OTIS Mock AIME | 44.7% | 81.1% | GPT-5 Nano |
| FrontierMath, tiers 1 to 3 | 6.7% | 20.0% | GPT-5 Nano |
| FrontierMath, tier 4 | Not measured | 2.4% | Only GPT-5 Nano measured |
| ProofBench | Not measured | 12.0% | Only GPT-5 Nano measured |
| MATH level 5 | 87.3% | 95.2% | GPT-5 Nano |
| LMArena Text: math | 1343 | 1317 | GPT-4.1 Mini |
| LMArena Text: mathematical work | 1347 | 1326 | GPT-4.1 Mini |
| MathArena | Not measured | 12.8% | Only GPT-5 Nano measured |
| Neither model has a result on the other 1 board here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index92
| Benchmark | GPT-4.1 Mini | GPT-5 Nano | Leader |
|---|---|---|---|
| MMLU Pro | 77.2% | 76.1% | GPT-4.1 Mini |
| LegalBench (Vals AI) | 78.0% | 50.1% | GPT-4.1 Mini |
| CaseLaw (Vals AI) | Not measured | 52.6% | Only GPT-5 Nano measured |
| CorpFin (Vals AI) | 57.9% | Not measured | Only GPT-4.1 Mini measured |
| TaxEval (Vals AI) | 71.9% | 67.4% | GPT-4.1 Mini |
| MortgageTax (Vals AI) | 65.5% | 53.6% | GPT-4.1 Mini |
| MedQA (Vals AI) | 84.6% | 93.3% | GPT-5 Nano |
| MedCode (Vals AI) | Not measured | 30.4% | Only GPT-5 Nano measured |
| MMLU Pro (Artificial Analysis run) | 78.1% | 78.0% | GPT-4.1 Mini |
| SimpleQA Verified | 12.7% | 11.7% | GPT-4.1 Mini |
| LMArena Text: science | 1328 | 1318 | GPT-4.1 Mini |
| LMArena Text: medicine and healthcare | 1324 | 1335 | GPT-5 Nano |
| LMArena Text: legal and government | 1343 | 1298 | GPT-4.1 Mini |
| LMArena Text: business and finance | 1322 | 1311 | GPT-4.1 Mini |
| PRBench Finance | 30.4% | Not measured | Only GPT-4.1 Mini measured |
| PRBench Legal | 30.4% | Not measured | Only GPT-4.1 Mini measured |
| Neither model has a result on the other 4 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index15
| Benchmark | GPT-4.1 Mini | GPT-5 Nano | Leader |
|---|---|---|---|
| Design Arena: websites | 997 | 1101 | GPT-5 Nano |
| Design Arena: UI components | 959 | 1064 | GPT-5 Nano |
| Design Arena: game dev | 1070 | 1044 | GPT-4.1 Mini |
| Design Arena: data viz | 1034 | 1056 | GPT-5 Nano |
| Design Arena: 3D | 836 | 965 | GPT-5 Nano |
| Design Arena: all code categories | 993 | 1084 | GPT-5 Nano |
| Neither model has a result on the other 3 boards here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index214
| Benchmark | GPT-4.1 Mini | GPT-5 Nano | Leader |
|---|---|---|---|
| SAGE (Vals AI) | Not measured | 30.4% | Only GPT-5 Nano measured |
| MedScribe (Vals AI) | Not measured | 72.9% | Only GPT-5 Nano measured |
| IFBench | 38.3% | 67.6% | GPT-5 Nano |
| Long context reasoning (AA-LCR) | 44.0% | 45.0% | GPT-5 Nano |
| DTBench | 68.8% | 62.7% | GPT-4.1 Mini |
| LMCA | 21.1% | 7.9% | GPT-4.1 Mini |
| Fiction.LiveBench | 44.4% | 44.4% | Tie |
| LMArena Text | 1341 | 1320 | GPT-4.1 Mini |
| LMArena Text: instruction following | 1333 | 1306 | GPT-4.1 Mini |
| LMArena Text: creative writing | 1299 | 1249 | GPT-4.1 Mini |
| LMArena Vision | 1181 | 1159 | GPT-4.1 Mini |
| LMArena Text: English | 1356 | 1321 | GPT-4.1 Mini |
| LMArena Text: non-English | 1318 | 1313 | GPT-4.1 Mini |
| LMArena Text: Chinese | 1329 | 1356 | GPT-5 Nano |
| LMArena Text: German | 1350 | 1327 | GPT-4.1 Mini |
| LMArena Text: Japanese | 1290 | 1227 | GPT-4.1 Mini |
| LMArena Text: Korean | 1298 | 1269 | GPT-4.1 Mini |
| LMArena Text: French | 1358 | Not measured | Only GPT-4.1 Mini measured |
| LMArena Text: Spanish | 1319 | 1360 | GPT-5 Nano |
| LMArena Text: Russian | 1324 | 1296 | GPT-4.1 Mini |
| LMArena Text: Polish | 1326 | 1314 | GPT-4.1 Mini |
| LMArena Text: multi-turn | 1354 | 1311 | GPT-4.1 Mini |
| LMArena Text: longer queries | 1344 | 1312 | GPT-4.1 Mini |
| LMArena Text: writing and language | 1319 | 1283 | GPT-4.1 Mini |
| LMArena Text: entertainment and media | 1300 | 1268 | GPT-4.1 Mini |
| LMArena Vision: English | 1191 | 1170 | GPT-4.1 Mini |
| LMArena Vision: Chinese | 1186 | 1176 | GPT-4.1 Mini |
| LMArena Vision: reading text | 1188 | 1152 | GPT-4.1 Mini |
| LMArena Vision: humor | 1182 | 1110 | GPT-4.1 Mini |
| LMArena Vision: captioning | 1174 | Not measured | Only GPT-4.1 Mini measured |
| LMArena Vision: recognizing things | 1187 | Not measured | Only GPT-4.1 Mini measured |
| LMArena Vision: creative writing | 1182 | Not measured | Only GPT-4.1 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-4.1 Mini | GPT-5 Nano | 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 Nano costs less
Repository review
50K input + 3K output tokens
GPT-5 Nano costs less
Agent loop
200K input + 10K output tokens
GPT-5 Nano 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 Nano |
|---|---|---|
| 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.05 |
| Output $/Mtok | $1.60 | $0.40 |
| Coding index | Not benchmarked | Not benchmarked |
| Independent measurements behind it | 0 | 0 |
| Cost per solved task | $1.818 | $0.109 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-4.1 Mini better than GPT-5 Nano for coding?
Neither model has a coding score yet, so the two cannot be ranked on coding. Pick GPT-4.1 Mini for a larger context window (1.05M against 400K tokens) and work measured by SWE-bench Verified or LiveCodeBench (Vals AI), where it leads.
Which is cheaper, GPT-4.1 Mini or GPT-5 Nano?
GPT-4.1 Mini costs $0.40 per million input tokens and $1.60 per million output tokens; GPT-5 Nano costs $0.05 and $0.40. Per solved SWE-bench Verified task, GPT-4.1 Mini costs $1.818 and GPT-5 Nano $0.109.
Which has the bigger context window, GPT-4.1 Mini or GPT-5 Nano?
GPT-4.1 Mini, with 1.05M tokens against 400K.
How many benchmarks is the GPT-4.1 Mini vs GPT-5 Nano comparison based on?
79 benchmarks have a result for both models as of October 22, 2026. GPT-4.1 Mini's coding index rests on 0 independent benchmarks and GPT-5 Nano's on 0. Where only one model has a result, the page says so instead of naming a winner.