GLM-5.2 is Z.ai’s flagship model for coding and agent tasks that span many steps. In Z.ai’s evaluations it scored 81.0 versus 63.5 for GLM-5.1 on Terminal-Bench 2.1 using Terminus 2 and 62.1 versus 58.4 on SWE-bench Pro. On FrontierSWE, which measures performance on long-running technical projects, it scored 74.4 versus 30.5 on the benchmark’s dominance metric. Read Z.ai’s announcement.
It is a 753-billion-parameter mixture-of-experts model with 40 billion active parameters per token across 78 layers. DeepSeek Sparse Attention with IndexShare reuses an attention indexer across four sparse-attention layers, which Z.ai reports reduces per-token FLOPs by 2.9× at a 1,048,576-token context. NVIDIA uses NVFP4 for routed-expert weights and activations, leaving the shared expert unquantized. On Modal, it accepts text with a 1,048,576-token context window. See the model card.