GPT-5.1-Codex-Mini vs Llama 4 Scout
GPT-5.1-Codex-Mini leads Llama 4 Scout on the Artificial Analysis Intelligence Index, 20.4 to 6.5, and Llama 4 Scout costs 4.0x less per output token ($0.50 vs $2.00 per million). Updated October 22, 2026; 16 benchmarks have a result for both.
GPT-5.1-Codex-Mini or Llama 4 Scout: 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
- 16
- GPT-5.1-Codex-Mini only
- 6
- Llama 4 Scout only
- 66
- 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 6.5.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Llama 4 Scout has a AA Agentic Index result, 0.5.
Directional only
Reasoning
GPQA Diamond
No call
Only Llama 4 Scout has a GPQA Diamond result, 47.0%.
Directional only
Math
AIME
No call
Only Llama 4 Scout has a AIME result, 19.0%.
Directional only
Knowledge
MMLU Pro
No call
Only Llama 4 Scout has a MMLU Pro result, 69.6%.
Directional only
Web design
Design Arena: websites
GPT-5.1-Codex-Mini
GPT-5.1-Codex-Mini leads, 1111 against 750.
Same board, both measured
Long documents
Listed context window
Llama 4 Scout
Llama 4 Scout takes 1.31M tokens against 400K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Llama 4 Scout
GPT-5.1-Codex-Mini $0.0013, Llama 4 Scout $0.0004 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only Llama 4 Scout has the number, $1.276.
Directional only
At a glance
- Coding index
- GPT-5.1-Codex-Mini not benchmarked, Llama 4 Scout not benchmarked.
- Widest category
- Math, 77.7 points apart on average over 2 shared benchmarks.
- Widest single gap
- AA Math Index: GPT-5.1-Codex-Mini 91.7 against Llama 4 Scout 14.0, 77.7 points apart on a 0 to 100 scale.
- Output price
- GPT-5.1-Codex-Mini $2.00 against Llama 4 Scout $0.50 per million output tokens, 4.0x apart.
- Context window
- GPT-5.1-Codex-Mini takes 400K tokens, Llama 4 Scout 1.31M.
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 Scout | Ties |
|---|---|---|---|---|
| Coding | 2 | 0 | ||
| Intelligence | 1 | 0 | ||
| Agentic work | 1 | 0 | ||
| Reasoning | 2 | 0 | ||
| Math | 2 | 0 | ||
| Knowledge | 1 | 0 | ||
| Web design | 5 | 0 | ||
| General | 2 | 0 | ||
| All shared boards | 16 | 0 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index20
| Benchmark | GPT-5.1-Codex-Mini | Llama 4 Scout | Leader |
|---|---|---|---|
| SWE-bench Verified | Not measured | 9.1% | Only Llama 4 Scout measured |
| LMArena WebDev | 1244 | Not measured | Only GPT-5.1-Codex-Mini measured |
| AA Coding Index | Not measured | 8.2 | Only Llama 4 Scout measured |
| LiveCodeBench (Vals AI) | Not measured | 38.5% | Only Llama 4 Scout measured |
| LiveCodeBench (Artificial Analysis run) | 83.6% | 29.9% | GPT-5.1-Codex-Mini |
| SciCode | Not measured | 21.3% | Only Llama 4 Scout measured |
| Terminal-Bench Hard (Artificial Analysis run) | 33.3% | 1.5% | GPT-5.1-Codex-Mini |
| Terminal-Bench | 61.6% | Not measured | Only GPT-5.1-Codex-Mini measured |
| LMArena Text: coding | Not measured | 1286 | Only Llama 4 Scout measured |
| LMArena Text: software and IT | Not measured | 1286 | Only Llama 4 Scout measured |
| LMArena WebDev: HTML | 1253 | Not measured | Only GPT-5.1-Codex-Mini measured |
| Neither model has a result on the other 28 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GPT-5.1-Codex-Mini | Llama 4 Scout | Leader |
|---|---|---|---|
| AA Intelligence Index | 20.4 | 6.5 | GPT-5.1-Codex-Mini |
| Epoch Capabilities Index | Not measured | 129.6 | Only Llama 4 Scout measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GPT-5.1-Codex-Mini | Llama 4 Scout | Leader |
|---|---|---|---|
| AA Agentic Index | Not measured | 0.5 | Only Llama 4 Scout measured |
| τ²-Bench Telecom | 62.9% | 15.5% | GPT-5.1-Codex-Mini |
| Berkeley Function Calling Leaderboard (BFCL) | Not measured | 28.1% | Only Llama 4 Scout measured |
| Neither model has a result on the other 38 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | GPT-5.1-Codex-Mini | Llama 4 Scout | Leader |
|---|---|---|---|
| GPQA Diamond | Not measured | 47.0% | Only Llama 4 Scout measured |
| MMMU Pro (Vals AI) | Not measured | 58.8% | Only Llama 4 Scout measured |
| GPQA Diamond (Artificial Analysis run) | 81.3% | 58.7% | GPT-5.1-Codex-Mini |
| Humanity's Last Exam (Artificial Analysis run) | 18.5% | 3.8% | GPT-5.1-Codex-Mini |
| GPQA Diamond (Epoch AI run) | Not measured | 51.8% | Only Llama 4 Scout measured |
| ARC-AGI | Not measured | 0.5% | Only Llama 4 Scout measured |
| ARC-AGI-2 | Not measured | 0.0% | Only Llama 4 Scout measured |
| LMArena Text: hard prompts | Not measured | 1266 | Only Llama 4 Scout measured |
| LMArena Text: expert | Not measured | 1235 | Only Llama 4 Scout measured |
| LMArena Text: hard prompts in English | Not measured | 1293 | Only Llama 4 Scout measured |
| LMArena Vision: diagrams | Not measured | 1125 | Only Llama 4 Scout measured |
| LMArena Vision: homework | Not measured | 1148 | Only Llama 4 Scout measured |
| Kagi LLM Benchmark | Not measured | 36.9% | Only Llama 4 Scout 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 Scout | Leader |
|---|---|---|---|
| AIME | Not measured | 19.0% | Only Llama 4 Scout measured |
| MATH 500 (Vals AI) | Not measured | 79.2% | Only Llama 4 Scout measured |
| MGSM (Vals AI) | Not measured | 88.0% | Only Llama 4 Scout measured |
| AA Math Index | 91.7 | 14.0 | GPT-5.1-Codex-Mini |
| AIME 2025 (Artificial Analysis run) | 91.7% | 14.0% | GPT-5.1-Codex-Mini |
| OTIS Mock AIME | Not measured | 7.8% | Only Llama 4 Scout measured |
| MATH level 5 | Not measured | 62.3% | Only Llama 4 Scout measured |
| LMArena Text: math | Not measured | 1287 | Only Llama 4 Scout measured |
| LMArena Text: mathematical work | Not measured | 1286 | Only Llama 4 Scout measured |
| Neither model has a result on the other 4 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | GPT-5.1-Codex-Mini | Llama 4 Scout | Leader |
|---|---|---|---|
| MMLU Pro | Not measured | 69.6% | Only Llama 4 Scout measured |
| LegalBench (Vals AI) | Not measured | 72.0% | Only Llama 4 Scout measured |
| CorpFin (Vals AI) | Not measured | 46.8% | Only Llama 4 Scout measured |
| TaxEval (Vals AI) | Not measured | 55.2% | Only Llama 4 Scout measured |
| MortgageTax (Vals AI) | Not measured | 57.8% | Only Llama 4 Scout measured |
| MedQA (Vals AI) | Not measured | 50.9% | Only Llama 4 Scout measured |
| MedCode (Vals AI) | Not measured | 23.3% | Only Llama 4 Scout measured |
| MMLU Pro (Artificial Analysis run) | 82.0% | 75.2% | GPT-5.1-Codex-Mini |
| LMArena Text: science | Not measured | 1278 | Only Llama 4 Scout measured |
| LMArena Text: medicine and healthcare | Not measured | 1275 | Only Llama 4 Scout measured |
| LMArena Text: legal and government | Not measured | 1285 | Only Llama 4 Scout measured |
| LMArena Text: business and finance | Not measured | 1257 | Only Llama 4 Scout measured |
| Neither model has a result on the other 6 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index50
| Benchmark | GPT-5.1-Codex-Mini | Llama 4 Scout | Leader |
|---|---|---|---|
| Design Arena: websites | 1111 | 750 | GPT-5.1-Codex-Mini |
| Design Arena: UI components | 1078 | 765 | GPT-5.1-Codex-Mini |
| Design Arena: game dev | 1092 | 772 | GPT-5.1-Codex-Mini |
| Design Arena: data viz | 1097 | 896 | GPT-5.1-Codex-Mini |
| Design Arena: 3D | 988 | Not measured | Only GPT-5.1-Codex-Mini measured |
| Design Arena: all code categories | 1093 | 789 | 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 Scout | Leader |
|---|---|---|---|
| SAGE (Vals AI) | Not measured | 34.8% | Only Llama 4 Scout measured |
| MedScribe (Vals AI) | Not measured | 50.6% | Only Llama 4 Scout measured |
| IFBench | 67.9% | 39.5% | GPT-5.1-Codex-Mini |
| Long context reasoning (AA-LCR) | 66.7% | 27.7% | GPT-5.1-Codex-Mini |
| DTBench | Not measured | 57.9% | Only Llama 4 Scout measured |
| LMCA | Not measured | 12.0% | Only Llama 4 Scout measured |
| Fiction.LiveBench | Not measured | 36.0% | Only Llama 4 Scout measured |
| LMArena Text | Not measured | 1279 | Only Llama 4 Scout measured |
| LMArena Text: instruction following | Not measured | 1248 | Only Llama 4 Scout measured |
| LMArena Text: creative writing | Not measured | 1249 | Only Llama 4 Scout measured |
| LMArena Vision | Not measured | 1118 | Only Llama 4 Scout measured |
| LMArena Text: English | Not measured | 1304 | Only Llama 4 Scout measured |
| LMArena Text: non-English | Not measured | 1252 | Only Llama 4 Scout measured |
| LMArena Text: Chinese | Not measured | 1255 | Only Llama 4 Scout measured |
| LMArena Text: German | Not measured | 1273 | Only Llama 4 Scout measured |
| LMArena Text: Japanese | Not measured | 1206 | Only Llama 4 Scout measured |
| LMArena Text: Korean | Not measured | 1207 | Only Llama 4 Scout measured |
| LMArena Text: French | Not measured | 1283 | Only Llama 4 Scout measured |
| LMArena Text: Spanish | Not measured | 1278 | Only Llama 4 Scout measured |
| LMArena Text: Russian | Not measured | 1263 | Only Llama 4 Scout measured |
| LMArena Text: Polish | Not measured | 1265 | Only Llama 4 Scout measured |
| LMArena Text: multi-turn | Not measured | 1280 | Only Llama 4 Scout measured |
| LMArena Text: longer queries | Not measured | 1265 | Only Llama 4 Scout measured |
| LMArena Text: writing and language | Not measured | 1269 | Only Llama 4 Scout measured |
| LMArena Text: entertainment and media | Not measured | 1242 | Only Llama 4 Scout measured |
| LMArena Vision: English | Not measured | 1143 | Only Llama 4 Scout measured |
| LMArena Vision: Chinese | Not measured | 1106 | Only Llama 4 Scout measured |
| LMArena Vision: reading text | Not measured | 1117 | Only Llama 4 Scout measured |
| LMArena Vision: humor | Not measured | 1102 | Only Llama 4 Scout measured |
| LMArena Vision: creative writing | Not measured | 1126 | Only Llama 4 Scout measured |
| Neither model has a result on the other 16 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 Scout | 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 Scout costs less
Repository review
50K input + 3K output tokens
Llama 4 Scout costs less
Agent loop
200K input + 10K output tokens
Llama 4 Scout 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 Scout |
|---|---|---|
| Maker | OpenAI | Meta Llama |
| Weights | No public weights listed | Open weights |
| Released | November 13, 2025 | April 5, 2025 |
| Context window | 400K | 1.31M |
| Input $/Mtok | $0.25 | $0.175 |
| Output $/Mtok | $2.00 | $0.50 |
| Coding index | Not benchmarked | Not benchmarked |
| Independent measurements behind it | 1 | 0 |
| Cost per solved task | Not computable | $1.276 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-5.1-Codex-Mini better than Llama 4 Scout 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 Scout?
GPT-5.1-Codex-Mini costs $0.25 per million input tokens and $2.00 per million output tokens; Llama 4 Scout costs $0.175 and $0.50. Cost per solved task is known for Llama 4 Scout only.
Which has the bigger context window, GPT-5.1-Codex-Mini or Llama 4 Scout?
Llama 4 Scout, with 1.31M tokens against 400K.
How many benchmarks is the GPT-5.1-Codex-Mini vs Llama 4 Scout comparison based on?
16 benchmarks have a result for both models as of October 22, 2026. GPT-5.1-Codex-Mini's coding index rests on 1 independent benchmark and Llama 4 Scout's on 0. Where only one model has a result, the page says so instead of naming a winner.