Gemma 4 31B is cheaper than OpenAI Codex Mini at $0.14/M vs $1.5/M input tokens.
| Spec | OpenAI Codex Mini | Gemma 4 31B |
|---|---|---|
| Input price | $1.5/M tokens | $0.14/M tokens |
| Output price | $6/M tokens | $0.4/M tokens |
| Context window | 200K tokens | 262K tokens |
| Released | May 2025 | Apr 2026 |
Not enough votes to call it. On the specs, Gemma 4 31B has the edge: bigger model tier, newer.
Gemma 4 31B costs 15x less per token.
Gemma 4 31B is cheaper on both — 11× input, 15× output
Gemma 4 31B is cheaper than OpenAI Codex Mini at $0.14/M vs $1.5/M input tokens.
| Spec | OpenAI Codex Mini | Gemma 4 31B |
|---|---|---|
| Input price | $1.5/M tokens | $0.14/M tokens |
| Output price | $6/M tokens | $0.4/M tokens |
| Context window | 200K tokens | 262K tokens |
| Released | May 2025 | Apr 2026 |
Not enough votes to call it. On the specs, Gemma 4 31B has the edge: bigger model tier, newer.
Gemma 4 31B costs 15x less per token.
Gemma 4 31B is cheaper on both — 11× input, 15× output