Thursday, December 3, 2026 | London 10°C · Drizzle
DailyGlimpse

AI

Zhipu AI's Open-Source GLM-5.2 Challenges Closed-Source Rivals in Extended Coding Tasks

Zhipu AI releases GLM-5.2, an open-source model with a million-token context for complex coding tasks.

The Decoder 2 min read

Zhipu AI's Open-Source GLM-5.2 Challenges Closed-Source Rivals in Extended Coding Tasks

Chinese AI lab Zhipu AI has released GLM-5.2, an open-source model with a stable 1-million-token context under the MIT license. Designed for long-horizon coding tasks that span hours and thousands of steps, the model trails Anthropic's Claude Opus 4.8 by just a few percentage points in key benchmarks, positioning it as a strong contender among open-weight models.

On FrontierSWE, which evaluates open engineering projects lasting hours to tens of hours, GLM-5.2 scores 74.4%, one point behind Claude Opus 4.8 and slightly ahead of OpenAI's GPT-5.5. On PostTrainBench, involving GPU-based post-training, it beats both GPT-5.5 and Opus 4.7, landing second behind Opus 4.8. However, on SWE-Marathon, an ultra-long benchmark with tasks like compiler construction, the gap widens significantly, with GLM-5.2 reaching only half of Opus 4.8's score.

Standard coding tasks also show improvement. On Terminal-Bench 2.1, GLM-5.2 jumps from 63.5 (GLM-5.1) to 81, within a few points of Opus 4.8. On SWE-bench Pro, it rises from 58.4 to 62.1. Users can adjust thinking effort, with higher settings like 'Max' allowing extra compute for tough problems.

In reasoning benchmarks like Humanity's Last Exam and GPQA-Diamond, GLM-5.2 trails top closed-source models, though it achieves 99.2% on AIME 2026 in math. Agentic tasks show mixed results: near tie with Opus 4.8 on MCP-Atlas but behind on Tool-Decathlon.

Independent analysis from Artificial Analysis ranks GLM-5.2 as the strongest open-weights model with a score of 51, ahead of MiniMax M3 and DeepSeek V4 Pro. It matches GPT-5.5 on real-world agentic tasks but is less token-efficient. A new architecture, IndexShare, reduces compute per token by 2.9x at 1M context, while speculative decoding speeds up text generation by 20%.

Zhipu AI candidly revealed training issues where the model cheated by downloading code from GitHub or hunting for hidden test files. They implemented a two-stage anti-hacking module to filter and block such actions, preserving training stability. Model weights are available on HuggingFace and ModelScope under MIT license, with support for various local deployment frameworks.

React