Gemma 4 31B Garnet vs GPT-5.4 Nano
Gemma 4 31B Garnet is cheaper on output tokens, while GPT-5.4 Nano offers a larger context window. Choose Gemma 4 31B Garnet or GPT-5.4 Nano based on the trade-off between cost, context, and the benchmarks that matter for your use case.
| Spec | Gemma 4 31B Garnet | GPT-5.4 Nano |
|---|---|---|
| Provider | NanoGPT | OpenAI |
| Input / 1M tokens | $0.31 | $0.20 |
| Output / 1M tokens | $0.31 | $1.25 |
| Context window | 262K | 400K |
| Parameters | — | — |
| Open weights | No | No |
| Released | May 2026 | Mar 2026 |
| LiveBench score | — | 71.3 |
| GPQA Diamond score | — | 78.5 |
| LMArena (Chatbot Arena) Elo score | — | 1372 |
| FrontierMath score | — | 25.9 |
| LMArena Vision Elo score | — | 1196 |
| Epoch Capabilities Index score | — | 146 |
FAQ
Is Gemma 4 31B Garnet or GPT-5.4 Nano cheaper?
Gemma 4 31B Garnet is cheaper on output tokens ($0.31 vs $1.25 per 1M).
Which has the larger context window, Gemma 4 31B Garnet or GPT-5.4 Nano?
GPT-5.4 Nano has the larger context window (400K tokens).
Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.