# GLM-5.2 (744B)

> Long-context GLM refresh that keeps the 744B sparse MoE backbone and adds IndexShare for 1M-token DSA inference.

| Property | Value |
| --- | --- |
| Lab | Z.ai (China) |
| Released | 2026-06-17 |
| Decoder type | Sparse MoE |
| Family | Sparse MoE |
| Scale | 744B total, 40B active (5.4% active) |
| Context window | 1,048,576 tokens |
| Attention | MLA with DeepSeek Sparse Attention and IndexShare |
| Layer mix | 78 MLA/DSA |
| KV cache / token (bf16) | 87.8 KiB (Moderate) |
| License | MIT License |

**Key detail:** Reuses each full DSA indexer result across the next three layers, making 1M-token sparse attention cheaper.

## Architecture concepts

- [Multi-Head Latent Attention (MLA)](https://llm-atlas-7or.pages.dev/concepts/mla.md): Keys and values are compressed into a small latent vector that is cached instead of full K/V.
- [DeepSeek Sparse Attention (DSA)](https://llm-atlas-7or.pages.dev/concepts/deepseek-sparse-attention.md): A lightweight indexer scores past tokens and each query attends only to its top-k picks.
- [IndexShare (IndexShare)](https://llm-atlas-7or.pages.dev/concepts/indexshare.md): Nearby layers reuse the token selection computed by one DSA indexer.
- [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 33.7 (General 36.9, Scientific 31, Coding 26.1, Agents 37.5)

## Links

- Architecture diagram: https://sebastianraschka.com/llm-architecture-gallery/images/architectures/glm-5.2.webp
- config.json: https://huggingface.co/zai-org/GLM-5.2/blob/main/config.json
- Tech report: https://arxiv.org/pdf/2602.15763
- Source card (source of truth): https://sebastianraschka.com/llm-architecture-gallery/#card-glm-5-2
- Web page: https://llm-atlas-7or.pages.dev/models/glm-5-2/
- JSON: https://llm-atlas-7or.pages.dev/api/models/glm-5-2.json

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