Enter opens the highlighted result. Esc closes.

Gemma 2 27B vs Granite 4.2 8B

Granite 4.2 8B costs 3.3x less per output token than Gemma 2 27B ($0.20 vs $0.65 per million). Updated October 22, 2026; 20 benchmarks have a result for both.

Gemma 2 27BGoogle
Coding
No data
Overall
No data
Output $/M
$0.65
1
Granite 4.2 8BIBM Granite
Coding
No data
Overall
No data
Output $/M
$0.20
19
vs boards won of 20 shared

Gemma 2 27B or Granite 4.2 8B: 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
20
Gemma 2 27B only
16
Granite 4.2 8B only
7
Like-for-like categories
4 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, Granite 4.2 8B not benchmarked.
Widest category
Reasoning, 26.8 points apart on average over 3 shared benchmarks.
Widest single gap
LMArena Text: expert: Gemma 2 27B 1171 against Granite 4.2 8B 1386, 35.8 points apart on a 0 to 100 scale.
Output price
Gemma 2 27B $0.65 against Granite 4.2 8B $0.20 per million output tokens, 3.3x apart.
Context window
Gemma 2 27B takes 8K tokens, Granite 4.2 8B 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 27BBarsGranite 4.2 8BTies
Coding02
Reasoning03
Knowledge04
General110
All shared boards119
CodingLike-for-likeSix of these boards feed the Vibe Coding Index02
Coding benchmarks for Gemma 2 27B and Granite 4.2 8B
BenchmarkGemma 2 27BGranite 4.2 8BLeader
AA Coding IndexNot measured22.4Only Granite 4.2 8B measured
SciCodeNot measured31.5%Only Granite 4.2 8B measured
LMArena Text: coding12111378Granite 4.2 8B
LMArena Text: software and IT12281367Granite 4.2 8B
Neither model has a result on the other 39 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Intelligence benchmarks for Gemma 2 27B and Granite 4.2 8B
BenchmarkGemma 2 27BGranite 4.2 8BLeader
AA Intelligence IndexNot measured11.1Only Granite 4.2 8B measured
Epoch Capabilities Index122.1Not measuredOnly Gemma 2 27B measured
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
Agentic work benchmarks for Gemma 2 27B and Granite 4.2 8B
BenchmarkGemma 2 27BGranite 4.2 8BLeader
AA Agentic IndexNot measured1.3Only Granite 4.2 8B measured
Neither model has a result on the other 41 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index03
Reasoning benchmarks for Gemma 2 27B and Granite 4.2 8B
BenchmarkGemma 2 27BGranite 4.2 8BLeader
GPQA Diamond (Artificial Analysis run)Not measured63.1%Only Granite 4.2 8B measured
Humanity's Last Exam (Artificial Analysis run)Not measured9.7%Only Granite 4.2 8B measured
GPQA Diamond (Epoch AI run)36.5%Not measuredOnly Gemma 2 27B measured
LMArena Text: hard prompts11981327Granite 4.2 8B
LMArena Text: expert11711386Granite 4.2 8B
LMArena Text: hard prompts in English12061345Granite 4.2 8B
Neither model has a result on the other 17 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index4 boards, none shared
Math benchmarks for Gemma 2 27B and Granite 4.2 8B
BenchmarkGemma 2 27BGranite 4.2 8BLeader
OTIS Mock AIME1.4%Not measuredOnly Gemma 2 27B measured
MATH level 527.9%Not measuredOnly Gemma 2 27B measured
LMArena Text: math1212Not measuredOnly Gemma 2 27B measured
LMArena Text: mathematical work1221Not measuredOnly Gemma 2 27B measured
Neither model has a result on the other 10 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index04
Knowledge benchmarks for Gemma 2 27B and Granite 4.2 8B
BenchmarkGemma 2 27BGranite 4.2 8BLeader
LegalBench (Vals AI)68.0%Not measuredOnly Gemma 2 27B measured
MMLU75.7%Not measuredOnly Gemma 2 27B measured
LMArena Text: science12281336Granite 4.2 8B
LMArena Text: medicine and healthcare11981336Granite 4.2 8B
LMArena Text: legal and government12411327Granite 4.2 8B
LMArena Text: business and finance12081322Granite 4.2 8B
Neither model has a result on the other 14 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 Granite 4.2 8B
BenchmarkGemma 2 27BGranite 4.2 8BLeader
Neither model has a result on 9 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index110
General benchmarks for Gemma 2 27B and Granite 4.2 8B
BenchmarkGemma 2 27BGranite 4.2 8BLeader
Long context reasoning (AA-LCR)Not measured45.0%Only Granite 4.2 8B measured
DTBench48.0%Not measuredOnly Gemma 2 27B measured
LMCA7.1%Not measuredOnly Gemma 2 27B measured
LMArena Text12311319Granite 4.2 8B
LMArena Text: instruction following12061300Granite 4.2 8B
LMArena Text: creative writing12401236Gemma 2 27B
LMArena Text: English12421337Granite 4.2 8B
LMArena Text: non-English12171301Granite 4.2 8B
LMArena Text: Chinese12211367Granite 4.2 8B
LMArena Text: German1209Not measuredOnly Gemma 2 27B measured
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: Russian12341282Granite 4.2 8B
LMArena Text: Polish1277Not measuredOnly Gemma 2 27B measured
LMArena Text: multi-turn12241301Granite 4.2 8B
LMArena Text: longer queries12301325Granite 4.2 8B
LMArena Text: writing and language12491269Granite 4.2 8B
LMArena Text: entertainment and media12121271Granite 4.2 8B
Neither model has a result on the other 28 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 Granite 4.2 8B
BenchmarkGemma 2 27BGranite 4.2 8BLeader
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
Granite 4.2 8B$0.0002Fits in one request

Granite 4.2 8B costs less

Repository review

50K input + 3K output tokens

Gemma 2 27B$0.034Exceeds the context window
Granite 4.2 8B$0.0046Fits in one request

Granite 4.2 8B costs less

Agent loop

200K input + 10K output tokens

Gemma 2 27B$0.137Exceeds the context window
Granite 4.2 8B$0.018Exceeds the context window

Granite 4.2 8B 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 Granite 4.2 8B
SpecificationGoogle Gemma 2 27BIBM Granite 4.2 8B
MakerGoogleIBM Granite
WeightsOpen weightsOpen weights
ReleasedJuly 13, 2024August 31, 2026
Context window8K131K
Input $/Mtok$0.65$0.08
Output $/Mtok$0.65$0.20
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemma 2 27B better than Granite 4.2 8B 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 Granite 4.2 8B?

Gemma 2 27B costs $0.65 per million input tokens and $0.65 per million output tokens; Granite 4.2 8B costs $0.08 and $0.20. Cost per solved task is known for neither of them.

Which has the bigger context window, Gemma 2 27B or Granite 4.2 8B?

Granite 4.2 8B, with 131K tokens against 8K.

How many benchmarks is the Gemma 2 27B vs Granite 4.2 8B comparison based on?

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

Compare next