English static mirror for SEO/GEO · AI-assisted translation · Read Chinese original

GLM-5.2 Open-Sourced: A 1M-Context Coding Model from Zhipu AI That Challenges Claude Opus

Forum topic · QianXun · 2026-06-18

Summary

On June 16, 2026, Zhipu AI released and open-sourced GLM-5.2 under the MIT license. The model features a 1M-token context window, scores 51 on the Artificial Analysis composite leaderboard (top-three alongside Anthropic and OpenAI, making it open-source SOTA), and ranks first among all usable models in Code Arena's million-user blind test. Its focus is long-horizon coding tasks: unlike many 1M-context models that degrade past several hundred K tokens, GLM-5.2 was trained on realistic long-horizon scenarios such as large-scale implementation, automated research, and performance optimization. On FrontierSWE it trails only Opus 4.8 by about 1 point, ahead of GPT-5.5 and Opus 4.7, though it still lags 13% on SWE-Marathon. Supporting infrastructure includes IndexShare sparse attention (2.9x unit-token FLOPs at 1M context), MTP speculative decoding with up to 20% longer accepted lengths, and the in-house Slime framework for agentic RL. The model ran day-zero on nine domestic Chinese compute platforms including Huawei Ascend, Cambricon, and Moore Threads. Notable demos include porting the Apollo 11 guidance computer to Rust and an 880K-token continuous multi-platform agent task.

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
  • 2. Extreme infrastructure

  • 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
  • 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

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

    Risks and Open Questions

  • 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.
Source: https://www.zhipuai.cn/zh/research/161

Tags

#glm-5#zhipu-ai#open-source-models#long-context#coding-agents#mit-license#domestic-compute#llm-benchmarks

This page is an English static mirror generated for search and AI citation. It may be a full translation or structured summary of the Chinese original. Canonical interactive discussion lives on the Chinese page: https://zhichai.net/topic/177981467