Enter opens the highlighted result. Esc closes.

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 NanoOpenAI
Coding
44.8
Overall
45.7
Output $/M
$1.25
54
o4 MiniOpenAI
Coding
No data
Overall
43.0
Output $/M
$4.40
16
vs boards won of 70 shared

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.

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.

Boards won, where both have a result
CategoryGPT-5.4 NanoBarso4 MiniTies
Coding41
Intelligence20
Agentic work10
Reasoning96
Math60
Knowledge65
General264
All shared boards5416
CodingLike-for-likeSix of these boards feed the Vibe Coding Index41
Coding benchmarks for GPT-5.4 Nano and o4 Mini
BenchmarkGPT-5.4 Nanoo4 MiniLeader
Aider polyglotNot measured72.0%Only o4 Mini measured
SWE-bench VerifiedNot measured64.6%Only o4 Mini measured
SWE-bench MultimodalNot measured33.9%Only o4 Mini measured
AA Coding Index56.1Not measuredOnly GPT-5.4 Nano measured
LiveCodeBench (Vals AI)84.0%82.2%GPT-5.4 Nano
SWE-bench Verified (Vals AI)69.8%Not measuredOnly GPT-5.4 Nano measured
Vibe Code Bench (Vals AI)26.1%Not measuredOnly GPT-5.4 Nano measured
Code migration (Vals AI)14.5%Not measuredOnly GPT-5.4 Nano measured
Terminal-Bench 2.1 (Vals AI)41.6%Not measuredOnly GPT-5.4 Nano measured
LiveCodeBench (Artificial Analysis run)Not measured85.9%Only o4 Mini measured
SciCode47.2%Not measuredOnly GPT-5.4 Nano measured
Terminal-Bench Hard (Artificial Analysis run)42.4%15.2%GPT-5.4 Nano
GSO-BenchNot measured3.6%Only o4 Mini measured
WeirdML49.2%52.6%o4 Mini
ALE-Bench1004.5Not measuredOnly GPT-5.4 Nano measured
LMArena Text: coding14041368GPT-5.4 Nano
LMArena Text: software and IT14021367GPT-5.4 Nano
SciCodeNot measured10.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
Intelligence benchmarks for GPT-5.4 Nano and o4 Mini
BenchmarkGPT-5.4 Nanoo4 MiniLeader
AA Intelligence Index20.716.7GPT-5.4 Nano
Epoch Capabilities Index146.0145.5GPT-5.4 Nano
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for GPT-5.4 Nano and o4 Mini
BenchmarkGPT-5.4 Nanoo4 MiniLeader
AA Agentic Index16.0Not measuredOnly GPT-5.4 Nano measured
Finance Agent (Vals AI)38.2%Not measuredOnly GPT-5.4 Nano measured
Tax Agent Bench (Vals AI)5.0%Not measuredOnly GPT-5.4 Nano measured
Legal Research Bench (Vals AI)6.3%Not measuredOnly GPT-5.4 Nano measured
Excel Modeling Benchmark (Vals AI)44.8%Not measuredOnly GPT-5.4 Nano measured
τ²-Bench Telecom76.0%55.6%GPT-5.4 Nano
METR time horizonsNot measured63.9%Only o4 Mini measured
Berkeley Function Calling Leaderboard (BFCL)Not measured53.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
Reasoning benchmarks for GPT-5.4 Nano and o4 Mini
BenchmarkGPT-5.4 Nanoo4 MiniLeader
GPQA Diamond77.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-AGI51.5%58.7%o4 Mini
ARC-AGI-25.7%6.1%o4 Mini
SimpleBenchNot measured38.7%Only o4 Mini measured
Chess puzzles45.0%22.0%GPT-5.4 Nano
Mystery game puzzles9.0%5.0%GPT-5.4 Nano
VPCTNot measured57.5%Only o4 Mini measured
LMArena Text: hard prompts13811351GPT-5.4 Nano
LMArena Text: expert13961343GPT-5.4 Nano
LMArena Text: hard prompts in English13871366GPT-5.4 Nano
LMArena Vision: diagrams12101197GPT-5.4 Nano
LMArena Vision: homework12251234o4 Mini
Kagi LLM Benchmark39.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
Math benchmarks for GPT-5.4 Nano and o4 Mini
BenchmarkGPT-5.4 Nanoo4 MiniLeader
AIME88.8%83.7%GPT-5.4 Nano
MATH 500 (Vals AI)Not measured94.2%Only o4 Mini measured
MGSM (Vals AI)Not measured93.4%Only o4 Mini measured
AA Math IndexNot measured90.7Only o4 Mini measured
AIME 2025 (Artificial Analysis run)Not measured90.7%Only o4 Mini measured
OTIS Mock AIME87.8%81.7%GPT-5.4 Nano
FrontierMath, tiers 1 to 344.9%36.1%GPT-5.4 Nano
FrontierMath, tier 412.2%4.9%GPT-5.4 Nano
ProofBench5.0%Not measuredOnly GPT-5.4 Nano measured
MATH level 5Not measured97.8%Only o4 Mini measured
LMArena Text: math14051389GPT-5.4 Nano
LMArena Text: mathematical work14091379GPT-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
Knowledge benchmarks for GPT-5.4 Nano and o4 Mini
BenchmarkGPT-5.4 Nanoo4 MiniLeader
MMLU Pro77.2%80.6%o4 Mini
LegalBench (Vals AI)77.9%79.2%o4 Mini
CaseLaw (Vals AI)51.9%Not measuredOnly 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 measured96.0%Only o4 Mini measured
MedCode (Vals AI)41.0%33.8%GPT-5.4 Nano
MMLU Pro (Artificial Analysis run)Not measured83.2%Only o4 Mini measured
SimpleQA Verified11.7%19.6%o4 Mini
GeoBenchNot measured64.0%Only o4 Mini measured
LMArena Text: science13741354GPT-5.4 Nano
LMArena Text: medicine and healthcare13691361GPT-5.4 Nano
LMArena Text: legal and government13681350GPT-5.4 Nano
LMArena Text: business and finance13661325GPT-5.4 Nano
FACTS Benchmark SuiteNot measured28.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
Web design benchmarks for GPT-5.4 Nano and o4 Mini
BenchmarkGPT-5.4 Nanoo4 MiniLeader
Design Arena: websitesNot measured985Only o4 Mini measured
Design Arena: UI componentsNot measured983Only o4 Mini measured
Design Arena: game devNot measured1003Only o4 Mini measured
Design Arena: data vizNot measured990Only o4 Mini measured
Design Arena: 3DNot measured854Only o4 Mini measured
Design Arena: all code categoriesNot measured976Only 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
General benchmarks for GPT-5.4 Nano and o4 Mini
BenchmarkGPT-5.4 Nanoo4 MiniLeader
SAGE (Vals AI)38.1%41.1%o4 Mini
MedScribe (Vals AI)77.1%69.1%GPT-5.4 Nano
Vals Multimodal Index47.6%Not measuredOnly GPT-5.4 Nano measured
IFBench75.9%68.7%GPT-5.4 Nano
Long context reasoning (AA-LCR)76.7%61.0%GPT-5.4 Nano
DTBench80.3%77.6%GPT-5.4 Nano
LMCA36.9%26.5%GPT-5.4 Nano
Fiction.LiveBenchNot measured77.8%Only o4 Mini measured
Creative writing (Lech Mazur)Not measured75.0%Only o4 Mini measured
LMArena Text13721353GPT-5.4 Nano
LMArena Text: instruction following13621320GPT-5.4 Nano
LMArena Text: creative writing13151294GPT-5.4 Nano
LMArena Vision11961194GPT-5.4 Nano
LMArena Text: English13811367GPT-5.4 Nano
LMArena Text: non-English13591337GPT-5.4 Nano
LMArena Text: Chinese13911354GPT-5.4 Nano
LMArena Text: German13681336GPT-5.4 Nano
LMArena Text: Japanese13431308GPT-5.4 Nano
LMArena Text: Korean13211312GPT-5.4 Nano
LMArena Text: French13951364GPT-5.4 Nano
LMArena Text: Spanish13711346GPT-5.4 Nano
LMArena Text: Russian13631334GPT-5.4 Nano
LMArena Text: Polish13661358GPT-5.4 Nano
LMArena Text: multi-turn13821350GPT-5.4 Nano
LMArena Text: longer queries13651315GPT-5.4 Nano
LMArena Text: writing and language13381316GPT-5.4 Nano
LMArena Text: entertainment and media13251308GPT-5.4 Nano
LMArena Vision: English12021200GPT-5.4 Nano
LMArena Vision: Chinese12321218GPT-5.4 Nano
LMArena Vision: reading text12041197GPT-5.4 Nano
LMArena Vision: humor11611199o4 Mini
LMArena Vision: captioningNot measured1204Only o4 Mini measured
LMArena Vision: recognizing things11411218o4 Mini
LMArena Vision: creative writing11591166o4 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
Image generation benchmarks for GPT-5.4 Nano and o4 Mini
BenchmarkGPT-5.4 Nanoo4 MiniLeader
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$0.0008Fits in one request
o4 Mini$0.0033Fits in one request

GPT-5.4 Nano costs less

Repository review

50K input + 3K output tokens

GPT-5.4 Nano$0.014Fits in one request
o4 Mini$0.068Fits in one request

GPT-5.4 Nano costs less

Agent loop

200K input + 10K output tokens

GPT-5.4 Nano$0.052Fits in one request
o4 Mini$0.264Exceeds the context window

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.

Specifications of GPT-5.4 Nano and o4 Mini
SpecificationOpenAI GPT-5.4 NanoOpenAI o4 Mini
MakerOpenAIOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedMarch 17, 2026April 16, 2025
Context window400K200K
Input $/Mtok$0.20$1.10
Output $/Mtok$1.25$4.40
Coding index44.8Not benchmarked
Independent measurements behind it20
Cost per solved task$0.14Not computable
SourceOpenRouter listingOpenRouter 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.

Compare next