On June 16, 2026, Zhipu AI launched and open-sourced GLM-5.2 under the MIT license, with a 1M-token context window. It scored 51 points on the Artificial Analysis composite leaderboard — placing it in the top three alongside Anthropic and OpenAI as open-source SOTA — and took first place among all usable models in Code Arena's million-user blind test.
Positioning: Long-Horizon Tasks
Zhipu spent most of 2025 focused on coding, building the GLM-4.5 → 4.7 line into the strongest open-source coding models. With GLM-5.2, the target is the next milestone: enabling models to plan, execute, verify, and fix over days or even weeks, like a top-tier engineer.
Two Core Breakthroughs
1. Solid 1M context
1M context windows are common, but most solutions degrade noticeably after several hundred K tokens. Zhipu expanded its 1M Coding Agent training environment beyond "large-repo completion" to real long-horizon scenarios: large-scale implementation, automated research, and performance optimization. In practice, GLM-5.2's 1M-context performance can sometimes surpass Opus.- FrontierSWE: only ~1 percentage point below Opus 4.8, ahead of GPT-5.5 and Opus 4.7
- SWE-Marathon: still a 13% gap — the next challenge to tackle
- IndexShare: every four sparse-attention layers reuse the same indexer, compressing unit-token FLOPs to 2.9x at 1M context
- MTP speculative decoding: accepted length improved by up to 20%
- In-house Slime framework: supports large-scale agentic RL and OPD training
- In a Moonshot experiment, GLM-5.2 ported the Apollo 11 guidance computer (~4,600 lines of fixed-point CPU code) from scratch in Rust, letting the original 65,000-line lunar landing program fly unmodified — autonomously reproducing the famous 1202 alarm that nearly aborted the Moon landing.
- On AutoClaw, it ran an 880K-token continuous long-horizon task spanning web, mobile, and mini-program platforms.
- SWE-Marathon still lags Opus 4.8 significantly; ultra-long-cycle agents remain genuinely hard.
- Day-0 domestic compute support ≠ Day-30 stability — throughput, memory, and tail latency are the real industrial battleground.
- The cost curve of 1M context is unknown; whether enterprises can actually afford it depends on pricing.
- Ecosystem overlap between AutoClaw/ZCode and Cursor/Claude Code — developers will vote with their feet.
2. Extreme infrastructure
Day-0 Domestic Compute Support
On launch day, GLM-5.2 ran on nine domestic Chinese compute platforms: Huawei Ascend, T-Head (Pingtouge), Moore Threads, Cambricon, Kunlunxin, MetaX, Hygon, Biren, and Iluvatar CoreX. After the Ascend 950 supernode ships in the second half of the year, it is expected to become a strong foundation for GLM-5.2.
Engineering Tests
Why It Matters
1. First time a domestic Chinese coding model directly challenges Opus on long-horizon tasks — not benchmark chasing, but delivery capability. 2. MIT license + Day-0 domestic compute: compliance, chips, and model all ready simultaneously — a signal-level event for Chinese enterprise customers. 3. The 1M context is engineering-usable, not just a spec sheet number — the real meaning of "long-horizon." 4. Adjustable effort levels (capability/speed/cost trade-offs) let developers budget effectively.