Z.ai's GLM-5.2 Hits 1M Context at 10x Cheaper Than Claude

Z.ai's GLM-5.2 arrives with a 5x context jump to 1M tokens, dual reasoning modes, MIT open weights, and pricing roughly 10x cheaper than US frontier models

·
·
Z.ai's GLM-5.2 Hits 1M Context at 10x Cheaper Than Claude
AuthorZ.ai
Read2 min
SubtopicLong Context
  • Z.ai released GLM-5.2, a 744B MoE open-weight model with a 5x context jump to 1M tokens under MIT license.
  • Two reasoning modes (High and Max) replace a single mode; Max is recommended for complex coding and agentic tasks.
  • Available now on all GLM Coding Plan tiers (~$18–$80/month) at no extra charge; open weights on HuggingFace coming shortly.
  • No official benchmarks published at launch; predecessor GLM-5.1 scored 58.4 on SWE-bench Pro, edging past Claude Opus 4.6's 57.3.
  • Trained entirely without NVIDIA chips, making it supply-chain independent from US export controls.
  • Pricing is roughly 10x cheaper than comparable US frontier models, with prompt-based billing that doesn't penalize large context use.

GLM-5.2 is Z.ai's new flagship model, and it landed at a moment that felt almost scripted. GLM-5.2 dropped 48 hours after US export rules forced Anthropic to disable its top Fable 5 and Mythos 5 models for foreign nationals. Z.ai founder Jie Tang commented: "We deeply regret the sudden restrictions on certain frontier models. The path to AGI should not be surrounded by high walls; it requires cooperation from all of humanity." Whether you read that as principled or opportunistic, the timing put a spotlight on a model that deserves attention on its own merits.

What Just Shipped

GLM-5.2 is an open-weight Mixture-of-Experts language model from Zhipu AI, with ~744B total parameters (~40B active), a usable 1M-token context window, two reasoning modes, and an MIT license. It follows GLM-5 (February), GLM-5-Turbo (March), and GLM-5.1 (April) , meaning Z.ai has now shipped four flagship-tier coding releases in roughly four months. The pace is relentless, and each iteration has been meaningfully different from the last.

GLM-5.2 is a step-function jump from GLM-5.1 in context capacity. The usable context window expands from 200,000 tokens to 1,000,000 tokens , roughly five times larger. The output limit also increased to 131,072 tokens per response, which matters for long refactors, multi-file diffs, and migration scripts that need to output complete files.

Bar chart comparing GLM-5.2 against GLM-5.1, Claude Opus 4.8, GPT-5.5, and Gemini 3.1 Pro across 8 benchmarks including SWE-bench Pro, Terminal-Bench, and NL2Repo

The Architecture Under the Hood

GLM-5.2 inherits its foundation from GLM-5: a 744-billion-parameter Mixture-of-Experts model with 40 billion active parameters per token, trained on 28.5 trillion tokens and built on DeepSeek Sparse Attention to keep long-context inference affordable. MoE (Mixture-of-Experts) means the model has many specialized sub-networks but only activates a small fraction of them per token , so you get the quality of a 744B model at the compute cost of a ~40B one.

GLM-5.1 was described by Z.ai as an incremental post-training upgrade , same architecture, retargeted reinforcement learning aimed specifically at coding task distributions. The result was a model capable of sustaining roughly 1,700 autonomous agent steps in a single session, up from an industry-wide baseline of around 20 steps a year earlier, and able to run "plan, execute, test, fix, optimize" loops for up to eight hours without human intervention. GLM-5.2 builds on that foundation with the 1M context window and the new dual-effort reasoning system.

Keep reading

Don't miss what's next in AI

Join 300,000+ engineers and researchers who get the signal, not the noise. Create a free account to read the rest of this story.

  • Full access to in-depth AI research breakdowns
  • Be the first to know what's trending before it hits mainstream
  • Daily curated papers, repos, and industry moves