Mistral
An independent architecture analysis confirms GLM-5.2 extends the GLM-5 sparse-MoE backbone, listing 78 transformer layers, hidden size 6,144, three dense feed-forward blocks, and 256 routed experts (8 active plus 1 shared) per token. Context length is grown from 200K to 1,048,576 tokens, with attention combining Multi-head Latent Attention and DeepSeek Sparse Attention (DSA), whose indexer scales quadratically with sequence length. The piece explains IndexShare's motivation: adjacent DSA indexers share 70%–100% of selected token positions, so GLM-5.2 runs the indexer once and reuses selected positions across three nearby layers. Shared layers still compute their own queries, attention, values, and outputs—only the position selection is reused, reducing indexer redundancy without altering downstream computation.
