Enter opens the highlighted result. Esc closes.

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 4BGoogle
Coding
No data
Overall
22.6
Output $/M
$0.075
12
Llama 4 ScoutMeta Llama
Coding
No data
Overall
24.9
Output $/M
$0.50
29
vs boards won of 41 shared

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.

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.

Boards won, where both have a result
CategoryGemma 3 4BBarsLlama 4 ScoutTies
Coding05
Intelligence02
Agentic work02
Reasoning16
Math05
Knowledge41
General78
All shared boards1229
CodingLike-for-likeSix of these boards feed the Vibe Coding Index05
Coding benchmarks for Gemma 3 4B and Llama 4 Scout
BenchmarkGemma 3 4BLlama 4 ScoutLeader
SWE-bench VerifiedNot measured9.1%Only Llama 4 Scout measured
AA Coding Index2.78.2Llama 4 Scout
LiveCodeBench (Vals AI)Not measured38.5%Only Llama 4 Scout measured
LiveCodeBench (Artificial Analysis run)11.2%29.9%Llama 4 Scout
SciCodeNot measured21.3%Only Llama 4 Scout measured
Terminal-Bench Hard (Artificial Analysis run)0.8%1.5%Llama 4 Scout
LMArena Text: coding12301286Llama 4 Scout
LMArena Text: software and IT12691286Llama 4 Scout
SciCode0.0%Not measuredOnly 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
Intelligence benchmarks for Gemma 3 4B and Llama 4 Scout
BenchmarkGemma 3 4BLlama 4 ScoutLeader
AA Intelligence Index4.86.5Llama 4 Scout
Epoch Capabilities Index115.9129.6Llama 4 Scout
Agentic workLike-for-likePublic boards, shown as published, kept out of the index02
Agentic work benchmarks for Gemma 3 4B and Llama 4 Scout
BenchmarkGemma 3 4BLlama 4 ScoutLeader
AA Agentic IndexNot measured0.5Only Llama 4 Scout measured
τ²-Bench Telecom5.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
Reasoning benchmarks for Gemma 3 4B and Llama 4 Scout
BenchmarkGemma 3 4BLlama 4 ScoutLeader
GPQA DiamondNot measured47.0%Only Llama 4 Scout measured
MMMU Pro (Vals AI)Not measured58.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-AGINot measured0.5%Only Llama 4 Scout measured
ARC-AGI-2Not measured0.0%Only Llama 4 Scout measured
LMArena Text: hard prompts12531266Llama 4 Scout
LMArena Text: expert12231235Llama 4 Scout
LMArena Text: hard prompts in English12531293Llama 4 Scout
LMArena Vision: diagramsNot measured1125Only Llama 4 Scout measured
LMArena Vision: homeworkNot measured1148Only Llama 4 Scout measured
Kagi LLM Benchmark25.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
Math benchmarks for Gemma 3 4B and Llama 4 Scout
BenchmarkGemma 3 4BLlama 4 ScoutLeader
AIMENot measured19.0%Only Llama 4 Scout measured
MATH 500 (Vals AI)Not measured79.2%Only Llama 4 Scout measured
MGSM (Vals AI)Not measured88.0%Only Llama 4 Scout measured
AA Math Index12.714.0Llama 4 Scout
AIME 2025 (Artificial Analysis run)12.7%14.0%Llama 4 Scout
OTIS Mock AIME7.5%7.8%Llama 4 Scout
MATH level 5Not measured62.3%Only Llama 4 Scout measured
LMArena Text: math12391287Llama 4 Scout
LMArena Text: mathematical work12561286Llama 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
Knowledge benchmarks for Gemma 3 4B and Llama 4 Scout
BenchmarkGemma 3 4BLlama 4 ScoutLeader
MMLU ProNot measured69.6%Only Llama 4 Scout measured
LegalBench (Vals AI)Not measured72.0%Only Llama 4 Scout measured
CorpFin (Vals AI)Not measured46.8%Only Llama 4 Scout measured
TaxEval (Vals AI)Not measured55.2%Only Llama 4 Scout measured
MortgageTax (Vals AI)Not measured57.8%Only Llama 4 Scout measured
MedQA (Vals AI)Not measured50.9%Only Llama 4 Scout measured
MedCode (Vals AI)Not measured23.3%Only Llama 4 Scout measured
MMLU Pro (Artificial Analysis run)41.7%75.2%Llama 4 Scout
LMArena Text: science13061278Gemma 3 4B
LMArena Text: medicine and healthcare13421275Gemma 3 4B
LMArena Text: legal and government13271285Gemma 3 4B
LMArena Text: business and finance13111257Gemma 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
Web design benchmarks for Gemma 3 4B and Llama 4 Scout
BenchmarkGemma 3 4BLlama 4 ScoutLeader
Design Arena: websitesNot measured750Only Llama 4 Scout measured
Design Arena: UI componentsNot measured768Only Llama 4 Scout measured
Design Arena: game devNot measured773Only Llama 4 Scout measured
Design Arena: data vizNot measured896Only Llama 4 Scout measured
Design Arena: all code categoriesNot measured790Only 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
General benchmarks for Gemma 3 4B and Llama 4 Scout
BenchmarkGemma 3 4BLlama 4 ScoutLeader
SAGE (Vals AI)Not measured34.8%Only Llama 4 Scout measured
MedScribe (Vals AI)Not measured50.6%Only Llama 4 Scout measured
IFBench28.3%39.5%Llama 4 Scout
Long context reasoning (AA-LCR)6.7%27.7%Llama 4 Scout
DTBench50.9%57.9%Llama 4 Scout
LMCA2.8%12.0%Llama 4 Scout
Fiction.LiveBenchNot measured36.0%Only Llama 4 Scout measured
LMArena Text12911279Gemma 3 4B
LMArena Text: instruction following12391248Llama 4 Scout
LMArena Text: creative writing12701249Gemma 3 4B
LMArena VisionNot measured1118Only Llama 4 Scout measured
LMArena Text: English13001304Llama 4 Scout
LMArena Text: non-English12731252Gemma 3 4B
LMArena Text: ChineseNot measured1255Only Llama 4 Scout measured
LMArena Text: German12811273Gemma 3 4B
LMArena Text: JapaneseNot measured1206Only Llama 4 Scout measured
LMArena Text: KoreanNot measured1207Only Llama 4 Scout measured
LMArena Text: FrenchNot measured1283Only Llama 4 Scout measured
LMArena Text: SpanishNot measured1278Only Llama 4 Scout measured
LMArena Text: Russian12941263Gemma 3 4B
LMArena Text: PolishNot measured1265Only Llama 4 Scout measured
LMArena Text: multi-turn12551280Llama 4 Scout
LMArena Text: longer queries12731265Gemma 3 4B
LMArena Text: writing and language12881269Gemma 3 4B
LMArena Text: entertainment and media12331242Llama 4 Scout
LMArena Vision: EnglishNot measured1143Only Llama 4 Scout measured
LMArena Vision: ChineseNot measured1106Only Llama 4 Scout measured
LMArena Vision: reading textNot measured1117Only Llama 4 Scout measured
LMArena Vision: humorNot measured1102Only Llama 4 Scout measured
LMArena Vision: creative writingNot measured1126Only 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
Image generation benchmarks for Gemma 3 4B and Llama 4 Scout
BenchmarkGemma 3 4BLlama 4 ScoutLeader
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$0.0001Fits in one request
Llama 4 Scout$0.0004Fits in one request

Gemma 3 4B costs less

Repository review

50K input + 3K output tokens

Gemma 3 4B$0.0025Fits in one request
Llama 4 Scout$0.010Fits in one request

Gemma 3 4B costs less

Agent loop

200K input + 10K output tokens

Gemma 3 4B$0.0097Exceeds the context window
Llama 4 Scout$0.040Fits in one request

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.

Specifications of Gemma 3 4B and Llama 4 Scout
SpecificationGoogle Gemma 3 4BMeta Llama 4 Scout
MakerGoogleMeta Llama
WeightsOpen weightsOpen weights
ReleasedMarch 13, 2025April 5, 2025
Context window131K1.31M
Input $/Mtok$0.045$0.175
Output $/Mtok$0.075$0.50
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computable$1.276
SourceOpenRouter listingOpenRouter 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.

Compare next