GLM-4.5: Agentic, Reasoning, and Coding (ARC) Foundation Models

Aohan Zeng, Xin Lv, Qinkai Zheng, Zhenyu Hou, Bin Chen, Chengxing Xie, Cunxiang Wang, Da Yin, Hao Zeng, Jiajie Zhang, Kedong Wang, Lucen Zhong, Mingdao Liu, Rui Lu, Shulin Cao, Xiaohan Zhang, Xuancheng Huang, Yao Wei, Yean Cheng, Yifan An, Yilin Niu, Yuanhao Wen, Yushi Bai, Zhengxiao Du, Zihan Wang, Zilin Zhu, Bohan Zhang, Bosi Wen, Bowen Wu, Bowen Xu, Can Huang, Casey Zhao, Changpeng Cai, Chao Yu, Chen Li, Chendi Ge, Chenghua Huang, Chenhui Zhang, Chenxi Xu, Chenzheng Zhu, Chuang Li, Congfeng Yin, Daoyan Lin, Dayong Yang, Dazhi Jiang, Ding Ai, Erle Zhu, Fei Wang, Gengzheng Pan, Guo Wang, Hailong Sun, Haitao Li, Haiyang Li, Haiyi Hu, Hanyu Zhang, Hao Peng, Hao Tai, Haoke Zhang, Haoran Wang, Haoyu Yang, He Liu, He Zhao, Hongwei Liu, Hongxi Yan, Huan Liu, Huilong Chen, Ji Li, Jiajing Zhao, Jiamin Ren, Jian Jiao, Jiani Zhao, Jianyang Yan, Jiaqi Wang, Jiayi Gui, Jiayue Zhao, Jie Liu, Jing Lu, Jingsen Wang, Jingwei Yuan, Jingzhao Du, Jinhua Du, Jinxin Liu, Junkai Zhi, Junli Gao, Lekang Yang, Liang Xu, Lin Fan, Lindong Wu, Lintao Ding, Lu Wang, Man Zhang, Minghao Li, Minghuan Xu, Mingming Zhao, Mingshu ZhaiarXiv 2025

Abstract: We present GLM-4.5, an open-source Mixture-of-Experts (MoE) large language model with 355B total parameters and 32B activated parameters, featuring a hybrid reasoning method that supports both thinking and direct response modes. Through multi-stage training on 23T tokens and comprehensive post-training with expert model iteration and reinforcement learning, GLM-4.5 achieves strong performance across agentic, reasoning, and coding (ARC) tasks, scoring 70.1% on TAU-Bench, 91.0% on AIME 24, and 64.2% on SWE-bench Verified. With much fewer parameters than several competitors, GLM-4.5 ranks 3rd overall among all evaluated models and 2nd on agentic benchmarks. We release both GLM-4.5 (355B parameters) and a compact version, GLM-4.5-Air (106B parameters), to advance research in reasoning and agentic AI systems.

Introduction: The ARC Challenge

As Large Language Models (LLMs) evolve from simple chat interfaces into general-purpose problem solvers, the industry has shifted focus toward three core capabilities: Agentic (interacting with tools and environments), Reasoning (solving multi-step math and science problems), and Coding (handling complex software engineering).

While proprietary models like OpenAI’s o1 or Anthropic’s Claude 3.5 Sonnet have set high bars in these specific domains, creating a single, powerful model that excels across all three—while remaining parameter-efficient—remains a significant challenge. Zhipu AI and Tsinghua University introduce GLM-4.5, a 355B parameter Mixture-of-Experts (MoE) model designed to bridge this gap by switching between a deliberative "thinking" mode for hard problems and a "direct response" mode for speed.

Methodology

The flagship GLM-4.5 utilizes a Mixture-of-Experts (MoE) architecture with 32B active parameters. Research during development indicated that increasing model depth (number of layers) was more effective for reasoning than increasing width (hidden dimensions). The architecture also implements Grouped-Query Attention (GQA) and Multi-Token Prediction (MTP) layers to support speculative decoding, which significantly speeds up inference.

Training Pipeline

The training process is divided into three distinct phases designed to build specialized capabilities on top of a general foundation:

  1. Pre-training: Scaled on a massive 23T token corpus.
  2. Mid-training: A crucial stage that extends sequence length from 4K to 128K and injects specialized data like repo-level code and synthetic reasoning trajectories.
  3. Post-training (Expert Iteration): The team trained specialized "expert" models for reasoning, agents, and chat, then distilled their capabilities back into the main generalist model.
The multi-stage training recipe for GLM-4.5, transitioning from general pre-training to specialized mid-training.

