Gemma 4 31B IT vs GPT-5
Gemma 4 31B IT is cheaper on output tokens, while GPT-5 offers a larger context window. Choose Gemma 4 31B IT or GPT-5 based on the trade-off between cost, context, and the benchmarks that matter for your use case.
| Spec | Gemma 4 31B IT | GPT-5 |
|---|---|---|
| Provider | FastRouter | FastRouter |
| Input / 1M tokens | $0.13 | $1.25 |
| Output / 1M tokens | $0.38 | $10.00 |
| Context window | 262K | 400K |
| Parameters | — | — |
| Open weights | Yes | No |
| Released | Apr 2026 | Aug 2025 |
FAQ
Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.