Enter opens the highlighted result. Esc closes.

GPT-4.1 vs o4 Mini

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

GPT-4.1OpenAI
Coding
46.5
Overall
12.7
Output $/M
$8.00
46
o4 MiniOpenAI
Coding
68.6
Overall
16.7
Output $/M
$4.40
39
vs boards won of 85 shared

Decision reading

Pick o4 Mini for coding: it scores 68.6 on the Vibe Coding Index against 46.5 for GPT-4.1.

Pick GPT-4.1 when the context window is larger, 1.05M against 200K tokens, or when what matters is LMArena Text: coding or LMArena Text: software and IT, where it leads.

Shared results
85
GPT-4.1 only
2
o4 Mini only
9
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 46.5 from 2 benchmarks, o4 Mini 68.6 from 2 benchmarks.
Widest category
Math, 26.4 points apart on average over 10 shared benchmarks.
Widest single gap
AA Math Index: GPT-4.1 34.7 against o4 Mini 90.7, 56.0 points apart on a 0 to 100 scale.
Output price
GPT-4.1 $8.00 against o4 Mini $4.40 per million output tokens, 1.8x apart.
Context window
GPT-4.1 takes 1.05M 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-4.1Barso4 MiniTies
Coding27
Intelligence02
Agentic work01
Reasoning59
Math010
Knowledge103
Web design51
General246
All shared boards4639
CodingLike-for-likeFour of these boards feed the Vibe Coding Index27
Coding benchmarks for GPT-4.1 and o4 Mini
BenchmarkGPT-4.1o4 MiniLeader
Aider polyglot52.4%72.0%o4 Mini
SWE-bench Verified39.6%64.6%o4 Mini
SWE-bench Multimodal31.1%33.9%o4 Mini
LiveCodeBench (Vals AI)54.7%82.2%o4 Mini
LiveCodeBench (Artificial Analysis run)45.7%85.9%o4 Mini
Terminal-Bench Hard (Artificial Analysis run)13.6%15.2%o4 Mini
GSO-BenchNot measured3.6%Only o4 Mini measured
WeirdML39.0%52.6%o4 Mini
ALE-Bench558.1Not measuredOnly GPT-4.1 measured
LMArena Text: coding13901368GPT-4.1
LMArena Text: software and IT13911367GPT-4.1
Neither model has a result on the other 27 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GPT-4.1 and o4 Mini
BenchmarkGPT-4.1o4 MiniLeader
AA Intelligence Index12.716.7o4 Mini
Epoch Capabilities Index136.7145.5o4 Mini
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for GPT-4.1 and o4 Mini
BenchmarkGPT-4.1o4 MiniLeader
τ²-Bench Telecom47.1%55.6%o4 Mini
METR time horizonsNot measured63.9%Only o4 Mini measured
Neither model has a result on the other 37 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index59
Reasoning benchmarks for GPT-4.1 and o4 Mini
BenchmarkGPT-4.1o4 MiniLeader
GPQA Diamond65.4%74.5%o4 Mini
MMMU Pro (Vals AI)72.4%79.7%o4 Mini
GPQA Diamond (Artificial Analysis run)66.6%78.4%o4 Mini
Humanity's Last Exam (Artificial Analysis run)4.2%16.5%o4 Mini
GPQA Diamond (Epoch AI run)66.9%79.6%o4 Mini
ARC-AGI5.5%58.7%o4 Mini
ARC-AGI-20.4%6.1%o4 Mini
SimpleBench27.0%38.7%o4 Mini
Chess puzzles3.0%22.0%o4 Mini
Mystery game puzzlesNot measured5.0%Only o4 Mini measured
VPCTNot measured57.5%Only o4 Mini measured
LMArena Text: hard prompts13841351GPT-4.1
LMArena Text: expert13641343GPT-4.1
LMArena Text: hard prompts in English13931366GPT-4.1
LMArena Vision: diagrams12151197GPT-4.1
LMArena Vision: homework12481234GPT-4.1
Neither model has a result on the other 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index010
Math benchmarks for GPT-4.1 and o4 Mini
BenchmarkGPT-4.1o4 MiniLeader
AIME39.6%83.7%o4 Mini
MATH 500 (Vals AI)87.2%94.2%o4 Mini
MGSM (Vals AI)87.7%93.4%o4 Mini
AA Math Index34.790.7o4 Mini
AIME 2025 (Artificial Analysis run)34.7%90.7%o4 Mini
OTIS Mock AIME38.3%81.7%o4 Mini
FrontierMath, tiers 1 to 36.0%36.1%o4 Mini
FrontierMath, tier 4Not measured4.9%Only o4 Mini measured
MATH level 583.0%97.8%o4 Mini
LMArena Text: math13691389o4 Mini
LMArena Text: mathematical work13601379o4 Mini
Neither model has a result on the other 2 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index103
Knowledge benchmarks for GPT-4.1 and o4 Mini
BenchmarkGPT-4.1o4 MiniLeader
MMLU Pro80.5%80.6%o4 Mini
LegalBench (Vals AI)83.1%79.2%GPT-4.1
CaseLaw (Vals AI)69.9%Not measuredOnly GPT-4.1 measured
CorpFin (Vals AI)63.0%59.0%GPT-4.1
TaxEval (Vals AI)75.1%74.8%GPT-4.1
MortgageTax (Vals AI)65.9%64.8%GPT-4.1
MedQA (Vals AI)91.2%96.0%o4 Mini
MedCode (Vals AI)Not measured33.8%Only o4 Mini measured
MMLU Pro (Artificial Analysis run)80.6%83.2%o4 Mini
SimpleQA Verified31.1%19.6%GPT-4.1
GeoBench72.0%64.0%GPT-4.1
LMArena Text: science13821354GPT-4.1
LMArena Text: medicine and healthcare13791361GPT-4.1
LMArena Text: legal and government13991350GPT-4.1
LMArena Text: business and finance13691325GPT-4.1
Neither model has a result on the other 2 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index51
Web design benchmarks for GPT-4.1 and o4 Mini
BenchmarkGPT-4.1o4 MiniLeader
Design Arena: websites1039985GPT-4.1
Design Arena: UI components1000983GPT-4.1
Design Arena: game dev10801004GPT-4.1
Design Arena: data viz1104990GPT-4.1
Design Arena: 3D850854o4 Mini
Design Arena: all code categories1026977GPT-4.1
Neither model has a result on the other 3 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index246
General benchmarks for GPT-4.1 and o4 Mini
BenchmarkGPT-4.1o4 MiniLeader
SAGE (Vals AI)Not measured41.1%Only o4 Mini measured
MedScribe (Vals AI)Not measured69.1%Only o4 Mini measured
IFBench43.0%68.7%o4 Mini
Long context reasoning (AA-LCR)68.3%61.0%GPT-4.1
DTBench68.3%77.6%o4 Mini
LMCA25.6%26.5%o4 Mini
Fiction.LiveBench63.9%77.8%o4 Mini
Creative writing (Lech Mazur)Not measured75.0%Only o4 Mini measured
LMArena Text13831353GPT-4.1
LMArena Text: instruction following13671320GPT-4.1
LMArena Text: creative writing13631294GPT-4.1
LMArena Vision12101194GPT-4.1
LMArena Text: English13921367GPT-4.1
LMArena Text: non-English13701337GPT-4.1
LMArena Text: Chinese13821354GPT-4.1
LMArena Text: German13811336GPT-4.1
LMArena Text: Japanese13191308GPT-4.1
LMArena Text: Korean13381312GPT-4.1
LMArena Text: French13821364GPT-4.1
LMArena Text: Spanish13761346GPT-4.1
LMArena Text: Russian13771334GPT-4.1
LMArena Text: Polish13891358GPT-4.1
LMArena Text: multi-turn13971350GPT-4.1
LMArena Text: longer queries13851315GPT-4.1
LMArena Text: writing and language13711316GPT-4.1
LMArena Text: entertainment and media13651308GPT-4.1
LMArena Vision: English12091200GPT-4.1
LMArena Vision: Chinese12261218GPT-4.1
LMArena Vision: reading text12181197GPT-4.1
LMArena Vision: humor11961199o4 Mini
LMArena Vision: captioning12071204GPT-4.1
LMArena Vision: recognizing things12081218o4 Mini
LMArena Vision: creative writing12101166GPT-4.1
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 and o4 Mini
BenchmarkGPT-4.1o4 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$0.0060Fits in one request
o4 Mini$0.0033Fits in one request

