Gemma 4 31B vs GPT-5 nano
| Spec | Gemma 4 31B | GPT-5 nano |
|---|---|---|
| Respan Index | 18.7 (#139) | 18.8 (#137) |
| Blended price per 1M | - | $0.138 |
| Context window | 256K | 400K |
| Input / output per 1M | $0 / $0 | $0.05 / $0.4 |
| Max output | - | 128K |
| Input | text, vision | text, vision |
| Released | 2026-04-02 | 2025-08-07 |
Respan Index by category
Each category is scored 0 to 100, and how far ahead the winner is. Leads under a point are close to even.
| Category | Gemma 4 31B | GPT-5 nano |
|---|---|---|
| Coding | 7.8 Gemma 4 31B | 4.2 GPT-5 nano |
| Agents | 12.5* Gemma 4 31B | 18.5* GPT-5 nano |
| Reasoning | 19.7 Gemma 4 31B | 25.3 GPT-5 nano |
| Knowledge & language | 11.0 Gemma 4 31B | 11.7 GPT-5 nano |
| Human preference | 50.5 Gemma 4 31B | 37.6 GPT-5 nano |
* Estimated: no published scores in that category. How the Respan Index works
Benchmarks both report
Gemma 4 31B leads on 5 of the 8 benchmarks both report. Higher is better. Each score links to where it was published.
FAQ
Is Gemma 4 31B better than GPT-5 nano?
GPT-5 nano scores 18.8 on the Respan Index (#137), ahead of Gemma 4 31B at 18.7 (#139). Gemma 4 31B leads on 5 of the 8 benchmarks both report.
Which has the larger context window?
Gemma 4 31B accepts 256K tokens and GPT-5 nano 400K tokens.