Enter opens the highlighted result. Esc closes.

GPT-4.1 Mini vs GPT-5.4 Nano

GPT-5.4 Nano leads GPT-4.1 Mini on the Artificial Analysis Intelligence Index, 20.7 to 10.2, and GPT-5.4 Nano costs 1.3x less per output token ($1.25 vs $1.60 per million). Updated October 22, 2026; 67 benchmarks have a result for both.

GPT-4.1 MiniOpenAI
Coding
No data
Overall
31.9
Output $/M
$1.60
9
GPT-5.4 NanoOpenAI
Coding
44.8
Overall
45.7
Output $/M
$1.25
58
vs boards won of 67 shared

GPT-4.1 Mini 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 Mini has none, 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 Kagi LLM Benchmark or MMLU Pro, where it leads.

Shared results
67
GPT-4.1 Mini only
19
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.

At a glance

Coding index
GPT-4.1 Mini not benchmarked, GPT-5.4 Nano 44.8 from 2 benchmarks.
Widest category
Math, 28.3 points apart on average over 5 shared benchmarks.
Widest single gap
ARC-AGI: GPT-4.1 Mini 3.5% against GPT-5.4 Nano 51.5%, 48.0 points apart on a 0 to 100 scale.
Output price
GPT-4.1 Mini $1.60 against GPT-5.4 Nano $1.25 per million output tokens, 1.3x apart.
Context window
GPT-4.1 Mini 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.

