# GLM-5: from Vibe Coding to Agentic Engineering

- **ID:** 532
- **Kind:** paper
- **URL:** https://arxiv.org/abs/2602.15763
- **Authors:** GLM-5 Team
- **Venue:** arXiv / Zhipu AI / Tsinghua University
- **Published:** 2026
- **Tags:** glm-5, moe, dsa, agentic-rl, swe-bench, zhipu, tsinghua, coding-agents
- **Topics:** foundation models, agentic coding, sparse attention, RL
- **Added:** 2026-10-01
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/532

## 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.

## Attributes

- **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.

## From the source (fetched 2026-10-03)

- **Published:** Feb 17, 2026 (arXiv)
- **Last revised:** Feb 24, 2026 (arXiv)
- **arXiv categories:** cs.LG, cs.CL (arXiv)
- **Citations:** 511 (42 influential) (Semantic Scholar)
- **References:** 62 (Semantic Scholar)

## Abstract

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.

## 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.

## Cites, within this collection

- [AIMO-2 Winning Solution: Building State-of-the-Art Mathematical Reasoning Models with OpenMathReasoning dataset](https://papers.projxon.ai/entries/45) (paper 2025, #45)
- [Measuring short-form factuality in large language models (SimpleQA)](https://papers.projxon.ai/entries/879) (paper 2024, #879)
- [Vending-Bench: A Benchmark for Long-Term Coherence of Autonomous Agents](https://papers.projxon.ai/entries/916) (paper 2025, #916)
- [DAPO: An Open-Source LLM Reinforcement Learning System at Scale](https://papers.projxon.ai/entries/919) (paper 2025, #919)
- [Every Step Evolves: Scaling Reinforcement Learning for Trillion-Scale Thinking Model](https://papers.projxon.ai/entries/985) (paper 2025, #985)

## Cited by, within this collection

- [LongCat Sparse Attention: Taming the Lightning via Streaming-aware Hierarchical Cross-Layer Indexing](https://papers.projxon.ai/entries/452) (paper 2026, #452)
- [Spectral Scaling Laws of Muon](https://papers.projxon.ai/entries/491) (paper 2026, #491)
- [Parallax: Parameterized Local Linear Attention for Language Modeling](https://papers.projxon.ai/entries/497) (model 2026, #497)
- [AMUSE: Anytime Muon with Stable Gradient Evaluation](https://papers.projxon.ai/entries/511) (paper 2026, #511)
- [Ling and Ring 2.6 Technical Report: Efficient and Instant Agentic Intelligence at Trillion-Parameter Scale](https://papers.projxon.ai/entries/622) (paper 2026, #622)
- [The Illusion of What If: Evaluating the Breakdown of Counterfactual Reasoning in LLMs](https://papers.projxon.ai/entries/695) (paper 2026, #695)
- [Rethinking On-Policy Distillation of Large Language Models II: One Training Example](https://papers.projxon.ai/entries/754) (paper 2026, #754)
- [LibraryDesignBench: can agents design libraries other agents can use?](https://papers.projxon.ai/entries/819) (paper 2026, #819)
- [LongHarness Bench: Stress-Testing Language Model Harnesses for Long-Context Reasoning](https://papers.projxon.ai/entries/821) (paper 2026, #821)
- [cua-speedrun: Standardized Benchmarking of the Speed of Computer-Use Agents](https://papers.projxon.ai/entries/853) (paper 2026, #853)
- [An Empirical Study of Harness Design for Coding Agents](https://papers.projxon.ai/entries/1070) (paper 2026, #1070)
- [Trajectory-Refined Distillation](https://papers.projxon.ai/entries/1121) (paper 2026, #1121)

## Related entries

- Discussed in: [Mixture-of-experts language models: where the work is (overview)](https://papers.projxon.ai/entries/1206) (note, #1206)

## Similar entries

- [AutoCompact: Learning When to Compact Context in Long-Horizon Coding Agents](https://papers.projxon.ai/entries/1211) (paper, #1211)
- [Huxley-Gödel Machine: Human-Level Coding Agent Development by an Approximation of the Optimal Self-Improving Machine](https://papers.projxon.ai/entries/539) (paper, #539)
- [The ultimate guide to multi-harness RL](https://papers.projxon.ai/entries/839) (post, #839)
- [Cross-Benchmark Transfer from RL on Agentic Coding Tasks](https://papers.projxon.ai/entries/1245) (paper, #1245)
- [MiMo-V2.6-RL-oss (Agentic RL Environments)](https://papers.projxon.ai/entries/1063) (dataset, #1063)
- [AgentEnv (Scale AI) — open framework for building RL agent environments](https://papers.projxon.ai/entries/1276) (code, #1276)
