Google DeepMind releases Gemma 4 with 31B dense model, 256K context window, and speculative decoding drafters
Google DeepMind has released Gemma 4, a family of open-weight multimodal models including a 31B dense model with 256K context window and four size variants ranging from 2.3B to 30.7B effective parameters. The release includes Multi-Token Prediction (MTP) draft models that achieve up to 2x decoding speedup through speculative decoding while maintaining identical output quality.
Gemma 4 31B IT Assistant (MTP Drafter) — Quick Specs
Google DeepMind releases Gemma 4 with 31B dense model, 256K context window, and speculative decoding drafters
Google DeepMind has released Gemma 4, a family of open-weight multimodal models featuring a 31B dense model with 256K context window and Multi-Token Prediction (MTP) draft models that deliver up to 2x inference speedup through speculative decoding.
Model lineup and specifications
Gemma 4 includes four model sizes across dense and Mixture-of-Experts (MoE) architectures:
Dense models:
- E2B: 2.3B effective parameters (5.1B with embeddings), 128K context, 35 layers
- E4B: 4.5B effective parameters (8B with embeddings), 128K context, 42 layers
- 31B: 30.7B parameters, 256K context, 60 layers
MoE model:
- 26B A4B: 25.2B total parameters, 3.8B active parameters, 256K context, 30 layers with 8 active experts out of 128 total plus 1 shared expert
All models use 262K vocabulary size and support multilingual text across 140+ languages. The E2B and E4B models include native audio processing capabilities with approximately 300M audio encoder parameters.
Multi-Token Prediction drafters
The key innovation in this release is the MTP assistant models. According to Google DeepMind, these smaller draft models predict multiple tokens ahead, which the target model verifies in parallel during speculative decoding. This approach delivers up to 2x speedup while guaranteeing identical output quality to standard generation.
Benchmark performance
Google DeepMind reports the following scores for instruction-tuned models:
Gemma 4 31B:
- MMLU Pro: 85.2%
- AIME 2026 (no tools): 89.2%
- LiveCodeBench v6: 80.0%
- Codeforces ELO: 2150
- GPQA Diamond: 84.3%
- Vision MMMU Pro: 76.9%
- MATH-Vision: 85.6%
Gemma 4 26B A4B (MoE):
- MMLU Pro: 82.6%
- AIME 2026: 88.3%
- LiveCodeBench v6: 77.1%
- Codeforces ELO: 1718
For comparison, the previous Gemma 3 27B (without thinking mode) scored 67.6% on MMLU Pro and 20.8% on AIME 2026.
Architecture details
The models employ a hybrid attention mechanism that interleaves local sliding window attention (512 tokens for E2B/E4B, 1024 tokens for larger models) with full global attention. The final layer always uses global attention. Global layers feature unified Keys and Values with Proportional RoPE (p-RoPE) to optimize memory for long contexts.
The E2B and E4B models use Per-Layer Embeddings (PLE), giving each decoder layer its own small embedding table for every token. This design maximizes parameter efficiency for on-device deployment.
Multimodal capabilities
All Gemma 4 models handle text and image input with variable aspect ratios and resolutions. Vision encoders range from approximately 150M parameters (E2B/E4B) to 550M parameters (26B A4B/31B). The E2B and E4B models additionally process video frame sequences and native audio input.
According to Google DeepMind, capabilities include object detection, document/PDF parsing, OCR across multiple languages, handwriting recognition, chart comprehension, automatic speech recognition, and speech-to-translated-text translation.
Availability
The models are released under Apache 2.0 license and available now on Hugging Face. Integration requires transformers, torch, and accelerate libraries. Google DeepMind designed the smaller models specifically for local execution on laptops and mobile devices, while the larger models target consumer GPUs and workstations.
What this means
Gemma 4's combination of speculative decoding drafters and diverse model sizes directly addresses the inference speed and deployment flexibility gaps in open-weight models. The 2x speedup claim—if validated in practice—makes these models competitive with proprietary offerings for latency-sensitive applications. The MoE architecture in the 26B A4B model is particularly notable: by activating only 3.8B parameters during inference while accessing 25.2B total parameters, it potentially delivers near-31B performance at near-4B speed, a meaningful advance for resource-constrained deployments.
Related Articles
LG AI Research Releases K-EXAONE 2.0, a 750B-Parameter Open-Weight MoE Model with 262K Context
LG AI Research has released K-EXAONE 2.0, a 750-billion-parameter mixture-of-experts language model with 37B active parameters, a 262,144-token context window, and support for 10 languages. The model is open-weighted under Apache 2.0 and claims competitive results against Qwen3.5, GLM-5.1, and DeepSeek-V4 Pro on reasoning, coding, and long-context benchmarks.
Mistral AI Releases Shieldstral-1.0-3B, a 3B-Parameter Policy-Adaptive Safety Classifier
Mistral AI has released Shieldstral-1.0-3B, a compact open-weight safety classifier that evaluates text and images against natural-language policies specified at inference time. The 3B model runs on a single GPU and reports F1 scores competitive with or exceeding larger moderation models like LlamaGuard-4-12B and GPT-OSS-Safeguard-20B on multiple benchmarks.
Mistral Releases Shieldstral, a 3B Open-Weights Safety Classifier That Matches Models 7x Its Size
Mistral has released Shieldstral, a 3B open-weights safety classifier that reframes content moderation as a policy-adaptive question-answering task. The model claims to match or outperform guard models up to 7x its size on text safety and multimodal benchmarks, and runs on a single 16GB GPU.
Alibaba Unveils Qwen3.8-Max, a 2.4T-Parameter Open-Weight Model for Coding and Agentic Work
Alibaba announced Qwen3.8-Max, a 2.4T-parameter flagship model targeting coding and long-horizon agentic work, with open weights promised for next week alongside Qwen3.8-27B. The model posted strong third-party benchmark results, ranking #4 in Frontend Code Arena and matching Claude Opus 4.7 on the Vals Index at roughly 2.3x lower cost.
Comments
Loading...