Boards won, where both have a result
CategoryGPT-4.1 MiniBarsGPT-5.4 NanoTies
Coding06
Intelligence02
Agentic work01
Reasoning114
Math05
Knowledge55
General325
All shared boards958
CodingLike-for-likeSix of these boards feed the Vibe Coding Index06
Coding benchmarks for GPT-4.1 Mini and GPT-5.4 Nano
BenchmarkGPT-4.1 MiniGPT-5.4 NanoLeader
Aider polyglot32.4%Not measuredOnly GPT-4.1 Mini measured
SWE-bench Verified23.9%Not measuredOnly GPT-4.1 Mini measured
AA Coding Index20.256.1GPT-5.4 Nano
LiveCodeBench (Vals AI)58.2%84.0%GPT-5.4 Nano
SWE-bench Verified (Vals AI)Not measured69.8%Only GPT-5.4 Nano measured
Vibe Code Bench (Vals AI)Not measured26.1%Only GPT-5.4 Nano measured
Code migration (Vals AI)Not measured14.5%Only GPT-5.4 Nano measured
Terminal-Bench 2.1 (Vals AI)Not measured41.6%Only GPT-5.4 Nano measured
LiveCodeBench (Artificial Analysis run)48.3%Not measuredOnly GPT-4.1 Mini measured
SciCodeNot measured47.2%Only GPT-5.4 Nano measured
Terminal-Bench Hard (Artificial Analysis run)7.6%42.4%GPT-5.4 Nano
WeirdML37.6%49.2%GPT-5.4 Nano
ALE-BenchNot measured1004.5Only GPT-5.4 Nano measured
LMArena Text: coding13671404GPT-5.4 Nano
LMArena Text: software and IT13601402GPT-5.4 Nano
Neither model has a result on the other 24 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GPT-4.1 Mini and GPT-5.4 Nano
BenchmarkGPT-4.1 MiniGPT-5.4 NanoLeader
AA Intelligence Index10.220.7GPT-5.4 Nano
Epoch Capabilities Index134.9146.0GPT-5.4 Nano
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for GPT-4.1 Mini and GPT-5.4 Nano
BenchmarkGPT-4.1 MiniGPT-5.4 NanoLeader
AA Agentic IndexNot measured16.0Only GPT-5.4 Nano measured
Finance Agent (Vals AI)Not measured38.2%Only GPT-5.4 Nano measured
Tax Agent Bench (Vals AI)Not measured5.0%Only GPT-5.4 Nano measured
Legal Research Bench (Vals AI)Not measured6.3%Only GPT-5.4 Nano measured
Excel Modeling Benchmark (Vals AI)Not measured44.8%Only GPT-5.4 Nano measured
τ²-Bench Telecom52.9%76.0%GPT-5.4 Nano
Berkeley Function Calling Leaderboard (BFCL)50.4%Not measuredOnly GPT-4.1 Mini measured
Neither model has a result on the other 34 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index114
Reasoning benchmarks for GPT-4.1 Mini and GPT-5.4 Nano
BenchmarkGPT-4.1 MiniGPT-5.4 NanoLeader
GPQA Diamond67.9%77.5%GPT-5.4 Nano
MMMU Pro (Vals AI)70.5%73.6%GPT-5.4 Nano
GPQA Diamond (Artificial Analysis run)66.4%81.7%GPT-5.4 Nano
Humanity's Last Exam (Artificial Analysis run)5.0%28.3%GPT-5.4 Nano
GPQA Diamond (Epoch AI run)65.8%78.5%GPT-5.4 Nano
ARC-AGI3.5%51.5%GPT-5.4 Nano
ARC-AGI-20.0%5.7%GPT-5.4 Nano
Chess puzzles1.0%45.0%GPT-5.4 Nano
Mystery game puzzles7.0%9.0%GPT-5.4 Nano
LMArena Text: hard prompts13491381GPT-5.4 Nano
LMArena Text: expert13381396GPT-5.4 Nano
LMArena Text: hard prompts in English13621387GPT-5.4 Nano
LMArena Vision: diagrams11821210GPT-5.4 Nano
LMArena Vision: homework12141225GPT-5.4 Nano
Kagi LLM Benchmark48.6%39.7%GPT-4.1 Mini
Neither model has a result on the other 7 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index05
Math benchmarks for GPT-4.1 Mini and GPT-5.4 Nano
BenchmarkGPT-4.1 MiniGPT-5.4 NanoLeader
AIME49.4%88.8%GPT-5.4 Nano
MATH 500 (Vals AI)88.0%Not measuredOnly GPT-4.1 Mini measured
MGSM (Vals AI)87.8%Not measuredOnly GPT-4.1 Mini measured
AA Math Index46.3Not measuredOnly GPT-4.1 Mini measured
AIME 2025 (Artificial Analysis run)46.3%Not measuredOnly GPT-4.1 Mini measured
OTIS Mock AIME44.7%87.8%GPT-5.4 Nano
FrontierMath, tiers 1 to 36.7%44.9%GPT-5.4 Nano
FrontierMath, tier 4Not measured12.2%Only GPT-5.4 Nano measured
ProofBenchNot measured5.0%Only GPT-5.4 Nano measured
MATH level 587.3%Not measuredOnly GPT-4.1 Mini measured
LMArena Text: math13431405GPT-5.4 Nano
LMArena Text: mathematical work13471409GPT-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 index55
Knowledge benchmarks for GPT-4.1 Mini and GPT-5.4 Nano
BenchmarkGPT-4.1 MiniGPT-5.4 NanoLeader
MMLU Pro77.2%77.2%GPT-4.1 Mini
LegalBench (Vals AI)78.0%77.9%GPT-4.1 Mini
CaseLaw (Vals AI)Not measured51.9%Only GPT-5.4 Nano measured
CorpFin (Vals AI)57.9%61.2%GPT-5.4 Nano
TaxEval (Vals AI)71.9%67.4%GPT-4.1 Mini
MortgageTax (Vals AI)65.5%59.1%GPT-4.1 Mini
MedQA (Vals AI)84.6%Not measuredOnly GPT-4.1 Mini measured
MedCode (Vals AI)Not measured41.0%Only GPT-5.4 Nano measured
MMLU Pro (Artificial Analysis run)78.1%Not measuredOnly GPT-4.1 Mini measured
SimpleQA Verified12.7%11.7%GPT-4.1 Mini
LMArena Text: science13281374GPT-5.4 Nano
LMArena Text: medicine and healthcare13241369GPT-5.4 Nano
LMArena Text: legal and government13431368GPT-5.4 Nano
LMArena Text: business and finance13221366GPT-5.4 Nano
Neither model has a result on the other 4 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Web design benchmarks for GPT-4.1 Mini and GPT-5.4 Nano
BenchmarkGPT-4.1 MiniGPT-5.4 NanoLeader
Design Arena: websites997Not measuredOnly GPT-4.1 Mini measured
Design Arena: UI components958Not measuredOnly GPT-4.1 Mini measured
Design Arena: game dev1070Not measuredOnly GPT-4.1 Mini measured
Design Arena: data viz1034Not measuredOnly GPT-4.1 Mini measured
Design Arena: 3D836Not measuredOnly GPT-4.1 Mini measured
Design Arena: all code categories993Not measuredOnly GPT-4.1 Mini measured
Neither model has a result on the other 3 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index325
General benchmarks for GPT-4.1 Mini and GPT-5.4 Nano
BenchmarkGPT-4.1 MiniGPT-5.4 NanoLeader
SAGE (Vals AI)Not measured38.1%Only GPT-5.4 Nano measured
MedScribe (Vals AI)Not measured77.1%Only GPT-5.4 Nano measured
Vals Multimodal IndexNot measured47.6%Only GPT-5.4 Nano measured
IFBench38.3%75.9%GPT-5.4 Nano
Long context reasoning (AA-LCR)44.0%76.7%GPT-5.4 Nano
DTBench68.8%80.3%GPT-5.4 Nano
LMCA21.1%36.9%GPT-5.4 Nano
Fiction.LiveBench44.4%Not measuredOnly GPT-4.1 Mini measured
LMArena Text13411372GPT-5.4 Nano
LMArena Text: instruction following13331362GPT-5.4 Nano
LMArena Text: creative writing12991315GPT-5.4 Nano
LMArena Vision11811196GPT-5.4 Nano
LMArena Text: English13561381GPT-5.4 Nano
LMArena Text: non-English13181359GPT-5.4 Nano
LMArena Text: Chinese13291391GPT-5.4 Nano
LMArena Text: German13501368GPT-5.4 Nano
LMArena Text: Japanese12901343GPT-5.4 Nano
LMArena Text: Korean12981321GPT-5.4 Nano
LMArena Text: French13581395GPT-5.4 Nano
LMArena Text: Spanish13191371GPT-5.4 Nano
LMArena Text: Russian13241363GPT-5.4 Nano
LMArena Text: Polish13261366GPT-5.4 Nano
LMArena Text: multi-turn13541382GPT-5.4 Nano
LMArena Text: longer queries13441365GPT-5.4 Nano
LMArena Text: writing and language13191338GPT-5.4 Nano
LMArena Text: entertainment and media13001325GPT-5.4 Nano
LMArena Vision: English11911202GPT-5.4 Nano
LMArena Vision: Chinese11861232GPT-5.4 Nano
LMArena Vision: reading text11881204GPT-5.4 Nano
LMArena Vision: humor11821161GPT-4.1 Mini
LMArena Vision: captioning1174Not measuredOnly GPT-4.1 Mini measured
LMArena Vision: recognizing things11871141GPT-4.1 Mini
LMArena Vision: creative writing11821159GPT-4.1 Mini
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
Image generation benchmarks for GPT-4.1 Mini and GPT-5.4 Nano
BenchmarkGPT-4.1 MiniGPT-5.4 NanoLeader
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-4.1 Mini$0.0012Fits in one request
GPT-5.4 Nano$0.0008Fits in one request

