GLM-5 Series Models

Open-source flagship models for long-horizon agentic engineering, with solid 1M context and flexible reasoning effort.

Source repo
zai-org/GLM-5
Stars
★ 7.5k
Last updated
1mo ago
FARS reviewed
Nov 08, 2026
License
Apache-2.0

At a glance

How it runs
Self-hosted serviceLibrary / SDK
Works with
Platform-specific
Cost
Free, no paid service needed
Setup effort
High · needs real infrastructure
You'll need
Hugging FaceModelScopeSGLangvLLMTransformersNetwork access
Typical use
A software engineer generating or fixing code in a large repository using GLM-5.2's 1M context to maintain context over many files.
Not a fit if
  • Individual developers without large GPU clusters to self-host a 744B model
  • Users wanting a turnkey experience without configuring SGLang or vLLM
  • Teams that cannot download weights from Hugging Face or ModelScope
Website
z.ai/blog/glm-5.4 ↗ set on GitHub
Maintenance
Commits in the last 6 monthslast commit 2026-10-15+2.6 ★/day over 7 days

What does this agent do, and when should you use it?

The GLM-5 series from Z.ai includes GLM-5.2, GLM-5.1, and GLM-5, all built on a 744B-parameter MoE architecture (40B active) with sparse attention and multi-token prediction, available in BF16 and FP8. The series targets long-horizon tasks such as software engineering, terminal operations, and business simulation, with GLM-5.2 delivering a 1M-token context for stable extended work. Models are downloadable from Hugging Face and ModelScope, and supported by inference frameworks like SGLang, vLLM, Transformers, KTransformers, and Unsloth, plus Ascend NPU. Fine-tuning is supported via Slime (RL) and ms-swift (SFT/PPO/GRPO). Reasoning effort can be adjusted via the reasoning_effort parameter.

GLM-5 models process natural language and code, generating code, handling repo-level tasks (e.g., NL2Repo), executing terminal commands (Terminal-Bench), and simulating long-term operations (Vending Bench). They use advanced RL training (via Slime) and support fine-tuning with ms-swift. At inference, users deploy with SGLang/vLLM and control thinking via reasoning_effort (max/high) or disable it with enable_thinking=false. The models output text through standard APIs, with BF16 and FP8 precision options.

  1. A software engineer generating or fixing code in a large repository using GLM-5.2's 1M context to maintain context over many files.
  2. A DevOps engineer using GLM-5.1 to automate multi-step terminal operations, as in Terminal-Bench tasks.
  3. A researcher benchmarking open-source models on coding tasks like SWE-bench Pro, relying on GLM-5.2's strong performance.
  4. An entrepreneur simulating a year-long vending machine business in Vending Bench 2 with GLM-5, testing planning and resource management.
  5. A team deploying GLM-5.2 with vLLM for internal agentic applications, leveraging the documented recipes.

How do you install or deploy this agent?

Download model weights from Hugging Face (e.g., zai-org/GLM-5.2) or ModelScope (ZhipuAI/GLM-5.2), choosing BF16 or FP8. Install a supported inference framework: SGLang (≥0.5.13.post1), vLLM (≥0.23.0), or Transformers (≥0.5.12), and follow the framework-specific setup guides (e.g., SGLang cookbook). For Ascend NPU, see the example/ascend.md file.

How do you use this agent?

Load the model with SGLang or vLLM and send requests via API or CLI. Set reasoning_effort to 'max' (default) or 'high' to adjust thinking budget, or enable_thinking=false to disable thinking. Refer to the framework documentation for code examples, such as the vLLM recipes page.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

What are this agent's strengths and limitations?

Pros
  • State-of-the-art open-source performance on SWE-bench Pro and Terminal-Bench 2.1, close to Claude Opus 4.8.
  • Solid 1M-token context supports long-horizon tasks like large-scale code repair.
  • Multiple inference framework options and precision types (BF16/FP8) provide deployment flexibility.
Limitations
  • Huge model size (744B) requires substantial GPU memory for local deployment, increasing infrastructure costs.
  • Dependency on specific framework versions (e.g., SGLang v0.5.13.post1, vLLM v0.23.0) may require upgrades and compatibility checks.
  • Reasoning effort control is limited to two levels, offering less granularity than other systems.

How does this agent compare with similar options?

Outperforms Gemini 3.1 Pro on Terminal-Bench 2.1 (81.0 vs. 80.0) and nearly matches Claude Opus 4.8 (85.0). On Vending Bench 2, it ranks #1 among open-source models, approaching Claude Opus 4.5.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
GLM-5 Series Models This agent 43 · Major gaps Self-hosted serviceFree ★ 7.5k 1mo ago — —
Autoprompt Skill 64 · Some gaps CLIFree + model costs ★ 1.3k 2mo ago JavaScript Codex · Claude Code
Termio 62 · Some gaps — ★ 716 3d ago Swift Codex · Claude Code
Goal-Driven 27 · Major gaps — ★ 1.8k 8mo ago — Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
43/ 100 5-point scale 2.2 / 5
Trust 12/29
Reliability 5/14
Adaptability 8/18
Convention 9/18
Effectiveness 6/13
Verifiability 3/8
Why each dimension lost points
Trust12 / 29 · 2.1/5