Key Technical Insights

Beyond standard scaling, the authors identified several critical factors for high-performance ARC models:

  • The "Unlearning" Trap: Gradually increasing context length during Reinforcement Learning (RL) was found to hurt performance. If a model is already fine-tuned for long contexts, it is more effective to perform RL directly at the maximum target length (e.g., 64K) to avoid "unlearning" its long-range capabilities.
  • Difficulty-Based Curriculum: For reasoning RL, a two-stage curriculum—starting with moderate difficulty problems and switching to extremely difficult ones—was essential for breaking through performance plateaus.
  • XML over JSON for Tools: Traditional JSON-based tool calling requires heavy character escaping. GLM-4.5 uses a novel XML-like template that allows code and parameters to be represented in their native form, improving reliability in agentic tasks.

Evaluation and Results

GLM-4.5 was evaluated against a suite of 12 benchmarks, including AIME 24 and MATH-500 (Reasoning), TAU-Bench and BFCL V3 (Agentic), and SWE-bench Verified (Coding).

Comprehensive performance evaluation of GLM-4.5 across Agentic, Reasoning, and Coding benchmarks.

GLM-4.5 establishes itself as a top-tier contender in the current LLM landscape:

  • Overall Performance: Ranks 3rd globally across the evaluated benchmarks, trailing only the most advanced proprietary models.
  • Agentic Mastery: Ranks 2nd overall on agentic benchmarks, scoring 70.1% on TAU-Bench.
  • Reasoning & Coding: Achieves 91.0% on AIME 24 and 64.2% on SWE-bench Verified.
  • Efficiency: Remarkably, GLM-4.5 achieves these results with roughly half the parameters of DeepSeek-R1 and one-third those of Kimi K2, placing it firmly on the Pareto Frontier of performance vs. size.

Conclusion

GLM-4.5 demonstrates that specialized multi-stage training and a hybrid reasoning mode can produce a generalist model that rivals much larger systems in complex ARC tasks. While the model shows stellar performance, future work will focus on refining safety handling for illegal activities and balancing the "thinking" vs. "direct" modes to ensure the model does not over-think simple queries. The release of both GLM-4.5 and the compact GLM-4.5-Air aims to provide the research community with powerful tools for advancing autonomous and reasoning-capable AI.

Summary updated

BibTeX
@misc{zeng2025glm,
  author = {Aohan Zeng and Xin Lv and Qinkai Zheng and Zhenyu Hou and Bin Chen and Chengxing Xie and Cunxiang Wang and Da Yin and Hao Zeng and Jiajie Zhang and Kedong Wang and Lucen Zhong and Mingdao Liu and Rui Lu and Shulin Cao and Xiaohan Zhang and Xuancheng Huang and Yao Wei and Yean Cheng and Yifan An and Yilin Niu and Yuanhao Wen and Yushi Bai and Zhengxiao Du and Zihan Wang and Zilin Zhu and Bohan Zhang and Bosi Wen and Bowen Wu and Bowen Xu and Can Huang and Casey Zhao and Changpeng Cai and Chao Yu and Chen Li and Chendi Ge and Chenghua Huang and Chenhui Zhang and Chenxi Xu and Chenzheng Zhu and Chuang Li and Congfeng Yin and Daoyan Lin and Dayong Yang and Dazhi Jiang and Ding Ai and Erle Zhu and Fei Wang and Gengzheng Pan and Guo Wang and Hailong Sun and Haitao Li and Haiyang Li and Haiyi Hu and Hanyu Zhang and Hao Peng and Hao Tai and Haoke Zhang and Haoran Wang and Haoyu Yang and He Liu and He Zhao and Hongwei Liu and Hongxi Yan and Huan Liu and Huilong Chen and Ji Li and Jiajing Zhao and Jiamin Ren and Jian Jiao and Jiani Zhao and Jianyang Yan and Jiaqi Wang and Jiayi Gui and Jiayue Zhao and Jie Liu and Jijie Li and Jing Li and Jing Lu and Jingsen Wang and Jingwei Yuan and Jingxuan Li and Jingzhao Du and Jinhua Du and Jinxin Liu and Junkai Zhi and Junli Gao and Ke Wang and Lekang Yang and Liang Xu and Lin Fan and Lindong Wu and Lintao Ding and Lu Wang and Man Zhang and Minghao Li and Minghuan Xu and Mingming Zhao and Mingshu Zhai},
  title = {{GLM-4.5: Agentic, Reasoning, and Coding (ARC) Foundation Models}},
  year = {2025},
  eprint = {2508.06471},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.06471},
}
Figure