o4 Mini costs less

Repository review

50K input + 3K output tokens

GPT-4.1$0.124Fits in one request
o4 Mini$0.068Fits in one request

o4 Mini costs less

Agent loop

200K input + 10K output tokens

GPT-4.1$0.480Fits in one request
o4 Mini$0.264Exceeds the context window

o4 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 and o4 Mini
SpecificationOpenAI GPT-4.1OpenAI o4 Mini
MakerOpenAIOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedApril 14, 2025April 16, 2025
Context window1.05M200K
Input $/Mtok$2.00$1.10
Output $/Mtok$8.00$4.40
Coding index46.568.6
Independent measurements behind it22
Cost per solved task$0.37Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-4.1 better than o4 Mini for coding?

Pick o4 Mini for coding: it scores 68.6 on the Vibe Coding Index against 46.5 for GPT-4.1. Pick GPT-4.1 when the context window is larger, 1.05M against 200K tokens, or when what matters is LMArena Text: coding or LMArena Text: software and IT, where it leads.

Which is cheaper, GPT-4.1 or o4 Mini?

GPT-4.1 costs $2.00 per million input tokens and $8.00 per million output tokens; o4 Mini costs $1.10 and $4.40. Cost per solved task is known for GPT-4.1 only.

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

GPT-4.1, with 1.05M tokens against 200K.

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

85 benchmarks have a result for both models as of October 21, 2026. GPT-4.1's coding index rests on 2 independent benchmarks and o4 Mini's on 2. 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-vs-o4-mini" title="GPT-4.1 vs o4 Mini, 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-vs-o4-mini">LLMBenchmark.ai, GPT-4.1 vs o4 Mini</a></p>