Enter opens the highlighted result. Esc closes.

Gemma 3 12B vs Gemma 3 4B

Gemma 3 4B leads Gemma 3 12B on the Artificial Analysis Intelligence Index, 4.8 to 3.8, and Gemma 3 4B costs 2.2x less per output token ($0.075 vs $0.1625 per million). Updated October 21, 2026; 41 benchmarks have a result for both.

Gemma 3 12BGoogle
Coding
No data
Overall
28.0
Output $/M
$0.1625
35
Gemma 3 4BGoogle
Coding
No data
Overall
22.6
Output $/M
$0.075
4
vs boards won of 41 shared, 2 tied

Gemma 3 12B or Gemma 3 4B: which to pick

Neither model has a coding score yet, so the two cannot be ranked on coding.

Pick Gemma 3 12B for work measured by AA Intelligence Index or Humanity's Last Exam (Artificial Analysis run), where it leads.

Shared results
41
Gemma 3 12B only
2
Gemma 3 4B only
1
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 12B not benchmarked, Gemma 3 4B not benchmarked.
Widest category
Knowledge, 9.8 points apart on average over 5 shared benchmarks.
Widest single gap
MMLU Pro (Artificial Analysis run): Gemma 3 12B 59.5% against Gemma 3 4B 41.7%, 17.8 points apart on a 0 to 100 scale.
Output price
Gemma 3 12B $0.1625 against Gemma 3 4B $0.075 per million output tokens, 2.2x apart.
Context window
Both take 131K tokens.

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 12BBarsGemma 3 4BTies
Coding402 ties
Intelligence11
Agentic work20
Reasoning51
Math50
Knowledge41
General141
All shared boards3542 ties
CodingLike-for-likeSix of these boards feed the Vibe Coding Index40
Coding benchmarks for Gemma 3 12B and Gemma 3 4B
BenchmarkGemma 3 12BGemma 3 4BLeader
AA Coding Index5.82.7Gemma 3 12B
LiveCodeBench (Artificial Analysis run)13.7%11.2%Gemma 3 12B
SciCode16.4%Not measuredOnly Gemma 3 12B measured
Terminal-Bench Hard (Artificial Analysis run)0.8%0.8%Tie
LMArena Text: coding12811230Gemma 3 12B
LMArena Text: software and IT13131269Gemma 3 12B
SciCode0.0%0.0%Tie
Neither model has a result on the other 32 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index11
Intelligence benchmarks for Gemma 3 12B and Gemma 3 4B
BenchmarkGemma 3 12BGemma 3 4BLeader
AA Intelligence Index3.84.8Gemma 3 4B
Epoch Capabilities Index123.5115.9Gemma 3 12B
Agentic workLike-for-likePublic boards, shown as published, kept out of the index20
Agentic work benchmarks for Gemma 3 12B and Gemma 3 4B
BenchmarkGemma 3 12BGemma 3 4BLeader
AA Agentic Index0.1Not measuredOnly Gemma 3 12B measured
τ²-Bench Telecom10.8%5.0%Gemma 3 12B
Berkeley Function Calling Leaderboard (BFCL)30.4%19.6%Gemma 3 12B
Neither model has a result on the other 38 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index51
Reasoning benchmarks for Gemma 3 12B and Gemma 3 4B
BenchmarkGemma 3 12BGemma 3 4BLeader
GPQA Diamond (Artificial Analysis run)34.9%29.1%Gemma 3 12B
Humanity's Last Exam (Artificial Analysis run)4.2%5.3%Gemma 3 4B
GPQA Diamond (Epoch AI run)39.5%23.2%Gemma 3 12B
LMArena Text: hard prompts13091253Gemma 3 12B
LMArena Text: expert12481223Gemma 3 12B
LMArena Text: hard prompts in English13181253Gemma 3 12B
Kagi LLM BenchmarkNot measured25.2%Only Gemma 3 4B measured
Neither model has a result on the other 15 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index50
Math benchmarks for Gemma 3 12B and Gemma 3 4B
BenchmarkGemma 3 12BGemma 3 4BLeader
AA Math Index18.312.7Gemma 3 12B
AIME 2025 (Artificial Analysis run)18.3%12.7%Gemma 3 12B
OTIS Mock AIME16.7%7.5%Gemma 3 12B
LMArena Text: math13071239Gemma 3 12B
LMArena Text: mathematical work13361256Gemma 3 12B
Neither model has a result on the other 8 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index41
Knowledge benchmarks for Gemma 3 12B and Gemma 3 4B
BenchmarkGemma 3 12BGemma 3 4BLeader
MMLU Pro (Artificial Analysis run)59.5%41.7%Gemma 3 12B
LMArena Text: science13661306Gemma 3 12B
LMArena Text: medicine and healthcare13341342Gemma 3 4B
LMArena Text: legal and government13811327Gemma 3 12B
LMArena Text: business and finance13761311Gemma 3 12B
Neither model has a result on the other 13 boards here
Web designNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Web design benchmarks for Gemma 3 12B and Gemma 3 4B
BenchmarkGemma 3 12BGemma 3 4BLeader
Neither model has a result on 9 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index141
General benchmarks for Gemma 3 12B and Gemma 3 4B
BenchmarkGemma 3 12BGemma 3 4BLeader
IFBench36.7%28.3%Gemma 3 12B
Long context reasoning (AA-LCR)8.3%6.7%Gemma 3 12B
DTBench48.8%50.9%Gemma 3 4B
LMCA4.5%2.8%Gemma 3 12B
LMArena Text13341291Gemma 3 12B
LMArena Text: instruction following12991239Gemma 3 12B
LMArena Text: creative writing13311270Gemma 3 12B
LMArena Text: English13491300Gemma 3 12B
LMArena Text: non-English13181273Gemma 3 12B
LMArena Text: German13701281Gemma 3 12B
LMArena Text: Russian13351294Gemma 3 12B
LMArena Text: multi-turn13341255Gemma 3 12B
LMArena Text: longer queries13171273Gemma 3 12B
LMArena Text: writing and language13071288Gemma 3 12B
LMArena Text: entertainment and media12971233Gemma 3 12B
Neither model has a result on the other 31 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemma 3 12B and Gemma 3 4B
BenchmarkGemma 3 12BGemma 3 4BLeader
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 12B$0.0002Fits in one request
Gemma 3 4B$0.0001Fits in one request

