Gemma 4 26B A4B vs Gemma 4 31B
API pricing, monthly cost and benchmark scores for Gemma 4 26B A4B (Google) and Gemma 4 31B (Google), side by side.
The short answer
Gemma 4 31B is the cheaper of the two on the default workload (2,000 input and 500 output tokens a request, 10,000 requests a day, 40% cached): $97.41 a month against $148 for Gemma 4 26B A4B , 34% less. Gemma 4 31B scores higher on the Epoch Capabilities Index, 144.2 against 141.6 for Gemma 4 26B A4B , but the confidence intervals overlap, so the gap may not be real.
Both have a 262,000-token context window. Across the 2 benchmarks both have results for, Gemma 4 26B A4B leads on 0 and Gemma 4 31B on 2.
Side by side
| Specification | ||
|---|---|---|
| Input price per 1M tokens | $0.150 | $0.133 |
| Cached input per 1M tokens | $0.015 | $0.067 |
| Output price per 1M tokens | $0.600 | $0.223 |
| Context window | 262K tokens | 262K tokens |
| Epoch Capabilities Index | 141.6 | 144.2 |
| Release date | Apr 2, 2026 | Apr 2, 2026 |
| Open weights | Yes | Yes |
| Capabilities | tools, reasoning, json, vision, video | tools, reasoning, json, vision, video |
Monthly cost for three workloads
Each row prices 30 days of traffic at standard rates. Cached input is billed at the cached rate for the share shown.
| Workload | Difference | ||
|---|---|---|---|
| Default workload2,000 input and 500 output tokens a request, 10,000 requests a day, 40% cached | $147.60 | $97.41 | Gemma 4 31B is 34% cheaper |
| Input-heavy10,000 input and 300 output tokens a request, 10,000 requests a day, 40% cached | $342.00 | $339.87 | About the same |
| Output-heavy500 input and 2,000 output tokens a request, 10,000 requests a day, 0% cached | $382.50 | $153.75 | Gemma 4 31B is 60% cheaper |
Benchmark by benchmark
Only benchmarks where both models have a score. Scores are as published on each benchmark; higher is better unless the benchmark page says otherwise.
| Benchmark | ||
|---|---|---|
| Epoch Capabilities IndexECI | 141.6 | 144.2 |
| Artificial Analysis Intelligence IndexAA Index | 4 | 4.4 |
Go further
Full pages: Gemma 4 26B A4B and Gemma 4 31B. Or use the interactive comparison to pick any models.