Gemini 3.1 Flash Lite vs Gemma 4 31B

API pricing, monthly cost and benchmark scores for Gemini 3.1 Flash Lite (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 $321 for Gemini 3.1 Flash Lite, 70% less. Gemini 3.1 Flash Lite scores higher on the Epoch Capabilities Index, 145.1 against 144.2 for Gemma 4 31B, but the confidence intervals overlap, so the gap may not be real.

Gemini 3.1 Flash Lite has the larger context window, 1,000,000 tokens against 262,000.

Side by side

SpecificationGoogle Gemini 3.1 Flash LiteGoogle Gemma 4 31B
Input price per 1M tokens$0.250$0.133
Cached input per 1M tokens$0.025$0.067
Output price per 1M tokens$1.50$0.223
Batch input / cached / output per 1M$0.125 / $0.012 / $0.750Not listed
Context window1M tokens262K tokens
Epoch Capabilities Index145.1144.2
Release dateMar 3, 2026Apr 2, 2026
Open weightsNoYes
Capabilitiestools, reasoning, json, vision, pdf, audio, 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 Gemini 3.1 Flash LiteGoogle Gemma 4 31BDifference
Default workload2,000 input and 500 output tokens a request, 10,000 requests a day, 40% cached$321.00$97.41Gemma 4 31B is 70% cheaper
Input-heavy10,000 input and 300 output tokens a request, 10,000 requests a day, 40% cached$615.00$339.87Gemma 4 31B is 45% cheaper
Output-heavy500 input and 2,000 output tokens a request, 10,000 requests a day, 0% cached$937.50$153.75Gemma 4 31B is 84% 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 Gemini 3.1 Flash Lite cheaper than Gemma 4 31B?
Gemma 4 31B is cheaper. On the default workload it costs $97.41 a month against $321 for Gemini 3.1 Flash Lite, which is 70% less. Per 1M tokens, Gemini 3.1 Flash Lite charges $0.250 for input and $1.50 for output; Gemma 4 31B charges $0.133 and $0.223.
Which scores higher, Gemini 3.1 Flash Lite or Gemma 4 31B?
Gemini 3.1 Flash Lite has the higher Epoch Capabilities Index score: 145.1 for Gemini 3.1 Flash Lite and 144.2 for Gemma 4 31B. Their confidence intervals overlap, so the difference may be noise.
Which has the larger context window?
Gemini 3.1 Flash Lite accepts more: 1,000,000 tokens against 262,000. The window is a limit, not a price; you pay for the tokens you send.
How do cached input and batch pricing compare?
Cached input costs $0.025 per 1M tokens on Gemini 3.1 Flash Lite and $0.067 on Gemma 4 31B. Batch rates: Gemini 3.1 Flash Lite $0.125 in and $0.750 out; Gemma 4 31B not listed.