Z.ai (Zhipu AI) · usage rank #9 · released 2026-08-16
GLM-5.3
What GLM-5.3’s own documents say it is built from — every method with the sentence that describes it.
Curator’s note753B MoE on the *same base model* as GLM-5.2 — every gain comes from post-training, which makes this entry the cleanest post-training-only delta in the map: +50% on Z.ai's in-house code bench, open-source SOTA on Terminal Bench 3.0, and an emergent cyber/exploitation capability the blog says scaled faster than expected. Architecture id glm_moe_dsa, 1M context, custom glm-5.3 license (not MIT, unlike 5.2). Announced 2026-08-14 for coding-plan users; weights 2026-08-16. arXiv 2602.15763 is the GLM-5 report.
Rank by open-weight tokens on OpenRouter, week of 2026-09-21.
Against the consensus recipe
Its documents state 3 of the 15 methods the field agrees on.
The recipe from the overview: the methods the most labs adopt, per stage. A missing one is something the documents do not say, not something the model lacks.
Data curation
- Agentic data synthesis pipelinenot in its documents
Training objective
- Multi-Token Predictionnot in its documents
- KL alignment lossnot in its documents
Model architecture
- Mixture of Expertsnot in its documents
- Hybrid Attentionnot in its documents
- Multi-Token Predictionnot in its documents
Optimization
- Muonnot in its documents
- Expert Parallelismused
- Cosine decaynot in its documents
Post-training
- Group Relative Policy Optimizationnot in its documents
- Supervised fine-tuningnot in its documents
- Multi-Teacher On-Policy Distillationnot in its documents
Inference & serving
- Configurable reasoning effortdefault
- Speculative decodingnot in its documents
- FP8 KV-cache quantizationused
Checked in its code
Its code shows 8 of the 19 architecture features checked — 8 of them are not stated in its documents.
Documents say what a lab chose to describe; the modeling code says what the checkpoint runs. Each feature below was put to a code verifier, and only the config values and source lines it cited that were found in the files are shown, linked to the line.
Read from Hugging Face Transformers (modeling_glm_moe_dsa.py, configuration_glm_moe_dsa.py) and config.json at revision aca966e4e0, by anthropic/claude-sonnet-5 on 2026-09-25.
| Feature | Code | Its documents | Evidence |
|---|---|---|---|
| Grouped-query attention | not in its code | not stated | num_attention_heads equals num_key_value_heads (64/64), so there is no query-head grouping over fewer KV heads; this model uses MLA instead of GQA. num_attention_heads = 64num_key_value_heads = 64 |
| Multi-head latent attention code only | in its code | not stated | Keys/values are compressed into a shared low-rank kv_lora_rank latent (with a decoupled RoPE key) and up-projected per head via kv_b_proj, DeepSeek-V2/V3 style MLA. kv_lora_rank = 512q_lora_rank = 2048qk_rope_head_dim = 64 |
| Sliding-window attention | not in its code | not stated | No sliding_window config key or windowed mask logic appears anywhere in the modeling or configuration code; attention is full causal (with the DSA sparse mask) rather than local-window. |
| Interleaved sliding-window and global attention | not in its code | not stated | There is no layer_types pattern distinguishing sliding vs global attention; layer_types is uniformly set to 'indexed_attention' for every layer. |
| Indexer-selected sparse attention (DeepSeek Sparse Attention) code only | in its code | not stated | A lightweight GlmMoeDsaIndexer scores past tokens per head and each query attends only to the index_topk selected tokens via an additive sparse mask, DeepSeek Sparse Attention style. index_topk = 2048index_n_heads = 32index_head_dim = 128 |
| Linear-attention or state-space layers alongside full attention | not in its code | not stated | All layers use the same GlmMoeDsaAttention (MLA + indexer sparse attention); there is no linear-attention/state-space mixer class or layer-type switch in this file. |
| Gated DeltaNet layers | not in its code | not stated | No gated delta-rule recurrent mixer or linear_num_key_heads/linear_conv_kernel_dim config exists in this codebase. |
| Mamba-2 layers | not in its code | not stated | No Mamba-2/SSD selective state-space block or ssm_state_size/mamba_num_heads config is present. |
| Learnable attention sink | not in its code | not stated | There is no learned per-head sink logit added to the attention softmax denominator anywhere in the eager or MLA attention code. |
| Gated attention output | not in its code | not stated | The attention output is passed straight to o_proj with no sigmoid gate multiplication before the output projection. |
| QK normalization | not in its code | not stated | Queries and keys in the main attention (q_b_proj/kv_b_proj outputs) are not normalized before the dot product; only the indexer's key gets a LayerNorm (k_norm), which is not the main QK path, and there is no use_qk_norm config. |
| Partial RoPE code only | in its code | not stated | RoPE is applied only to the qk_rope_head_dim slice (64 of 256 total qk_head_dim) while qk_nope_head_dim carries no positional signal, the MLA decoupled-RoPE-key pattern. qk_rope_head_dim = 64qk_nope_head_dim = 192 |
| YaRN RoPE scaling | not in its code | not stated | rope_parameters.rope_type is 'default', not 'yarn', so the yarn_apply_mscale/yarn_get_mscale code paths are not activated by this config. rope_parameters = {"rope_theta": 8000000, "rope_type": "default"} |
| Layers without positional encoding (NoPE) | not in its code | not stated | Every attention layer uses the same partial-RoPE MLA formulation (qk_rope_head_dim rotated, qk_nope_head_dim not); there is no config or code path that fully skips RoPE on some softmax-attention layers while applying it on others. |
| Mixture of experts code only | in its code | not stated | Sparse MLP layers route each token via a learned TopkRouter to 8 of 256 routed experts (n_routed_experts=256, num_experts_per_tok=8). n_routed_experts = 256num_experts_per_tok = 8 |
| Shared expert code only | in its code | not stated | Each MoE layer adds a shared_experts MLP (sized by n_shared_experts=1) that every token passes through in addition to routed experts. n_shared_experts = 1 |
| Auxiliary-loss-free load balancing (selection bias) code only | in its code | not stated | The router adds an e_score_correction_bias buffer to sigmoid scores only for top-k/group selection (topk_method noaux_tc), while the actual weights used for combining are taken from the unbiased scores. topk_method = "noaux_tc" |
| Multi-token prediction layers code only | in its code | not stated | num_nextn_predict_layers is 1 and the quantization config's modules_to_not_convert list explicitly references an extra layer 78 (enorm/hnorm/eh_proj/shared_head) beyond the 78 main layers (0-77), indicating a declared MTP module. num_nextn_predict_layers = 1num_hidden_layers = 78 |
| SwiGLU feed-forward code only | in its code | not stated | Both the dense MLP and the routed experts compute silu(gate_proj(x)) * up_proj(x), a SwiGLU feed-forward, matching hidden_act='silu'. hidden_act = "silu" |
optimization 1
training parallelism 1
data curation 4
synthetic data 3
data mixture & curriculum 1
post-training 3
filed at the root 1
reinforcement learning algorithm 1
agentic post-training 1
inference & serving 9
decoding strategy 1
reasoning control 2
KV cache management 1
inference quantization 3
inference scheduling 1
context management 1
software implementation 1
kernel & quantization library 1
evaluation 13
filed at the root 4
benchmark 2
evaluation harness 2
judge 4
human & real-world evaluation 1
other 1
filed at the root 1
unfiled 14
Sources
The curated document list for this model. "not fetched" means the URL is recorded but its text was not read in the current run.
| Document | Kind | Publisher | Status |
|---|---|---|---|
| z.ai/blog/glm-5.3 | official blog | Z.ai | not fetched |
| arxiv.org/abs/2602.15763 | technical report | GLM-5 Team | read |
| huggingface.co/zai-org/GLM-5.3 | model card | Z.ai | read |
| github.com/zai-org/GLM-5 | code repo | Z.ai | read |
| docs.z.ai/guides/llm/glm-5.3 | vendor docs | Z.ai | read |
| recipes.vllm.ai/zai-org/GLM-5.3 | vendor docs | vLLM | read |
| interconnects.ai/p/glm-53-how-chinese-labs-keep-stride | third party analysis | Interconnects (Nathan Lambert) | read |
| the-decoder.com/zhipu-ai-releases-glm-5-3-claims-its-the-strongest-open… | news | The Decoder | read |
| marktechpost.com/2026/08/14/z-ai-ships-glm-5-3-without-retraining-the-b… | news | MarkTechPost | read |