GPT-5.4 Nano vs o4 Mini
GPT-5.4 Nano leads o4 Mini on the Artificial Analysis Intelligence Index, 20.7 to 16.7, and GPT-5.4 Nano costs 3.5x less per output token ($1.25 vs $4.40 per million). Updated October 21, 2026; 70 benchmarks have a result for both.
GPT-5.4 Nano or o4 Mini: which to pick
Only GPT-5.4 Nano has a coding score, 44.8 on the Vibe Coding Index; o4 Mini has none, so the two cannot be ranked on coding.
Pick o4 Mini for work measured by WeirdML or MMMU Pro (Vals AI), where it leads.
- Shared results
- 70
- GPT-5.4 Nano only
- 15
- o4 Mini only
- 28
- 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 16.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 74.5%.
Same board, both measured
Math
AIME
GPT-5.4 Nano
GPT-5.4 Nano leads, 88.8% against 83.7%.
Same board, both measured
Knowledge
MMLU Pro
o4 Mini
o4 Mini leads, 80.6% against 77.2%.
Same board, both measured
Web design
Design Arena: websites
No call
Only o4 Mini has a Design Arena: websites result, 985.
Directional only
Long documents
Listed context window
GPT-5.4 Nano
GPT-5.4 Nano takes 400K tokens against 200K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GPT-5.4 Nano
GPT-5.4 Nano $0.0008, o4 Mini $0.0033 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only GPT-5.4 Nano has the number, $0.14.
Directional only
At a glance
- Coding index
- GPT-5.4 Nano 44.8 from 2 benchmarks, o4 Mini not benchmarked.
- Widest category
- Agentic work, 20.5 points apart on average over 1 shared benchmark.
- Widest single gap
- Kagi LLM Benchmark: GPT-5.4 Nano 39.7% against o4 Mini 67.6%, 27.9 points apart on a 0 to 100 scale.
- Output price
- GPT-5.4 Nano $1.25 against o4 Mini $4.40 per million output tokens, 3.5x apart.
- Context window
- GPT-5.4 Nano takes 400K tokens, o4 Mini 200K.
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-5.4 Nano | Bars | o4 Mini | Ties |
|---|---|---|---|---|
| Coding | 4 | 1 | ||
| Intelligence | 2 | 0 | ||
| Agentic work | 1 | 0 | ||
| Reasoning | 9 | 6 | ||
| Math | 6 | 0 | ||
| Knowledge | 6 | 5 | ||
| General | 26 | 4 | ||
| All shared boards | 54 | 16 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index41
| Benchmark | GPT-5.4 Nano | o4 Mini | Leader |
|---|---|---|---|
| Aider polyglot | Not measured | 72.0% | Only o4 Mini measured |
| SWE-bench Verified | Not measured | 64.6% | Only o4 Mini measured |
| SWE-bench Multimodal | Not measured | 33.9% | Only o4 Mini measured |
| AA Coding Index | 56.1 | Not measured | Only GPT-5.4 Nano measured |
| LiveCodeBench (Vals AI) | 84.0% | 82.2% | GPT-5.4 Nano |
| SWE-bench Verified (Vals AI) | 69.8% | Not measured | Only GPT-5.4 Nano measured |
| Vibe Code Bench (Vals AI) | 26.1% | Not measured | Only GPT-5.4 Nano measured |
| Code migration (Vals AI) | 14.5% | Not measured | Only GPT-5.4 Nano measured |
| Terminal-Bench 2.1 (Vals AI) | 41.6% | Not measured | Only GPT-5.4 Nano measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 85.9% | Only o4 Mini measured |
| SciCode | 47.2% | Not measured | Only GPT-5.4 Nano measured |
| Terminal-Bench Hard (Artificial Analysis run) | 42.4% | 15.2% | GPT-5.4 Nano |
| GSO-Bench | Not measured | 3.6% | Only o4 Mini measured |
| WeirdML | 49.2% | 52.6% | o4 Mini |
| ALE-Bench | 1004.5 | Not measured | Only GPT-5.4 Nano measured |
| LMArena Text: coding | 1404 | 1368 | GPT-5.4 Nano |
| LMArena Text: software and IT | 1402 | 1367 | GPT-5.4 Nano |
| SciCode | Not measured | 10.8% | Only o4 Mini measured |
| Neither model has a result on the other 21 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | GPT-5.4 Nano | o4 Mini | Leader |
|---|---|---|---|
| AA Intelligence Index | 20.7 | 16.7 | GPT-5.4 Nano |
| Epoch Capabilities Index | 146.0 | 145.5 | GPT-5.4 Nano |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GPT-5.4 Nano | o4 Mini | Leader |
|---|---|---|---|
| AA Agentic Index | 16.0 | Not measured | Only GPT-5.4 Nano measured |
| Finance Agent (Vals AI) | 38.2% | Not measured | Only GPT-5.4 Nano measured |
| Tax Agent Bench (Vals AI) | 5.0% | Not measured | Only GPT-5.4 Nano measured |
| Legal Research Bench (Vals AI) | 6.3% | Not measured | Only GPT-5.4 Nano measured |
| Excel Modeling Benchmark (Vals AI) | 44.8% | Not measured | Only GPT-5.4 Nano measured |
| τ²-Bench Telecom | 76.0% | 55.6% | GPT-5.4 Nano |
| METR time horizons | Not measured | 63.9% | Only o4 Mini measured |
| Berkeley Function Calling Leaderboard (BFCL) | Not measured | 53.2% | Only o4 Mini measured |
| Neither model has a result on the other 33 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index96
| Benchmark | GPT-5.4 Nano | o4 Mini | Leader |
|---|---|---|---|
| GPQA Diamond | 77.5% | 74.5% | GPT-5.4 Nano |
| MMMU Pro (Vals AI) | 73.6% | 79.7% | o4 Mini |
| GPQA Diamond (Artificial Analysis run) | 81.7% | 78.4% | GPT-5.4 Nano |
| Humanity's Last Exam (Artificial Analysis run) | 28.3% | 16.5% | GPT-5.4 Nano |
| GPQA Diamond (Epoch AI run) | 78.5% | 79.6% | o4 Mini |
| ARC-AGI | 51.5% | 58.7% | o4 Mini |
| ARC-AGI-2 | 5.7% | 6.1% | o4 Mini |
| SimpleBench | Not measured | 38.7% | Only o4 Mini measured |
| Chess puzzles | 45.0% | 22.0% | GPT-5.4 Nano |
| Mystery game puzzles | 9.0% | 5.0% | GPT-5.4 Nano |
| VPCT | Not measured | 57.5% | Only o4 Mini measured |
| LMArena Text: hard prompts | 1381 | 1351 | GPT-5.4 Nano |
| LMArena Text: expert | 1396 | 1343 | GPT-5.4 Nano |
| LMArena Text: hard prompts in English | 1387 | 1366 | GPT-5.4 Nano |
| LMArena Vision: diagrams | 1210 | 1197 | GPT-5.4 Nano |
| LMArena Vision: homework | 1225 | 1234 | o4 Mini |
| Kagi LLM Benchmark | 39.7% | 67.6% | o4 Mini |
| Neither model has a result on the other 5 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index60
| Benchmark | GPT-5.4 Nano | o4 Mini | Leader |
|---|---|---|---|
| AIME | 88.8% | 83.7% | GPT-5.4 Nano |
| MATH 500 (Vals AI) | Not measured | 94.2% | Only o4 Mini measured |
| MGSM (Vals AI) | Not measured | 93.4% | Only o4 Mini measured |
| AA Math Index | Not measured | 90.7 | Only o4 Mini measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 90.7% | Only o4 Mini measured |
| OTIS Mock AIME | 87.8% | 81.7% | GPT-5.4 Nano |
| FrontierMath, tiers 1 to 3 | 44.9% | 36.1% | GPT-5.4 Nano |
| FrontierMath, tier 4 | 12.2% | 4.9% | GPT-5.4 Nano |
| ProofBench | 5.0% | Not measured | Only GPT-5.4 Nano measured |
| MATH level 5 | Not measured | 97.8% | Only o4 Mini measured |
| LMArena Text: math | 1405 | 1389 | GPT-5.4 Nano |
| LMArena Text: mathematical work | 1409 | 1379 | 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 index65
| Benchmark | GPT-5.4 Nano | o4 Mini | Leader |
|---|---|---|---|
| MMLU Pro | 77.2% | 80.6% | o4 Mini |
| LegalBench (Vals AI) | 77.9% | 79.2% | o4 Mini |
| CaseLaw (Vals AI) | 51.9% | Not measured | Only GPT-5.4 Nano measured |
| CorpFin (Vals AI) | 61.2% | 59.0% | GPT-5.4 Nano |
| TaxEval (Vals AI) | 67.4% | 74.8% | o4 Mini |
| MortgageTax (Vals AI) | 59.1% | 64.8% | o4 Mini |
| MedQA (Vals AI) | Not measured | 96.0% | Only o4 Mini measured |
| MedCode (Vals AI) | 41.0% | 33.8% | GPT-5.4 Nano |
| MMLU Pro (Artificial Analysis run) | Not measured | 83.2% | Only o4 Mini measured |
| SimpleQA Verified | 11.7% | 19.6% | o4 Mini |
| GeoBench | Not measured | 64.0% | Only o4 Mini measured |
| LMArena Text: science | 1374 | 1354 | GPT-5.4 Nano |
| LMArena Text: medicine and healthcare | 1369 | 1361 | GPT-5.4 Nano |
| LMArena Text: legal and government | 1368 | 1350 | GPT-5.4 Nano |
| LMArena Text: business and finance | 1366 | 1325 | GPT-5.4 Nano |
| FACTS Benchmark Suite | Not measured | 28.1% | Only o4 Mini 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-5.4 Nano | o4 Mini | Leader |
|---|---|---|---|
| Design Arena: websites | Not measured | 985 | Only o4 Mini measured |
| Design Arena: UI components | Not measured | 983 | Only o4 Mini measured |
| Design Arena: game dev | Not measured | 1003 | Only o4 Mini measured |
| Design Arena: data viz | Not measured | 990 | Only o4 Mini measured |
| Design Arena: 3D | Not measured | 854 | Only o4 Mini measured |
| Design Arena: all code categories | Not measured | 976 | Only o4 Mini measured |
| Neither model has a result on the other 3 boards here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index264
| Benchmark | GPT-5.4 Nano | o4 Mini | Leader |
|---|---|---|---|
| SAGE (Vals AI) | 38.1% | 41.1% | o4 Mini |
| MedScribe (Vals AI) | 77.1% | 69.1% | GPT-5.4 Nano |
| Vals Multimodal Index | 47.6% | Not measured | Only GPT-5.4 Nano measured |
| IFBench | 75.9% | 68.7% | GPT-5.4 Nano |
| Long context reasoning (AA-LCR) | 76.7% | 61.0% | GPT-5.4 Nano |
| DTBench | 80.3% | 77.6% | GPT-5.4 Nano |
| LMCA | 36.9% | 26.5% | GPT-5.4 Nano |
| Fiction.LiveBench | Not measured | 77.8% | Only o4 Mini measured |
| Creative writing (Lech Mazur) | Not measured | 75.0% | Only o4 Mini measured |
| LMArena Text | 1372 | 1353 | GPT-5.4 Nano |
| LMArena Text: instruction following | 1362 | 1320 | GPT-5.4 Nano |
| LMArena Text: creative writing | 1315 | 1294 | GPT-5.4 Nano |
| LMArena Vision | 1196 | 1194 | GPT-5.4 Nano |
| LMArena Text: English | 1381 | 1367 | GPT-5.4 Nano |
| LMArena Text: non-English | 1359 | 1337 | GPT-5.4 Nano |
| LMArena Text: Chinese | 1391 | 1354 | GPT-5.4 Nano |
| LMArena Text: German | 1368 | 1336 | GPT-5.4 Nano |
| LMArena Text: Japanese | 1343 | 1308 | GPT-5.4 Nano |
| LMArena Text: Korean | 1321 | 1312 | GPT-5.4 Nano |
| LMArena Text: French | 1395 | 1364 | GPT-5.4 Nano |
| LMArena Text: Spanish | 1371 | 1346 | GPT-5.4 Nano |
| LMArena Text: Russian | 1363 | 1334 | GPT-5.4 Nano |
| LMArena Text: Polish | 1366 | 1358 | GPT-5.4 Nano |
| LMArena Text: multi-turn | 1382 | 1350 | GPT-5.4 Nano |
| LMArena Text: longer queries | 1365 | 1315 | GPT-5.4 Nano |
| LMArena Text: writing and language | 1338 | 1316 | GPT-5.4 Nano |
| LMArena Text: entertainment and media | 1325 | 1308 | GPT-5.4 Nano |
| LMArena Vision: English | 1202 | 1200 | GPT-5.4 Nano |
| LMArena Vision: Chinese | 1232 | 1218 | GPT-5.4 Nano |
| LMArena Vision: reading text | 1204 | 1197 | GPT-5.4 Nano |
| LMArena Vision: humor | 1161 | 1199 | o4 Mini |
| LMArena Vision: captioning | Not measured | 1204 | Only o4 Mini measured |
| LMArena Vision: recognizing things | 1141 | 1218 | o4 Mini |
| LMArena Vision: creative writing | 1159 | 1166 | o4 Mini |
| Neither model has a result on the other 12 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GPT-5.4 Nano | o4 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.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-5.4 Nano | OpenAI o4 Mini |
|---|---|---|
| Maker | OpenAI | OpenAI |
| Weights | No public weights listed | No public weights listed |
| Released | March 17, 2026 | April 16, 2025 |
| Context window | 400K | 200K |
| Input $/Mtok | $0.20 | $1.10 |
| Output $/Mtok | $1.25 | $4.40 |
| Coding index | 44.8 | Not benchmarked |
| Independent measurements behind it | 2 | 0 |
| Cost per solved task | $0.14 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-5.4 Nano better than o4 Mini for coding?
Only GPT-5.4 Nano has a coding score, 44.8 on the Vibe Coding Index; o4 Mini has none, so the two cannot be ranked on coding. Pick o4 Mini for work measured by WeirdML or MMMU Pro (Vals AI), where it leads.
Which is cheaper, GPT-5.4 Nano or o4 Mini?
GPT-5.4 Nano costs $0.20 per million input tokens and $1.25 per million output tokens; o4 Mini costs $1.10 and $4.40. Cost per solved task is known for GPT-5.4 Nano only.
Which has the bigger context window, GPT-5.4 Nano or o4 Mini?
GPT-5.4 Nano, with 400K tokens against 200K.
How many benchmarks is the GPT-5.4 Nano vs o4 Mini comparison based on?
70 benchmarks have a result for both models as of October 21, 2026. GPT-5.4 Nano's coding index rests on 2 independent benchmarks and o4 Mini's on 0. Where only one model has a result, the page says so instead of naming a winner.