# Gemma 4 (26B-A4B)

> Sparse Gemma 4 variant that keeps the local:global attention backbone while swapping dense FFNs for MoE layers.

| Property | Value |
| --- | --- |
| Lab | Google (United States) |
| Released | 2026-04-02 |
| Decoder type | Sparse MoE |
| Family | Sparse MoE |
| Scale | 25.2B total, 3.8B active (15.1% active) |
| Context window | 256,000 tokens |
| 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 | 25 sliding-window + 5 global |
| KV cache / token (bf16) | 210 KiB (High) |
| License | Apache License 2.0 |

**Key detail:** Uses 128 total experts with only 8 routed plus 1 shared expert active per token.

## Architecture concepts

- [QK-Norm (QK-Norm)](https://llm-atlas-7or.pages.dev/concepts/qk-norm.md): RMSNorm applied to queries and keys before attention to keep logits well-behaved.
- [Grouped-Query Attention (GQA)](https://llm-atlas-7or.pages.dev/concepts/gqa.md): Several query heads share one key/value head, shrinking the KV cache with little quality loss.
- [Sliding Window Attention (SWA)](https://llm-atlas-7or.pages.dev/concepts/swa.md): Some layers only attend to a local window of recent tokens instead of the whole context.
- [Mixture of Experts (MoE)](https://llm-atlas-7or.pages.dev/concepts/moe.md): Many feed-forward experts, but a router sends each token to only a few of them.

## Benchmark (Artificial Analysis Intelligence Index)

- AA Intelligence Index v4.3.2: total 13.1 (Scientific 5.7)

## Links

- Architecture diagram: https://sebastianraschka.com/llm-architecture-gallery/images/architectures/gemma-4-26b-a4b.webp
- View in article: https://magazine.sebastianraschka.com/p/the-big-llm-architecture-comparison#%C2%A723-gemma-4
- config.json: https://huggingface.co/google/gemma-4-26B-A4B-it/blob/main/config.json
- Tech report: https://ai.google.dev/gemma/docs/core/model_card_4
- Source card (source of truth): https://sebastianraschka.com/llm-architecture-gallery/#card-gemma-4-26b-a4b
- Web page: https://llm-atlas-7or.pages.dev/models/gemma-4-26b-a4b/
- JSON: https://llm-atlas-7or.pages.dev/api/models/gemma-4-26b-a4b.json

_Data from Sebastian Raschka's LLM Architecture Gallery (https://sebastianraschka.com/llm-architecture-gallery/). Synced 2026-11-04._
