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 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.
Coding
Vibe Coding Index, six public coding benchmarks
No call
Neither has a coding score yet.
One side not measured
Intelligence
AA Intelligence Index
Gemma 3 27B
Gemma 3 27B leads, 4.9 against 4.8.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Gemma 3 27B has a AA Agentic Index result, 0.1.
Directional only
Long documents
Listed context window
No call
Both take 131K tokens.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemma 3 4B
Gemma 3 27B $0.0002, Gemma 3 4B $0.0001 per turn.
List prices
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.
| Category | Gemma 3 27B | Bars | Gemma 3 4B | Ties |
|---|---|---|---|---|
| Coding | 5 | 0 | 1 tie | |
| Intelligence | 2 | 0 | ||
| Agentic work | 2 | 0 | ||
| Reasoning | 6 | 1 | ||
| Math | 5 | 0 | ||
| Knowledge | 5 | 0 | ||
| General | 15 | 0 | ||
| All shared boards | 40 | 1 | 1 tie |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index50
| Benchmark | Gemma 3 27B | Gemma 3 4B | Leader |
|---|---|---|---|
| Aider polyglot | 4.9% | Not measured | Only Gemma 3 27B measured |
| AA Coding Index | 10.1 | 2.7 | Gemma 3 27B |
| LiveCodeBench (Artificial Analysis run) | 13.7% | 11.2% | Gemma 3 27B |
| SciCode | 23.3% | Not measured | Only Gemma 3 27B measured |
| Terminal-Bench Hard (Artificial Analysis run) | 3.8% | 0.8% | Gemma 3 27B |
| LMArena Text: coding | 1322 | 1230 | Gemma 3 27B |
| LMArena Text: software and IT | 1354 | 1269 | Gemma 3 27B |
| SciCode | 0.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
| Benchmark | Gemma 3 27B | Gemma 3 4B | Leader |
|---|---|---|---|
| AA Intelligence Index | 4.9 | 4.8 | Gemma 3 27B |
| Epoch Capabilities Index | 130.0 | 115.9 | Gemma 3 27B |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | Gemma 3 27B | Gemma 3 4B | Leader |
|---|---|---|---|
| AA Agentic Index | 0.1 | Not measured | Only Gemma 3 27B measured |
| τ²-Bench Telecom | 10.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
| Benchmark | Gemma 3 27B | Gemma 3 4B | Leader |
|---|---|---|---|
| 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 prompts | 1340 | 1253 | Gemma 3 27B |
| LMArena Text: expert | 1304 | 1223 | Gemma 3 27B |
| LMArena Text: hard prompts in English | 1353 | 1253 | Gemma 3 27B |
| LMArena Vision: diagrams | 1156 | Not measured | Only Gemma 3 27B measured |
| LMArena Vision: homework | 1160 | Not measured | Only Gemma 3 27B measured |
| Kagi LLM Benchmark | 35.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
| Benchmark | Gemma 3 27B | Gemma 3 4B | Leader |
|---|---|---|---|
| AA Math Index | 20.7 | 12.7 | Gemma 3 27B |
| AIME 2025 (Artificial Analysis run) | 20.7% | 12.7% | Gemma 3 27B |
| OTIS Mock AIME | 22.5% | 7.5% | Gemma 3 27B |
| MATH level 5 | 74.0% | Not measured | Only Gemma 3 27B measured |
| LMArena Text: math | 1312 | 1239 | Gemma 3 27B |
| LMArena Text: mathematical work | 1327 | 1256 | Gemma 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
| Benchmark | Gemma 3 27B | Gemma 3 4B | Leader |
|---|---|---|---|
| MMLU Pro (Artificial Analysis run) | 66.9% | 41.7% | Gemma 3 27B |
| GeoBench | 52.0% | Not measured | Only Gemma 3 27B measured |
| LMArena Text: science | 1383 | 1306 | Gemma 3 27B |
| LMArena Text: medicine and healthcare | 1391 | 1342 | Gemma 3 27B |
| LMArena Text: legal and government | 1375 | 1327 | Gemma 3 27B |
| LMArena Text: business and finance | 1360 | 1311 | Gemma 3 27B |
| FACTS Benchmark Suite | 29.1% | Not measured | Only 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
| Benchmark | Gemma 3 27B | Gemma 3 4B | Leader |
|---|---|---|---|
| Neither model has a result on 9 boards here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index150
| Benchmark | Gemma 3 27B | Gemma 3 4B | Leader |
|---|---|---|---|
| IFBench | 31.8% | 28.3% | Gemma 3 27B |
| Long context reasoning (AA-LCR) | 7.3% | 6.7% | Gemma 3 27B |
| DTBench | 52.5% | 50.9% | Gemma 3 27B |
| LMCA | 12.3% | 2.8% | Gemma 3 27B |
| Fiction.LiveBench | 33.3% | Not measured | Only Gemma 3 27B measured |
| Creative writing (Lech Mazur) | 79.9% | Not measured | Only Gemma 3 27B measured |
| LMArena Text | 1358 | 1291 | Gemma 3 27B |
| LMArena Text: instruction following | 1321 | 1239 | Gemma 3 27B |
| LMArena Text: creative writing | 1345 | 1270 | Gemma 3 27B |
| LMArena Vision | 1165 | Not measured | Only Gemma 3 27B measured |
| LMArena Text: English | 1377 | 1300 | Gemma 3 27B |
| LMArena Text: non-English | 1334 | 1273 | Gemma 3 27B |
| LMArena Text: Chinese | 1346 | Not measured | Only Gemma 3 27B measured |
| LMArena Text: German | 1362 | 1281 | Gemma 3 27B |
| LMArena Text: Japanese | 1287 | Not measured | Only Gemma 3 27B measured |
| LMArena Text: Korean | 1308 | Not measured | Only Gemma 3 27B measured |
| LMArena Text: French | 1368 | Not measured | Only Gemma 3 27B measured |
| LMArena Text: Spanish | 1349 | Not measured | Only Gemma 3 27B measured |
| LMArena Text: Russian | 1349 | 1294 | Gemma 3 27B |
| LMArena Text: Polish | 1345 | Not measured | Only Gemma 3 27B measured |
| LMArena Text: multi-turn | 1345 | 1255 | Gemma 3 27B |
| LMArena Text: longer queries | 1333 | 1273 | Gemma 3 27B |
| LMArena Text: writing and language | 1347 | 1288 | Gemma 3 27B |
| LMArena Text: entertainment and media | 1320 | 1233 | Gemma 3 27B |
| LMArena Vision: English | 1188 | Not measured | Only Gemma 3 27B measured |
| LMArena Vision: Chinese | 1164 | Not measured | Only Gemma 3 27B measured |
| LMArena Vision: reading text | 1156 | Not measured | Only Gemma 3 27B measured |
| LMArena Vision: humor | 1166 | Not measured | Only Gemma 3 27B measured |
| LMArena Vision: captioning | 1151 | Not measured | Only Gemma 3 27B measured |
| LMArena Vision: recognizing things | 1196 | Not measured | Only Gemma 3 27B measured |
| LMArena Vision: creative writing | 1177 | Not measured | Only 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
| Benchmark | Gemma 3 27B | Gemma 3 4B | Leader |
|---|---|---|---|
| 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 costs less
Repository review
50K input + 3K output tokens
Gemma 3 4B costs less
Agent loop
200K input + 10K output tokens
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.
| Specification | Google Gemma 3 27B | Google Gemma 3 4B |
|---|---|---|
| Maker | ||
| Weights | Open weights | Open weights |
| Released | March 12, 2025 | March 13, 2025 |
| Context window | 131K | 131K |
| Input $/Mtok | $0.08 | $0.045 |
| Output $/Mtok | $0.30 | $0.075 |
| Coding index | Not benchmarked | Not benchmarked |
| Independent measurements behind it | 0 | 0 |
| Cost per solved task | Not computable | Not computable |
| Source | OpenRouter listing | OpenRouter 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.