Enter opens the highlighted result. Esc closes.

Gemma 2 27B vs Gemma 3 12B

Gemma 3 12B costs 4.0x less per output token than Gemma 2 27B ($0.1625 vs $0.65 per million). Updated October 21, 2026; 27 benchmarks have a result for both.

Gemma 2 27BGoogle
Coding
No data
Overall
No data
Output $/M
$0.65
1
Gemma 3 12BGoogle
Coding
No data
Overall
28.0
Output $/M
$0.1625
26
vs boards won of 27 shared

Gemma 2 27B or Gemma 3 12B: which to pick

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

Pick Gemma 2 27B for work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads.

Shared results
27
Gemma 2 27B only
9
Gemma 3 12B only
16
Like-for-like categories
6 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 2 27B not benchmarked, Gemma 3 12B not benchmarked.
Widest category
Knowledge, 24.3 points apart on average over 4 shared benchmarks.
Widest single gap
LMArena Text: business and finance: Gemma 2 27B 1208 against Gemma 3 12B 1376, 28.1 points apart on a 0 to 100 scale.
Output price
Gemma 2 27B $0.65 against Gemma 3 12B $0.1625 per million output tokens, 4.0x apart.
Context window
Gemma 2 27B takes 8K tokens, Gemma 3 12B 131K.

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 2 27BBarsGemma 3 12BTies
Coding02
Intelligence01
Reasoning04
Math03
Knowledge04
General112
All shared boards126
CodingLike-for-likeSix of these boards feed the Vibe Coding Index02
Coding benchmarks for Gemma 2 27B and Gemma 3 12B
BenchmarkGemma 2 27BGemma 3 12BLeader
AA Coding IndexNot measured5.8Only Gemma 3 12B measured
LiveCodeBench (Artificial Analysis run)Not measured13.7%Only Gemma 3 12B measured
SciCodeNot measured16.4%Only Gemma 3 12B measured
Terminal-Bench Hard (Artificial Analysis run)Not measured0.8%Only Gemma 3 12B measured
LMArena Text: coding12111281Gemma 3 12B
LMArena Text: software and IT12281313Gemma 3 12B
SciCodeNot measured0.0%Only Gemma 3 12B measured
Neither model has a result on the other 32 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for Gemma 2 27B and Gemma 3 12B
BenchmarkGemma 2 27BGemma 3 12BLeader
AA Intelligence IndexNot measured3.8Only Gemma 3 12B measured
Epoch Capabilities Index122.1123.5Gemma 3 12B
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index3 boards, none shared
Agentic work benchmarks for Gemma 2 27B and Gemma 3 12B
BenchmarkGemma 2 27BGemma 3 12BLeader
AA Agentic IndexNot measured0.1Only Gemma 3 12B measured
τ²-Bench TelecomNot measured10.8%Only Gemma 3 12B measured
Berkeley Function Calling Leaderboard (BFCL)Not measured30.4%Only Gemma 3 12B measured
Neither model has a result on the other 38 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index04
Reasoning benchmarks for Gemma 2 27B and Gemma 3 12B
BenchmarkGemma 2 27BGemma 3 12BLeader
GPQA Diamond (Artificial Analysis run)Not measured34.9%Only Gemma 3 12B measured
Humanity's Last Exam (Artificial Analysis run)Not measured4.2%Only Gemma 3 12B measured
GPQA Diamond (Epoch AI run)36.5%39.5%Gemma 3 12B
LMArena Text: hard prompts11981309Gemma 3 12B
LMArena Text: expert11711248Gemma 3 12B
LMArena Text: hard prompts in English12061318Gemma 3 12B
Neither model has a result on the other 16 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index03
Math benchmarks for Gemma 2 27B and Gemma 3 12B
BenchmarkGemma 2 27BGemma 3 12BLeader
AA Math IndexNot measured18.3Only Gemma 3 12B measured
AIME 2025 (Artificial Analysis run)Not measured18.3%Only Gemma 3 12B measured
OTIS Mock AIME1.4%16.7%Gemma 3 12B
MATH level 527.9%Not measuredOnly Gemma 2 27B measured
LMArena Text: math12121307Gemma 3 12B
LMArena Text: mathematical work12211336Gemma 3 12B
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index04
Knowledge benchmarks for Gemma 2 27B and Gemma 3 12B
BenchmarkGemma 2 27BGemma 3 12BLeader
LegalBench (Vals AI)68.0%Not measuredOnly Gemma 2 27B measured
MMLU Pro (Artificial Analysis run)Not measured59.5%Only Gemma 3 12B measured
MMLU75.7%Not measuredOnly Gemma 2 27B measured
LMArena Text: science12281366Gemma 3 12B
LMArena Text: medicine and healthcare11981334Gemma 3 12B
LMArena Text: legal and government12411381Gemma 3 12B
LMArena Text: business and finance12081376Gemma 3 12B
Neither model has a result on the other 11 boards here
Web designNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Web design benchmarks for Gemma 2 27B and Gemma 3 12B
BenchmarkGemma 2 27BGemma 3 12BLeader
Neither model has a result on 9 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index112
General benchmarks for Gemma 2 27B and Gemma 3 12B
BenchmarkGemma 2 27BGemma 3 12BLeader
IFBenchNot measured36.7%Only Gemma 3 12B measured
Long context reasoning (AA-LCR)Not measured8.3%Only Gemma 3 12B measured
DTBench48.0%48.8%Gemma 3 12B
LMCA7.1%4.5%Gemma 2 27B
LMArena Text12311334Gemma 3 12B
LMArena Text: instruction following12061299Gemma 3 12B
LMArena Text: creative writing12401331Gemma 3 12B
LMArena Text: English12421349Gemma 3 12B
LMArena Text: non-English12171318Gemma 3 12B
LMArena Text: Chinese1221Not measuredOnly Gemma 2 27B measured
LMArena Text: German12091370Gemma 3 12B
LMArena Text: Japanese1175Not measuredOnly Gemma 2 27B measured
LMArena Text: Korean1174Not measuredOnly Gemma 2 27B measured
LMArena Text: French1248Not measuredOnly Gemma 2 27B measured
LMArena Text: Spanish1228Not measuredOnly Gemma 2 27B measured
LMArena Text: Russian12341335Gemma 3 12B
LMArena Text: Polish1277Not measuredOnly Gemma 2 27B measured
LMArena Text: multi-turn12241334Gemma 3 12B
LMArena Text: longer queries12301317Gemma 3 12B
LMArena Text: writing and language12491307Gemma 3 12B
LMArena Text: entertainment and media12121297Gemma 3 12B
Neither model has a result on the other 25 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemma 2 27B and Gemma 3 12B
BenchmarkGemma 2 27BGemma 3 12BLeader
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 2 27B$0.0010Fits in one request
Gemma 3 12B$0.0002Fits in one request

Gemma 3 12B costs less

Repository review

50K input + 3K output tokens

Gemma 2 27B$0.034Exceeds the context window
Gemma 3 12B$0.0042Fits in one request

Gemma 3 12B costs less

Agent loop

200K input + 10K output tokens

Gemma 2 27B$0.137Exceeds the context window
Gemma 3 12B$0.017Exceeds the context window

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

Questions

Is Gemma 2 27B better than Gemma 3 12B for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Gemma 2 27B for work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads.

Which is cheaper, Gemma 2 27B or Gemma 3 12B?

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

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

Gemma 3 12B, with 131K tokens against 8K.

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

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

Compare next