Side-by-side comparison of pricing, 12 benchmarks, and generation speed.
| Metric | Gemma 4 31B (Reasoning) | GPT-5.4 (Non-reasoning) |
|---|---|---|
| Input ($/M tokens) | $0 | $2.5 |
| Output ($/M tokens) | $0 | $15 |
Data from Artificial Analysis API — 12 benchmarks
Gemma 4 31B (Reasoning) is cheaper overall. Its blended price (3:1 input/output ratio) is $0.00/M tokens vs $5.63/M for GPT-5.4 (Non-reasoning).
Gemma 4 31B (Reasoning) wins 4 out of 12 benchmarks compared to 3 for GPT-5.4 (Non-reasoning). See the detailed benchmark chart above for per-category results.
GPT-5.4 (Non-reasoning) generates tokens faster at 62 tok/s vs 36 tok/s. However, GPT-5.4 (Non-reasoning) has lower time-to-first-token (0.65s vs 1.01s).
Choose based on your priorities: Gemma 4 31B (Reasoning) for lower cost, Gemma 4 31B (Reasoning) for stronger benchmark performance, and GPT-5.4 (Non-reasoning) for faster generation. For latency-sensitive apps, check the TTFT comparison above.