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

Gemma 4 31B IT across providers. Prices in EUR per 1M tokens; carbon in gCO₂e per 1M tokens in the provider's lowest-carbon region.
ProviderEU-sovereignInput €/1MOutput €/1MgCO₂e/1M tokensRegions
deepinfraNo€0.0835€0.31541844United States
infercomYes€0.20€0.351555Germany
infomaniakNo€0.20€0.4090.0Switzerland
bergetYes€0.25€0.5060.0Sweden