zai-org /GLM-5

GLM-5: From Vibe Coding to Agentic Engineering

★ 7,430⑂ 1,015👁 66▤ 0
Created 2026-02-09z.ai/blog/glm-5.3
+0
Daily
+0
Weekly
+117
Monthly
7,430
stars
1,015
forks
66
watchers
–
prs
–
issues
0
releases

README

GLM-5.3 & GLM-5.2 & GLM-5.1 & GLM-5





    👋 Join our Wechat or Discord community.
    
    📖 Check out the GLM-5.3-Flash blog, GLM-5.3 blog and GLM-5 Technical report.
    
    📍 Use GLM-5.3 & GLM-5.3-Flash API services on Z.ai API Platform. 
    
    🔜 Try GLM-5.3 & GLM-5.3-Flash at z.ai.


 Introduction

 GLM-5.3 & GLM-5.3-Flash

GLM-5.3 uses the same base model as GLM-5.2 — every gain comes from post-training. Compared with GLM-5.2, it is much better at complex coding and long-horizon tasks:

+ Stronger Coding: GLM-5.3 is the most capable open-weights model for coding, with a 50% improvement over GLM-5.2 on our in-house Z.ai Code Bench. It also achieve open-source SOTA on public benchmarks including Terminal Bench 3.0 and
  Agents' Last Exam.
+ Emergent Cyber Capability: As we scaled post-training, cyber capability developed faster than we expected. GLM-5.3 is state of the art on CyberGym for vulnerability discovery, and its gains are largest further up the exploitation chain, where it more than doubles GLM-5.2 on exploitation benchmarks.

!bench_53_2

GLM-5.3-Flash starts from a newly trained base model, with its architecture and training recipe redesigned around capability and efficiency. For the first time in the GLM series, we introduce a hybrid architecture combining sparse and linear attention, sharply reducing long-context serving costs while preserving precise long-context capabilities. The model also adopts Manifold-Constrained Hyper-Connections (mHC) to further improve scaling efficiency. Together with our latest 30T-token multimodal pre-training corpus, these changes enable GLM-5.3-Flash to deliver more intelligence with less compute.

!bench_53

 GLM-5.2

GLM-5.2, our latest flagship model for long-horizon tasks. It marks a substantial leap in long-horizon task capability over its predecessor GLM-5.1 and, for the first time, delivers that capability on a solid 1M-token context.

GLM-5.2's new capabilities include:
- Solid 1M Context: A solid 1M-token context that stably sustains long-horizon work
- Advanced Coding with Flexible Effort: Stronger coding capabilities with multiple thinking effort levels to balance performance and latency
- Improved Architecture: We propose IndexShare, which reuses the same indexer across every four sparse attention layers, reducing per-token FLOPs by 2.9× at a 1M context length. We also improve GLM-5.2’s MTP layer for speculative decoding, increasing the acceptance length by up to 20%

!bench_52

On standard coding benchmarks, GLM-5.2 is the strongest open-source model, improving on GLM-5.1 by a wide margin: 81.0 vs. 62.0 on Terminal-Bench 2.1 and 62.1 vs. 58.4 on SWE-bench Pro. It also closes much of the gap to the closed-source frontier — on Terminal-Bench 2.1 (81.0) it lands within a few points of Claude Opus 4.8 (85.0) — while staying ahead of Gemini 3.1 Pro.

For more detail, check our blog.

 GLM-5.1

GLM-5.1 is our next-generation flagship model for agentic engineering, with significantly st

Snapshot: 2026-11-04T14:00:00Z · Data license Apache-2.0 · JSON