Today, we are thrilled to introduce our latest flagship models, the GLM-4.5 and GLM-4.5-Air, alongside their FP8 variants. These groundbreaking models are available with day-one support on SGLang, ensuring users can access the latest advancements immediately.
Deploying GLM-4.5 with SGLang
For optimal performance, we recommend deploying the GLM-4.5 series using SGLang. This collaboration with the SGLang community provides full support from the onset, ensuring our models leverage the platform’s capabilities effectively.
Basic Usage
Getting started with SGLang is easy:
Install SGLang
pip install --upgrade pip
pip install "sglang[all]>=0.4.9.post6"
Running the Models
To launch the models, use the following commands:
355B Model:
python3 -m sglang.launch_server --model zai-org/GLM-4.5 --tp 8
106B Model:
python3 -m sglang.launch_server --model zai-org/GLM-4.5-Air --tp 8
355B FP8 Quantized Model:
python3 -m sglang.launch_server --model zai-org/GLM-4.5-FP8 --tp 8
106B FP8 Quantized Model:
python3 -m sglang.launch_server --model zai-org/GLM-4.5-Air-FP8 --tp 4
Tool Call and Parameter Adjustments
To optimize the model further, you can append specific parameters to your command. For reasoning and speculative decoding, utilize:
Speculative Decoding with MTP:
--speculative-algorithm EAGLE
--speculative-num-steps [number of steps]
--speculative-eagle-topk [top k]
--speculative-num-draft-tokens [number of draft tokens]
GLM 4.5 Model Architecture and Highlights
The GLM-4.5 model features a cutting-edge MoE (Mixture of Experts) architecture enhancing compute efficiency through loss-free balance routing and sigmoid gates. Unlike other models that prioritize width, such as DeepSeek-V3 and Kimi K2, we focus on depth. This results in fewer experts and smaller hidden dimensions but a greater number of layers, leading to superior reasoning performance.
Architectural Features:
- Grouped-Query Attention with partial RoPE
- 96 attention heads with a hidden size of 5120, which is 2.5 times larger than typical models, significantly enhancing reasoning capabilities
- QK-Norm for stabilizing attention logits
- Muon optimizer, facilitating quicker convergence and larger batch sizes
- MTP (Multi-Token Prediction) head for advanced speculative decoding
- RL training via the open-source framework, slime, generously released by THUDM.
Performance Metrics
The GLM-4.5 series has undergone extensive benchmarking against various models from OpenAI, Anthropic, Google DeepMind, xAI, and others. It ranks 3rd overall, while the GLM-4.5-Air occupies the 6th position across 12 comprehensive benchmarks assessing agentic, reasoning, and coding abilities.
Agentic Abilities: With a 128k context and native function calling, the GLM-4.5 equals Claude 4 Sonnet on benchmarks like $tau$-bench and BFCL-v3 while surpassing Claude 4 Opus in web browsing (26.4% vs. 18.8%). Its impressive tool-calling success rate of 90.6% underlines its effectiveness in agent-based workflows.
Reasoning Skills: The model excels in mathematical and logical reasoning. It scores 84.6 on MMLU Pro, 91.0 on AIME-24, and an outstanding 98.2 on MATH500, showcasing remarkable generalization across various benchmarks, including GPQA, LCB, and AA-Index.
Coding Proficiency: The GLM-4.5 demonstrates comprehensive full-stack development skills, achieving high ranks on SWE-bench Verified (64.2) and Terminal-Bench (37.5). It boasts a 53.9% win rate against Kimi K2 and an 80.8% win rate against Qwen3-Coder, confirming its capabilities as a reliable autonomous coding assistant.
Acknowledgements
We extend our heartfelt gratitude to the teams and contributors shaping this significant release:
- GLM Team: Yuxuan Zhang, Chenhui Zhang, Xin Lv, Zilin Zhu, and colleagues.
- SGLang Team and Community: Biao He, Lifu Huang, Binyao Jiang, Minglei Zhu, Cheng Wan, Chang Su, Xinyuan Tong, and many others.
Inspired by: Source

