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:
- Pre-training: Scaled on a massive 23T token corpus.
- 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.
- 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.
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).
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