This model was retired on 30 October 2026 and no longer accepts API requests. Recommended replacement: GLM 5.3.
GLM-5.1
Z.ai's next-generation flagship for agentic engineering. State-of-the-art on SWE-Bench Pro, with significantly stronger coding than GLM-5 — built for repository generation, terminal tasks, and long-horizon agentic workflows.
Built for Long-Horizon Agentic Work
GLM-5.1-FP8 is Z.ai's next-generation flagship model for agentic engineering, with significantly stronger coding capabilities than GLM-5. It achieves state-of-the-art performance on SWE-Bench Pro and leads GLM-5 by a wide margin on NL2Repo and Terminal-Bench 2.0 — making it especially strong for real-world coding, repository generation, terminal tasks, and long-horizon agentic workflows.
GLM-5.1 is designed to stay productive over extended sessions: breaking down ambiguous problems, running experiments, reading results, identifying blockers, and improving through repeated iteration. Thinking mode is enabled by default; disable with {"chat_template_kwargs": {"enable_thinking": false}}.
Flagship Agentic Engineering Model
Best for sustained engineering agents
Frontier Coding & Agentic Performance
Artificial Analysis Intelligence Index v4.3 scores. SOTA on SWE-Bench Pro.
Intelligence Index
Better than 92% of models
GPQA Diamond
Better than 92% of models
τ²-Bench Telecom
Better than 95% of models
| Category | Benchmark | Score |
|---|---|---|
| Reasoning | GPQA Diamond | 84% |
| Reasoning | Humanity's Last Exam | 28% |
| Reasoning | τ²-Bench Telecom | 98% |
| Reasoning | AA-LCR | 62% |
| Reasoning | IFBench | 76% |
| Reasoning | GDPval-AA | 52% |
| Coding | SciCode | 44% |
| Coding | Terminal-Bench Hard | 43% |
| Knowledge | AA-Omniscience Accuracy | 26% |
| Knowledge | AA-Omniscience Non-Hallucination | 71% |
Metrics sourced from Artificial Analysis and Z.ai's published evaluations. Reasoning (thinking) mode enabled.
