Gemma 4 31B is cheaper than Gemini 2.5 Flash Preview 05-20 at $0.14/M vs $0.15/M input tokens.
| Spec | Gemini 2.5 Flash Preview 05-20 | Gemma 4 31B |
|---|---|---|
| Input price | $0.15/M tokens | $0.14/M tokens |
| Output price | $0.6/M tokens | $0.4/M tokens |
| Context window | 1.0M tokens | 262K tokens |
| Weights | — | Open |
| Free API (OpenRouter) | No | Yes (1 provider) |
| Released | May 2025 | Apr 2026 |
Not enough votes to call it. On the specs, Gemma 4 31B has the edge: bigger model tier, newer.
Reviewing agent-written code?See a Brief PR report
Gemma 4 31B is cheaper on both: 1.1× input, 1.5× output.
No hosts listed on OpenRouter.
Per million tokens. Prices and uptime via OpenRouter, checked 23 Sep 2026.
Gemma 4 31B uses 23.8x more emoji