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.
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
| Specification | ||
|---|---|---|
| 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.750 | Not listed |
| Context window | 1M tokens | 262K tokens |
| Epoch Capabilities Index | 145.1 | 144.2 |
| Release date | Mar 3, 2026 | Apr 2, 2026 |
| Open weights | No | Yes |
| Capabilities | tools, reasoning, json, vision, pdf, audio, 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 | $321.00 | $97.41 | Gemma 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.87 | Gemma 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.75 | Gemma 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.
| Benchmark | ||
|---|---|---|
| Epoch Capabilities IndexECI | 145.1 | 144.2 |
Go further
Full pages: Gemini 3.1 Flash Lite and Gemma 4 31B. Or use the interactive comparison to pick any models.