Side-by-side comparison of pricing, 12 benchmarks, and generation speed.
| Metric | GPT-5 nano (high) | Gemma 4 31B (Non-reasoning) |
|---|---|---|
| Input ($/M tokens) | $0.05 | $0.14 |
| 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 144 tok/s vs 19 tok/s. However, Gemma 4 31B (Non-reasoning) has lower time-to-first-token (0.70s vs 90.41s).
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.