Enter opens the highlighted result. Esc closes.

Gemma 3 4B vs Llama 4 Maverick

Llama 4 Maverick leads Gemma 3 4B on the Artificial Analysis Intelligence Index, 9.3 to 4.8, and Gemma 3 4B costs 13.3x less per output token ($0.075 vs $1.00 per million). Updated October 21, 2026; 38 benchmarks have a result for both.

Gemma 3 4BGoogle
Coding
No data
Overall
22.6
Output $/M
$0.075
10
Llama 4 MaverickMeta Llama
Coding
No data
Overall
21.8
Output $/M
$1.00
28
vs boards won of 38 shared

Gemma 3 4B or Llama 4 Maverick: 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 13.3x cheaper ($0.075 vs $1.00 per million) and work measured by AA Coding Index or LiveCodeBench (Artificial Analysis run), where it leads.

Shared results
38
Gemma 3 4B only
4
Llama 4 Maverick only
47
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 Maverick not benchmarked.
Widest category
Reasoning, 14.5 points apart on average over 6 shared benchmarks.
Widest single gap
Long context reasoning (AA-LCR): Gemma 3 4B 6.7% against Llama 4 Maverick 50.0%, 43.3 points apart on a 0 to 100 scale.
Output price
Gemma 3 4B $0.075 against Llama 4 Maverick $1.00 per million output tokens, 13.3x apart.
Context window
Gemma 3 4B takes 131K 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.

