Architecture
Retrieved 2026-09-01 at pinned commit a24ceef6ce4f; parameter count from the safetensors index at the same revision.
- Architecture
- glm4_moe
- Layers
- 46
- Hidden size
- 4,096
- Attention heads
- 96
- KV heads
- 8
- Head dimension
- 128
- Feed-forward width
- 10,944
- Vocabulary
- 151,552
- Context ceiling
- 131,072
- RoPE theta
- 1,000,000
- Experts
- 128
- Experts / token
- 8
- Expert width
- 1,408
- Shared experts
- 1
Where the memory goes
Grouped-query attention shares each key/value head across 12 query heads, so the KV cache is 8% of what multi-head attention would need at the same context.