Back to Gemma 4 12B in the gallery

Google

Dense Gemma 4 12B Unified uses an encoder-free multimodal input path, while its text decoder keeps the 31B-style local-global attention recipe.

Gemma 4 12B architecture diagram
Gemma 4 12B architecture diagram. Select the diagram to view it at full size.

Architecture and specifications

Scale
12B parameters
Context (tokens)
262,144
Vocabulary
262,144 (~262k)
License
Apache License 2.0
Date
2026-06-03
Decoder type
Dense
Attention
GQA with QK-Norm, unified K/V on global layers, p-RoPE on global layers, and 5:1 sliding-window/global attention
Layer mix
40 sliding-window + 8 global
KV cache / token (bf16) info
330 KiB (compact global K=V layout) · Very high
Key detail
Figure shows the 48-layer text decoder; the full 12B Unified model also projects audio, image, and video inputs directly into the decoder input stream.

Training and benchmarks

Pretraining data
Not disclosed No per-model pretraining-token count is published. Gemma 4 model card
Post-training methods
Instruction tuning IT variant; the report refers to Gemma 3-like post-training without itemizing alignment stages. Gemma 4 report
AA Intelligence Index v4.3.2 info
Total score 9.4 General N/A Scientific 3.2 Coding N/A Agents N/A

Further reading and tools