vs
0:3
overall capability wins (1 ties across 4 scored). Gemma 4 31B leads overall.
- Arena0:1
- Pricing3:0
- Speed2:0
- Specs0:2
Verdict
Gemma 4 31B ranks higher on LMArena (+251 Elo); Gemma 4 31B offers ~31.3x larger context (256K vs 8K); Gemma 2 2B is ~3.8x cheaper on a blended token basis than Gemma 4 31B.
- Gemma 4 31B ranks higher on LMArena (+251 Elo)
- Gemma 4 31B offers ~31.3x larger context (256K vs 8K)
- Gemma 2 2B is ~3.8x cheaper on a blended token basis than Gemma 4 31B
Cost for 1M in + 250K out
Illustrative chat workload at primary-provider list prices.
- Gemma 2 2B
- $0.05
- Gemma 4 31B
- $0.17
Gemma 2 2B is about 3.5x cheaper on this workload.
Price per 1M tokens
Full comparison
Organization
Family
Gemma
Gemma
License
Gemma
Apache 2.0
Open weights
Yes
Yes
Release
Jul 31, 2024
Apr 8, 2026
Knowledge cutoff
-
-
API / provider
Groq / Together (ref.)
Google AI / self-host
Modalities
text → text
text, image → text
Specs
Context window
8K
256K
Max output
8K
8K
Parameters
2B
31B
Pricing
Input $/1M
$0.04
$0.10
Output $/1M
$0.04
$0.30
Blended $/1M (3∶1)
$0.04
$0.15
Speed
tok/s
200
85
TTFT (s)
0.12
0.3
Reasoning
MMLU-Pro
—
85.2
GPQA Diamond
—
85.7
Humanity's Last Exam
—
23.6
AIME 2025
—
—
MATH-500
—
—
Humanity's Last Exam (with tools)
—
—
AA-Omniscience Accuracy
—
20.0
AA-LCR v1.1
—
69.7
CritPt
—
1.4
MMMU-Pro
—
73.4
IFBench
—
75.6
Chartography
—
—
Chartography (With Tools)
—
—
Coding
SWE-bench Verified
—
—
SWE-bench Pro
—
—
SWE-bench Multilingual
—
—
LiveCodeBench
—
80.0
Terminal-Bench 2.1
—
43.4
Aider Polyglot
—
—
Terminal-Bench 3
—
—
BigCodeBench
—
—
SciCode
—
45.5
CursorBench
—
—
SWE-Rebench
—
25.1
NL2Repo-Bench
—
—
DeepSWE
—
—
WebDev Arena
—
1,364
Terminal-Bench 4.0
—
—
CursorBench 4.0
—
—
FrontierCode v1.1 (Main)
—
—
Arena
LMArena Elo
1,200
1,451
| Metric | Gemma 2 2B | Gemma 4 31B | Delta |
|---|---|---|---|
| Identity | |||
| Organization | — | ||
| Family | Gemma | Gemma | — |
| License | Gemma | Apache 2.0 | — |
| Open weights | Yes | Yes | — |
| Release | Jul 31, 2024 | Apr 8, 2026 | — |
| Knowledge cutoff | - | - | — |
| API / provider | Groq / Together (ref.) | Google AI / self-host | — |
| Modalities | text → text | text, image → text | — |
| Specs | |||
| Context window | 8K | 256K | B +248K |
| Max output | 8K | 8K | tie |
| Parameters | 2B | 31B | B +29 |
| Pricing | |||
| Input $/1M | $0.04 | $0.10 | A +$0.06 |
| Output $/1M | $0.04 | $0.30 | A +$0.26 |
| Blended $/1M (3∶1) | $0.04 | $0.15 | A +$0.11 |
| Speed | |||
| tok/s | 200 | 85 | A +115 |
| TTFT (s) | 0.12 | 0.3 | A +0.18 |
| Reasoning | |||
| MMLU-Pro | — | 85.2 | — |
| GPQA Diamond | — | 85.7 | — |
| Humanity's Last Exam | — | 23.6 | — |
| AIME 2025 | — | — | — |
| MATH-500 | — | — | — |
| Humanity's Last Exam (with tools) | — | — | — |
| AA-Omniscience Accuracy | — | 20.0 | — |
| AA-LCR v1.1 | — | 69.7 | — |
| CritPt | — | 1.4 | — |
| MMMU-Pro | — | 73.4 | — |
| IFBench | — | 75.6 | — |
| Chartography | — | — | — |
| Chartography (With Tools) | — | — | — |
| Coding | |||
| SWE-bench Verified | — | — | — |
| SWE-bench Pro | — | — | — |
| SWE-bench Multilingual | — | — | — |
| LiveCodeBench | — | 80.0 | — |
| Terminal-Bench 2.1 | — | 43.4 | — |
| Aider Polyglot | — | — | — |
| Terminal-Bench 3 | — | — | — |
| BigCodeBench | — | — | — |
| SciCode | — | 45.5 | — |
| CursorBench | — | — | — |
| SWE-Rebench | — | 25.1 | — |
| NL2Repo-Bench | — | — | — |
| DeepSWE | — | — | — |
| WebDev Arena | — | 1,364 | — |
| Terminal-Bench 4.0 | — | — | — |
| CursorBench 4.0 | — | — | — |
| FrontierCode v1.1 (Main) | — | — | — |
| Arena | |||
| LMArena Elo | 1,200 | 1,451 | B +251 Elo |
Gemma 2 2B
- Context
- 8K / 8K out
- Parameters
- 2B
- Price
- $0.04 / $0.04
- Speed
- 200 tok/s · 0.12s TTFT
- Modalities
- text → text
- License
- Gemma
Tiny open Gemma 2 instruct — ultra-cheap edge and high-throughput classification baseline.
Gemma 4 31B
- Context
- 256K / 8K out
- Parameters
- 31B
- Price
- $0.10 / $0.30
- Speed
- 85 tok/s · 0.3s TTFT
- Modalities
- text, image → text
- License
- Apache 2.0
Open-weight Gemma 4 instruction model - strong mid-size open alternative under Apache 2.0.
Benchmark charts
Winner bars are emphasized. Per-benchmark deltas sit above each chart.