LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

GPT-4.1 Mini vs GPT-5.4

Updated October 21, 2026. 73 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

GPT-4.1 MiniOpenAI
Coding
28.5
Overall
10.2
Output $/M
$1.60
0
GPT-5.4OpenAI
Coding
37.7
Overall
39.0
Output $/M
$15.00
73
vs boards won of 73 shared

Decision reading

Pick GPT-5.4 for coding: it scores 37.7 on the Vibe Coding Index against 28.5 for GPT-4.1 Mini, though on 1 benchmark against 2.

Pick GPT-4.1 Mini when output tokens cost 9.4x less.

Shared results
73
GPT-4.1 Mini only
11
GPT-5.4 only
36
Like-for-like categories
8 of 9

Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.

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 28.5 from 2 benchmarks, GPT-5.4 37.7 from 1 benchmark.
Widest category
Math, 44.3 points apart on average over 5 shared benchmarks.
Widest single gap
ARC-AGI: GPT-4.1 Mini 3.5% against GPT-5.4 93.7%, 90.2 points apart on a 0 to 100 scale.
Output price
GPT-4.1 Mini $1.60 against GPT-5.4 $15.00 per million output tokens, 9.4x apart.
Context window
GPT-4.1 Mini takes 1.05M tokens, GPT-5.4 1.05M.

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.4Ties
Coding06
Intelligence02
Agentic work01
Reasoning014
Math05
Knowledge011
Web design06
General028
All shared boards073
CodingLike-for-likeFour of these boards feed the Vibe Coding Index06
Coding benchmarks for GPT-4.1 Mini and GPT-5.4
BenchmarkGPT-4.1 MiniGPT-5.4Leader
Aider polyglot32.4%Not measuredOnly GPT-4.1 Mini measured
SWE-bench Verified23.9%Not measuredOnly GPT-4.1 Mini measured
LMArena WebDevNot measured1464Only GPT-5.4 measured
AA Coding Index20.271.1GPT-5.4
LiveCodeBench (Vals AI)58.2%84.1%GPT-5.4
SWE-bench Verified (Vals AI)Not measured78.2%Only GPT-5.4 measured
Vibe Code Bench (Vals AI)Not measured67.4%Only GPT-5.4 measured
Code migration (Vals AI)Not measured35.0%Only GPT-5.4 measured
ProgramBench (Vals AI)Not measured0.5%Only GPT-5.4 measured
SkillsBench (Vals AI)Not measured51.7%Only GPT-5.4 measured
LiveCodeBench (Artificial Analysis run)48.3%Not measuredOnly GPT-4.1 Mini measured
Terminal-Bench Hard (Artificial Analysis run)7.6%57.6%GPT-5.4
Terminal-BenchNot measured81.8%Only GPT-5.4 measured
GSO-BenchNot measured31.4%Only GPT-5.4 measured
WeirdML37.6%77.7%GPT-5.4
MirrorCodeNot measured15.6%Only GPT-5.4 measured
ALE-BenchNot measured1607.0Only GPT-5.4 measured
LMArena Text: coding13671496GPT-5.4
LMArena Text: software and IT13601491GPT-5.4
LMArena WebDev: ReactNot measured1454Only GPT-5.4 measured
LMArena WebDev: HTMLNot measured1478Only GPT-5.4 measured
LMArena WebDev: from an imageNot measured1436Only GPT-5.4 measured
Neither model has a result on the other 16 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
BenchmarkGPT-4.1 MiniGPT-5.4Leader
AA Intelligence Index10.239.0GPT-5.4
Epoch Capabilities Index134.9157.3GPT-5.4
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
BenchmarkGPT-4.1 MiniGPT-5.4Leader
Design Arena: agents building web appsNot measured1059Only GPT-5.4 measured
Design Arena: agents building full-stack appsNot measured1017Only GPT-5.4 measured
Design Arena: agents building mobile appsNot measured1087Only GPT-5.4 measured
Design Arena: agents building Android appsNot measured1037Only GPT-5.4 measured
Design Arena: agents building Godot gamesNot measured1135Only GPT-5.4 measured
τ²-Bench Telecom52.9%87.1%GPT-5.4
APEX-AgentsNot measured52.4%Only GPT-5.4 measured
METR time horizonsNot measured74.3%Only GPT-5.4 measured
DeepResearch BenchNot measured35.1%Only GPT-5.4 measured
PostTrainBenchNot measured19.0%Only GPT-5.4 measured
Vending-Bench 2Not measured$6,144Only GPT-5.4 measured
Neither model has a result on the other 28 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index014
Reasoning benchmarks for GPT-4.1 Mini and GPT-5.4
BenchmarkGPT-4.1 MiniGPT-5.4Leader
GPQA Diamond67.9%91.7%GPT-5.4
MMMU Pro (Vals AI)70.5%87.5%GPT-5.4
GPQA Diamond (Artificial Analysis run)66.4%92.0%GPT-5.4
Humanity's Last Exam (Artificial Analysis run)5.0%43.7%GPT-5.4
GPQA Diamond (Epoch AI run)65.8%93.3%GPT-5.4
ARC-AGI3.5%93.7%GPT-5.4
ARC-AGI-20.0%74.0%GPT-5.4
Chess puzzles1.0%48.0%GPT-5.4
Mystery game puzzles7.0%37.0%GPT-5.4
EBR-benchNot measured25.4%Only GPT-5.4 measured
LMArena Text: hard prompts13491485GPT-5.4
LMArena Text: expert13381507GPT-5.4
LMArena Text: hard prompts in English13621479GPT-5.4
LMArena Vision: diagrams11821327GPT-5.4
LMArena Vision: homework12141336GPT-5.4
Neither model has a result on the other 6 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
BenchmarkGPT-4.1 MiniGPT-5.4Leader
AIME49.4%96.7%GPT-5.4
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%97.8%GPT-5.4
FrontierMath, tiers 1 to 36.7%78.6%GPT-5.4
FrontierMath, tier 4Not measured49.0%Only GPT-5.4 measured
ProofBenchNot measured56.0%Only GPT-5.4 measured
MATH level 587.3%Not measuredOnly GPT-4.1 Mini measured
LMArena Text: math13431488GPT-5.4
LMArena Text: mathematical work13471497GPT-5.4
Neither model has a result on the other 1 board here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index011
Knowledge benchmarks for GPT-4.1 Mini and GPT-5.4
BenchmarkGPT-4.1 MiniGPT-5.4Leader
MMLU Pro77.2%87.5%GPT-5.4
LegalBench (Vals AI)78.0%86.0%GPT-5.4
CaseLaw (Vals AI)Not measured63.8%Only GPT-5.4 measured
CorpFin (Vals AI)57.9%65.3%GPT-5.4
TaxEval (Vals AI)71.9%74.0%GPT-5.4
MortgageTax (Vals AI)65.5%68.3%GPT-5.4
MedQA (Vals AI)84.6%96.1%GPT-5.4
MedCode (Vals AI)Not measured41.3%Only GPT-5.4 measured
MMLU Pro (Artificial Analysis run)78.1%Not measuredOnly GPT-4.1 Mini measured
SimpleQA Verified12.7%45.1%GPT-5.4
LMArena Text: science13281479GPT-5.4
LMArena Text: medicine and healthcare13241458GPT-5.4
LMArena Text: legal and government13431486GPT-5.4
LMArena Text: business and finance13221474GPT-5.4
Neither model has a result on the other 3 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index06
Web design benchmarks for GPT-4.1 Mini and GPT-5.4
BenchmarkGPT-4.1 MiniGPT-5.4Leader
Design Arena: websites9971199GPT-5.4
Design Arena: UI components9611215GPT-5.4
Design Arena: game dev10711195GPT-5.4
Design Arena: data viz10341196GPT-5.4
Design Arena: 3D8371065GPT-5.4
Design Arena: all code categories9941180GPT-5.4
Design Arena: SVGNot measured1141Only GPT-5.4 measured
Design Arena: ASCII artNot measured1188Only GPT-5.4 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index028
General benchmarks for GPT-4.1 Mini and GPT-5.4
BenchmarkGPT-4.1 MiniGPT-5.4Leader
SAGE (Vals AI)Not measured43.3%Only GPT-5.4 measured
MedScribe (Vals AI)Not measured77.5%Only GPT-5.4 measured
IFBench38.3%73.9%GPT-5.4
Long context reasoning (AA-LCR)44.0%82.0%GPT-5.4
DTBench68.8%94.4%GPT-5.4
LMCA21.1%52.0%GPT-5.4
Fiction.LiveBench44.4%Not measuredOnly GPT-4.1 Mini measured
CL-benchNot measured27.9%Only GPT-5.4 measured
Furniture assemblyNot measured37.5%Only GPT-5.4 measured
CL-bench LifeNot measured21.7%Only GPT-5.4 measured
LMArena Text13411469GPT-5.4
LMArena Text: instruction following13331469GPT-5.4
LMArena Text: creative writing12991439GPT-5.4
LMArena Vision11811303GPT-5.4
LMArena Text: English13561467GPT-5.4
LMArena Text: non-English13181465GPT-5.4
LMArena Text: Chinese13291520GPT-5.4
LMArena Text: German13501472GPT-5.4
LMArena Text: Japanese12901485GPT-5.4
LMArena Text: Korean12981449GPT-5.4
LMArena Text: French13581493GPT-5.4
LMArena Text: Spanish13191452GPT-5.4
LMArena Text: Russian13241480GPT-5.4
LMArena Text: Polish13261472GPT-5.4
LMArena Text: multi-turn13541482GPT-5.4
LMArena Text: longer queries13441473GPT-5.4
LMArena Text: writing and language13191458GPT-5.4
LMArena Text: entertainment and media13001438GPT-5.4
LMArena Vision: English11911301GPT-5.4
LMArena Vision: Chinese11861354GPT-5.4
LMArena Vision: reading text11881312GPT-5.4
LMArena Vision: humor11821284GPT-5.4
LMArena Vision: captioning1174Not measuredOnly GPT-4.1 Mini measured
LMArena Vision: recognizing things11871251GPT-5.4
LMArena Vision: creative writing11821283GPT-5.4
LMArena DocumentNot measured1471Only GPT-5.4 measured
Neither model has a result on the other 10 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
BenchmarkGPT-4.1 MiniGPT-5.4Leader
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$0.010Fits 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$0.170Fits 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$0.650Fits 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
SpecificationOpenAI GPT-4.1 MiniOpenAI GPT-5.4
MakerOpenAIOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedApril 14, 2025March 5, 2026
Context window1.05M1.05M
Input $/Mtok$0.40$2.50
Output $/Mtok$1.60$15.00
Coding index28.537.7
Independent measurements behind it21
Cost per solved task$1.818$1.02
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick GPT-5.4 for coding: it scores 37.7 on the Vibe Coding Index against 28.5 for GPT-4.1 Mini, though on 1 benchmark against 2. Pick GPT-4.1 Mini when output tokens cost 9.4x less.

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

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

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

GPT-5.4, with 1.05M tokens against 1.05M.

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

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

Compare next