Architecture
Retrieved 2026-09-01 at pinned commit 4d7ae4984b7d; parameter count from the safetensors index at the same revision.
- Architecture
- gemma4_text
- Layers
- 30
- Hidden size
- 2,816
- Attention heads
- 16
- KV heads
- 8
- Head dimension
- 256
- Feed-forward width
- 2,112
- Vocabulary
- 262,144
- Context ceiling
- 262,144
- Sliding window
- 1,024
- Experts
- 128
- Experts / token
- 8
- Expert width
- 704
- Shared experts
- 1
Where the memory goes
Grouped-query attention shares each key/value head across 2 query heads, so the KV cache is 50% of what multi-head attention would need at the same context.
This is a multimodal checkpoint (vision); the diagram and memory sizing above cover the text decoder. Encoder/audio/image activations are not included in the KV or weight figures.