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.

Prices checked Nov 29, 2026

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

SpecificationGoogle Gemma 4 26B A4B Google Gemma 4 31B
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 window262K tokens262K tokens
Epoch Capabilities Index141.6144.2
Release dateApr 2, 2026Apr 2, 2026
Open weightsYesYes
Capabilitiestools, reasoning, json, vision, videotools, 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.

WorkloadGoogle Gemma 4 26B A4B Google Gemma 4 31BDifference
Default workload2,000 input and 500 output tokens a request, 10,000 requests a day, 40% cached$147.60$97.41Gemma 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.87About the same
Output-heavy500 input and 2,000 output tokens a request, 10,000 requests a day, 0% cached$382.50$153.75Gemma 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.

Go further

Frequently asked questions

Is Gemma 4 26B A4B cheaper than Gemma 4 31B?
Gemma 4 31B is cheaper. On the default workload it costs $97.41 a month against $148 for Gemma 4 26B A4B , which is 34% less. Per 1M tokens, Gemma 4 26B A4B charges $0.150 for input and $0.600 for output; Gemma 4 31B charges $0.133 and $0.223.
Which scores higher, Gemma 4 26B A4B or Gemma 4 31B?
Gemma 4 31B has the higher Epoch Capabilities Index score: 141.6 for Gemma 4 26B A4B and 144.2 for Gemma 4 31B. Their confidence intervals overlap, so the difference may be noise.
Which has the larger context window?
Both accept 262,000 tokens of context.
How do cached input and batch pricing compare?
Cached input costs $0.015 per 1M tokens on Gemma 4 26B A4B and $0.067 on Gemma 4 31B. Neither lists a batch rate.