Side-by-side comparison of pricing, 12 benchmarks, and generation speed.
| Metric | Gemma 4 31B (Non-reasoning) | GPT-5 nano (high) |
|---|---|---|
| Input ($/M tokens) | $0.14 | $0.05 |
| Output ($/M tokens) | $0.4 | $0.4 |
Data from Artificial Analysis API — 12 benchmarks
GPT-5 nano (high) is cheaper overall. Its blended price (3:1 input/output ratio) is $0.14/M tokens vs $0.20/M for Gemma 4 31B (Non-reasoning).
Gemma 4 31B (Non-reasoning) wins 6 out of 12 benchmarks compared to 5 for GPT-5 nano (high). See the detailed benchmark chart above for per-category results.
GPT-5 nano (high) generates tokens faster at 159 tok/s vs 29 tok/s. Gemma 4 31B (Non-reasoning) also has lower time-to-first-token (0.79s vs 72.48s).
Choose based on your priorities: GPT-5 nano (high) for lower cost, Gemma 4 31B (Non-reasoning) for stronger benchmark performance, and GPT-5 nano (high) for faster generation. For latency-sensitive apps, check the TTFT comparison above.