Gemma 4 31B is cheaper than GPT-5.1-Codex at $0.14/M vs $1.25/M input tokens.
| Spec | Gemma 4 31B | GPT-5.1-Codex |
|---|---|---|
| Input price | $0.14/M tokens | $1.25/M tokens |
| Output price | $0.4/M tokens | $10/M tokens |
| Context window | 262K tokens | 400K tokens |
| Released | Apr 2026 | Nov 2025 |
Not enough votes to call it. On the specs, nothing separates them.
Gemma 4 31B costs 25x less per token.
Gemma 4 31B is cheaper on both — 8.9× input, 25× output
Gemma 4 31B uses 23.8x more emoji
Gemma 4 31B is cheaper than GPT-5.1-Codex at $0.14/M vs $1.25/M input tokens.
| Spec | Gemma 4 31B | GPT-5.1-Codex |
|---|---|---|
| Input price | $0.14/M tokens | $1.25/M tokens |
| Output price | $0.4/M tokens | $10/M tokens |
| Context window | 262K tokens | 400K tokens |
| Released | Apr 2026 | Nov 2025 |
Not enough votes to call it. On the specs, nothing separates them.
Gemma 4 31B costs 25x less per token.
Gemma 4 31B is cheaper on both — 8.9× input, 25× output
Gemma 4 31B uses 23.8x more emoji