The README presents the repository as a model release and local deployment guide; the master skill explicitly says it is documentation-only and runs no scripts. Its advice to use a limited-scope API key and avoid hardcoding it supports a score of 2 for sensitive-data handling. Evidence for other controls is thin: there is no demonstrated permission control, invocation confirmation, data-flow description, or rollback mechanism. Installation commands fetch skills from external Clawhub/GitHub sources without source verification or a complete installation-risk explanation, so those criteria are deducted. The repository cites a paper, model download pages, and external skill directories, giving partial attribution; publisher identity is unverified, so source attribution earns 2 rather than full marks.

Reliability5 / 14 · 1.8/5

The README gives concrete notes on model versions, inference parameters, and serving frameworks, but the sample has no executable Agent implementation, error handling, or recovery flow. The README covers GLM-5 through GLM-5.3, with some notes limited to specific versions; as a multi-version overview rather than a clear runtime contract, self-consistency earns 1. requirements.txt gives minimum versions for three packages but no pins, installation validation, or availability guidance, so dependency availability earns 1. Failure-message evidence is limited to a Clawhub rate-limit example and does not cover other failure cases, earning 1.

Adaptability8 / 18 · 2.2/5

The material targets model deployment, fine-tuning, and long-running coding/engineering tasks, and lists multiple inference frameworks plus an Ascend NPU path. Common scenarios are reasonably covered. It does not state Agent capability boundaries, suitable versus unsuitable tasks, or skill trigger conditions; the skill catalog spans OCR, image, and video use cases, so boundaries and trigger precision each earn 1. Environment guidance covers some frameworks and API-key setup but provides no full hardware/software compatibility matrix or deployment constraints, so environment fit earns 1.

Convention9 / 18 · 2.5/5

The README has clear sections for model descriptions, downloads, serving, fine-tuning, and citation. It provides Clawhub and GitHub installation paths, a rate-limit fallback, and parameter notes, but the master skill gives only a general clone direction for downstream skills and relies on their own documentation for exact setup, so installation notes earn 1. Model and skill names are listed concretely, but the README aggregates multiple versions and the sample does not establish a stable naming policy, earning 1. Serving lists, installation examples, and parameter notes are useful; limitations are described only for selected parameters and rate limiting. The LICENSE file contains the Apache License 2.0 text, earning 3. No changelog is present in the sample; maintenance responsibility is only partly indicated by the team citation and community links, with update ownership and process unclear, so those criteria are deducted.

Effectiveness6 / 13 · 2.3/5

Model sizes, precision, download links, serving frameworks, and parameter settings help readers choose a deployment path, earning output usability 1 because there is no complete end-to-end Agent workflow or directly reusable task-output format. The included master skill adds some value by centralizing GLM ecosystem skill links and installation entry points, earning marginal value 2. Deploying a 744B-class model has substantial resource costs, but the material gives no minimum hardware, cost estimate, or comparison with alternatives, so cost-benefit earns 1.

Verifiability3 / 8 · 1.9/5

The README ties some performance figures to named benchmarks and provides a paper citation and model download links, offering limited traceability. Several strong performance statements remain publisher claims, with no raw results, reproduction procedure, or independent validation in the sample, so claim traceability and cross-source corroboration each earn 1. The text distinguishes some model facts from publisher evaluations, but does not systematically label measured results, internal benchmarks, and inference or provide methodology details; fact/inference separation earns 1.

Risks and how to mitigate them
  • Performance and benchmark advantages are primarily publisher claims in the README; this material includes no result data, complete reproduction steps, or independent validation.
  • The master skill's installation paths fetch external skills; inspect each skill's own SKILL.md and installation source, and protect API keys as the documentation advises.
  • The repository covers several GLM versions, and inference parameter notes vary by version; confirm the target model and its framework-specific configuration before deployment.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 83c03d317378
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/glm-5.svg)](https://followagents.com/en/agents/glm-5)
<a href="https://followagents.com/en/agents/glm-5"><img src="https://followagents.com/badge/glm-5.svg" alt="FARS review"></a>

FAQ

Is GLM-5 free to use?
The model weights are open-source, but you incur compute costs for self-hosting. Cloud API access is available via Z.ai platform.
How do I control the thinking depth?
Set the reasoning_effort parameter to 'max' (default) or 'high', or use enable_thinking=false to disable thinking entirely.
Does GLM-5 support Chinese?
Yes, as a multilingual model it supports Chinese, though training data is primarily English, so performance may vary.
Can I deploy on Ascend NPU?
Yes, supported via vLLM-Ascend, xLLM, and SGLang; see the example/ascend.md file for instructions.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts