LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

GPT-4.1 Mini vs GPT-5

Updated October 21, 2026. 84 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
1
GPT-5OpenAI
Coding
72.2
Overall
23.0
Output $/M
$10.00
83
vs boards won of 84 shared

Decision reading

Pick GPT-5 for coding: it scores 72.2 on the Vibe Coding Index against 28.5 for GPT-4.1 Mini.

Pick GPT-4.1 Mini when output tokens cost 6.3x less, or when the context window is larger, 1.05M against 400K tokens.

Shared results
84
GPT-4.1 Mini only
0
GPT-5 only
25
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 72.2 from 3 benchmarks.
Widest category
Agentic work, 33.6 points apart on average over 1 shared benchmark.
Widest single gap
ARC-AGI: GPT-4.1 Mini 3.5% against GPT-5 65.7%, 62.2 points apart on a 0 to 100 scale.
Output price
GPT-4.1 Mini $1.60 against GPT-5 $10.00 per million output tokens, 6.3x apart.
Context window
GPT-4.1 Mini takes 1.05M tokens, GPT-5 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-5Ties
Coding09
Intelligence02
Agentic work01
Reasoning014
Math010
Knowledge111
Web design06
General030
All shared boards183
CodingLike-for-likeFour of these boards feed the Vibe Coding Index09
Coding benchmarks for GPT-4.1 Mini and GPT-5
BenchmarkGPT-4.1 MiniGPT-5Leader
Aider polyglot32.4%88.0%GPT-5
SWE-bench Verified23.9%74.4%GPT-5
LMArena WebDevNot measured1418Only GPT-5 measured
AA Coding Index20.237.8GPT-5
LiveCodeBench (Vals AI)58.2%85.9%GPT-5
SWE-bench Verified (Vals AI)Not measured69.0%Only GPT-5 measured
Vibe Code Bench (Vals AI)Not measured20.1%Only GPT-5 measured
LiveCodeBench (Artificial Analysis run)48.3%84.6%GPT-5
Terminal-Bench Hard (Artificial Analysis run)7.6%37.9%GPT-5
Terminal-BenchNot measured49.6%Only GPT-5 measured
GSO-BenchNot measured6.9%Only GPT-5 measured
WeirdML37.6%60.7%GPT-5
ALE-BenchNot measured807.6Only GPT-5 measured
LMArena Text: coding13671436GPT-5
LMArena Text: software and IT13601420GPT-5
LMArena WebDev: HTMLNot measured1427Only GPT-5 measured
Neither model has a result on the other 22 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GPT-4.1 Mini and GPT-5
BenchmarkGPT-4.1 MiniGPT-5Leader
AA Intelligence Index10.223.0GPT-5
Epoch Capabilities Index134.9150.0GPT-5
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for GPT-4.1 Mini and GPT-5
BenchmarkGPT-4.1 MiniGPT-5Leader
τ²-Bench Telecom52.9%86.5%GPT-5
METR time horizonsNot measured69.6%Only GPT-5 measured
Remote Labor IndexNot measured1.7%Only GPT-5 measured
GDPvalNot measured34.8%Only GPT-5 measured
BALROGNot measured32.8%Only GPT-5 measured
DeepResearch BenchNot measured49.6%Only GPT-5 measured
Neither model has a result on the other 33 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index014
Reasoning benchmarks for GPT-4.1 Mini and GPT-5
BenchmarkGPT-4.1 MiniGPT-5Leader
GPQA Diamond67.9%85.6%GPT-5
MMMU Pro (Vals AI)70.5%81.5%GPT-5
GPQA Diamond (Artificial Analysis run)66.4%85.4%GPT-5
Humanity's Last Exam (Artificial Analysis run)5.0%28.5%GPT-5
GPQA Diamond (Epoch AI run)65.8%86.2%GPT-5
ARC-AGI3.5%65.7%GPT-5
ARC-AGI-20.0%9.9%GPT-5
SimpleBenchNot measured56.7%Only GPT-5 measured
Chess puzzles1.0%36.0%GPT-5
Mystery game puzzles7.0%23.0%GPT-5
EBR-benchNot measured12.7%Only GPT-5 measured
VPCTNot measured66.0%Only GPT-5 measured
LMArena Text: hard prompts13491415GPT-5
LMArena Text: expert13381419GPT-5
LMArena Text: hard prompts in English13621419GPT-5
LMArena Vision: diagrams11821252GPT-5
LMArena Vision: homework12141278GPT-5
Neither model has a result on the other 4 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index010
Math benchmarks for GPT-4.1 Mini and GPT-5
BenchmarkGPT-4.1 MiniGPT-5Leader
AIME49.4%93.4%GPT-5
MATH 500 (Vals AI)88.0%96.0%GPT-5
MGSM (Vals AI)87.8%92.8%GPT-5
AA Math Index46.394.3GPT-5
AIME 2025 (Artificial Analysis run)46.3%94.3%GPT-5
OTIS Mock AIME44.7%91.4%GPT-5
FrontierMath, tiers 1 to 36.7%55.4%GPT-5
FrontierMath, tier 4Not measured22.0%Only GPT-5 measured
ProofBenchNot measured18.0%Only GPT-5 measured
MATH level 587.3%98.1%GPT-5
LMArena Text: math13431407GPT-5
LMArena Text: mathematical work13471405GPT-5
Neither model has a result on the other 1 board here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index111
Knowledge benchmarks for GPT-4.1 Mini and GPT-5
BenchmarkGPT-4.1 MiniGPT-5Leader
MMLU Pro77.2%86.5%GPT-5
LegalBench (Vals AI)78.0%86.0%GPT-5
CaseLaw (Vals AI)Not measured66.5%Only GPT-5 measured
CorpFin (Vals AI)57.9%61.1%GPT-5
TaxEval (Vals AI)71.9%73.4%GPT-5
MortgageTax (Vals AI)65.5%65.5%GPT-4.1 Mini
MedQA (Vals AI)84.6%96.3%GPT-5
MedCode (Vals AI)Not measured49.6%Only GPT-5 measured
MMLU Pro (Artificial Analysis run)78.1%87.1%GPT-5
SimpleQA Verified12.7%50.1%GPT-5
GeoBenchNot measured81.0%Only GPT-5 measured
LMArena Text: science13281416GPT-5
LMArena Text: medicine and healthcare13241413GPT-5
LMArena Text: legal and government13431431GPT-5
LMArena Text: business and finance13221400GPT-5
Neither model has a result on the other 2 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
BenchmarkGPT-4.1 MiniGPT-5Leader
Design Arena: websites9971185GPT-5
Design Arena: UI components9611179GPT-5
Design Arena: game dev10711185GPT-5
Design Arena: data viz10341221GPT-5
Design Arena: 3D8371056GPT-5
Design Arena: all code categories9941168GPT-5
Design Arena: SVGNot measured1188Only GPT-5 measured
Design Arena: ASCII artNot measured1140Only GPT-5 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index030
General benchmarks for GPT-4.1 Mini and GPT-5
BenchmarkGPT-4.1 MiniGPT-5Leader
SAGE (Vals AI)Not measured43.7%Only GPT-5 measured
MedScribe (Vals AI)Not measured83.7%Only GPT-5 measured
IFBench38.3%73.1%GPT-5
Long context reasoning (AA-LCR)44.0%78.2%GPT-5
DTBench68.8%90.7%GPT-5
LMCA21.1%40.0%GPT-5
Fiction.LiveBench44.4%97.2%GPT-5
Creative writing (Lech Mazur)Not measured86.0%Only GPT-5 measured
LMArena Text13411406GPT-5
LMArena Text: instruction following13331388GPT-5
LMArena Text: creative writing12991365GPT-5
LMArena Vision11811232GPT-5
LMArena Text: English13561409GPT-5
LMArena Text: non-English13181397GPT-5
LMArena Text: Chinese13291422GPT-5
LMArena Text: German13501416GPT-5
LMArena Text: Japanese12901409GPT-5
LMArena Text: Korean12981360GPT-5
LMArena Text: French13581409GPT-5
LMArena Text: Spanish13191399GPT-5
LMArena Text: Russian13241407GPT-5
LMArena Text: Polish13261431GPT-5
LMArena Text: multi-turn13541426GPT-5
LMArena Text: longer queries13441399GPT-5
LMArena Text: writing and language13191384GPT-5
LMArena Text: entertainment and media13001379GPT-5
LMArena Vision: English11911231GPT-5
LMArena Vision: Chinese11861267GPT-5
LMArena Vision: reading text11881246GPT-5
LMArena Vision: humor11821219GPT-5
LMArena Vision: captioning11741212GPT-5
LMArena Vision: recognizing things11871263GPT-5
LMArena Vision: creative writing11821210GPT-5
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
BenchmarkGPT-4.1 MiniGPT-5Leader
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$0.0063Fits 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$0.092Fits 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$0.350Fits 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
SpecificationOpenAI GPT-4.1 MiniOpenAI GPT-5
MakerOpenAIOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedApril 14, 2025August 7, 2025
Context window1.05M400K
Input $/Mtok$0.40$1.25
Output $/Mtok$1.60$10.00
Coding index28.572.2
Independent measurements behind it23
Cost per solved task$1.818$0.39
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick GPT-5 for coding: it scores 72.2 on the Vibe Coding Index against 28.5 for GPT-4.1 Mini. Pick GPT-4.1 Mini when output tokens cost 6.3x less, or when the context window is larger, 1.05M against 400K tokens.

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

GPT-4.1 Mini costs $0.40 per million input tokens and $1.60 per million output tokens; GPT-5 costs $1.25 and $10.00. Per solved SWE-bench Verified task, GPT-4.1 Mini costs $1.818 and GPT-5 $0.39.

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

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

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

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

Compare next

Embed this comparison on your site

Free under CC BY 4.0, while the source link stays visible. Preview the frame · Terms and other embeds

<iframe src="https://llmbenchmark.ai/embed/compare/gpt-4-1-mini-vs-gpt-5" title="GPT-4.1 Mini vs GPT-5, LLMBenchmark.ai" width="100%" height="360" style="border:0;max-width:100%" loading="lazy"></iframe>
<p style="font:13px/1.4 sans-serif;margin:6px 0 0">Source: <a href="https://llmbenchmark.ai/compare/gpt-4-1-mini-vs-gpt-5">LLMBenchmark.ai, GPT-4.1 Mini vs GPT-5</a></p>