Gemma 3 4B vs Llama 4 Scout
Llama 4 Scout leads Gemma 3 4B on the Artificial Analysis Intelligence Index, 6.5 to 4.8, and Gemma 3 4B costs 6.7x less per output token ($0.075 vs $0.50 per million). Updated October 21, 2026; 41 benchmarks have a result for both.
Gemma 3 4B or Llama 4 Scout: which to pick
Neither model has a coding score yet, so the two cannot be ranked on coding.
Pick Gemma 3 4B for output tokens 6.7x cheaper ($0.075 vs $0.50 per million) and work measured by AA Coding Index or LiveCodeBench (Artificial Analysis run), where it leads.
- Shared results
- 41
- Gemma 3 4B only
- 1
- Llama 4 Scout only
- 41
- Like-for-like categories
- 7 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
Llama 4 Scout
Llama 4 Scout leads, 6.5 against 4.8.
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
No call
Only Llama 4 Scout has a Design Arena: websites result, 750.
Directional only
Long documents
Listed context window
Llama 4 Scout
Llama 4 Scout takes 1.31M tokens against 131K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemma 3 4B
Gemma 3 4B $0.0001, 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
- Gemma 3 4B not benchmarked, Llama 4 Scout not benchmarked.
- Widest category
- Knowledge, 13.0 points apart on average over 5 shared benchmarks.
- Widest single gap
- MMLU Pro (Artificial Analysis run): Gemma 3 4B 41.7% against Llama 4 Scout 75.2%, 33.5 points apart on a 0 to 100 scale.
- Output price
- Gemma 3 4B $0.075 against Llama 4 Scout $0.50 per million output tokens, 6.7x apart.
- Context window
- Gemma 3 4B takes 131K 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 | Gemma 3 4B | Bars | Llama 4 Scout | Ties |
|---|---|---|---|---|
| Coding | 0 | 5 | ||
| Intelligence | 0 | 2 | ||
| Agentic work | 0 | 2 | ||
| Reasoning | 1 | 6 | ||
| Math | 0 | 5 | ||
| Knowledge | 4 | 1 | ||
| General | 7 | 8 | ||
| All shared boards | 12 | 29 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index05
| Benchmark | Gemma 3 4B | Llama 4 Scout | Leader |
|---|---|---|---|
| SWE-bench Verified | Not measured | 9.1% | Only Llama 4 Scout measured |
| AA Coding Index | 2.7 | 8.2 | Llama 4 Scout |
| LiveCodeBench (Vals AI) | Not measured | 38.5% | Only Llama 4 Scout measured |
| LiveCodeBench (Artificial Analysis run) | 11.2% | 29.9% | Llama 4 Scout |
| SciCode | Not measured | 21.3% | Only Llama 4 Scout measured |
| Terminal-Bench Hard (Artificial Analysis run) | 0.8% | 1.5% | Llama 4 Scout |
| LMArena Text: coding | 1230 | 1286 | Llama 4 Scout |
| LMArena Text: software and IT | 1269 | 1286 | Llama 4 Scout |
| SciCode | 0.0% | Not measured | Only Gemma 3 4B measured |
| Neither model has a result on the other 30 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | Gemma 3 4B | Llama 4 Scout | Leader |
|---|---|---|---|
| AA Intelligence Index | 4.8 | 6.5 | Llama 4 Scout |
| Epoch Capabilities Index | 115.9 | 129.6 | Llama 4 Scout |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | Gemma 3 4B | Llama 4 Scout | Leader |
|---|---|---|---|
| AA Agentic Index | Not measured | 0.5 | Only Llama 4 Scout measured |
| τ²-Bench Telecom | 5.0% | 15.5% | Llama 4 Scout |
| Berkeley Function Calling Leaderboard (BFCL) | 19.6% | 28.1% | Llama 4 Scout |
| Neither model has a result on the other 38 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index16
| Benchmark | Gemma 3 4B | 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) | 29.1% | 58.7% | Llama 4 Scout |
| Humanity's Last Exam (Artificial Analysis run) | 5.3% | 3.8% | Gemma 3 4B |
| GPQA Diamond (Epoch AI run) | 23.2% | 51.8% | Llama 4 Scout |
| 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 | 1253 | 1266 | Llama 4 Scout |
| LMArena Text: expert | 1223 | 1235 | Llama 4 Scout |
| LMArena Text: hard prompts in English | 1253 | 1293 | Llama 4 Scout |
| 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 | 25.2% | 36.9% | Llama 4 Scout |
| Neither model has a result on the other 9 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index05
| Benchmark | Gemma 3 4B | 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 | 12.7 | 14.0 | Llama 4 Scout |
| AIME 2025 (Artificial Analysis run) | 12.7% | 14.0% | Llama 4 Scout |
| OTIS Mock AIME | 7.5% | 7.8% | Llama 4 Scout |
| MATH level 5 | Not measured | 62.3% | Only Llama 4 Scout measured |
| LMArena Text: math | 1239 | 1287 | Llama 4 Scout |
| LMArena Text: mathematical work | 1256 | 1286 | Llama 4 Scout |
| Neither model has a result on the other 4 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index41
| Benchmark | Gemma 3 4B | 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) | 41.7% | 75.2% | Llama 4 Scout |
| LMArena Text: science | 1306 | 1278 | Gemma 3 4B |
| LMArena Text: medicine and healthcare | 1342 | 1275 | Gemma 3 4B |
| LMArena Text: legal and government | 1327 | 1285 | Gemma 3 4B |
| LMArena Text: business and finance | 1311 | 1257 | Gemma 3 4B |
| Neither model has a result on the other 6 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index5 boards, none shared
| Benchmark | Gemma 3 4B | Llama 4 Scout | Leader |
|---|---|---|---|
| Design Arena: websites | Not measured | 750 | Only Llama 4 Scout measured |
| Design Arena: UI components | Not measured | 768 | Only Llama 4 Scout measured |
| Design Arena: game dev | Not measured | 773 | Only Llama 4 Scout measured |
| Design Arena: data viz | Not measured | 896 | Only Llama 4 Scout measured |
| Design Arena: all code categories | Not measured | 790 | Only Llama 4 Scout measured |
| Neither model has a result on the other 4 boards here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index78
| Benchmark | Gemma 3 4B | 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 | 28.3% | 39.5% | Llama 4 Scout |
| Long context reasoning (AA-LCR) | 6.7% | 27.7% | Llama 4 Scout |
| DTBench | 50.9% | 57.9% | Llama 4 Scout |
| LMCA | 2.8% | 12.0% | Llama 4 Scout |
| Fiction.LiveBench | Not measured | 36.0% | Only Llama 4 Scout measured |
| LMArena Text | 1291 | 1279 | Gemma 3 4B |
| LMArena Text: instruction following | 1239 | 1248 | Llama 4 Scout |
| LMArena Text: creative writing | 1270 | 1249 | Gemma 3 4B |
| LMArena Vision | Not measured | 1118 | Only Llama 4 Scout measured |
| LMArena Text: English | 1300 | 1304 | Llama 4 Scout |
| LMArena Text: non-English | 1273 | 1252 | Gemma 3 4B |
| LMArena Text: Chinese | Not measured | 1255 | Only Llama 4 Scout measured |
| LMArena Text: German | 1281 | 1273 | Gemma 3 4B |
| 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 | 1294 | 1263 | Gemma 3 4B |
| LMArena Text: Polish | Not measured | 1265 | Only Llama 4 Scout measured |
| LMArena Text: multi-turn | 1255 | 1280 | Llama 4 Scout |
| LMArena Text: longer queries | 1273 | 1265 | Gemma 3 4B |
| LMArena Text: writing and language | 1288 | 1269 | Gemma 3 4B |
| LMArena Text: entertainment and media | 1233 | 1242 | Llama 4 Scout |
| 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 | Gemma 3 4B | 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
Gemma 3 4B costs less
Repository review
50K input + 3K output tokens
Gemma 3 4B costs less
Agent loop
200K input + 10K output tokens
Gemma 3 4B 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 | Google Gemma 3 4B | Meta Llama 4 Scout |
|---|---|---|
| Maker | Meta Llama | |
| Weights | Open weights | Open weights |
| Released | March 13, 2025 | April 5, 2025 |
| Context window | 131K | 1.31M |
| Input $/Mtok | $0.045 | $0.175 |
| Output $/Mtok | $0.075 | $0.50 |
| Coding index | Not benchmarked | Not benchmarked |
| Independent measurements behind it | 0 | 0 |
| Cost per solved task | Not computable | $1.276 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemma 3 4B better than Llama 4 Scout for coding?
Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Gemma 3 4B for output tokens 6.7x cheaper ($0.075 vs $0.50 per million) and work measured by AA Coding Index or LiveCodeBench (Artificial Analysis run), where it leads.
Which is cheaper, Gemma 3 4B or Llama 4 Scout?
Gemma 3 4B costs $0.045 per million input tokens and $0.075 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, Gemma 3 4B or Llama 4 Scout?
Llama 4 Scout, with 1.31M tokens against 131K.
How many benchmarks is the Gemma 3 4B vs Llama 4 Scout comparison based on?
41 benchmarks have a result for both models as of October 21, 2026. Gemma 3 4B's coding index rests on 0 independent benchmarks and Llama 4 Scout's on 0. Where only one model has a result, the page says so instead of naming a winner.