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.
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.
Coding
Vibe Coding Index, four public coding benchmarks
GPT-4.1 Mini
GPT-4.1 Mini scores 28.5 against 18.1.
2 benchmarks behind each score
Intelligence
AA Intelligence Index
GPT-4.1 Mini
GPT-4.1 Mini leads, 10.2 against 9.3.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Llama 4 Maverick has a AA Agentic Index result, 0.6.
Directional only
Reasoning
GPQA Diamond
Llama 4 Maverick
Llama 4 Maverick leads, 69.4% against 67.9%.
Same board, both measured
Math
AIME
GPT-4.1 Mini
GPT-4.1 Mini leads, 49.4% against 25.2%.
Same board, both measured
Knowledge
MMLU Pro
Llama 4 Maverick
Llama 4 Maverick leads, 79.4% against 77.2%.
Same board, both measured
Web design
Design Arena: websites
GPT-4.1 Mini
GPT-4.1 Mini leads, 997 against 871.
Same board, both measured
Long documents
Listed context window
GPT-4.1 Mini
GPT-4.1 Mini takes 1.05M tokens against 524K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Llama 4 Maverick
GPT-4.1 Mini $0.0012, Llama 4 Maverick $0.0005 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
Llama 4 Maverick
GPT-4.1 Mini $1.818, Llama 4 Maverick $1.491.
Published attempt cost and pass rate
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.
| Category | GPT-4.1 Mini | Bars | Llama 4 Maverick | Ties |
|---|---|---|---|---|
| Coding | 9 | 0 | ||
| Intelligence | 2 | 0 | ||
| Agentic work | 1 | 0 | ||
| Reasoning | 6 | 4 | 1 tie | |
| Math | 6 | 1 | ||
| Knowledge | 9 | 2 | ||
| Web design | 5 | 1 | ||
| General | 25 | 3 | ||
| All shared boards | 63 | 11 | 1 tie |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index90
| Benchmark | GPT-4.1 Mini | Llama 4 Maverick | Leader |
|---|---|---|---|
| Aider polyglot | 32.4% | 15.6% | GPT-4.1 Mini |
| SWE-bench Verified | 23.9% | 21.0% | GPT-4.1 Mini |
| AA Coding Index | 20.2 | 16.3 | GPT-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 |
| SciCode | Not measured | 31.7% | Only Llama 4 Maverick measured |
| Terminal-Bench Hard (Artificial Analysis run) | 7.6% | 6.8% | GPT-4.1 Mini |
| WeirdML | 37.6% | 24.5% | GPT-4.1 Mini |
| ALE-Bench | Not measured | 173.0 | Only Llama 4 Maverick measured |
| LMArena Text: coding | 1367 | 1301 | GPT-4.1 Mini |
| LMArena Text: software and IT | 1360 | 1299 | GPT-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
| Benchmark | GPT-4.1 Mini | Llama 4 Maverick | Leader |
|---|---|---|---|
| AA Intelligence Index | 10.2 | 9.3 | GPT-4.1 Mini |
| Epoch Capabilities Index | 134.9 | 132.2 | GPT-4.1 Mini |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GPT-4.1 Mini | Llama 4 Maverick | Leader |
|---|---|---|---|
| AA Agentic Index | Not measured | 0.6 | Only Llama 4 Maverick measured |
| τ²-Bench Telecom | 52.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
| Benchmark | GPT-4.1 Mini | Llama 4 Maverick | Leader |
|---|---|---|---|
| GPQA Diamond | 67.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 measured | Only GPT-4.1 Mini measured |
| ARC-AGI | 3.5% | 4.4% | Llama 4 Maverick |
| ARC-AGI-2 | 0.0% | 0.0% | Tie |
| SimpleBench | Not measured | 27.7% | Only Llama 4 Maverick measured |
| Chess puzzles | 1.0% | Not measured | Only GPT-4.1 Mini measured |
| Mystery game puzzles | 7.0% | Not measured | Only GPT-4.1 Mini measured |
| LMArena Text: hard prompts | 1349 | 1281 | GPT-4.1 Mini |
| LMArena Text: expert | 1338 | 1259 | GPT-4.1 Mini |
| LMArena Text: hard prompts in English | 1362 | 1295 | GPT-4.1 Mini |
| LMArena Vision: diagrams | 1182 | 1134 | GPT-4.1 Mini |
| LMArena Vision: homework | 1214 | 1164 | GPT-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
| Benchmark | GPT-4.1 Mini | Llama 4 Maverick | Leader |
|---|---|---|---|
| AIME | 49.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 Index | 46.3 | 19.3 | GPT-4.1 Mini |
| AIME 2025 (Artificial Analysis run) | 46.3% | 19.3% | GPT-4.1 Mini |
| OTIS Mock AIME | 44.7% | Not measured | Only GPT-4.1 Mini measured |
| FrontierMath, tiers 1 to 3 | 6.7% | Not measured | Only GPT-4.1 Mini measured |
| MATH level 5 | 87.3% | Not measured | Only GPT-4.1 Mini measured |
| LMArena Text: math | 1343 | 1299 | GPT-4.1 Mini |
| LMArena Text: mathematical work | 1347 | 1295 | GPT-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
| Benchmark | GPT-4.1 Mini | Llama 4 Maverick | Leader |
|---|---|---|---|
| MMLU Pro | 77.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 measured | 36.5% | Only Llama 4 Maverick measured |
| MMLU Pro (Artificial Analysis run) | 78.1% | 80.9% | Llama 4 Maverick |
| SimpleQA Verified | 12.7% | Not measured | Only GPT-4.1 Mini measured |
| GeoBench | Not measured | 52.0% | Only Llama 4 Maverick measured |
| LMArena Text: science | 1328 | 1288 | GPT-4.1 Mini |
| LMArena Text: medicine and healthcare | 1324 | 1275 | GPT-4.1 Mini |
| LMArena Text: legal and government | 1343 | 1286 | GPT-4.1 Mini |
| LMArena Text: business and finance | 1322 | 1260 | GPT-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
| Benchmark | GPT-4.1 Mini | Llama 4 Maverick | Leader |
|---|---|---|---|
| Design Arena: websites | 997 | 871 | GPT-4.1 Mini |
| Design Arena: UI components | 961 | 899 | GPT-4.1 Mini |
| Design Arena: game dev | 1071 | 838 | GPT-4.1 Mini |
| Design Arena: data viz | 1034 | 882 | GPT-4.1 Mini |
| Design Arena: 3D | 837 | 901 | Llama 4 Maverick |
| Design Arena: all code categories | 994 | 880 | GPT-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
| Benchmark | GPT-4.1 Mini | Llama 4 Maverick | Leader |
|---|---|---|---|
| SAGE (Vals AI) | Not measured | 35.7% | Only Llama 4 Maverick measured |
| MedScribe (Vals AI) | Not measured | 54.2% | Only Llama 4 Maverick measured |
| IFBench | 38.3% | 43.0% | Llama 4 Maverick |
| Long context reasoning (AA-LCR) | 44.0% | 50.0% | Llama 4 Maverick |
| DTBench | 68.8% | 61.9% | GPT-4.1 Mini |
| LMCA | 21.1% | 15.9% | GPT-4.1 Mini |
| Fiction.LiveBench | 44.4% | 46.2% | Llama 4 Maverick |
| Creative writing (Lech Mazur) | Not measured | 62.0% | Only Llama 4 Maverick measured |
| LMArena Text | 1341 | 1287 | GPT-4.1 Mini |
| LMArena Text: instruction following | 1333 | 1267 | GPT-4.1 Mini |
| LMArena Text: creative writing | 1299 | 1266 | GPT-4.1 Mini |
| LMArena Vision | 1181 | 1142 | GPT-4.1 Mini |
| LMArena Text: English | 1356 | 1303 | GPT-4.1 Mini |
| LMArena Text: non-English | 1318 | 1269 | GPT-4.1 Mini |
| LMArena Text: Chinese | 1329 | 1277 | GPT-4.1 Mini |
| LMArena Text: German | 1350 | 1291 | GPT-4.1 Mini |
| LMArena Text: Japanese | 1290 | 1206 | GPT-4.1 Mini |
| LMArena Text: Korean | 1298 | 1203 | GPT-4.1 Mini |
| LMArena Text: French | 1358 | 1259 | GPT-4.1 Mini |
| LMArena Text: Spanish | 1319 | 1293 | GPT-4.1 Mini |
| LMArena Text: Russian | 1324 | 1286 | GPT-4.1 Mini |
| LMArena Text: Polish | 1326 | 1275 | GPT-4.1 Mini |
| LMArena Text: multi-turn | 1354 | 1289 | GPT-4.1 Mini |
| LMArena Text: longer queries | 1344 | 1280 | GPT-4.1 Mini |
| LMArena Text: writing and language | 1319 | 1277 | GPT-4.1 Mini |
| LMArena Text: entertainment and media | 1300 | 1250 | GPT-4.1 Mini |
| LMArena Vision: English | 1191 | 1150 | GPT-4.1 Mini |
| LMArena Vision: Chinese | 1186 | 1141 | GPT-4.1 Mini |
| LMArena Vision: reading text | 1188 | 1143 | GPT-4.1 Mini |
| LMArena Vision: humor | 1182 | 1100 | GPT-4.1 Mini |
| LMArena Vision: captioning | 1174 | Not measured | Only GPT-4.1 Mini measured |
| LMArena Vision: recognizing things | 1187 | Not measured | Only GPT-4.1 Mini measured |
| LMArena Vision: creative writing | 1182 | 1099 | GPT-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
| Benchmark | GPT-4.1 Mini | Llama 4 Maverick | Leader |
|---|---|---|---|
| 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
Llama 4 Maverick costs less
Repository review
50K input + 3K output tokens
Llama 4 Maverick costs less
Agent loop
200K input + 10K output tokens
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.
| Specification | OpenAI GPT-4.1 Mini | Meta Llama 4 Maverick |
|---|---|---|
| Maker | OpenAI | Meta Llama |
| Weights | No public weights listed | Open weights |
| Released | April 14, 2025 | April 5, 2025 |
| Context window | 1.05M | 524K |
| Input $/Mtok | $0.40 | $0.1875 |
| Output $/Mtok | $1.60 | $0.6525 |
| Coding index | 28.5 | 18.1 |
| Independent measurements behind it | 2 | 2 |
| Cost per solved task | $1.818 | $1.491 |
| Source | OpenRouter listing | OpenRouter 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.