Gemma 4 is Google DeepMind's new open-weights family, and 31B is its flagship. It is multimodal: text and images go in, with variable aspect ratio and resolution support, and it reasons with configurable thinking modes, so you decide how much deliberation each request gets. The context window is 256K tokens, and it covers more than 140 languages.
The benchmark jump over the previous generation is unusually large. It scores 85.2% on MMLU Pro, 89.2% on AIME 2026 without tools, and 80% on LiveCodeBench v6, versus 67.6%, 20.8%, and 29.1% for Gemma 3 27B. A hybrid attention design that interleaves sliding-window layers with global ones keeps memory low enough for those numbers to fit on a workstation card.
The release also brings native system-prompt support and function calling, which the Gemma line previously lacked. Those are the two features that matter most if you want to drop it into an agent stack. And if 31B is more than you need, the same family ships an MoE variant (26B total with 3.8B active, so it runs at near-4B speed) and phone-class E2B/E4B models with native audio input.