Enter opens the highlighted result. Esc closes.

Gemma 3 27B vs Gemma 3 4B

Gemma 3 27B leads Gemma 3 4B on the Artificial Analysis Intelligence Index, 4.9 to 4.8, and Gemma 3 4B costs 4.0x less per output token ($0.075 vs $0.30 per million). Updated October 21, 2026; 42 benchmarks have a result for both.

Gemma 3 27BGoogle
Coding
No data
Overall
31.4
Output $/M
$0.30
40
Gemma 3 4BGoogle
Coding
No data
Overall
22.6
Output $/M
$0.075
1
vs boards won of 42 shared, 1 tied

Gemma 3 27B 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 27B for work measured by Humanity's Last Exam (Artificial Analysis run), where it leads.

Shared results
42
Gemma 3 27B only
24
Gemma 3 4B only
0
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 27B not benchmarked, Gemma 3 4B not benchmarked.
Widest category
Reasoning, 13.4 points apart on average over 7 shared benchmarks.
Widest single gap
MMLU Pro (Artificial Analysis run): Gemma 3 27B 66.9% against Gemma 3 4B 41.7%, 25.2 points apart on a 0 to 100 scale.
Output price
Gemma 3 27B $0.30 against Gemma 3 4B $0.075 per million output tokens, 4.0x 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 27BBarsGemma 3 4BTies
Coding501 tie
Intelligence20
Agentic work20
Reasoning61
Math50
Knowledge50
General150
All shared boards4011 tie
CodingLike-for-likeSix of these boards feed the Vibe Coding Index50
Coding benchmarks for Gemma 3 27B and Gemma 3 4B
BenchmarkGemma 3 27BGemma 3 4BLeader
Aider polyglot4.9%Not measuredOnly Gemma 3 27B measured
AA Coding Index10.12.7Gemma 3 27B
LiveCodeBench (Artificial Analysis run)13.7%11.2%Gemma 3 27B
SciCode23.3%Not measuredOnly Gemma 3 27B measured
Terminal-Bench Hard (Artificial Analysis run)3.8%0.8%Gemma 3 27B
LMArena Text: coding13221230Gemma 3 27B
LMArena Text: software and IT13541269Gemma 3 27B
SciCode0.0%0.0%Tie
Neither model has a result on the other 31 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for Gemma 3 27B and Gemma 3 4B
BenchmarkGemma 3 27BGemma 3 4BLeader
AA Intelligence Index4.94.8Gemma 3 27B
Epoch Capabilities Index130.0115.9Gemma 3 27B
Agentic workLike-for-likePublic boards, shown as published, kept out of the index20
Agentic work benchmarks for Gemma 3 27B and Gemma 3 4B
BenchmarkGemma 3 27BGemma 3 4BLeader
AA Agentic Index0.1Not measuredOnly Gemma 3 27B measured
τ²-Bench Telecom10.5%5.0%Gemma 3 27B
Berkeley Function Calling Leaderboard (BFCL)29.5%19.6%Gemma 3 27B
Neither model has a result on the other 38 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index61
Reasoning benchmarks for Gemma 3 27B and Gemma 3 4B
BenchmarkGemma 3 27BGemma 3 4BLeader
GPQA Diamond (Artificial Analysis run)42.8%29.1%Gemma 3 27B
Humanity's Last Exam (Artificial Analysis run)4.4%5.3%Gemma 3 4B
GPQA Diamond (Epoch AI run)47.7%23.2%Gemma 3 27B
LMArena Text: hard prompts13401253Gemma 3 27B
LMArena Text: expert13041223Gemma 3 27B
LMArena Text: hard prompts in English13531253Gemma 3 27B
LMArena Vision: diagrams1156Not measuredOnly Gemma 3 27B measured
LMArena Vision: homework1160Not measuredOnly Gemma 3 27B measured
Kagi LLM Benchmark35.1%25.2%Gemma 3 27B
Neither model has a result on the other 13 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index50
Math benchmarks for Gemma 3 27B and Gemma 3 4B
BenchmarkGemma 3 27BGemma 3 4BLeader
AA Math Index20.712.7Gemma 3 27B
AIME 2025 (Artificial Analysis run)20.7%12.7%Gemma 3 27B
OTIS Mock AIME22.5%7.5%Gemma 3 27B
MATH level 574.0%Not measuredOnly Gemma 3 27B measured
LMArena Text: math13121239Gemma 3 27B
LMArena Text: mathematical work13271256Gemma 3 27B
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index50
Knowledge benchmarks for Gemma 3 27B and Gemma 3 4B
BenchmarkGemma 3 27BGemma 3 4BLeader
MMLU Pro (Artificial Analysis run)66.9%41.7%Gemma 3 27B
GeoBench52.0%Not measuredOnly Gemma 3 27B measured
LMArena Text: science13831306Gemma 3 27B
LMArena Text: medicine and healthcare13911342Gemma 3 27B
LMArena Text: legal and government13751327Gemma 3 27B
LMArena Text: business and finance13601311Gemma 3 27B
FACTS Benchmark Suite29.1%Not measuredOnly Gemma 3 27B measured
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 3 27B and Gemma 3 4B
BenchmarkGemma 3 27BGemma 3 4BLeader
Neither model has a result on 9 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index150
General benchmarks for Gemma 3 27B and Gemma 3 4B
BenchmarkGemma 3 27BGemma 3 4BLeader
IFBench31.8%28.3%Gemma 3 27B
Long context reasoning (AA-LCR)7.3%6.7%Gemma 3 27B
DTBench52.5%50.9%Gemma 3 27B
LMCA12.3%2.8%Gemma 3 27B
Fiction.LiveBench33.3%Not measuredOnly Gemma 3 27B measured
Creative writing (Lech Mazur)79.9%Not measuredOnly Gemma 3 27B measured
LMArena Text13581291Gemma 3 27B
LMArena Text: instruction following13211239Gemma 3 27B
LMArena Text: creative writing13451270Gemma 3 27B
LMArena Vision1165Not measuredOnly Gemma 3 27B measured
LMArena Text: English13771300Gemma 3 27B
LMArena Text: non-English13341273Gemma 3 27B
LMArena Text: Chinese1346Not measuredOnly Gemma 3 27B measured
LMArena Text: German13621281Gemma 3 27B
LMArena Text: Japanese1287Not measuredOnly Gemma 3 27B measured
LMArena Text: Korean1308Not measuredOnly Gemma 3 27B measured
LMArena Text: French1368Not measuredOnly Gemma 3 27B measured
LMArena Text: Spanish1349Not measuredOnly Gemma 3 27B measured
LMArena Text: Russian13491294Gemma 3 27B
LMArena Text: Polish1345Not measuredOnly Gemma 3 27B measured
LMArena Text: multi-turn13451255Gemma 3 27B
LMArena Text: longer queries13331273Gemma 3 27B
LMArena Text: writing and language13471288Gemma 3 27B
LMArena Text: entertainment and media13201233Gemma 3 27B
LMArena Vision: English1188Not measuredOnly Gemma 3 27B measured
LMArena Vision: Chinese1164Not measuredOnly Gemma 3 27B measured
LMArena Vision: reading text1156Not measuredOnly Gemma 3 27B measured
LMArena Vision: humor1166Not measuredOnly Gemma 3 27B measured
LMArena Vision: captioning1151Not measuredOnly Gemma 3 27B measured
LMArena Vision: recognizing things1196Not measuredOnly Gemma 3 27B measured
LMArena Vision: creative writing1177Not measuredOnly Gemma 3 27B 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 27B and Gemma 3 4B
BenchmarkGemma 3 27BGemma 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 27B$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 27B$0.0049Fits 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 27B$0.019Exceeds 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 27B and Gemma 3 4B
SpecificationGoogle Gemma 3 27BGoogle Gemma 3 4B
MakerGoogleGoogle
WeightsOpen weightsOpen weights
ReleasedMarch 12, 2025March 13, 2025
Context window131K131K
Input $/Mtok$0.08$0.045
Output $/Mtok$0.30$0.075
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemma 3 27B 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 27B for work measured by Humanity's Last Exam (Artificial Analysis run), where it leads.

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

Gemma 3 27B costs $0.08 per million input tokens and $0.30 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 27B or Gemma 3 4B?

Neither: both take 131K tokens.

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

42 benchmarks have a result for both models as of October 21, 2026. Gemma 3 27B'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