LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

GPT-4.1 Mini vs Llama 4 Maverick

Updated October 21, 2026. 75 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
63
Llama 4 MaverickMeta Llama
Coding
18.1
Overall
9.3
Output $/M
$0.6525
11
vs boards won of 75 shared, 1 tied

Decision reading

Pick GPT-4.1 Mini for coding: it scores 28.5 on the Vibe Coding Index against 18.1 for Llama 4 Maverick.

Pick Llama 4 Maverick when output tokens cost 2.5x less, or when a solved task costs $1.491 against $1.818.

Shared results
75
GPT-4.1 Mini only
9
Llama 4 Maverick 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 Mini 28.5 from 2 benchmarks, Llama 4 Maverick 18.1 from 2 benchmarks.
Widest category
Agentic work, 35.1 points apart on average over 1 shared benchmark.
Widest single gap
MedQA (Vals AI): GPT-4.1 Mini 84.6% against Llama 4 Maverick 43.3%, 41.3 points apart on a 0 to 100 scale.
Output price
GPT-4.1 Mini $1.60 against Llama 4 Maverick $0.6525 per million output tokens, 2.5x apart.
Context window
GPT-4.1 Mini takes 1.05M tokens, Llama 4 Maverick 524K.

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 MiniBarsLlama 4 MaverickTies
Coding90
Intelligence20
Agentic work10
Reasoning641 tie
Math61
Knowledge92
Web design51
General253
All shared boards63111 tie
CodingLike-for-likeFour of these boards feed the Vibe Coding Index90
Coding benchmarks for GPT-4.1 Mini and Llama 4 Maverick
BenchmarkGPT-4.1 MiniLlama 4 MaverickLeader
Aider polyglot32.4%15.6%GPT-4.1 Mini
SWE-bench Verified23.9%21.0%GPT-4.1 Mini
AA Coding Index20.216.3GPT-4.1 Mini
LiveCodeBench (Vals AI)58.2%47.3%GPT-4.1 Mini
LiveCodeBench (Artificial Analysis run)48.3%39.7%GPT-4.1 Mini
SciCodeNot measured31.7%Only Llama 4 Maverick measured
Terminal-Bench Hard (Artificial Analysis run)7.6%6.8%GPT-4.1 Mini
WeirdML37.6%24.5%GPT-4.1 Mini
ALE-BenchNot measured173.0Only Llama 4 Maverick measured
LMArena Text: coding13671301GPT-4.1 Mini
LMArena Text: software and IT13601299GPT-4.1 Mini
Neither model has a result on the other 27 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for GPT-4.1 Mini and Llama 4 Maverick
BenchmarkGPT-4.1 MiniLlama 4 MaverickLeader
AA Intelligence Index10.29.3GPT-4.1 Mini
Epoch Capabilities Index134.9132.2GPT-4.1 Mini
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for GPT-4.1 Mini and Llama 4 Maverick
BenchmarkGPT-4.1 MiniLlama 4 MaverickLeader
AA Agentic IndexNot measured0.6Only Llama 4 Maverick measured
τ²-Bench Telecom52.9%17.8%GPT-4.1 Mini
Neither model has a result on the other 37 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index64
Reasoning benchmarks for GPT-4.1 Mini and Llama 4 Maverick
BenchmarkGPT-4.1 MiniLlama 4 MaverickLeader
GPQA Diamond67.9%69.4%Llama 4 Maverick
MMMU Pro (Vals AI)70.5%71.7%Llama 4 Maverick
GPQA Diamond (Artificial Analysis run)66.4%67.1%Llama 4 Maverick
Humanity's Last Exam (Artificial Analysis run)5.0%4.9%GPT-4.1 Mini
GPQA Diamond (Epoch AI run)65.8%Not measuredOnly GPT-4.1 Mini measured
ARC-AGI3.5%4.4%Llama 4 Maverick
ARC-AGI-20.0%0.0%Tie
SimpleBenchNot measured27.7%Only Llama 4 Maverick measured
Chess puzzles1.0%Not measuredOnly GPT-4.1 Mini measured
Mystery game puzzles7.0%Not measuredOnly GPT-4.1 Mini measured
LMArena Text: hard prompts13491281GPT-4.1 Mini
LMArena Text: expert13381259GPT-4.1 Mini
LMArena Text: hard prompts in English13621295GPT-4.1 Mini
LMArena Vision: diagrams11821134GPT-4.1 Mini
LMArena Vision: homework12141164GPT-4.1 Mini
Neither model has a result on the other 6 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index61
Math benchmarks for GPT-4.1 Mini and Llama 4 Maverick
BenchmarkGPT-4.1 MiniLlama 4 MaverickLeader
AIME49.4%25.2%GPT-4.1 Mini
MATH 500 (Vals AI)88.0%85.2%GPT-4.1 Mini
MGSM (Vals AI)87.8%92.4%Llama 4 Maverick
AA Math Index46.319.3GPT-4.1 Mini
AIME 2025 (Artificial Analysis run)46.3%19.3%GPT-4.1 Mini
OTIS Mock AIME44.7%Not measuredOnly GPT-4.1 Mini measured
FrontierMath, tiers 1 to 36.7%Not measuredOnly GPT-4.1 Mini measured
MATH level 587.3%Not measuredOnly GPT-4.1 Mini measured
LMArena Text: math13431299GPT-4.1 Mini
LMArena Text: mathematical work13471295GPT-4.1 Mini
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index92
Knowledge benchmarks for GPT-4.1 Mini and Llama 4 Maverick
BenchmarkGPT-4.1 MiniLlama 4 MaverickLeader
MMLU Pro77.2%79.4%Llama 4 Maverick
LegalBench (Vals AI)78.0%77.8%GPT-4.1 Mini
CorpFin (Vals AI)57.9%49.7%GPT-4.1 Mini
TaxEval (Vals AI)71.9%66.6%GPT-4.1 Mini
MortgageTax (Vals AI)65.5%58.5%GPT-4.1 Mini
MedQA (Vals AI)84.6%43.3%GPT-4.1 Mini
MedCode (Vals AI)Not measured36.5%Only Llama 4 Maverick measured
MMLU Pro (Artificial Analysis run)78.1%80.9%Llama 4 Maverick
SimpleQA Verified12.7%Not measuredOnly GPT-4.1 Mini measured
GeoBenchNot measured52.0%Only Llama 4 Maverick measured
LMArena Text: science13281288GPT-4.1 Mini
LMArena Text: medicine and healthcare13241275GPT-4.1 Mini
LMArena Text: legal and government13431286GPT-4.1 Mini
LMArena Text: business and finance13221260GPT-4.1 Mini
Neither model has a result on the other 3 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index51
Web design benchmarks for GPT-4.1 Mini and Llama 4 Maverick
BenchmarkGPT-4.1 MiniLlama 4 MaverickLeader
Design Arena: websites997871GPT-4.1 Mini
Design Arena: UI components961899GPT-4.1 Mini
Design Arena: game dev1071838GPT-4.1 Mini
Design Arena: data viz1034882GPT-4.1 Mini
Design Arena: 3D837901Llama 4 Maverick
Design Arena: all code categories994880GPT-4.1 Mini
Neither model has a result on the other 3 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index253
General benchmarks for GPT-4.1 Mini and Llama 4 Maverick
BenchmarkGPT-4.1 MiniLlama 4 MaverickLeader
SAGE (Vals AI)Not measured35.7%Only Llama 4 Maverick measured
MedScribe (Vals AI)Not measured54.2%Only Llama 4 Maverick measured
IFBench38.3%43.0%Llama 4 Maverick
Long context reasoning (AA-LCR)44.0%50.0%Llama 4 Maverick
DTBench68.8%61.9%GPT-4.1 Mini
LMCA21.1%15.9%GPT-4.1 Mini
Fiction.LiveBench44.4%46.2%Llama 4 Maverick
Creative writing (Lech Mazur)Not measured62.0%Only Llama 4 Maverick measured
LMArena Text13411287GPT-4.1 Mini
LMArena Text: instruction following13331267GPT-4.1 Mini
LMArena Text: creative writing12991266GPT-4.1 Mini
LMArena Vision11811142GPT-4.1 Mini
LMArena Text: English13561303GPT-4.1 Mini
LMArena Text: non-English13181269GPT-4.1 Mini
LMArena Text: Chinese13291277GPT-4.1 Mini
LMArena Text: German13501291GPT-4.1 Mini
LMArena Text: Japanese12901206GPT-4.1 Mini
LMArena Text: Korean12981203GPT-4.1 Mini
LMArena Text: French13581259GPT-4.1 Mini
LMArena Text: Spanish13191293GPT-4.1 Mini
LMArena Text: Russian13241286GPT-4.1 Mini
LMArena Text: Polish13261275GPT-4.1 Mini
LMArena Text: multi-turn13541289GPT-4.1 Mini
LMArena Text: longer queries13441280GPT-4.1 Mini
LMArena Text: writing and language13191277GPT-4.1 Mini
LMArena Text: entertainment and media13001250GPT-4.1 Mini
LMArena Vision: English11911150GPT-4.1 Mini
LMArena Vision: Chinese11861141GPT-4.1 Mini
LMArena Vision: reading text11881143GPT-4.1 Mini
LMArena Vision: humor11821100GPT-4.1 Mini
LMArena Vision: captioning1174Not measuredOnly GPT-4.1 Mini measured
LMArena Vision: recognizing things1187Not measuredOnly GPT-4.1 Mini measured
LMArena Vision: creative writing11821099GPT-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 Llama 4 Maverick
BenchmarkGPT-4.1 MiniLlama 4 MaverickLeader
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
Llama 4 Maverick$0.0005Fits in one request

