GPT-4.1 vs GPT-5.4 Nano
GPT-5.4 Nano leads GPT-4.1 on the Artificial Analysis Intelligence Index, 20.7 to 12.7, and GPT-5.4 Nano costs 6.4x less per output token ($1.25 vs $8.00 per million). Updated October 22, 2026; 67 benchmarks have a result for both.
GPT-4.1 or GPT-5.4 Nano: which to pick
Only GPT-5.4 Nano has a coding score, 44.8 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
- 67
- GPT-4.1 only
- 25
- GPT-5.4 Nano only
- 18
- Like-for-like categories
- 7 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.4 Nano has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
GPT-5.4 Nano
GPT-5.4 Nano leads, 20.7 against 12.7.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only GPT-5.4 Nano has a AA Agentic Index result, 16.0.
Directional only
Reasoning
GPQA Diamond
GPT-5.4 Nano
GPT-5.4 Nano leads, 77.5% against 65.4%.
Same board, both measured
Math
AIME
GPT-5.4 Nano
GPT-5.4 Nano leads, 88.8% against 39.6%.
Same board, both measured
Knowledge
MMLU Pro
GPT-4.1
GPT-4.1 leads, 80.5% against 77.2%.
Same board, both measured
Web design
Design Arena: websites
No call
Only GPT-4.1 has a Design Arena: websites result, 1038.
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 Nano
GPT-4.1 $0.0060, GPT-5.4 Nano $0.0008 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GPT-5.4 Nano
GPT-4.1 $0.37, GPT-5.4 Nano $0.14.
Published attempt cost and pass rate
At a glance
- Coding index
- GPT-4.1 not benchmarked, GPT-5.4 Nano 44.8 from 2 benchmarks.
- Widest category
- Math, 30.4 points apart on average over 5 shared benchmarks.
- Widest single gap
- OTIS Mock AIME: GPT-4.1 38.3% against GPT-5.4 Nano 87.8%, 49.4 points apart on a 0 to 100 scale.
- Output price
- GPT-4.1 $8.00 against GPT-5.4 Nano $1.25 per million output tokens, 6.4x apart.
- Context window
- GPT-4.1 takes 1.05M tokens, GPT-5.4 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.4 Nano | Ties |
|---|---|---|---|---|
| Coding | 0 | 6 | ||
| Intelligence | 0 | 2 | ||
| Agentic work | 0 | 1 | ||
| Reasoning | 5 | 9 | ||
| Math | 0 | 5 | ||
| Knowledge | 11 | 0 | ||
| General | 20 | 8 | ||
| All shared boards | 36 | 31 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index06
| Benchmark | GPT-4.1 | GPT-5.4 Nano | 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 |
| AA Coding Index | Not measured | 56.1 | Only GPT-5.4 Nano measured |
| LiveCodeBench (Vals AI) | 54.7% | 84.0% | GPT-5.4 Nano |
| SWE-bench Verified (Vals AI) | Not measured | 69.8% | Only GPT-5.4 Nano measured |
| Vibe Code Bench (Vals AI) | Not measured | 26.1% | Only GPT-5.4 Nano measured |
| Code migration (Vals AI) | Not measured | 14.5% | Only GPT-5.4 Nano measured |
| Terminal-Bench 2.1 (Vals AI) | Not measured | 41.6% | Only GPT-5.4 Nano measured |
| LiveCodeBench (Artificial Analysis run) | 45.7% | Not measured | Only GPT-4.1 measured |
| SciCode | Not measured | 47.2% | Only GPT-5.4 Nano measured |
| Terminal-Bench Hard (Artificial Analysis run) | 13.6% | 42.4% | GPT-5.4 Nano |
| WeirdML | 39.0% | 49.2% | GPT-5.4 Nano |
| ALE-Bench | 558.1 | 1004.5 | GPT-5.4 Nano |
| LMArena Text: coding | 1390 | 1404 | GPT-5.4 Nano |
| LMArena Text: software and IT | 1391 | 1402 | GPT-5.4 Nano |
| SciCode | 4.6% | Not measured | Only GPT-4.1 measured |
| Neither model has a result on the other 22 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | GPT-4.1 | GPT-5.4 Nano | Leader |
|---|---|---|---|
| AA Intelligence Index | 12.7 | 20.7 | GPT-5.4 Nano |
| Epoch Capabilities Index | 136.7 | 146.0 | GPT-5.4 Nano |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | GPT-4.1 | GPT-5.4 Nano | Leader |
|---|---|---|---|
| AA Agentic Index | Not measured | 16.0 | Only GPT-5.4 Nano measured |
| Finance Agent (Vals AI) | Not measured | 38.2% | Only GPT-5.4 Nano measured |
| Tax Agent Bench (Vals AI) | Not measured | 5.0% | Only GPT-5.4 Nano measured |
| Legal Research Bench (Vals AI) | Not measured | 6.3% | Only GPT-5.4 Nano measured |
| Excel Modeling Benchmark (Vals AI) | Not measured | 44.8% | Only GPT-5.4 Nano measured |
| τ²-Bench Telecom | 47.1% | 76.0% | GPT-5.4 Nano |
| Berkeley Function Calling Leaderboard (BFCL) | 54.0% | Not measured | Only GPT-4.1 measured |
| BrowseComp-Plus | 36.4% | Not measured | Only GPT-4.1 measured |
| Neither model has a result on the other 33 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index59
| Benchmark | GPT-4.1 | GPT-5.4 Nano | Leader |
|---|---|---|---|
| GPQA Diamond | 65.4% | 77.5% | GPT-5.4 Nano |
| MMMU Pro (Vals AI) | 72.4% | 73.6% | GPT-5.4 Nano |
| GPQA Diamond (Artificial Analysis run) | 66.6% | 81.7% | GPT-5.4 Nano |
| Humanity's Last Exam (Artificial Analysis run) | 4.2% | 28.3% | GPT-5.4 Nano |
| GPQA Diamond (Epoch AI run) | 66.9% | 78.5% | GPT-5.4 Nano |
| ARC-AGI | 5.5% | 51.5% | GPT-5.4 Nano |
| ARC-AGI-2 | 0.4% | 5.7% | GPT-5.4 Nano |
| SimpleBench | 27.0% | Not measured | Only GPT-4.1 measured |
| Chess puzzles | 3.0% | 45.0% | GPT-5.4 Nano |
| Mystery game puzzles | Not measured | 9.0% | Only GPT-5.4 Nano measured |
| LMArena Text: hard prompts | 1384 | 1381 | GPT-4.1 |
| LMArena Text: expert | 1364 | 1396 | GPT-5.4 Nano |
| LMArena Text: hard prompts in English | 1393 | 1387 | GPT-4.1 |
| LMArena Vision: diagrams | 1215 | 1210 | GPT-4.1 |
| LMArena Vision: homework | 1248 | 1225 | GPT-4.1 |
| Kagi LLM Benchmark | 52.3% | 39.7% | GPT-4.1 |
| 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 Nano | Leader |
|---|---|---|---|
| AIME | 39.6% | 88.8% | GPT-5.4 Nano |
| 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% | 87.8% | GPT-5.4 Nano |
| FrontierMath, tiers 1 to 3 | 6.0% | 44.9% | GPT-5.4 Nano |
| FrontierMath, tier 4 | Not measured | 12.2% | Only GPT-5.4 Nano measured |
| ProofBench | Not measured | 5.0% | Only GPT-5.4 Nano measured |
| MATH level 5 | 83.0% | Not measured | Only GPT-4.1 measured |
| LMArena Text: math | 1369 | 1405 | GPT-5.4 Nano |
| LMArena Text: mathematical work | 1360 | 1409 | GPT-5.4 Nano |
| Neither model has a result on the other 1 board here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index110
| Benchmark | GPT-4.1 | GPT-5.4 Nano | Leader |
|---|---|---|---|
| MMLU Pro | 80.5% | 77.2% | GPT-4.1 |
| LegalBench (Vals AI) | 83.1% | 77.9% | GPT-4.1 |
| CaseLaw (Vals AI) | 69.9% | 51.9% | GPT-4.1 |
| CorpFin (Vals AI) | 63.0% | 61.2% | GPT-4.1 |
| TaxEval (Vals AI) | 75.1% | 67.4% | GPT-4.1 |
| MortgageTax (Vals AI) | 65.9% | 59.1% | GPT-4.1 |
| MedQA (Vals AI) | 91.2% | Not measured | Only GPT-4.1 measured |
| MedCode (Vals AI) | Not measured | 41.0% | Only GPT-5.4 Nano measured |
| MMLU Pro (Artificial Analysis run) | 80.6% | Not measured | Only GPT-4.1 measured |
| SimpleQA Verified | 31.1% | 11.7% | GPT-4.1 |
| GeoBench | 72.0% | Not measured | Only GPT-4.1 measured |
| LMArena Text: science | 1382 | 1374 | GPT-4.1 |
| LMArena Text: medicine and healthcare | 1379 | 1369 | GPT-4.1 |
| LMArena Text: legal and government | 1399 | 1368 | GPT-4.1 |
| LMArena Text: business and finance | 1369 | 1366 | GPT-4.1 |
| FACTS Benchmark Suite | 45.8% | Not measured | Only GPT-4.1 measured |
| Neither model has a result on the other 2 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
| Benchmark | GPT-4.1 | GPT-5.4 Nano | Leader |
|---|---|---|---|
| Design Arena: websites | 1038 | Not measured | Only GPT-4.1 measured |
| Design Arena: UI components | 997 | Not measured | Only GPT-4.1 measured |
| Design Arena: game dev | 1079 | Not measured | Only GPT-4.1 measured |
| Design Arena: data viz | 1104 | Not measured | Only GPT-4.1 measured |
| Design Arena: 3D | 849 | Not measured | Only GPT-4.1 measured |
| Design Arena: all code categories | 1025 | 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 index208
| Benchmark | GPT-4.1 | GPT-5.4 Nano | Leader |
|---|---|---|---|
| SAGE (Vals AI) | Not measured | 38.1% | Only GPT-5.4 Nano measured |
| MedScribe (Vals AI) | Not measured | 77.1% | Only GPT-5.4 Nano measured |
| Vals Multimodal Index | Not measured | 47.6% | Only GPT-5.4 Nano measured |
| IFBench | 43.0% | 75.9% | GPT-5.4 Nano |
| Long context reasoning (AA-LCR) | 68.3% | 76.7% | GPT-5.4 Nano |
| DTBench | 68.3% | 80.3% | GPT-5.4 Nano |
| LMCA | 25.6% | 36.9% | GPT-5.4 Nano |
| Fiction.LiveBench | 63.9% | Not measured | Only GPT-4.1 measured |
| LMArena Text | 1383 | 1372 | GPT-4.1 |
| LMArena Text: instruction following | 1367 | 1362 | GPT-4.1 |
| LMArena Text: creative writing | 1363 | 1315 | GPT-4.1 |
| LMArena Vision | 1210 | 1196 | GPT-4.1 |
| LMArena Text: English | 1392 | 1381 | GPT-4.1 |
| LMArena Text: non-English | 1370 | 1359 | GPT-4.1 |
| LMArena Text: Chinese | 1382 | 1391 | GPT-5.4 Nano |
| LMArena Text: German | 1381 | 1368 | GPT-4.1 |
| LMArena Text: Japanese | 1319 | 1343 | GPT-5.4 Nano |
| LMArena Text: Korean | 1338 | 1321 | GPT-4.1 |
| LMArena Text: French | 1382 | 1395 | GPT-5.4 Nano |
| LMArena Text: Spanish | 1376 | 1371 | GPT-4.1 |
| LMArena Text: Russian | 1377 | 1363 | GPT-4.1 |
| LMArena Text: Polish | 1389 | 1366 | GPT-4.1 |
| LMArena Text: multi-turn | 1397 | 1382 | GPT-4.1 |
| LMArena Text: longer queries | 1385 | 1365 | GPT-4.1 |
| LMArena Text: writing and language | 1371 | 1338 | GPT-4.1 |
| LMArena Text: entertainment and media | 1365 | 1325 | GPT-4.1 |
| LMArena Vision: English | 1209 | 1202 | GPT-4.1 |
| LMArena Vision: Chinese | 1226 | 1232 | GPT-5.4 Nano |
| LMArena Vision: reading text | 1218 | 1204 | GPT-4.1 |
| LMArena Vision: humor | 1196 | 1161 | GPT-4.1 |
| LMArena Vision: captioning | 1207 | Not measured | Only GPT-4.1 measured |
| LMArena Vision: recognizing things | 1208 | 1141 | GPT-4.1 |
| LMArena Vision: creative writing | 1210 | 1159 | 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.4 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.4 Nano costs less
Repository review
50K input + 3K output tokens
GPT-5.4 Nano costs less
Agent loop
200K input + 10K output tokens
GPT-5.4 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.4 Nano |
|---|---|---|
| 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.20 |
| Output $/Mtok | $8.00 | $1.25 |
| Coding index | Not benchmarked | 44.8 |
| Independent measurements behind it | 0 | 2 |
| Cost per solved task | $0.37 | $0.14 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-4.1 better than GPT-5.4 Nano for coding?
Only GPT-5.4 Nano has a coding score, 44.8 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.4 Nano?
GPT-4.1 costs $2.00 per million input tokens and $8.00 per million output tokens; GPT-5.4 Nano costs $0.20 and $1.25. Per solved SWE-bench Verified task, GPT-4.1 costs $0.37 and GPT-5.4 Nano $0.14.
Which has the bigger context window, GPT-4.1 or GPT-5.4 Nano?
GPT-4.1, with 1.05M tokens against 400K.
How many benchmarks is the GPT-4.1 vs GPT-5.4 Nano comparison based on?
67 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.4 Nano's on 2. Where only one model has a result, the page says so instead of naming a winner.