← Open-Weight LLM Parts Atlas home

GLM-5.2

744B / active 40B developers: Z.ai (GLM) published: 2026-06-16 MIT · Commercial use OK ↗ max context: 1M KV(BF16): 87.8 KiB/tok Text only

4 layers: in each group it sets 1 index computation, then reused IndexShare

GLM-5 's configuration, with IndexShare added. first 3 layers and, thereafter 4 layers: in each group it sets 1 run of the indexer only, remaining layers reuse the positions chosen by the preceding indexer. Context is 1M now.

Interactive structure diagram · simulator (open) →

SkeletonGLM-5 identical (78 layers, MLA + DSA, MoE 256→8 + shared 1)
d6,144
indexerwith indexer 21 layers / reused 57 layers
context1,048,576
KV calculation basis78 layers×(latent 512+Position 64)×2B = 87.8 KiB (IndexShare cuts indexer load to about 1/4)
Supported inferencevLLM / SGLang / Transformers

Source:Hugging Face: zai-org/GLM-5.2