Open-weight 744B MoE reasoning model built for long-horizon agentic coding and complex systems engineering.
Output Speed *
Intelligence Index *
Context Window *
Input price
Output price
Performance
Where GLM-5 Earns Its Place: Long-Horizon Agentic Coding
Benchmarks
GLM-5 Benchmarks: Reasoning, Coding, and Agentic Evidence
Output Speed
Intelligence Index
MMLU *
GPQA *
HLE *
LiveCodeBench *
Technical Specifications
What the model supports
Comparison
GLM-5 vs GLM-4.7: What You Gain Moving Up the Family
GLM-5 is the direct successor to GLM-4.7 in Z.ai's open-weight lineage, and both target coding and agentic workloads under permissive licensing. GLM-5 scales the architecture substantially — from 355B to 744B total parameters — and expands pre-training data to 28.5T tokens. The practical decision is whether your workload needs GLM-5's higher reasoning and agentic ceiling, or whether GLM-4.7's smaller footprint is sufficient and cheaper to self-host for your task mix.
Choose GLM-5 when you need the strongest open-weight reasoning and long-horizon agentic coding available in the family — it posts an 8-point Intelligence Index gain over GLM-4.7 and higher SWE-bench Verified results. Choose GLM-4.7 when inference cost, memory footprint, or simpler single-turn tasks dominate, since its smaller size is easier and cheaper to run and reasoning overhead is lower. For high-volume routine generation, GLM-5's always-on reasoning may be unnecessary.
Limitations & Trade-offs
Best-Fit Workloads
Where this model earns its place
Autonomous coding agents
GLM-5 is explicitly engineered for long-horizon agentic engineering, with strong SWE-bench Verified and agentic benchmark results. It maintains coherence across extended multi-step tool-using trajectories, making it suitable as the backend for coding agents that plan, edit, and verify across many turns. Use max reasoning effort for the hardest tasks and set output budgets generously to accommodate the reasoning trace.
Repository-scale refactoring and bug fixing
With a 204K-token context and frontier-class open coding performance, GLM-5 handles multi-file changes that require tracking dependencies across a codebase rather than single-function completion. This fits build tooling and developer platforms that run real bug fixes and structural changes. For whole-repo ingestion exceeding the context window, pair it with retrieval or consider a larger-context GLM-5.x release.
Complex multi-step reasoning
Always-on reasoning and strong math and knowledge scores (AIME 2026 I 92.7, GPQA-Diamond 86.0) make GLM-5 appropriate for difficult analytical tasks, architectural planning, and problems that benefit from explicit chain-of-thought. The selectable effort control lets teams reserve deep reasoning for genuinely hard turns while using lighter effort elsewhere to manage token cost.
Self-hosted open-weight deployments
Released under the MIT license with open weights on Hugging Face, GLM-5 suits teams requiring on-premises or data-sovereign deployment of a frontier-class reasoning model without closed-API dependency. This is valuable for regulated environments and fine-tuning. Note the substantial GPU footprint of the 744B MoE architecture; smaller teams may prefer managed API access over self-hosting.