Llama 4 Maverick costs less

Repository review

50K input + 3K output tokens

GPT-4.1 Mini$0.025Fits in one request
Llama 4 Maverick$0.011Fits in one request

Llama 4 Maverick costs less

Agent loop

200K input + 10K output tokens

GPT-4.1 Mini$0.096Fits in one request
Llama 4 Maverick$0.044Fits in one request

Llama 4 Maverick 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 Llama 4 Maverick
SpecificationOpenAI GPT-4.1 MiniMeta Llama 4 Maverick
MakerOpenAIMeta Llama
WeightsNo public weights listedOpen weights
ReleasedApril 14, 2025April 5, 2025
Context window1.05M524K
Input $/Mtok$0.40$0.1875
Output $/Mtok$1.60$0.6525
Coding index28.518.1
Independent measurements behind it22
Cost per solved task$1.818$1.491
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-4.1 Mini better than Llama 4 Maverick for coding?

Pick GPT-4.1 Mini for coding: it scores 28.5 on the Vibe Coding Index against 18.1 for Llama 4 Maverick. Pick Llama 4 Maverick when output tokens cost 2.5x less, or when a solved task costs $1.491 against $1.818.

Which is cheaper, GPT-4.1 Mini or Llama 4 Maverick?

GPT-4.1 Mini costs $0.40 per million input tokens and $1.60 per million output tokens; Llama 4 Maverick costs $0.1875 and $0.6525. Per solved SWE-bench Verified task, GPT-4.1 Mini costs $1.818 and Llama 4 Maverick $1.491.

Which has the bigger context window, GPT-4.1 Mini or Llama 4 Maverick?

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

How many benchmarks is the GPT-4.1 Mini vs Llama 4 Maverick comparison based on?

75 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 Llama 4 Maverick'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-mini-vs-llama-4-maverick" title="GPT-4.1 Mini vs Llama 4 Maverick, 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-llama-4-maverick">LLMBenchmark.ai, GPT-4.1 Mini vs Llama 4 Maverick</a></p>