← Open-Weight LLM Parts Atlas home

GLM-5 / 5.1

744B / active 40B developers: Z.ai (GLM) published: 2026-02-11 MIT · Commercial use OK ↗ max context: 200K KV(BF16): 87.8 KiB/tok Text only

DeepSeek style MLA + DSA + MoE fully adopted

To fix the problem that with conventional GQA the long-context KV cache balloons, GLM-4.5 DeepSeek style MLA (latent 512 -dim compression) + DSA (and only the top 2,048 token selection) were fully adopted. DeepSeek-V3.2 -like solid skeleton is given 78 layers of depth, and, 200K context is made practical with low memory.

Interactive structure diagram · simulator (open) →

layers78 (first 3 layers are dense FFN)
d6,144
AttentionMLA: 64 heads, Q latent 2,048, KV latent 512
SparseDSA: indexer 32 heads, top 2,048
FFNMoE: 256 experts, top 8 + shared 1
context202,752
OtherMTP 1 layers
KV calculation basis78 layers×(latent 512+Position 64)×2B = 87.8 KiB (MLA latent compression)
Supported inferencevLLM / SGLang / Transformers

Source:Hugging Face: zai-org/GLM-5 / GLM-5 technical report