Enter opens the highlighted result. Esc closes.

GPT-4.1 Mini vs GPT-5.4 Mini

GPT-5.4 Mini leads GPT-4.1 Mini on the Artificial Analysis Intelligence Index, 24.1 to 10.2, and GPT-4.1 Mini costs 2.8x less per output token ($1.60 vs $4.50 per million). Updated October 21, 2026; 66 benchmarks have a result for both.

GPT-4.1 MiniOpenAI
Coding
No data
Overall
31.9
Output $/M
$1.60
3
GPT-5.4 MiniOpenAI
Coding
35.8
Overall
44.0
Output $/M
$4.50
63
vs boards won of 66 shared

GPT-4.1 Mini or GPT-5.4 Mini: which to pick

Only GPT-5.4 Mini has a coding score, 35.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 output tokens 2.8x cheaper ($1.60 vs $4.50 per million) and a larger context window (1.05M against 400K tokens).

Shared results
66
GPT-4.1 Mini only
20
GPT-5.4 Mini only
23
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 Mini 35.8 from 5 benchmarks.
Widest category
Math, 32.2 points apart on average over 5 shared benchmarks.
Widest single gap
ARC-AGI: GPT-4.1 Mini 3.5% against GPT-5.4 Mini 63.7%, 60.2 points apart on a 0 to 100 scale.
Output price
GPT-4.1 Mini $1.60 against GPT-5.4 Mini $4.50 per million output tokens, 2.8x apart.
Context window
GPT-4.1 Mini takes 1.05M tokens, GPT-5.4 Mini 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 MiniTies
Coding06
Intelligence02
Agentic work01
Reasoning114
Math05
Knowledge27
General028
All shared boards363
CodingLike-for-likeSix of these boards feed the Vibe Coding Index06
Coding benchmarks for GPT-4.1 Mini and GPT-5.4 Mini
BenchmarkGPT-4.1 MiniGPT-5.4 MiniLeader
Aider polyglot32.4%Not measuredOnly GPT-4.1 Mini measured
SWE-bench Verified23.9%Not measuredOnly GPT-4.1 Mini measured
LMArena WebDevNot measured1397Only GPT-5.4 Mini measured
AA Coding Index20.256.1GPT-5.4 Mini
LiveCodeBench (Vals AI)58.2%81.5%GPT-5.4 Mini
SWE-bench Verified (Vals AI)Not measured73.0%Only GPT-5.4 Mini measured
Terminal-Bench 4 (Vals AI)Not measured2.5%Only GPT-5.4 Mini measured
Vibe Code Bench (Vals AI)Not measured48.0%Only GPT-5.4 Mini measured
Code migration (Vals AI)Not measured12.9%Only GPT-5.4 Mini measured
ProgramBench (Vals AI)Not measured0.0%Only GPT-5.4 Mini measured
Terminal-Bench 2.1 (Vals AI)Not measured54.7%Only GPT-5.4 Mini measured
LiveCodeBench (Artificial Analysis run)48.3%Not measuredOnly GPT-4.1 Mini measured
SciCodeNot measured52.1%Only GPT-5.4 Mini measured
Terminal-Bench Hard (Artificial Analysis run)7.6%52.3%GPT-5.4 Mini
FrontierCodeNot measured27.0%Only GPT-5.4 Mini measured
WeirdML37.6%60.3%GPT-5.4 Mini
ALE-BenchNot measured1188.6Only GPT-5.4 Mini measured
LMArena Text: coding13671438GPT-5.4 Mini
LMArena Text: software and IT13601436GPT-5.4 Mini
LMArena WebDev: ReactNot measured1386Only GPT-5.4 Mini measured
LMArena WebDev: HTMLNot measured1419Only GPT-5.4 Mini measured
Neither model has a result on the other 18 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 Mini
BenchmarkGPT-4.1 MiniGPT-5.4 MiniLeader
AA Intelligence Index10.224.1GPT-5.4 Mini
Epoch Capabilities Index134.9148.7GPT-5.4 Mini
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 Mini
BenchmarkGPT-4.1 MiniGPT-5.4 MiniLeader
AA Agentic IndexNot measured17.9Only GPT-5.4 Mini measured
Finance Agent (Vals AI)Not measured45.4%Only GPT-5.4 Mini measured
Tax Agent Bench (Vals AI)Not measured8.8%Only GPT-5.4 Mini measured
Legal Research Bench (Vals AI)Not measured12.5%Only GPT-5.4 Mini measured
Excel Modeling Benchmark (Vals AI)Not measured45.4%Only GPT-5.4 Mini measured
τ²-Bench Telecom52.9%83.3%GPT-5.4 Mini
DeepResearch BenchNot measured36.3%Only GPT-5.4 Mini measured
Berkeley Function Calling Leaderboard (BFCL)50.4%Not measuredOnly GPT-4.1 Mini measured
Neither model has a result on the other 33 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 Mini
BenchmarkGPT-4.1 MiniGPT-5.4 MiniLeader
GPQA Diamond67.9%83.1%GPT-5.4 Mini
MMMU Pro (Vals AI)70.5%79.3%GPT-5.4 Mini
GPQA Diamond (Artificial Analysis run)66.4%87.5%GPT-5.4 Mini
Humanity's Last Exam (Artificial Analysis run)5.0%28.1%GPT-5.4 Mini
GPQA Diamond (Epoch AI run)65.8%86.9%GPT-5.4 Mini
ARC-AGI3.5%63.7%GPT-5.4 Mini
ARC-AGI-20.0%18.9%GPT-5.4 Mini
Chess puzzles1.0%23.0%GPT-5.4 Mini
Mystery game puzzles7.0%11.0%GPT-5.4 Mini
LMArena Text: hard prompts13491424GPT-5.4 Mini
LMArena Text: expert13381435GPT-5.4 Mini
LMArena Text: hard prompts in English13621420GPT-5.4 Mini
LMArena Vision: diagrams11821266GPT-5.4 Mini
LMArena Vision: homework12141285GPT-5.4 Mini
Kagi LLM Benchmark48.6%37.9%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 Mini
BenchmarkGPT-4.1 MiniGPT-5.4 MiniLeader
AIME49.4%95.6%GPT-5.4 Mini
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%88.9%GPT-5.4 Mini
FrontierMath, tiers 1 to 36.7%51.2%GPT-5.4 Mini
FrontierMath, tier 4Not measured9.8%Only GPT-5.4 Mini measured
ProofBenchNot measured21.0%Only GPT-5.4 Mini measured
MATH level 587.3%Not measuredOnly GPT-4.1 Mini measured
LMArena Text: math13431418GPT-5.4 Mini
LMArena Text: mathematical work13471429GPT-5.4 Mini
Neither model has a result on the other 1 board here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index27
Knowledge benchmarks for GPT-4.1 Mini and GPT-5.4 Mini
BenchmarkGPT-4.1 MiniGPT-5.4 MiniLeader
MMLU Pro77.2%84.5%GPT-5.4 Mini
LegalBench (Vals AI)78.0%Not measuredOnly GPT-4.1 Mini measured
CaseLaw (Vals AI)Not measured51.7%Only GPT-5.4 Mini measured
CorpFin (Vals AI)57.9%60.9%GPT-5.4 Mini
TaxEval (Vals AI)71.9%71.2%GPT-4.1 Mini
MortgageTax (Vals AI)65.5%63.5%GPT-4.1 Mini
MedQA (Vals AI)84.6%Not measuredOnly GPT-4.1 Mini measured
MMLU Pro (Artificial Analysis run)78.1%Not measuredOnly GPT-4.1 Mini measured
SimpleQA Verified12.7%29.4%GPT-5.4 Mini
LMArena Text: science13281417GPT-5.4 Mini
LMArena Text: medicine and healthcare13241395GPT-5.4 Mini
LMArena Text: legal and government13431414GPT-5.4 Mini
LMArena Text: business and finance13221418GPT-5.4 Mini
Neither model has a result on the other 5 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 Mini
BenchmarkGPT-4.1 MiniGPT-5.4 MiniLeader
Design Arena: websites997Not measuredOnly GPT-4.1 Mini measured
Design Arena: UI components961Not measuredOnly GPT-4.1 Mini measured
Design Arena: game dev1071Not measuredOnly GPT-4.1 Mini measured
Design Arena: data viz1034Not measuredOnly GPT-4.1 Mini measured
Design Arena: 3D837Not measuredOnly GPT-4.1 Mini measured
Design Arena: all code categories994Not 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 index028
General benchmarks for GPT-4.1 Mini and GPT-5.4 Mini
BenchmarkGPT-4.1 MiniGPT-5.4 MiniLeader
SAGE (Vals AI)Not measured50.8%Only GPT-5.4 Mini measured
Vals Multimodal IndexNot measured54.2%Only GPT-5.4 Mini measured
IFBench38.3%73.3%GPT-5.4 Mini
Long context reasoning (AA-LCR)44.0%77.0%GPT-5.4 Mini
DTBench68.8%80.0%GPT-5.4 Mini
LMCA21.1%40.8%GPT-5.4 Mini
Fiction.LiveBench44.4%Not measuredOnly GPT-4.1 Mini measured
LMArena Text13411412GPT-5.4 Mini
LMArena Text: instruction following13331405GPT-5.4 Mini
LMArena Text: creative writing12991370GPT-5.4 Mini
LMArena Vision11811245GPT-5.4 Mini
LMArena Text: English13561412GPT-5.4 Mini
LMArena Text: non-English13181405GPT-5.4 Mini
LMArena Text: Chinese13291446GPT-5.4 Mini
LMArena Text: German13501408GPT-5.4 Mini
LMArena Text: Japanese12901375GPT-5.4 Mini
LMArena Text: Korean12981370GPT-5.4 Mini
LMArena Text: French13581441GPT-5.4 Mini
LMArena Text: Spanish13191405GPT-5.4 Mini
LMArena Text: Russian13241417GPT-5.4 Mini
LMArena Text: Polish13261415GPT-5.4 Mini
LMArena Text: multi-turn13541429GPT-5.4 Mini
LMArena Text: longer queries13441408GPT-5.4 Mini
LMArena Text: writing and language13191393GPT-5.4 Mini
LMArena Text: entertainment and media13001373GPT-5.4 Mini
LMArena Vision: English11911244GPT-5.4 Mini
LMArena Vision: Chinese11861286GPT-5.4 Mini
LMArena Vision: reading text11881253GPT-5.4 Mini
LMArena Vision: humor11821235GPT-5.4 Mini
LMArena Vision: captioning1174Not measuredOnly GPT-4.1 Mini measured
LMArena Vision: recognizing things11871218GPT-5.4 Mini
LMArena Vision: creative writing11821222GPT-5.4 Mini
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
Image generation benchmarks for GPT-4.1 Mini and GPT-5.4 Mini
BenchmarkGPT-4.1 MiniGPT-5.4 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-4.1 Mini$0.0012Fits in one request
GPT-5.4 Mini$0.0030Fits in one request

GPT-4.1 Mini costs less

Repository review

50K input + 3K output tokens

GPT-4.1 Mini$0.025Fits in one request
GPT-5.4 Mini$0.051Fits in one request

GPT-4.1 Mini costs less

Agent loop

200K input + 10K output tokens

GPT-4.1 Mini$0.096Fits in one request
GPT-5.4 Mini$0.195Fits in one request

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

Questions

Is GPT-4.1 Mini better than GPT-5.4 Mini for coding?

Only GPT-5.4 Mini has a coding score, 35.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 output tokens 2.8x cheaper ($1.60 vs $4.50 per million) and a larger context window (1.05M against 400K tokens).

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

GPT-4.1 Mini costs $0.40 per million input tokens and $1.60 per million output tokens; GPT-5.4 Mini costs $0.75 and $4.50. Per solved SWE-bench Verified task, GPT-4.1 Mini costs $1.818 and GPT-5.4 Mini $0.70.

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

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

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

66 benchmarks have a result for both models as of October 21, 2026. GPT-4.1 Mini's coding index rests on 0 independent benchmarks and GPT-5.4 Mini's on 5. Where only one model has a result, the page says so instead of naming a winner.

Compare next