Gemini 2.5 Pro Preview 06-05 vs Gemma 4 31B
Gemma 4 31B costs 25.0x less per output token than Gemini 2.5 Pro Preview 06-05 ($0.40 vs $10.00 per million). Updated October 21, 2026; 4 benchmarks have a result for both.
Gemini 2.5 Pro Preview 06-05 or Gemma 4 31B: which to pick
Only Gemma 4 31B has a coding score, 39.0 on the Vibe Coding Index; Gemini 2.5 Pro Preview 06-05 has none, so the two cannot be ranked on coding.
Pick Gemini 2.5 Pro Preview 06-05 for a larger context window (1.05M against 262K tokens) and work measured by GPQA Diamond (Epoch AI run), where it leads.
- Shared results
- 4
- Gemini 2.5 Pro Preview 06-05 only
- 11
- Gemma 4 31B only
- 67
- Like-for-like categories
- 2 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
Only Gemma 4 31B has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
No call
Only Gemma 4 31B has a AA Intelligence Index result, 14.7.
Directional only
Agentic work
AA Agentic Index
No call
Only Gemma 4 31B has a AA Agentic Index result, 4.2.
Directional only
Long documents
Listed context window
Gemini 2.5 Pro Preview 06-05
Gemini 2.5 Pro Preview 06-05 takes 1.05M tokens against 262K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemma 4 31B
Gemini 2.5 Pro Preview 06-05 $0.0063, Gemma 4 31B $0.0003 per turn.
List prices
At a glance
- Coding index
- Gemini 2.5 Pro Preview 06-05 not benchmarked, Gemma 4 31B 39.0 from 2 benchmarks.
- Widest category
- Reasoning, 5.0 points apart on average over 3 shared benchmarks.
- Widest single gap
- GPQA Diamond (Epoch AI run): Gemini 2.5 Pro Preview 06-05 84.8% against Gemma 4 31B 75.8%, 9.1 points apart on a 0 to 100 scale.
- Output price
- Gemini 2.5 Pro Preview 06-05 $10.00 against Gemma 4 31B $0.40 per million output tokens, 25.0x apart.
- Context window
- Gemini 2.5 Pro Preview 06-05 takes 1.05M tokens, Gemma 4 31B 262K.
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 | Gemini 2.5 Pro Preview 06-05 | Bars | Gemma 4 31B | Ties |
|---|---|---|---|---|
| Coding | 0 | 1 | ||
| Reasoning | 1 | 2 | ||
| All shared boards | 1 | 3 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index01
| Benchmark | Gemini 2.5 Pro Preview 06-05 | Gemma 4 31B | Leader |
|---|---|---|---|
| Aider polyglot | 83.1% | Not measured | Only Gemini 2.5 Pro Preview 06-05 measured |
| LiveBench coding | Not measured | 49.0% | Only Gemma 4 31B measured |
| LMArena WebDev | Not measured | 1367 | Only Gemma 4 31B measured |
| AA Coding Index | Not measured | 43.4 | Only Gemma 4 31B measured |
| LiveCodeBench (Vals AI) | 79.2% | Not measured | Only Gemini 2.5 Pro Preview 06-05 measured |
| LiveCodeBench (Artificial Analysis run) | 77.8% | Not measured | Only Gemini 2.5 Pro Preview 06-05 measured |
| SciCode | Not measured | 45.5% | Only Gemma 4 31B measured |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 36.4% | Only Gemma 4 31B measured |
| GSO-Bench | 3.9% | Not measured | Only Gemini 2.5 Pro Preview 06-05 measured |
| WeirdML | Not measured | 52.3% | Only Gemma 4 31B measured |
| ALE-Bench | Not measured | 925.5 | Only Gemma 4 31B measured |
| LMArena Text: coding | Not measured | 1459 | Only Gemma 4 31B measured |
| LMArena Text: software and IT | Not measured | 1463 | Only Gemma 4 31B measured |
| LMArena WebDev: React | Not measured | 1359 | Only Gemma 4 31B measured |
| LMArena WebDev: HTML | Not measured | 1380 | Only Gemma 4 31B measured |
| SciCode | 7.7% | 8.9% | Gemma 4 31B |
| Neither model has a result on the other 23 boards here | |||
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
| Benchmark | Gemini 2.5 Pro Preview 06-05 | Gemma 4 31B | Leader |
|---|---|---|---|
| AA Intelligence Index | Not measured | 14.7 | Only Gemma 4 31B measured |
| Epoch Capabilities Index | Not measured | 143.0 | Only Gemma 4 31B measured |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
| Benchmark | Gemini 2.5 Pro Preview 06-05 | Gemma 4 31B | Leader |
|---|---|---|---|
| AA Agentic Index | Not measured | 4.2 | Only Gemma 4 31B measured |
| LiveBench research | Not measured | 44.4% | Only Gemma 4 31B measured |
| LiveBench browser | Not measured | 4.0% | Only Gemma 4 31B measured |
| LiveBench long agentic | Not measured | 13.3% | Only Gemma 4 31B measured |
| τ²-Bench Telecom | Not measured | 65.5% | Only Gemma 4 31B measured |
| METR time horizons | 55.4% | Not measured | Only Gemini 2.5 Pro Preview 06-05 measured |
| Remote Labor Index | 0.8% | Not measured | Only Gemini 2.5 Pro Preview 06-05 measured |
| DeepResearch Bench | 42.8% | Not measured | Only Gemini 2.5 Pro Preview 06-05 measured |
| Neither model has a result on the other 33 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index12
| Benchmark | Gemini 2.5 Pro Preview 06-05 | Gemma 4 31B | Leader |
|---|---|---|---|
| LiveBench reasoning | Not measured | 68.3% | Only Gemma 4 31B measured |
| GPQA Diamond (Artificial Analysis run) | 83.6% | 85.7% | Gemma 4 31B |
| Humanity's Last Exam (Artificial Analysis run) | 19.9% | 23.6% | Gemma 4 31B |
| GPQA Diamond (Epoch AI run) | 84.8% | 75.8% | Gemini 2.5 Pro Preview 06-05 |
| SimpleBench | 62.4% | Not measured | Only Gemini 2.5 Pro Preview 06-05 measured |
| VPCT | 46.4% | Not measured | Only Gemini 2.5 Pro Preview 06-05 measured |
| LMArena Text: hard prompts | Not measured | 1448 | Only Gemma 4 31B measured |
| LMArena Text: expert | Not measured | 1464 | Only Gemma 4 31B measured |
| LMArena Text: hard prompts in English | Not measured | 1456 | Only Gemma 4 31B measured |
| LMArena Vision: diagrams | Not measured | 1283 | Only Gemma 4 31B measured |
| LMArena Vision: homework | Not measured | 1310 | Only Gemma 4 31B measured |
| Kagi LLM Benchmark | Not measured | 63.5% | Only Gemma 4 31B measured |
| Neither model has a result on the other 10 boards here | |||
MathDirectional onlyPublic boards, shown as published, kept out of the index3 boards, none shared
| Benchmark | Gemini 2.5 Pro Preview 06-05 | Gemma 4 31B | Leader |
|---|---|---|---|
| OTIS Mock AIME | Not measured | 73.3% | Only Gemma 4 31B measured |
| LMArena Text: math | Not measured | 1463 | Only Gemma 4 31B measured |
| LMArena Text: mathematical work | Not measured | 1465 | Only Gemma 4 31B measured |
| Neither model has a result on the other 10 boards here | |||
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
| Benchmark | Gemini 2.5 Pro Preview 06-05 | Gemma 4 31B | Leader |
|---|---|---|---|
| CaseLaw (Vals AI) | Not measured | 52.6% | Only Gemma 4 31B measured |
| MortgageTax (Vals AI) | Not measured | 61.4% | Only Gemma 4 31B measured |
| MMLU Pro (Artificial Analysis run) | 85.8% | Not measured | Only Gemini 2.5 Pro Preview 06-05 measured |
| SimpleQA Verified | Not measured | 10.4% | Only Gemma 4 31B measured |
| LMArena Text: science | Not measured | 1457 | Only Gemma 4 31B measured |
| LMArena Text: medicine and healthcare | Not measured | 1451 | Only Gemma 4 31B measured |
| LMArena Text: legal and government | Not measured | 1438 | Only Gemma 4 31B measured |
| LMArena Text: business and finance | Not measured | 1430 | Only Gemma 4 31B measured |
| FACTS Benchmark Suite | Not measured | 45.3% | Only Gemma 4 31B measured |
| Neither model has a result on the other 9 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
| Benchmark | Gemini 2.5 Pro Preview 06-05 | Gemma 4 31B | Leader |
|---|---|---|---|
| LiveBench design | Not measured | 58.4% | Only Gemma 4 31B measured |
| Neither model has a result on the other 8 boards here | |||
GeneralDirectional onlyPublic boards, shown as published, kept out of the index31 boards, none shared
| Benchmark | Gemini 2.5 Pro Preview 06-05 | Gemma 4 31B | Leader |
|---|---|---|---|
| LiveBench data analysis | Not measured | 53.3% | Only Gemma 4 31B measured |
| SAGE (Vals AI) | Not measured | 55.0% | Only Gemma 4 31B measured |
| IFBench | Not measured | 75.6% | Only Gemma 4 31B measured |
| Long context reasoning (AA-LCR) | Not measured | 69.7% | Only Gemma 4 31B measured |
| DTBench | Not measured | 82.7% | Only Gemma 4 31B measured |
| LMCA | Not measured | 39.3% | Only Gemma 4 31B measured |
| Fiction.LiveBench | 91.7% | Not measured | Only Gemini 2.5 Pro Preview 06-05 measured |
| Surface Evolver Bench | Not measured | 30.6% | Only Gemma 4 31B measured |
| LMArena Text | Not measured | 1443 | Only Gemma 4 31B measured |
| LMArena Text: instruction following | Not measured | 1433 | Only Gemma 4 31B measured |
| LMArena Text: creative writing | Not measured | 1417 | Only Gemma 4 31B measured |
| LMArena Vision | Not measured | 1276 | Only Gemma 4 31B measured |
| LMArena Text: English | Not measured | 1451 | Only Gemma 4 31B measured |
| LMArena Text: non-English | Not measured | 1430 | Only Gemma 4 31B measured |
| LMArena Text: Chinese | Not measured | 1475 | Only Gemma 4 31B measured |
| LMArena Text: French | Not measured | 1436 | Only Gemma 4 31B measured |
| LMArena Text: Spanish | Not measured | 1442 | Only Gemma 4 31B measured |
| LMArena Text: Russian | Not measured | 1460 | Only Gemma 4 31B measured |
| LMArena Text: Polish | Not measured | 1433 | Only Gemma 4 31B measured |
| LMArena Text: multi-turn | Not measured | 1452 | Only Gemma 4 31B measured |
| LMArena Text: longer queries | Not measured | 1446 | Only Gemma 4 31B measured |
| LMArena Text: writing and language | Not measured | 1432 | Only Gemma 4 31B measured |
| LMArena Text: entertainment and media | Not measured | 1405 | Only Gemma 4 31B measured |
| LMArena Vision: English | Not measured | 1271 | Only Gemma 4 31B measured |
| LMArena Vision: Chinese | Not measured | 1326 | Only Gemma 4 31B measured |
| LMArena Vision: reading text | Not measured | 1282 | Only Gemma 4 31B measured |
| LMArena Vision: humor | Not measured | 1280 | Only Gemma 4 31B measured |
| LMArena Vision: captioning | Not measured | 1218 | Only Gemma 4 31B measured |
| LMArena Vision: recognizing things | Not measured | 1226 | Only Gemma 4 31B measured |
| LMArena Vision: creative writing | Not measured | 1285 | Only Gemma 4 31B measured |
| LMArena Document | Not measured | 1425 | Only Gemma 4 31B 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 | Gemini 2.5 Pro Preview 06-05 | Gemma 4 31B | 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 4 31B costs less
Repository review
50K input + 3K output tokens
Gemma 4 31B costs less
Agent loop
200K input + 10K output tokens
Gemma 4 31B 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 Gemini 2.5 Pro Preview 06-05 | Google Gemma 4 31B |
|---|---|---|
| Maker | ||
| Weights | No public weights listed | Open weights |
| Released | June 5, 2025 | April 2, 2026 |
| Context window | 1.05M | 262K |
| Input $/Mtok | $1.25 | $0.14 |
| Output $/Mtok | $10.00 | $0.40 |
| Coding index | Not benchmarked | 39.0 |
| Independent measurements behind it | 0 | 2 |
| Cost per solved task | Not computable | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemini 2.5 Pro Preview 06-05 better than Gemma 4 31B for coding?
Only Gemma 4 31B has a coding score, 39.0 on the Vibe Coding Index; Gemini 2.5 Pro Preview 06-05 has none, so the two cannot be ranked on coding. Pick Gemini 2.5 Pro Preview 06-05 for a larger context window (1.05M against 262K tokens) and work measured by GPQA Diamond (Epoch AI run), where it leads.
Which is cheaper, Gemini 2.5 Pro Preview 06-05 or Gemma 4 31B?
Gemini 2.5 Pro Preview 06-05 costs $1.25 per million input tokens and $10.00 per million output tokens; Gemma 4 31B costs $0.14 and $0.40. Cost per solved task is known for neither of them.
Which has the bigger context window, Gemini 2.5 Pro Preview 06-05 or Gemma 4 31B?
Gemini 2.5 Pro Preview 06-05, with 1.05M tokens against 262K.
How many benchmarks is the Gemini 2.5 Pro Preview 06-05 vs Gemma 4 31B comparison based on?
4 benchmarks have a result for both models as of October 21, 2026. Gemini 2.5 Pro Preview 06-05's coding index rests on 0 independent benchmarks and Gemma 4 31B's on 2. Where only one model has a result, the page says so instead of naming a winner.