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