Boards won, where both have a result
CategoryGemma 3 4BBarsLlama 4 MaverickTies
Coding05
Intelligence02
Agentic work01
Reasoning15
Math04
Knowledge41
General510
All shared boards1028
CodingLike-for-likeSix of these boards feed the Vibe Coding Index05
Coding benchmarks for Gemma 3 4B and Llama 4 Maverick
BenchmarkGemma 3 4BLlama 4 MaverickLeader
Aider polyglotNot measured15.6%Only Llama 4 Maverick measured
SWE-bench VerifiedNot measured21.0%Only Llama 4 Maverick measured
AA Coding Index2.716.3Llama 4 Maverick
LiveCodeBench (Vals AI)Not measured47.3%Only Llama 4 Maverick measured
LiveCodeBench (Artificial Analysis run)11.2%39.7%Llama 4 Maverick
SciCodeNot measured31.7%Only Llama 4 Maverick measured
Terminal-Bench Hard (Artificial Analysis run)0.8%6.8%Llama 4 Maverick
WeirdMLNot measured24.5%Only Llama 4 Maverick measured
ALE-BenchNot measured173.0Only Llama 4 Maverick measured
LMArena Text: coding12301301Llama 4 Maverick
LMArena Text: software and IT12691299Llama 4 Maverick
SciCode0.0%Not measuredOnly Gemma 3 4B measured
Neither model has a result on the other 27 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Gemma 3 4B and Llama 4 Maverick
BenchmarkGemma 3 4BLlama 4 MaverickLeader
AA Intelligence Index4.89.3Llama 4 Maverick
Epoch Capabilities Index115.9132.2Llama 4 Maverick
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for Gemma 3 4B and Llama 4 Maverick
BenchmarkGemma 3 4BLlama 4 MaverickLeader
AA Agentic IndexNot measured0.6Only Llama 4 Maverick measured
τ²-Bench Telecom5.0%17.8%Llama 4 Maverick
Berkeley Function Calling Leaderboard (BFCL)19.6%Not measuredOnly Gemma 3 4B measured
Neither model has a result on the other 38 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index15
Reasoning benchmarks for Gemma 3 4B and Llama 4 Maverick
BenchmarkGemma 3 4BLlama 4 MaverickLeader
GPQA DiamondNot measured69.4%Only Llama 4 Maverick measured
MMMU Pro (Vals AI)Not measured71.7%Only Llama 4 Maverick measured
GPQA Diamond (Artificial Analysis run)29.1%67.1%Llama 4 Maverick
Humanity's Last Exam (Artificial Analysis run)5.3%4.9%Gemma 3 4B
GPQA Diamond (Epoch AI run)23.2%Not measuredOnly Gemma 3 4B measured
ARC-AGINot measured4.4%Only Llama 4 Maverick measured
ARC-AGI-2Not measured0.0%Only Llama 4 Maverick measured
SimpleBenchNot measured27.7%Only Llama 4 Maverick measured
LMArena Text: hard prompts12531281Llama 4 Maverick
LMArena Text: expert12231259Llama 4 Maverick
LMArena Text: hard prompts in English12531295Llama 4 Maverick
LMArena Vision: diagramsNot measured1134Only Llama 4 Maverick measured
LMArena Vision: homeworkNot measured1164Only Llama 4 Maverick measured
Kagi LLM Benchmark25.2%55.9%Llama 4 Maverick
Neither model has a result on the other 8 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index04
Math benchmarks for Gemma 3 4B and Llama 4 Maverick
BenchmarkGemma 3 4BLlama 4 MaverickLeader
AIMENot measured25.2%Only Llama 4 Maverick measured
MATH 500 (Vals AI)Not measured85.2%Only Llama 4 Maverick measured
MGSM (Vals AI)Not measured92.4%Only Llama 4 Maverick measured
AA Math Index12.719.3Llama 4 Maverick
AIME 2025 (Artificial Analysis run)12.7%19.3%Llama 4 Maverick
OTIS Mock AIME7.5%Not measuredOnly Gemma 3 4B measured
LMArena Text: math12391299Llama 4 Maverick
LMArena Text: mathematical work12561295Llama 4 Maverick
Neither model has a result on the other 5 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index41
Knowledge benchmarks for Gemma 3 4B and Llama 4 Maverick
BenchmarkGemma 3 4BLlama 4 MaverickLeader
MMLU ProNot measured79.4%Only Llama 4 Maverick measured
LegalBench (Vals AI)Not measured77.8%Only Llama 4 Maverick measured
CorpFin (Vals AI)Not measured49.7%Only Llama 4 Maverick measured
TaxEval (Vals AI)Not measured66.6%Only Llama 4 Maverick measured
MortgageTax (Vals AI)Not measured58.5%Only Llama 4 Maverick measured
MedQA (Vals AI)Not measured43.3%Only Llama 4 Maverick measured
MedCode (Vals AI)Not measured36.5%Only Llama 4 Maverick measured
MMLU Pro (Artificial Analysis run)41.7%80.9%Llama 4 Maverick
GeoBenchNot measured52.0%Only Llama 4 Maverick measured
LMArena Text: science13061288Gemma 3 4B
LMArena Text: medicine and healthcare13421275Gemma 3 4B
LMArena Text: legal and government13271286Gemma 3 4B
LMArena Text: business and finance13111260Gemma 3 4B
Neither model has a result on the other 5 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Web design benchmarks for Gemma 3 4B and Llama 4 Maverick
BenchmarkGemma 3 4BLlama 4 MaverickLeader
Design Arena: websitesNot measured871Only Llama 4 Maverick measured
Design Arena: UI componentsNot measured899Only Llama 4 Maverick measured
Design Arena: game devNot measured838Only Llama 4 Maverick measured
Design Arena: data vizNot measured882Only Llama 4 Maverick measured
Design Arena: 3DNot measured901Only Llama 4 Maverick measured
Design Arena: all code categoriesNot measured880Only Llama 4 Maverick measured
Neither model has a result on the other 3 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index510
General benchmarks for Gemma 3 4B and Llama 4 Maverick
BenchmarkGemma 3 4BLlama 4 MaverickLeader
SAGE (Vals AI)Not measured35.7%Only Llama 4 Maverick measured
MedScribe (Vals AI)Not measured54.2%Only Llama 4 Maverick measured
IFBench28.3%43.0%Llama 4 Maverick
Long context reasoning (AA-LCR)6.7%50.0%Llama 4 Maverick
DTBench50.9%61.9%Llama 4 Maverick
LMCA2.8%15.9%Llama 4 Maverick
Fiction.LiveBenchNot measured46.2%Only Llama 4 Maverick measured
Creative writing (Lech Mazur)Not measured62.0%Only Llama 4 Maverick measured
LMArena Text12911287Gemma 3 4B
LMArena Text: instruction following12391267Llama 4 Maverick
LMArena Text: creative writing12701266Gemma 3 4B
LMArena VisionNot measured1142Only Llama 4 Maverick measured
LMArena Text: English13001303Llama 4 Maverick
LMArena Text: non-English12731269Gemma 3 4B
LMArena Text: ChineseNot measured1277Only Llama 4 Maverick measured
LMArena Text: German12811291Llama 4 Maverick
LMArena Text: JapaneseNot measured1206Only Llama 4 Maverick measured
LMArena Text: KoreanNot measured1203Only Llama 4 Maverick measured
LMArena Text: FrenchNot measured1259Only Llama 4 Maverick measured
LMArena Text: SpanishNot measured1293Only Llama 4 Maverick measured
LMArena Text: Russian12941286Gemma 3 4B
LMArena Text: PolishNot measured1275Only Llama 4 Maverick measured
LMArena Text: multi-turn12551289Llama 4 Maverick
LMArena Text: longer queries12731280Llama 4 Maverick
LMArena Text: writing and language12881277Gemma 3 4B
LMArena Text: entertainment and media12331250Llama 4 Maverick
LMArena Vision: EnglishNot measured1150Only Llama 4 Maverick measured
LMArena Vision: ChineseNot measured1141Only Llama 4 Maverick measured
LMArena Vision: reading textNot measured1143Only Llama 4 Maverick measured
LMArena Vision: humorNot measured1100Only Llama 4 Maverick measured
LMArena Vision: creative writingNot measured1099Only 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
Image generation benchmarks for Gemma 3 4B and Llama 4 Maverick
BenchmarkGemma 3 4BLlama 4 MaverickLeader
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 Maverick$0.0008Fits 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 Maverick$0.021Fits 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 Maverick$0.080Fits 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 Maverick
SpecificationGoogle Gemma 3 4BMeta Llama 4 Maverick
MakerGoogleMeta Llama
WeightsOpen weightsOpen weights
ReleasedMarch 13, 2025April 5, 2025
Context window131K524K
Input $/Mtok$0.045$0.35
Output $/Mtok$0.075$1.00
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computable$1.491
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemma 3 4B better than Llama 4 Maverick for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Gemma 3 4B for output tokens 13.3x cheaper ($0.075 vs $1.00 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 Maverick?

Gemma 3 4B costs $0.045 per million input tokens and $0.075 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, Gemma 3 4B or Llama 4 Maverick?

Llama 4 Maverick, with 524K tokens against 131K.

How many benchmarks is the Gemma 3 4B vs Llama 4 Maverick comparison based on?

38 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 Maverick's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next