Gemma 3 4B costs less

Repository review

50K input + 3K output tokens

Gemma 3 12B$0.0042Fits in one request
Gemma 3 4B$0.0025Fits in one request

Gemma 3 4B costs less

Agent loop

200K input + 10K output tokens

Gemma 3 12B$0.017Exceeds the context window
Gemma 3 4B$0.0097Exceeds the context window

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 12B and Gemma 3 4B
SpecificationGoogle Gemma 3 12BGoogle Gemma 3 4B
MakerGoogleGoogle
WeightsOpen weightsOpen weights
ReleasedMarch 13, 2025March 13, 2025
Context window131K131K
Input $/Mtok$0.075$0.045
Output $/Mtok$0.1625$0.075
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemma 3 12B better than Gemma 3 4B for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Gemma 3 12B for work measured by AA Intelligence Index or Humanity's Last Exam (Artificial Analysis run), where it leads.

Which is cheaper, Gemma 3 12B or Gemma 3 4B?

Gemma 3 12B costs $0.075 per million input tokens and $0.1625 per million output tokens; Gemma 3 4B costs $0.045 and $0.075. Cost per solved task is known for neither of them.

Which has the bigger context window, Gemma 3 12B or Gemma 3 4B?

Neither: both take 131K tokens.

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

41 benchmarks have a result for both models as of October 21, 2026. Gemma 3 12B's coding index rests on 0 independent benchmarks and Gemma 3 4B's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next