Gemma 4 31B IT
google/gemma-4-31b-it by google
The dense Gemma 4, whose LiveCodeBench score jumped from 29% to 80%, the largest generational gain in the family.
Gemma 4 31B is the dense counterpart to the sparse 26B-A4B, at 30.7B parameters using sliding-window attention of 1024 tokens alternating with global attention to hold its 256K context affordably. Its LiveCodeBench v6 score moved from 29.1% to 80.0% over the previous generation, the largest jump anywhere in the Gemma line. It covers over 140 languages and is Apache 2.0 licensed.
Specifications
- Context window
- 262,144 tokens
- Max output
- 131,072 tokens
- Input
- image, text
- Output
- text, code
- Function calling
- Supported
- Providers
- 4 (2 EU-sovereign)
Providers, pricing and carbon
| Provider | EU-sovereign | Input €/1M | Output €/1M | gCO₂e/1M tokens | Regions |
|---|---|---|---|---|---|
| deepinfra | No | €0.0835 | €0.3154 | 1844 | United States |
| infercom | Yes | €0.20 | €0.35 | 1555 | Germany |
| infomaniak | No | €0.20 | €0.40 | 90.0 | Switzerland |
| berget | Yes | €0.25 | €0.50 | 60.0 | Sweden |