- Rank
- #271
- Total Output Tokens
- 17,306
- Response Time (avg)
- 10.55s
- Total Cost
- $0.031
Gemma 4 26B A4B vs Gemma 4 31B
Gemma 4 31B leads on average score with 5.7 vs 5.5. Gemma 4 26B A4B has the lower benchmark cost at $0.031 vs $0.031. Gemma 4 31B is faster at 7.28s vs 10.55s, with pass rates of 42.0% vs 42.0%.
Compared models
- Rank
- #261
- Total Output Tokens
- 15,499
- Response Time (avg)
- 7.28s
- Total Cost
- $0.031
Recommended model
Gemma 4 31B
It has the strongest score in this comparison (5.7) and the best overall balance of cost and response time across all 2 models.
Detailed comparison
| Metric | Gemma 4 26B A4B Gemma 4 26B A4B none Free Available | Gemma 4 31B Gemma 4 31B none Free Available |
|---|---|---|
| Score | 5.5 | 5.7 |
| Rank | #271 | #261 |
| Reliability | 10.0 | 10.0 |
| Consistency | 9.6 | 9.6 |
| Attempts | 69/69 | 69/69 |
| Tests Correct | ||
| Attempt pass rate | 42.0% | 42.0% |
| Flaky tests | 1 | 1 |
| Total Runs | 69 | 69 |
| Cost per result | 0.339 | 0.520 |
| Total Cost | $0.031 | $0.031 |
| Input Price | $0.090 / 1M | $0.090 / 1M |
| Output Price | $0.300 / 1M | $0.340 / 1M |
| Cache Read Price | $0.050 / 1M | $0.050 / 1M |
| Cache Write Price | N/A | N/A |
| Total Input Tokens | 280,126 | 270,970 |
| Output Tokens | 17,306 | 15,499 |
| Reasoning Tokens | 0 | 0 |
| Response Time (avg) | 10.55s | 7.28s |
| Response Time (max) | 75.76s | 44.73s |
| Response Time (total) | 242.57s | 152.84s |
| Parameters | 25.2B total (3.8B active) | 30.7B |
| Availability | Open source | Open source |
Cache prices apply to input tokens. Reads reuse cached prompts; writes store them and can cost extra. Output tokens use the output price.
Model generation showcase
Hamster playing table tennis
Prompt: Create a detailed SVG illustration of a hamster playing table tennis.
#271 Gemma 4 26B A4B
none- Cost
- $0.001
- Time
- 39.5s
- Tokens
- 790 tok
#261 Gemma 4 31B
none- Cost
- $0.001
- Time
- 12.8s
- Tokens
- 795 tok
Top Models by Score
Score vs Total Cost
Response Time (avg)
Score vs Response Time (avg)
Total Output Tokens
Score vs Total Output Tokens
Category Breakdown
| Agentic | Score | Consistency | Attempt pass rate | Flaky tests | Tests Correct | Response Time (avg) | Input Tokens | Output Tokens | Reasoning Tokens |
|---|---|---|---|---|---|---|---|---|---|
| Gemma 4 26B A4B | 5.0 | 10.0 | 0.0% | 0 | 75.76s | 148,869 | 1,525 | 0 | |
| Gemma 4 31B | 3.9 | 9.6 | 0.0% | 0 | 44.73s | 145,267 | 2,182 | 0 |
| Anti-AI Tricks | Score | Consistency | Attempt pass rate | Flaky tests | Tests Correct | Response Time (avg) | Input Tokens | Output Tokens | Reasoning Tokens |
|---|---|---|---|---|---|---|---|---|---|
| Gemma 4 26B A4B | 8.3 | 10.0 | 75.0% | 0 | 1.28s | 852 | 230 | 0 | |
| Gemma 4 31B | 6.5 | 10.0 | 50.0% | 0 | 1.85s | 852 | 45 | 0 |
| Coding | Score | Consistency | Attempt pass rate | Flaky tests | Tests Correct | Response Time (avg) | Input Tokens | Output Tokens | Reasoning Tokens |
|---|---|---|---|---|---|---|---|---|---|
| Gemma 4 26B A4B | 3.7 | 7.2 | 22.2% | 1 | 4.16s | 7,736 | 476 | 0 | |
| Gemma 4 31B | 5.5 | 10.0 | 33.3% | 0 | 11.19s | 8,381 | 735 | 0 |
| Combined | Score | Consistency | Attempt pass rate | Flaky tests | Tests Correct | Response Time (avg) | Input Tokens | Output Tokens | Reasoning Tokens |
|---|---|---|---|---|---|---|---|---|---|
| Gemma 4 26B A4B | 3.0 | 10.0 | 0.0% | 0 | 37.23s | 104,894 | 14,266 | 0 | |
| Gemma 4 31B | 3.8 | 5.8 | 33.3% | 1 | 29.95s | 104,817 | 11,910 | 0 |
| Data parsing and extraction | Score | Consistency | Attempt pass rate | Flaky tests | Tests Correct | Response Time (avg) | Input Tokens | Output Tokens | Reasoning Tokens |
|---|---|---|---|---|---|---|---|---|---|
| Gemma 4 26B A4B | 10.0 | 10.0 | 100.0% | 0 | 1.70s | 8,352 | 285 | 0 | |
| Gemma 4 31B | 10.0 | 10.0 | 100.0% | 0 | 2.25s | 8,352 | 285 | 0 |
| Domain specific | Score | Consistency | Attempt pass rate | Flaky tests | Tests Correct | Response Time (avg) | Input Tokens | Output Tokens | Reasoning Tokens |
|---|---|---|---|---|---|---|---|---|---|
| Gemma 4 26B A4B | 5.3 | 10.0 | 33.3% | 0 | 2.10s | 878 | 27 | 0 | |
| Gemma 4 31B | 5.3 | 10.0 | 33.3% | 0 | 3.65s | 878 | 27 | 0 |
| General Intelligence | Score | Consistency | Attempt pass rate | Flaky tests | Tests Correct | Response Time (avg) | Input Tokens | Output Tokens | Reasoning Tokens |
|---|---|---|---|---|---|---|---|---|---|
| Gemma 4 26B A4B | 4.0 | 10.0 | 0.0% | 0 | 3.54s | 576 | 85 | 0 | |
| Gemma 4 31B | 10.0 | 10.0 | 100.0% | 0 | 2.09s | 576 | 117 | 0 |
| Instructions following | Score | Consistency | Attempt pass rate | Flaky tests | Tests Correct | Response Time (avg) | Input Tokens | Output Tokens | Reasoning Tokens |
|---|---|---|---|---|---|---|---|---|---|
| Gemma 4 26B A4B | 6.3 | 10.0 | 50.0% | 0 | 690ms | 795 | 75 | 0 | |
| Gemma 4 31B | 6.5 | 10.0 | 50.0% | 0 | 2.84s | 795 | 78 | 0 |
| Puzzle Solving | Score | Consistency | Attempt pass rate | Flaky tests | Tests Correct | Response Time (avg) | Input Tokens | Output Tokens | Reasoning Tokens |
|---|---|---|---|---|---|---|---|---|---|
| Gemma 4 26B A4B | 6.2 | 10.0 | 33.3% | 0 | 744ms | 828 | 114 | 0 | |
| Gemma 4 31B | 6.5 | 10.0 | 33.3% | 0 | 4.23s | 828 | 108 | 0 |
| Tool Calling | Score | Consistency | Attempt pass rate | Flaky tests | Tests Correct | Response Time (avg) | Input Tokens | Output Tokens | Reasoning Tokens |
|---|---|---|---|---|---|---|---|---|---|
| Gemma 4 26B A4B | 10.0 | 10.0 | 100.0% | 0 | 57.10s | 6,123 | 210 | 0 | |
| Gemma 4 31B | 3.0 | 10.0 | 0.0% | 0 | 0ms | 0 | 0 | 0 |
| Trivia | Score | Consistency | Attempt pass rate | Flaky tests | Tests Correct | Response Time (avg) | Input Tokens | Output Tokens | Reasoning Tokens |
|---|---|---|---|---|---|---|---|---|---|
| Gemma 4 26B A4B | 3.0 | 10.0 | 0.0% | 0 | 778ms | 223 | 13 | 0 | |
| Gemma 4 31B | 3.0 | 10.0 | 0.0% | 0 | 1.25s | 224 | 12 | 0 |
Quick Compare
Switch Comparison Pair
Dots 3 Note PreviewmediumFree AvailablevsGemma 4 31BnoneFree AvailableGemma 4 31BnoneFree AvailablevsSpace Bunny AlphalowGemma 4 31BnoneFree AvailablevsGPT-5 NanomediumTrinity Large ThinkinghighvsGemma 4 31BnoneFree AvailableGemma 4 31BnoneFree AvailablevsRing 2.6 1tmediumGemma 4 26B A4BnoneFree AvailablevsNemotron 3 SupermediumFree AvailableNorth Mini CodemediumFree AvailablevsGemma 4 26B A4BnoneFree AvailableGemma 4 26B A4BnoneFree AvailablevsHy4 previewlowGemma 4 31BnoneFree AvailablevsLing 3.0 FlashhighGemma 4 26B A4BnoneFree AvailablevsStep 3.5 FlashmediumGemma 4 31BnoneFree AvailablevsNemotron 3 SupermediumFree AvailableGemma 4 26B A4BnoneFree AvailablevsGranite 4.2 8Blow