Gemma 4 31B is cheaper than Qwen3 Coder at $0.14/M vs $0.22/M input tokens.
| Spec | Gemma 4 31B | Qwen3 Coder |
|---|---|---|
| Input price | $0.14/M tokens | $0.22/M tokens |
| Output price | $0.4/M tokens | $0.95/M tokens |
| Context window | 262K tokens | — |
| Weights | Open | Open |
| Free API (OpenRouter) | Yes (1 provider) | No |
| Released | Apr 2026 | Jul 2025 |
Not enough votes to call it. On the specs, Gemma 4 31B has the edge: newer, bigger context window, major provider backing.
Reviewing agent-written code?See a Brief PR report
Gemma 4 31B is cheaper on both: 1.6× input, 2.4× output.
Per million tokens. Prices and uptime via OpenRouter, checked 13 Sep 2026.
Qwen3 Coder uses 3.4x more sentence length