中文

GLM-5

GLM-5 targets complex systems engineering and long-horizon agentic tasks.

Verified

Core facts

Read by a script from the official API, not rewritten by a model.

License
Apache-2.0
Maintainer
zai-org
Verified

What it is

The project is launching GLM-5, which targets complex systems engineering and long-horizon agentic tasks. The project describes GLM-5.1 as its next-generation flagship model for agentic engineering. The project describes GLM-5.2 as its latest flagship model for long-horizon tasks. GLM-5.3 uses the same base model as GLM-5.2.

Main features

  1. Compared to GLM-4.5, GLM-5 scales from 355B parameters (32B active) to 744B parameters (40B active), and increases pre-training data from 23T to 28.5T tokens.

  2. GLM-5 also integrates DeepSeek Sparse Attention (DSA).

  3. The project proposes IndexShare, which reuses the same indexer across every four sparse attention layers.

  4. The project also improves the MTP layer of GLM-5.2 for speculative decoding.

  5. The project says it developed slime, a novel asynchronous RL infrastructure.

  6. GLM-5.3-Flash starts from a newly trained base model, with its architecture and training recipe redesigned around capability and efficiency.

Getting started

  1. API services for GLM-5.3 and GLM-5.3-Flash are available on the Z.ai API Platform.

  2. GLM-5.3 and GLM-5.3-Flash support controlling the thinking budget through the reasoning_effort parameter, which accepts three levels: low, high, and max.

  3. GLM-5.2 accepts only high and max for reasoning_effort.

  4. In the chat template for GLM-5.3 and GLM-5.3-Flash, clear_thinking defaults to false if not passed.

  5. For deployment on the Ascend NPU platform, inference frameworks such as vLLM-Ascend, xLLM and SGLang are supported.

Who it is for

The GLM-5 series supports fine-tuning with Slime (v0.3.0+) and ms-swift (v4.4.0+). Slime (v0.3.0+) is the reinforcement learning framework used by the GLM team. ms-swift (v4.4.0+) supports SFT, PPO, and GRPO.

The project says GLM-5.1 is built to stay effective on agentic tasks over much longer horizons. The project reports that on standard coding benchmarks GLM-5.2 scores 81.0 vs. 62.0 for GLM-5.1 on Terminal-Bench 2.1 and 62.1 vs. 58.4 on SWE-bench Pro. The project says GLM-5 delivers significant improvement compared to GLM-4.7 across a wide range of academic benchmarks.

The project says that on its internal evaluation suite CC-Bench-V2, GLM-5 significantly outperforms GLM-4.7 across frontend, backend, and long-horizon tasks. Vending Bench 2 requires the model to run a simulated vending machine business over a one-year horizon. The project reports that on Vending Bench 2, GLM-5 finishes with a final account balance of $4,432.

The project says GLM-5.3 has a 50% improvement over GLM-5.2 on its in-house Z.ai Code Bench. The project says GLM-5.3 is state of the art on CyberGym for vulnerability discovery.

Sources

This page is written from the official sources below. Open them to check the original text.

Verified ·

This page is written by AI from the official sources above and checked automatically. This site has not tested it. Found a mistake? Tell us.