Architecture
Retrieved 2026-09-01 at pinned commit 03eb5366286a; parameter count from the safetensors index at the same revision.
- Architecture
- glm5_next_text
- Layers
- 45
- Hidden size
- 4,096
- Attention heads
- 64
- KV heads
- 64
- Head dimension
- 0
- Feed-forward width
- 12,288
- Vocabulary
- 154,880
- Context ceiling
- 1,048,576
- Experts
- 288
- Experts / token
- 8
- Expert width
- 2,048
- Shared experts
- 1
- Latent KV rank
- 512
Where the memory goes
Latent attention projects keys and values into a compressed rank before caching them, which is why its KV cache is a fraction of a comparable dense model.
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.