GPT-5.1-Codex-Mini vs Llama 4 Maverick
GPT-5.1-Codex-Mini leads Llama 4 Maverick on the Artificial Analysis Intelligence Index, 20.4 to 9.3, and Llama 4 Maverick costs 2.0x less per output token ($1.00 vs $2.00 per million). Updated October 21, 2026; 17 benchmarks have a result for both.
GPT-5.1-Codex-Mini or Llama 4 Maverick: which to pick
Neither model has a coding score yet, so the two cannot be ranked on coding.
Compare them on price, context and the boards below.
- Shared results
- 17
- GPT-5.1-Codex-Mini only
- 5
- Llama 4 Maverick only
- 68
- Like-for-like categories
- 8 of 9
Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.
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, six public coding benchmarks
No call
Neither has a coding score yet.
One side not measured
Intelligence
AA Intelligence Index
GPT-5.1-Codex-Mini
GPT-5.1-Codex-Mini leads, 20.4 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
No call
Only Llama 4 Maverick has a GPQA Diamond result, 69.4%.
Directional only
Math
AIME
No call
Only Llama 4 Maverick has a AIME result, 25.2%.
Directional only
Knowledge
MMLU Pro
No call
Only Llama 4 Maverick has a MMLU Pro result, 79.4%.
Directional only
Web design
Design Arena: websites
GPT-5.1-Codex-Mini
GPT-5.1-Codex-Mini leads, 1111 against 871.
Same board, both measured
Long documents
Listed context window
Llama 4 Maverick
Llama 4 Maverick takes 524K tokens against 400K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Llama 4 Maverick
GPT-5.1-Codex-Mini $0.0013, Llama 4 Maverick $0.0008 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only Llama 4 Maverick has the number, $1.491.
Directional only
At a glance
- Coding index
- GPT-5.1-Codex-Mini not benchmarked, Llama 4 Maverick not benchmarked.
- Widest category
- Math, 72.4 points apart on average over 2 shared benchmarks.
- Widest single gap
- AA Math Index: GPT-5.1-Codex-Mini 91.7 against Llama 4 Maverick 19.3, 72.4 points apart on a 0 to 100 scale.
- Output price
- GPT-5.1-Codex-Mini $2.00 against Llama 4 Maverick $1.00 per million output tokens, 2.0x apart.
- Context window
- GPT-5.1-Codex-Mini takes 400K 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-5.1-Codex-Mini | Bars | Llama 4 Maverick | Ties |
|---|---|---|---|---|
| Coding | 2 | 0 | ||
| Intelligence | 1 | 0 | ||
| Agentic work | 1 | 0 | ||
| Reasoning | 2 | 0 | ||
| Math | 2 | 0 | ||
| Knowledge | 1 | 0 | ||
| Web design | 6 | 0 | ||
| General | 2 | 0 | ||
| All shared boards | 17 | 0 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index20
| Benchmark | GPT-5.1-Codex-Mini | Llama 4 Maverick | Leader |
|---|---|---|---|
| Aider polyglot | Not measured | 15.6% | Only Llama 4 Maverick measured |
| SWE-bench Verified | Not measured | 21.0% | Only Llama 4 Maverick measured |
| LMArena WebDev | 1244 | Not measured | Only GPT-5.1-Codex-Mini measured |
| AA Coding Index | Not measured | 16.3 | Only Llama 4 Maverick measured |
| LiveCodeBench (Vals AI) | Not measured | 47.3% | Only Llama 4 Maverick measured |
| LiveCodeBench (Artificial Analysis run) | 83.6% | 39.7% | GPT-5.1-Codex-Mini |
| SciCode | Not measured | 31.7% | Only Llama 4 Maverick measured |
| Terminal-Bench Hard (Artificial Analysis run) | 33.3% | 6.8% | GPT-5.1-Codex-Mini |
| Terminal-Bench | 61.6% | Not measured | Only GPT-5.1-Codex-Mini measured |
| WeirdML | Not measured | 24.5% | Only Llama 4 Maverick measured |
| ALE-Bench | Not measured | 173.0 | Only Llama 4 Maverick measured |
| LMArena Text: coding | Not measured | 1301 | Only Llama 4 Maverick measured |
| LMArena Text: software and IT | Not measured | 1299 | Only Llama 4 Maverick measured |
| LMArena WebDev: HTML | 1253 | Not measured | Only GPT-5.1-Codex-Mini measured |
| Neither model has a result on the other 25 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GPT-5.1-Codex-Mini | Llama 4 Maverick | Leader |
|---|---|---|---|
| AA Intelligence Index | 20.4 | 9.3 | GPT-5.1-Codex-Mini |
| Epoch Capabilities Index | Not measured | 132.2 | Only Llama 4 Maverick measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GPT-5.1-Codex-Mini | Llama 4 Maverick | Leader |
|---|---|---|---|
| AA Agentic Index | Not measured | 0.6 | Only Llama 4 Maverick measured |
| τ²-Bench Telecom | 62.9% | 17.8% | GPT-5.1-Codex-Mini |
| Neither model has a result on the other 39 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | GPT-5.1-Codex-Mini | Llama 4 Maverick | Leader |
|---|---|---|---|
| GPQA Diamond | Not measured | 69.4% | Only Llama 4 Maverick measured |
| MMMU Pro (Vals AI) | Not measured | 71.7% | Only Llama 4 Maverick measured |
| GPQA Diamond (Artificial Analysis run) | 81.3% | 67.1% | GPT-5.1-Codex-Mini |
| Humanity's Last Exam (Artificial Analysis run) | 18.5% | 4.9% | GPT-5.1-Codex-Mini |
| ARC-AGI | Not measured | 4.4% | Only Llama 4 Maverick measured |
| ARC-AGI-2 | Not measured | 0.0% | Only Llama 4 Maverick measured |
| SimpleBench | Not measured | 27.7% | Only Llama 4 Maverick measured |
| LMArena Text: hard prompts | Not measured | 1281 | Only Llama 4 Maverick measured |
| LMArena Text: expert | Not measured | 1259 | Only Llama 4 Maverick measured |
| LMArena Text: hard prompts in English | Not measured | 1295 | Only Llama 4 Maverick measured |
| LMArena Vision: diagrams | Not measured | 1134 | Only Llama 4 Maverick measured |
| LMArena Vision: homework | Not measured | 1164 | Only Llama 4 Maverick measured |
| Kagi LLM Benchmark | Not measured | 55.9% | Only Llama 4 Maverick measured |
| Neither model has a result on the other 9 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | GPT-5.1-Codex-Mini | Llama 4 Maverick | Leader |
|---|---|---|---|
| AIME | Not measured | 25.2% | Only Llama 4 Maverick measured |
| MATH 500 (Vals AI) | Not measured | 85.2% | Only Llama 4 Maverick measured |
| MGSM (Vals AI) | Not measured | 92.4% | Only Llama 4 Maverick measured |
| AA Math Index | 91.7 | 19.3 | GPT-5.1-Codex-Mini |
| AIME 2025 (Artificial Analysis run) | 91.7% | 19.3% | GPT-5.1-Codex-Mini |
| LMArena Text: math | Not measured | 1299 | Only Llama 4 Maverick measured |
| LMArena Text: mathematical work | Not measured | 1295 | Only Llama 4 Maverick measured |
| Neither model has a result on the other 6 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GPT-5.1-Codex-Mini | Llama 4 Maverick | Leader |
|---|---|---|---|
| MMLU Pro | Not measured | 79.4% | Only Llama 4 Maverick measured |
| LegalBench (Vals AI) | Not measured | 77.8% | Only Llama 4 Maverick measured |
| CorpFin (Vals AI) | Not measured | 49.7% | Only Llama 4 Maverick measured |
| TaxEval (Vals AI) | Not measured | 66.6% | Only Llama 4 Maverick measured |
| MortgageTax (Vals AI) | Not measured | 58.5% | Only Llama 4 Maverick measured |
| MedQA (Vals AI) | Not measured | 43.3% | Only Llama 4 Maverick measured |
| MedCode (Vals AI) | Not measured | 36.5% | Only Llama 4 Maverick measured |
| MMLU Pro (Artificial Analysis run) | 82.0% | 80.9% | GPT-5.1-Codex-Mini |
| GeoBench | Not measured | 52.0% | Only Llama 4 Maverick measured |
| LMArena Text: science | Not measured | 1288 | Only Llama 4 Maverick measured |
| LMArena Text: medicine and healthcare | Not measured | 1275 | Only Llama 4 Maverick measured |
| LMArena Text: legal and government | Not measured | 1286 | Only Llama 4 Maverick measured |
| LMArena Text: business and finance | Not measured | 1260 | Only Llama 4 Maverick measured |
| Neither model has a result on the other 5 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index60
| Benchmark | GPT-5.1-Codex-Mini | Llama 4 Maverick | Leader |
|---|---|---|---|
| Design Arena: websites | 1111 | 871 | GPT-5.1-Codex-Mini |
| Design Arena: UI components | 1081 | 899 | GPT-5.1-Codex-Mini |
| Design Arena: game dev | 1092 | 838 | GPT-5.1-Codex-Mini |
| Design Arena: data viz | 1097 | 882 | GPT-5.1-Codex-Mini |
| Design Arena: 3D | 988 | 901 | GPT-5.1-Codex-Mini |
| Design Arena: all code categories | 1094 | 880 | GPT-5.1-Codex-Mini |
| Design Arena: SVG | 978 | Not measured | Only GPT-5.1-Codex-Mini measured |
| Design Arena: ASCII art | 1105 | Not measured | Only GPT-5.1-Codex-Mini measured |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | GPT-5.1-Codex-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 | 67.9% | 43.0% | GPT-5.1-Codex-Mini |
| Long context reasoning (AA-LCR) | 66.7% | 50.0% | GPT-5.1-Codex-Mini |
| DTBench | Not measured | 61.9% | Only Llama 4 Maverick measured |
| LMCA | Not measured | 15.9% | Only Llama 4 Maverick measured |
| Fiction.LiveBench | Not measured | 46.2% | Only Llama 4 Maverick measured |
| Creative writing (Lech Mazur) | Not measured | 62.0% | Only Llama 4 Maverick measured |
| LMArena Text | Not measured | 1287 | Only Llama 4 Maverick measured |
| LMArena Text: instruction following | Not measured | 1267 | Only Llama 4 Maverick measured |
| LMArena Text: creative writing | Not measured | 1266 | Only Llama 4 Maverick measured |
| LMArena Vision | Not measured | 1142 | Only Llama 4 Maverick measured |
| LMArena Text: English | Not measured | 1303 | Only Llama 4 Maverick measured |
| LMArena Text: non-English | Not measured | 1269 | Only Llama 4 Maverick measured |
| LMArena Text: Chinese | Not measured | 1277 | Only Llama 4 Maverick measured |
| LMArena Text: German | Not measured | 1291 | Only Llama 4 Maverick measured |
| LMArena Text: Japanese | Not measured | 1206 | Only Llama 4 Maverick measured |
| LMArena Text: Korean | Not measured | 1203 | Only Llama 4 Maverick measured |
| LMArena Text: French | Not measured | 1259 | Only Llama 4 Maverick measured |
| LMArena Text: Spanish | Not measured | 1293 | Only Llama 4 Maverick measured |
| LMArena Text: Russian | Not measured | 1286 | Only Llama 4 Maverick measured |
| LMArena Text: Polish | Not measured | 1275 | Only Llama 4 Maverick measured |
| LMArena Text: multi-turn | Not measured | 1289 | Only Llama 4 Maverick measured |
| LMArena Text: longer queries | Not measured | 1280 | Only Llama 4 Maverick measured |
| LMArena Text: writing and language | Not measured | 1277 | Only Llama 4 Maverick measured |
| LMArena Text: entertainment and media | Not measured | 1250 | Only Llama 4 Maverick measured |
| LMArena Vision: English | Not measured | 1150 | Only Llama 4 Maverick measured |
| LMArena Vision: Chinese | Not measured | 1141 | Only Llama 4 Maverick measured |
| LMArena Vision: reading text | Not measured | 1143 | Only Llama 4 Maverick measured |
| LMArena Vision: humor | Not measured | 1100 | Only Llama 4 Maverick measured |
| LMArena Vision: creative writing | Not measured | 1099 | Only Llama 4 Maverick measured |
| Neither model has a result on the other 15 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GPT-5.1-Codex-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
GPT-5.1-Codex-Mini costs less
Agent loop
200K input + 10K output tokens
GPT-5.1-Codex-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.
| Specification | OpenAI GPT-5.1-Codex-Mini | Meta Llama 4 Maverick |
|---|---|---|
| Maker | OpenAI | Meta Llama |
| Weights | No public weights listed | Open weights |
| Released | November 13, 2025 | April 5, 2025 |
| Context window | 400K | 524K |
| Input $/Mtok | $0.25 | $0.35 |
| Output $/Mtok | $2.00 | $1.00 |
| Coding index | Not benchmarked | Not benchmarked |
| Independent measurements behind it | 1 | 0 |
| Cost per solved task | Not computable | $1.491 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-5.1-Codex-Mini better than Llama 4 Maverick for coding?
Neither model has a coding score yet, so the two cannot be ranked on coding. Compare them on price, context and the boards below.
Which is cheaper, GPT-5.1-Codex-Mini or Llama 4 Maverick?
GPT-5.1-Codex-Mini costs $0.25 per million input tokens and $2.00 per million output tokens; Llama 4 Maverick costs $0.35 and $1.00. Cost per solved task is known for Llama 4 Maverick only.
Which has the bigger context window, GPT-5.1-Codex-Mini or Llama 4 Maverick?
Llama 4 Maverick, with 524K tokens against 400K.
How many benchmarks is the GPT-5.1-Codex-Mini vs Llama 4 Maverick comparison based on?
17 benchmarks have a result for both models as of October 21, 2026. GPT-5.1-Codex-Mini's coding index rests on 1 independent benchmark and Llama 4 Maverick's on 0. Where only one model has a result, the page says so instead of naming a winner.