Gemini 3.1 Flash Lite vs Gemma 4 31B
Gemini 3.1 Flash Lite (Google) and Gemma 4 31B (Google) are listed at different prices. Gemma 4 31B costs less: $0.20 per 1M input tokens and $0.40 per 1M output tokens, against $0.25 and $1.50 for Gemini 3.1 Flash Lite. Gemini 3.1 Flash Lite has the larger context window, 1,048,576 tokens against 262,144 for Gemma 4 31B. Only Gemini 3.1 Flash Lite supports a reasoning effort setting. Gemini 3.1 Flash Lite accepts text, images, files, audio and video and produces text; Gemma 4 31B accepts text, images and video and produces text.
Google: Gemini 3.1 Flash Lite accepts text, images, video, files and audio, while Google: Gemma 4 31B accepts text, images and video. Both produce text and support tools, structured outputs, response formats and reasoning; Gemini 3.1 Flash Lite has a 1,048,576-token context, compared with Gemma 4 31B’s 262,144 tokens.
Compared from catalog data checked
Side by side
0.00 the better figure in a row| Specification | Gemini 3.1 Flash Lite | Gemma 4 31B |
|---|---|---|
| Maker | ||
| Added to catalog | 7 May 2026 | 2 Apr 2026 |
| Input, per 1M tokens | $0.25 | $0.20 |
| Output, per 1M tokens | $1.50 | $0.40 |
| Cached input read, per 1M | $0.025 | n/a |
| Context windowTokens | 1,048,576 | 262,144 |
| Max outputTokens | 65,536 | 16,384 |
| Accepts | audio, file, image, text, video | image, text, video |
| Produces | text | text |
| Tool calling | Yes | Yes |
| Structured outputs | Yes | Yes |
| Reasoning effort control | Yes | No |
List prices through OpenRouter, in US dollars. Each model's page has its variants, price history and sample outputs.
What the same task costs
List price for one request, from the token counts shown. The same four tasks are priced on every model page.
| Task | Gemini 3.1 Flash Lite | Gemma 4 31B |
|---|---|---|
| Answer a short question500 in / 300 out | $0.0006 | $0.0002 |
| Summarise a 50-page PDF25,000 in / 800 out | $0.0075 | $0.0053 |
| Review a 2,000-line source file30,000 in / 2,000 out | $0.011 | $0.0068 |
| Read a 300-page contract set150,000 in / 1,500 out | $0.040 | $0.031 |
Which to choose
Choose Gemini 3.1 Flash Lite if
- Cached input costs less: $0.025 against n/a per 1M
- You need the larger context window: 1,048,576 tokens against 262,144
- You need longer answers in one response: 65,536 tokens against 16,384
- It has to read files and audio, which the other model does not
- You want to set how much it reasons before it answers
Choose Gemma 4 31B if
- Input tokens cost less: $0.20 against $0.25 per 1M
- Output tokens cost less: $0.40 against $1.50 per 1M
Neither maker's quality claims are repeated here. The reliable test is your own task: ask both the same question and read the two answers.