GPT-4.1 vs GPT-5 Nano
Updated October 21, 2026. 77 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 34.8 for GPT-5 Nano.
Pick GPT-5 Nano when output tokens cost 20.0x less, or when a solved task costs $0.109 against $0.37.
- Shared results
- 77
- GPT-4.1 only
- 10
- GPT-5 Nano only
- 8
- 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-4.1
GPT-4.1 scores 46.5 against 34.8.
2 and 1 benchmarks behind the scores
Intelligence
AA Intelligence Index
GPT-5 Nano
GPT-5 Nano leads, 13.0 against 12.7.
Same board, both measured
Reasoning
GPQA Diamond
GPT-4.1
GPT-4.1 leads, 65.4% against 63.4%.
Same board, both measured
Math
AIME
GPT-5 Nano
GPT-5 Nano leads, 81.2% against 39.6%.
Same board, both measured
Knowledge
MMLU Pro
GPT-4.1
GPT-4.1 leads, 80.5% against 76.1%.
Same board, both measured
Web design
Design Arena: websites
GPT-5 Nano
GPT-5 Nano leads, 1101 against 1039.
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 Nano
GPT-4.1 $0.0060, 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 $0.37, GPT-5 Nano $0.109.
Published attempt cost and pass rate
At a glance
- Coding index
- GPT-4.1 46.5 from 2 benchmarks, GPT-5 Nano 34.8 from 1 benchmark.
- Widest category
- Math, 23.1 points apart on average over 10 shared benchmarks.
- Widest single gap
- AA Math Index: GPT-4.1 34.7 against GPT-5 Nano 83.7, 49.0 points apart on a 0 to 100 scale.
- Output price
- GPT-4.1 $8.00 against GPT-5 Nano $0.40 per million output tokens, 20.0x apart.
- Context window
- GPT-4.1 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 | Bars | GPT-5 Nano | Ties |
|---|---|---|---|---|
| Coding | 4 | 3 | ||
| Intelligence | 0 | 2 | ||
| Agentic work | 1 | 0 | ||
| Reasoning | 7 | 6 | ||
| Math | 2 | 8 | ||
| Knowledge | 11 | 1 | ||
| Web design | 2 | 4 | ||
| General | 25 | 1 | ||
| All shared boards | 52 | 25 |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index43
| Benchmark | GPT-4.1 | GPT-5 Nano | Leader |
|---|---|---|---|
| Aider polyglot | 52.4% | Not measured | Only GPT-4.1 measured |
| SWE-bench Verified | 39.6% | 34.8% | GPT-4.1 |
| SWE-bench Multimodal | 31.1% | Not measured | Only GPT-4.1 measured |
| LiveCodeBench (Vals AI) | 54.7% | 70.2% | GPT-5 Nano |
| LiveCodeBench (Artificial Analysis run) | 45.7% | 78.9% | GPT-5 Nano |
| Terminal-Bench Hard (Artificial Analysis run) | 13.6% | 17.4% | GPT-5 Nano |
| Terminal-Bench | Not measured | 21.8% | Only GPT-5 Nano measured |
| WeirdML | 39.0% | 38.1% | GPT-4.1 |
| ALE-Bench | 558.1 | Not measured | Only GPT-4.1 measured |
| LMArena Text: coding | 1390 | 1351 | GPT-4.1 |
| LMArena Text: software and IT | 1391 | 1345 | GPT-4.1 |
| Neither model has a result on the other 27 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | GPT-4.1 | GPT-5 Nano | Leader |
|---|---|---|---|
| AA Intelligence Index | 12.7 | 13.0 | GPT-5 Nano |
| Epoch Capabilities Index | 136.7 | 139.2 | GPT-5 Nano |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GPT-4.1 | GPT-5 Nano | Leader |
|---|---|---|---|
| τ²-Bench Telecom | 47.1% | 36.5% | GPT-4.1 |
| Neither model has a result on the other 38 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index76
| Benchmark | GPT-4.1 | GPT-5 Nano | Leader |
|---|---|---|---|
| GPQA Diamond | 65.4% | 63.4% | GPT-4.1 |
| MMMU Pro (Vals AI) | 72.4% | 70.9% | GPT-4.1 |
| GPQA Diamond (Artificial Analysis run) | 66.6% | 67.6% | GPT-5 Nano |
| Humanity's Last Exam (Artificial Analysis run) | 4.2% | 9.5% | GPT-5 Nano |
| GPQA Diamond (Epoch AI run) | 66.9% | 69.4% | GPT-5 Nano |
| ARC-AGI | 5.5% | 20.7% | GPT-5 Nano |
| ARC-AGI-2 | 0.4% | 2.6% | GPT-5 Nano |
| SimpleBench | 27.0% | Not measured | Only GPT-4.1 measured |
| Chess puzzles | 3.0% | 22.0% | GPT-5 Nano |
| Mystery game puzzles | Not measured | 9.0% | Only GPT-5 Nano measured |
| VPCT | Not measured | 37.2% | Only GPT-5 Nano measured |
| LMArena Text: hard prompts | 1384 | 1328 | GPT-4.1 |
| LMArena Text: expert | 1364 | 1321 | GPT-4.1 |
| LMArena Text: hard prompts in English | 1393 | 1338 | GPT-4.1 |
| LMArena Vision: diagrams | 1215 | 1141 | GPT-4.1 |
| LMArena Vision: homework | 1248 | 1157 | GPT-4.1 |
| Neither model has a result on the other 5 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index28
| Benchmark | GPT-4.1 | GPT-5 Nano | Leader |
|---|---|---|---|
| AIME | 39.6% | 81.2% | GPT-5 Nano |
| MATH 500 (Vals AI) | 87.2% | 93.8% | GPT-5 Nano |
| MGSM (Vals AI) | 87.7% | 89.3% | GPT-5 Nano |
| AA Math Index | 34.7 | 83.7 | GPT-5 Nano |
| AIME 2025 (Artificial Analysis run) | 34.7% | 83.7% | GPT-5 Nano |
| OTIS Mock AIME | 38.3% | 81.1% | GPT-5 Nano |
| FrontierMath, tiers 1 to 3 | 6.0% | 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 | 83.0% | 95.2% | GPT-5 Nano |
| LMArena Text: math | 1369 | 1317 | GPT-4.1 |
| LMArena Text: mathematical work | 1360 | 1326 | GPT-4.1 |
| Neither model has a result on the other 1 board here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index111
| Benchmark | GPT-4.1 | GPT-5 Nano | Leader |
|---|---|---|---|
| MMLU Pro | 80.5% | 76.1% | GPT-4.1 |
| LegalBench (Vals AI) | 83.1% | 50.1% | GPT-4.1 |
| CaseLaw (Vals AI) | 69.9% | 52.6% | GPT-4.1 |
| CorpFin (Vals AI) | 63.0% | Not measured | Only GPT-4.1 measured |
| TaxEval (Vals AI) | 75.1% | 67.4% | GPT-4.1 |
| MortgageTax (Vals AI) | 65.9% | 53.6% | GPT-4.1 |
| MedQA (Vals AI) | 91.2% | 93.3% | GPT-5 Nano |
| MedCode (Vals AI) | Not measured | 30.4% | Only GPT-5 Nano measured |
| MMLU Pro (Artificial Analysis run) | 80.6% | 78.0% | GPT-4.1 |
| SimpleQA Verified | 31.1% | 11.7% | GPT-4.1 |
| GeoBench | 72.0% | Not measured | Only GPT-4.1 measured |
| LMArena Text: science | 1382 | 1318 | GPT-4.1 |
| LMArena Text: medicine and healthcare | 1379 | 1335 | GPT-4.1 |
| LMArena Text: legal and government | 1399 | 1298 | GPT-4.1 |
| LMArena Text: business and finance | 1369 | 1311 | 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 index24
| Benchmark | GPT-4.1 | GPT-5 Nano | Leader |
|---|---|---|---|
| Design Arena: websites | 1039 | 1101 | GPT-5 Nano |
| Design Arena: UI components | 1000 | 1066 | GPT-5 Nano |
| Design Arena: game dev | 1080 | 1045 | GPT-4.1 |
| Design Arena: data viz | 1104 | 1056 | GPT-4.1 |
| Design Arena: 3D | 850 | 966 | GPT-5 Nano |
| Design Arena: all code categories | 1026 | 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 index251
| Benchmark | GPT-4.1 | 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 | 43.0% | 67.6% | GPT-5 Nano |
| Long context reasoning (AA-LCR) | 68.3% | 45.0% | GPT-4.1 |
| DTBench | 68.3% | 62.7% | GPT-4.1 |
| LMCA | 25.6% | 7.9% | GPT-4.1 |
| Fiction.LiveBench | 63.9% | 44.4% | GPT-4.1 |
| LMArena Text | 1383 | 1320 | GPT-4.1 |
| LMArena Text: instruction following | 1367 | 1306 | GPT-4.1 |
| LMArena Text: creative writing | 1363 | 1249 | GPT-4.1 |
| LMArena Vision | 1210 | 1159 | GPT-4.1 |
| LMArena Text: English | 1392 | 1321 | GPT-4.1 |
| LMArena Text: non-English | 1370 | 1313 | GPT-4.1 |
| LMArena Text: Chinese | 1382 | 1356 | GPT-4.1 |
| LMArena Text: German | 1381 | 1327 | GPT-4.1 |
| LMArena Text: Japanese | 1319 | 1227 | GPT-4.1 |
| LMArena Text: Korean | 1338 | 1269 | GPT-4.1 |
| LMArena Text: French | 1382 | Not measured | Only GPT-4.1 measured |
| LMArena Text: Spanish | 1376 | 1360 | GPT-4.1 |
| LMArena Text: Russian | 1377 | 1296 | GPT-4.1 |
| LMArena Text: Polish | 1389 | 1314 | GPT-4.1 |
| LMArena Text: multi-turn | 1397 | 1311 | GPT-4.1 |
| LMArena Text: longer queries | 1385 | 1312 | GPT-4.1 |
| LMArena Text: writing and language | 1371 | 1283 | GPT-4.1 |
| LMArena Text: entertainment and media | 1365 | 1268 | GPT-4.1 |
| LMArena Vision: English | 1209 | 1170 | GPT-4.1 |
| LMArena Vision: Chinese | 1226 | 1176 | GPT-4.1 |
| LMArena Vision: reading text | 1218 | 1152 | GPT-4.1 |
| LMArena Vision: humor | 1196 | 1110 | GPT-4.1 |
| LMArena Vision: captioning | 1207 | Not measured | Only GPT-4.1 measured |
| LMArena Vision: recognizing things | 1208 | Not measured | Only GPT-4.1 measured |
| LMArena Vision: creative writing | 1210 | Not measured | Only GPT-4.1 measured |
| 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 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 | 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 | $2.00 | $0.05 |
| Output $/Mtok | $8.00 | $0.40 |
| Coding index | 46.5 | 34.8 |
| Independent measurements behind it | 2 | 1 |
| Cost per solved task | $0.37 | $0.109 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-4.1 better than GPT-5 Nano for coding?
Pick GPT-4.1 for coding: it scores 46.5 on the Vibe Coding Index against 34.8 for GPT-5 Nano. Pick GPT-5 Nano when output tokens cost 20.0x less, or when a solved task costs $0.109 against $0.37.
Which is cheaper, GPT-4.1 or GPT-5 Nano?
GPT-4.1 costs $2.00 per million input tokens and $8.00 per million output tokens; GPT-5 Nano costs $0.05 and $0.40. Per solved SWE-bench Verified task, GPT-4.1 costs $0.37 and GPT-5 Nano $0.109.
Which has the bigger context window, GPT-4.1 or GPT-5 Nano?
GPT-4.1, with 1.05M tokens against 400K.
How many benchmarks is the GPT-4.1 vs GPT-5 Nano comparison based on?
77 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 Nano's on 1. Where only one model has a result, the page says so instead of naming a winner.