GLM-5: from Vibe Coding to Agentic Engineering
Summary
GLM-5 is a 744B MoE (40B active, 256 experts, 80 layers) trained on 28.5T tokens with MLA then DSA continued pretrain and 200K context. Post-train is sequential Reasoning/Agentic/General RL on slime async infra plus on-policy cross-stage distillation; 10k+ verifiable SWE envs across 9 languages. SWE-bench Verified 77.8, Terminal-Bench 2.0 56.2 (61.1 on verified), BrowseComp 62.0 / 75.9 with context management, Vending-Bench 2 $4,432; Artificial Analysis Intelligence Index v4.0 score 50 (first open-weights). Code/models https://github.com/zai-org/GLM-5.
- Venue
- arXiv / Zhipu AI / Tsinghua University
- Purpose
- Open 744B MoE for agentic engineering via DSA, async RL, and SWE environment scaling
- Scale
- 744B total / 40B active; 28.5T tokens; mid-train 32K (1T) / 128K (500B) / 200K (50B); 10k SWE envs across 9 languages
- Time period
- 2026-02-17 (arXiv 2602.15763 v1). HF paper publishedAt 2026-02-17.
- Added
- Oct 1, 2026
- Research status
- done
From the source
- Published
- Feb 17, 2026
- Last revised
- Feb 24, 2026
- arXiv categories
- cs.LG, cs.CL
- Citations
- 511 (42 influential)
- References
- 62
Abstract (from arXiv)
We present GLM-5, a next-generation foundation model designed to transition the paradigm of vibe coding to agentic engineering. Building upon the agentic, reasoning, and coding (ARC) capabilities of its predecessor, GLM-5 adopts DSA to significantly reduce training and inference costs while maintaining long-context fidelity. To advance model alignment and autonomy, we implement a new asynchronous reinforcement learning infrastructure that drastically improves post-training efficiency by decoupling generation from training. Furthermore, we propose novel asynchronous agent RL algorithms that further improve RL quality, enabling the model to learn from complex, long-horizon interactions more effectively. Through these innovations, GLM-5 achieves state-of-the-art performance on major open benchmarks. Most critically, GLM-5 demonstrates unprecedented capability in real-world coding tasks, surpassing previous baselines in handling end-to-end software engineering challenges. Code, models, and more information are available at https://github.com/zai-org/GLM-5.
Tags
Topics
foundation models, agentic coding, sparse attention, RL
Research notes
- Primary: arxiv abs (cs.LG; also cs.CL). CC BY 4.0 on HTML. Zhipu AI & Tsinghua. Authors field uses paper byline GLM-5 Team (HF lists Aohan Zeng / Xin Lv / Zhenyu Hou et al. plus 164 more). Code https://github.com/zai-org/GLM-5 (6,958 stars at check). HF paper page 208 upvotes; 224 linked models not copied into hf_* fields. Discord posted PDF. Training SWE/terminal environments are not a standalone public corpus on abs, so no datasets_local row. License field left blank per catalog convention.
Notes about this
- Note
Mixture-of-experts language models: where the work is (overview)
An overview of the 43 entries on mixture-of-experts models: the open releases, load balancing at extreme sparsity, expert design, training and serving, and what the collection lacks. Written by Claude Opus 5.5.
Cites, within this collection
- AIMO-2 Winning Solution: Building State-of-the-Art Mathematical Reasoning Models with OpenMathReasoning dataset
- Measuring short-form factuality in large language models (SimpleQA)
- Vending-Bench: A Benchmark for Long-Term Coherence of Autonomous Agents
- DAPO: An Open-Source LLM Reinforcement Learning System at Scale
- Every Step Evolves: Scaling Reinforcement Learning for Trillion-Scale Thinking Model
Cited by, within this collection
- LongCat Sparse Attention: Taming the Lightning via Streaming-aware Hierarchical Cross-Layer Indexing
- Spectral Scaling Laws of Muon
- Parallax: Parameterized Local Linear Attention for Language Modeling
- AMUSE: Anytime Muon with Stable Gradient Evaluation
- Ling and Ring 2.6 Technical Report: Efficient and Instant Agentic Intelligence at Trillion-Parameter Scale
- The Illusion of What If: Evaluating the Breakdown of Counterfactual Reasoning in LLMs
- Rethinking On-Policy Distillation of Large Language Models II: One Training Example
- LibraryDesignBench: can agents design libraries other agents can use?
- LongHarness Bench: Stress-Testing Language Model Harnesses for Long-Context Reasoning
- cua-speedrun: Standardized Benchmarking of the Speed of Computer-Use Agents
- An Empirical Study of Harness Design for Coding Agents
- Trajectory-Refined Distillation
Similar entries
- Paper AutoCompact: Learning When to Compact Context in Long-Horizon Coding Agents
- Paper Huxley-Gödel Machine: Human-Level Coding Agent Development by an Approximation of the Optimal Self-Improving Machine
- Post The ultimate guide to multi-harness RL
- Paper Cross-Benchmark Transfer from RL on Agentic Coding Tasks
- Dataset MiMo-V2.6-RL-oss (Agentic RL Environments)
- Code AgentEnv (Scale AI) — open framework for building RL agent environments