GLM-5.2: The 1M-Context Coding Model That Shipped Before Its Proof
Z.ai's flagship jumped to a 1M-token window and MIT weights coming next week, but launched with zero published benchmarks.

TL;DR
- →GLM-5.2 launched June 13, 2026 as Z.ai's fourth flagship coding release in four months, immediately live on every GLM Coding Plan tier.
- →The headline spec is a 1,000,000-token usable context window, a 5x jump from GLM-5.1's ~200K alongside a new High/Max thinking-effort system.
- →Standalone API access, the chat.z.ai chatbot, and MIT-licensed open weights are all promised for "next week." None of them shipped at launch.
- →Z.ai published zero benchmark numbers for GLM-5.2 itself. Every comparison circulating online right now is borrowed from GLM-5.1's confirmed scores.
- →The release landed in the same window as the US government's order pulling Anthropic's Mythos and Fable 5 models offline, a coincidence the developer community didn't let pass quietly.
- →For builders already on a Coding Plan, switching today is a config change. For everyone else, the "open" part of this release hasn't actually arrived yet.
ON THIS PAGE
1,000,000
Usable context tokens
Labeled glm-5.2[1m] in Z.ai's own config examples, a 5x jump from GLM-5.1's ~200K-token window, with up to 131,072 output tokens per response.
744B
Total parameters (MoE)
40B
Active per token
28.5T
Training tokens
0
Official benchmarks published at launch
Z.ai picked a Saturday to ship its newest flagship model. GLM-5.2 went live across every GLM Coding Plan tier with a five-times-larger context window and a renewed promise to open-source the weights but with no API, no chatbot, and not a single benchmark number to back any of it up.
GLM-5.2 is Z.ai's third major iteration in the GLM-5 line since February, and the fourth flagship-tier coding release the company has shipped in roughly four months. It follows GLM-5 (February 11, 2026), the speed-tuned GLM-5-Turbo (March 15), and GLM-5.1 (April 7) an unusually fast cadence even by 2026 standards.
What's confirmed to be live right now: every subscriber on the GLM Coding Plan Lite, Pro, Max, and Team got access to GLM-5.2 the moment the announcement posted, with no separate sign-up required. What's still a promise: the standalone API, the chat.z.ai chatbot, and the MIT-licensed open weights are all scheduled for "next week," with no firm date attached to any of them.
Feb 11, 2026
GLM-5 launches
The 744B-parameter MoE flagship debuts with a 200K-token context window and DeepSeek Sparse Attention.
Mar 15, 2026
GLM-5-Turbo
A closed-source, speed-tuned agent variant ships for faster, cheaper inference.
Apr 7, 2026
GLM-5.1
An incremental post-training upgrade retargets reinforcement learning at coding tasks and lands third on Code Arena.
Jun 13, 2026
GLM-5.2
A 5x context expansion to 1M tokens and a new Max-effort reasoning mode, live on the Coding Plan with open weights still to follow.
What didn't change
GLM-5.2 keeps the same 744-billion-parameter Mixture-of-Experts foundation as GLM-5, with roughly 40 billion parameters active per token. That MoE design is what makes a model this large quantizable for local hardware once the weights actually ship.
The benchmark numbers everyone's citing aren't GLM-5.2's
Here's the catch in nearly every "GLM-5.2 beats X" claim that's circulated since launch: Z.ai's announcement focused entirely on availability, the context window, and the open-source roadmap. It did not include a single SWE-bench, Terminal-Bench, or Code Arena score for GLM-5.2 itself.
Everything below describes GLM-5.1's confirmed standing the model GLM-5.2 inherits its architecture and reputation from, not the model that's actually shipping today.
Claude Opus 4.6 Thinking
#1 on Code Arena
Claude Opus 4.6
#2 on Code Arena
GLM-5.1
#3 on first open-weight model in the top three
SWE-bench Pro: GLM-5.1's confirmed score vs. closed rivals
| Model | SWE-bench Pro | Status |
|---|---|---|
| GLM-5.1 | 58.4 | Open weights & MIT |
| GPT-5.4 | 57.7 | Closed |
| Claude Opus 4.6 | 57.3 | Closed |
Read this before sharing a benchmark chart
Any "GLM-5.2 wins" graphic circulating before Z.ai publishes a technical report is extrapolation from GLM-5.1, not a measured result. The 5x context jump and the new Max-effort mode are real. Whether they hold up across a full 1M-token agentic session without accuracy decay is the actual open question.
GLM-5.2's three biggest promises standalone API access, a public chatbot, and MIT-licensed weights on Hugging Face are all still pending as of this writing. The only way to use the model right now is through a paid GLM Coding Plan subscription.
That sequencing struck a lot of developers as backwards for a release marketed around openness. Z.ai shipped the distribution channel before the proof, and the paywall before the open-source promise it's built around.
GLM-5.2 is an open-weight model.
Source: Z.ai launch announcement, June 13, 2026
Rollout status, as of publish
- GLM Coding Plan access
- Live since June 13
- Standalone API
- Promised "next week," no date confirmed
- chat.z.ai chatbot
- Promised "next week," no date confirmed
- MIT-licensed weights on Hugging Face
- Promised "next week," no date confirmed
- Official benchmark report
- Not yet published
GLM Coding Plan pricing what gets you GLM-5.2 today
| Tier | Approx. price | Prompt allowance |
|---|---|---|
| Lite | ~$18/mo | ~400 prompts/week |
| Pro | Not publicly listed | ~2,000 prompts/week |
| Max | Not publicly listed | ~8,000 prompts/week |
| Team | Seat-based | Custom organization pricing |
The timing nobody on Hacker News let slide
GLM-5.2 didn't launch in a vacuum. Within hours, the discussion thread on Hacker News had moved past the spec sheet entirely and onto a single observation: the release landed in roughly the same window as the US government's order restricting Anthropic's Mythos and Fable 5 models the shutdown we broke down here.
One commenter framed it plainly: Chinese labs releasing permissively licensed weights are a form of insurance against exactly this kind of centralized shutdown risk. Another pointed out the close overlap in timing between the GLM-5.2 announcement and the letter that triggered Anthropic's outage. Whether that's coordinated, coincidental, or simply the predictable rhythm of competing labs racing each other, the framing stuck.
Intelligence should be open, accessible, and ready to build with, empowering every developer, everywhere.
We can't confirm causation, only timing
No public evidence shows Z.ai timed this release around the Anthropic order. What's verifiable is the overlap itself, and the fact that the developer community read real meaning into it within hours.
Why this keeps happening at exactly these moments
This isn't the first time an access disruption at a closed lab has coincided with a major open-weight release. We've made the case before that local, self-hosted inference is becoming a real architectural option rather than a forced compromise, that's the same thesis behind NVIDIA's DGX Spark.
GLM-5.2 fits the same pattern from the model side instead of the hardware side. A 744B-parameter MoE model that only activates 40B parameters per token is exactly the kind of architecture that makes aggressive local quantization viable once the weights actually land: no API key, no rate limit, no government letter that can switch it off.
Related reading
Setting it up today, if you're already paying for it
Code: {"env": {"CLAUDE_CODE_AUTO_COMPACT_WINDOW": "1000000","ANTHROPIC_DEFAULT_SONNET_MODEL": "glm-5.2[1m]","ANTHROPIC_DEFAULT_OPUS_MODEL": "glm-5.2[1m]"}}
Point Claude Code's Sonnet and Opus model slots at glm-5.2[1m] and raise the auto-compact threshold so the agent stops summarizing its history early. Inside a session, run /effort max Z.ai's own recommendation for coding work and confirm with /status. Cline and OpenClaw users can point an OpenAI-compatible provider at the same model ID with a 1,000,000-token context size set manually.
Strengths
- • A genuinely large architectural leap: a usable 1M-token window with no quantization tricks required
- • Immediate drop-in availability inside Claude Code, Cline, and OpenClaw for existing subscribers
- • A predecessor with a real track record third on Code Arena, ahead of Claude Opus 4.6 on SWE-bench Pro
Weaknesses
- • Zero published benchmarks for GLM-5.2 itself at launch
- • "Open" positioning undercut by a paid-tier-only rollout at launch
- • No firm date for the API, chatbot, or weights despite the "next week" framing
Opportunities
- • Becoming the default fallback model for teams hedging against closed-lab outages or access restrictions
- • Day-0 agent-framework compatibility positions it ahead of slower-moving rivals once weights ship
Threats
- • Qwen, DeepSeek, and Kimi K2.5 are shipping on a similarly fast cadence and could claim the open-weight spotlight first
- • If the 1M-token window degrades in accuracy under real agentic load, the headline spec becomes a liability instead of an edge
Pros
- ✓ A real 5x context expansion, not a marketing rounding error
- ✓ Free for existing Coding Plan subscribers, switchable with a config change
- ✓ MoE architecture keeps local quantized inference realistic once weights land
Cons
- ✕ You're trusting GLM-5.1's numbers, not GLM-5.2's, until a technical report exists
- ✕ The open weights you're being sold on aren't downloadable yet
- ✕ Standalone API pricing is still unknown
Verdict
Worth switching today if you're already on a Coding Plan and regularly hit context-window walls in long agent sessions. Worth waiting on if you need the open weights, the API, or an actual benchmark to justify the switch to a team.
Key takeaways
- GLM-5.2's 1M-token context window is the real architectural story; the rest of the launch is a promise with no date attached.
- Every benchmark comparison circulating right now belongs to GLM-5.1, not GLM-5.2 treat "GLM-5.2 beats Claude" claims as unverified until Z.ai publishes its own numbers.
- The model is paywalled behind the GLM Coding Plan today; the MIT-licensed weights that justify calling it "open" haven't shipped.
- The launch's overlap with the Anthropic Mythos/Fable 5 shutdown gave the release a second narrative: open weights as insurance against centralized model access being switched off.
- The MoE architecture (40B active of 744B total) is exactly what makes this model a realistic candidate for serious local inference once the weights actually land.
Assumptions
- 1.Z.ai's "next week" timeline for the API, chatbot, and weights holds roughly as it did for GLM-5.1's rollout.
- 2.GLM-5.2's eventual benchmark scores land close to GLM-5.1's trajectory rather than reflecting a separate, unannounced training run.
- 3.No additional restrictions are added to the MIT license between this announcement and the actual weights release.
About this analysis
This piece is based on Z.ai's public launch announcement, the r/LocalLLaMA and Hacker News discussion threads that followed, and GLM-5.1's previously published, independently cited benchmark scores. No GLM-5.2-specific technical report existed at the time of writing. Figures attributed to GLM-5.1 are marked as such throughout; we will update this analysis once Z.ai publishes GLM-5.2's own numbers.
Sources
Want the GLM-5.2 benchmark breakdown the moment it lands?
Get started