GPT-5.4 Nano costs less

Repository review

50K input + 3K output tokens

GPT-4.1 Mini$0.025Fits in one request
GPT-5.4 Nano$0.014Fits in one request

GPT-5.4 Nano costs less

Agent loop

200K input + 10K output tokens

GPT-4.1 Mini$0.096Fits in one request
GPT-5.4 Nano$0.052Fits in one request

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-4.1 Mini and GPT-5.4 Nano
SpecificationOpenAI GPT-4.1 MiniOpenAI GPT-5.4 Nano
MakerOpenAIOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedApril 14, 2025March 17, 2026
Context window1.05M400K
Input $/Mtok$0.40$0.20
Output $/Mtok$1.60$1.25
Coding indexNot benchmarked44.8
Independent measurements behind it02
Cost per solved task$1.818$0.14
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-4.1 Mini 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 Mini has none, 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 Kagi LLM Benchmark or MMLU Pro, where it leads.

Which is cheaper, GPT-4.1 Mini or GPT-5.4 Nano?

GPT-4.1 Mini costs $0.40 per million input tokens and $1.60 per million output tokens; GPT-5.4 Nano costs $0.20 and $1.25. Per solved SWE-bench Verified task, GPT-4.1 Mini costs $1.818 and GPT-5.4 Nano $0.14.

Which has the bigger context window, GPT-4.1 Mini or GPT-5.4 Nano?

GPT-4.1 Mini, with 1.05M tokens against 400K.

How many benchmarks is the GPT-4.1 Mini vs GPT-5.4 Nano comparison based on?

67 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.4 Nano's on 2. Where only one model has a result, the page says so instead of naming a winner.

Compare next