VOOZH about

URL: https://www.digitalapplied.com/blog/glm-5-2-zai-flagship-coding-plan-release

⇱ GLM-5.2 Lands on Z.ai's Coding Plan: What's Confirmed


AI DevelopmentNew Release13 min readPublished June 13, 2026

A flagship that shipped to the subscription before the scoreboard.

GLM-5.2: Z.ai’s new flagship lands on the Coding Plan

Z.ai released GLM-5.2 today as its new flagship model, available immediately to every GLM Coding Plan tier — Lite, Pro, Max, and Team. The announcement leads with three claims: powerful coding capabilities, usable 1M-token context, and continued strength on long-horizon tasks. What it does not include yet is a single benchmark. API and chatbot access launch next week, and the weights open-source next week under the MIT License. This is a coding-plan rollout first and a benchmark story later.

DA
Digital Applied Team
Senior strategists · Published June 13, 2026
PublishedJune 13, 2026
Read time13 min
Sources6
Availability
All plans
Lite · Pro · Max · Team
Live today
Context window
1M
glm-5.2[1m], 131K max output
Vendor claim
Open weights
MIT
Live on Hugging Face
Released June 16
Benchmarks
Now live
Full scorecard out June 16
See breakdown

GLM-5.2 is Z.ai’s new flagship model, released June 13, 2026 and available immediately to every GLM Coding Plan subscriber. Z.ai describes it as delivering powerful coding capabilities, usable 1M-token context support, and continued strengths in long-horizon tasks — the kind of multi-step, agentic work where a model has to stay coherent over a long session rather than nail a single completion.

What is unusual about this launch is the sequencing. The model is in developers’ hands today, but the standalone API, the Z.ai chatbot, and the open-source weights were all announced for next week, and no benchmarks were published at release. Z.ai shipped the distribution channel — the GLM Coding Plan — ahead of the proof. That is the opposite order of a typical frontier launch, and it tells you who this release is aimed at: existing GLM Coding Plan subscribers who can switch to GLM-5.2 with an environment-variable change, today.

This post covers what Z.ai actually confirmed, why there are no GLM-5.2 numbers to cite yet, the 1M-context and effort-level claims, how the GLM Coding Plan is structured, the exact steps to point a coding agent like Claude Code at GLM-5.2, and the MIT open-source promise. For the model this builds on, see our GLM-5.1 coding-benchmark analysis from earlier this year.

Update · June 16, 2026 — the benchmarks landed

This post covers GLM-5.2’s launch day, June 13, when Z.ai shipped to the Coding Plan before publishing any benchmarks. Three days later the proof arrived: a full scorecard, MIT-licensed open weights on Hugging Face, the standalone API, and an independent #2 ranking on Arena’s Code Arena Frontend board, ahead of Claude Opus 4.7 and 4.8 in thinking mode. For the numbers and a verdict, read our GLM-5.2 benchmarks breakdown. The launch-day account below stands as a record of how the distribution-first rollout worked.

Key takeaways
  1. 01
    It is a coding-plan rollout, not a benchmark launch.GLM-5.2 went live to all GLM Coding Plan tiers (Lite, Pro, Max, Team) on June 13, 2026, but Z.ai published no benchmark scores at release. The standalone API, the chatbot, and the open weights are all scheduled for next week. Treat today as availability, not proof.
  2. 02
    The headline claims are 1M context and long-horizon work.Z.ai positions GLM-5.2 around three qualities: powerful coding, usable 1M-token context, and continued strength on long-horizon tasks. These are vendor descriptions, not measured results — useful as a statement of intent, not as a leaderboard placement.
  3. 03
    No GLM-5.2 numbers exist yet — only the lineage does.Every benchmark you can find today belongs to GLM-5 or GLM-5.1, not GLM-5.2. GLM-5's reported 77.8% on SWE-bench Verified set the family's track record, and GLM-5.1 claimed roughly 94.6% of Claude Opus 4.6's coding score. Use those as context for what 5.2 builds on, never as 5.2 results.
  4. 04
    Open weights ship under MIT — a more permissive license.Z.ai says GLM-5.2 will be open-sourced next week under the MIT License. The GLM-5 base was Apache-2.0; both are permissive, but MIT is the simplest and most widely accepted, reinforcing Z.ai's open-weight positioning against the closed frontier.
  5. 05
    Switching is an env-var change for existing subscribers.Inside the GLM Coding Plan, GLM-5.2 works with Claude Code, Cline, OpenCode, Roo Code, OpenClaw, Kilo Code, Crush, and Goose. In Claude Code you point the model env vars at glm-5.2[1m] and set the auto-compact window to 1,000,000 — the switching cost of a trial is minutes, not a migration.

01 — Release OverviewWhat Z.ai confirmed today — and what it deferred.

Z.ai announced GLM-5.2 on June 13, 2026 as its new flagship model and made it available the same day to all GLM Coding Plan users. The confirmed facts are narrow but clear: GLM-5.2 is live across the Lite, Pro, Max, and Team tiers; Z.ai claims powerful coding, usable 1M-token context, and continued long-horizon strength; the model exposes two thinking-effort levels (High and Max); and the company is pairing the release with an open-source commitment. Z.ai’s documentation already lists GLM-5.2 alongside GLM-5.1, GLM-5-Turbo, GLM-4.7, and GLM-4.5-Air as a supported model on every plan.

What is deferred is just as important. Z.ai stated that API and chatbot services will launch next week, and that the model will be open-sourced next week under the MIT License. No technical report, no parameter count specific to 5.2, and no benchmark scores accompanied the announcement. Treat the items below as roadmap, not shipping features — the way Z.ai itself framed them.

Release
Flagship live on the Coding Plan
Jun 132026

GLM-5.2 is Z.ai's new flagship model, available immediately to all GLM Coding Plan tiers — Lite, Pro, Max, and Team. It already appears in Z.ai's plan documentation as a supported model.

Available today
Lineage
Builds on the 2026 GLM-5 family
GLM-5

GLM-5.2 follows GLM-5 (a 744B-parameter MoE) and GLM-5.1. Z.ai has not published 5.2-specific architecture details, so do not assume the parameter count or training setup carries over unchanged.

Architecture: unconfirmed
Access
Coding Plan, then API next week
8agents

Today, access is through the GLM Coding Plan inside coding agents (Claude Code, Cline, OpenCode, Roo Code, OpenClaw, Kilo Code, Crush, Goose). The standalone API and Z.ai chatbot were announced for next week.

API: next week
Open weights
Promised, not yet released
MIT

Z.ai says the weights open-source next week under the MIT License. As of June 13, 2026 the weights are not public — the self-hosting path is announced, not available.

Next week
Z.ai announcement — June 13, 2026

Z.ai’s release post, in its own framing: “GLM-5.2 is now available to all GLM Coding Plan users, including Lite, Pro, Max, and Team plans.” The company describes it as a flagship that delivers powerful coding capabilities, usable 1M-context support, and continued strengths in long-horizon tasks, adding that “API and Chatbot services will launch next week. The model will also be officially open-sourced next week under the MIT License.” Source: Z.ai (docs.z.ai/devpack/latest-model).

02 — BenchmarksThe benchmark vacuum — and how to read it.

As of launch day, June 13: there were no GLM-5.2 benchmark numbers. Not low ones, not high ones — none. (The full scorecard has since landed; see the update at the top of this post and our GLM-5.2 benchmarks breakdown.) Z.ai published the model and the coding-plan availability without a scorecard, and independent labs had no weights and no API to test against. Any specific figure attached to “GLM-5.2” in the first few days was almost certainly a GLM-5 or GLM-5.1 number being mislabeled. The honest position on launch day was that the model’s measured performance was unknown.

What the lineage does provide is a track record to set expectations against. GLM-5, the family’s base model, is credited with 77.8% on SWE-bench Verified — reported in independent coverage as the highest open-source score on that benchmark at the time, which is part of why Z.ai’s self-reported numbers tend to get the benefit of the doubt. GLM-5.1 then claimed roughly 94.6% of Claude Opus 4.6’s coding score on a Claude Code harness, though that figure was self-reported and never independently corroborated. Our GLM-5 architecture analysis and GLM-5.1 benchmark breakdown cover both in detail.

The practical read: GLM-5.2 enters with a credible pedigree and zero verified evidence of its own. That is a normal day-one state for any model — the mistake is acting on the vendor’s adjectives as if they were leaderboard positions. The cross-vendor comparisons that matter (SWE-bench Verified, Terminal-Bench, NL2Repo re-runs) cannot happen until the API and weights land next week. Until then, qualify every claim, including the ones in this post.

Why the Z.ai track record matters here

Chinese labs have sometimes reported internal numbers that cool off under independent testing — so a vendor’s self-report is never proof. The reason GLM gets a longer leash than most is that GLM-5 already backed up its headline claim: independent coverage credits GLM-5 with 77.8% on SWE-bench Verified, top of the open-source field at the time. A strong prior is not a verified result for GLM-5.2, but it is a reasonable basis for spending one evening testing it rather than dismissing it.

03 — Capabilities1M context and the two effort levels.

Two of the confirmed details are concrete enough to plan around. The first is context: GLM-5.2 supports a 1M-token window, addressed through the glm-5.2[1m] model id, with a maximum output of 131,072 tokens. Z.ai is careful to call this “usable” 1M context — a hedge that points at the real question with every long-context model, which is whether retrieval quality holds across the full window or degrades in the middle. That is exactly the kind of claim independent testing exists to check, so file it under “promising, unverified.”

The second is effort. GLM-5.2 exposes two thinking-effort levels, High and Max, and Z.ai recommends Max for coding tasks to enable deeper reasoning. Inside Claude Code the mapping is explicit: the low, medium, and high effort settings all map to GLM-5.2’s High, while xhigh, max, and ultracode map to its Max. In other words, if you want the model’s deepest reasoning you have to ask for it — the default-tier efforts land on High, not Max.

Context
Addressed via glm-5.2[1m]
1Mtokens

Z.ai reports usable 1M-token context. The [1m] suffix on the model id is what enables it; pair it with a 1,000,000 auto-compact window in Claude Code. Retrieval quality across the full window is unverified.

Vendor: 'usable'
Max output
Long generations supported
131Ktokens

Maximum output is 131,072 tokens, matching the GLM-5 line. Useful for large refactors and long structured generations, though most agentic work is bounded by step count, not single-call output.

Per Z.ai docs
Effort
High and Max
2levels

Two thinking-effort levels. Z.ai recommends Max for coding. In Claude Code, low/medium/high map to High; xhigh/max/ultracode map to Max — so deep reasoning is opt-in, not default.

Max = deepest
Long-horizon
Continued strength, unmeasured
Claim

Z.ai cites continued strength on long-horizon tasks — the multi-step agentic work where coherence over a session matters more than single-shot quality. No metric accompanies the claim at release.

No score yet

04 — The Coding PlanThe GLM Coding Plan: tiers, quotas, and what “all plans” means.

“Available to all GLM Coding Plan users” is the whole distribution story, so it is worth understanding the plan. The GLM Coding Plan is a subscription that meters usage in prompts rather than tokens, where Z.ai estimates each prompt invokes the model 15-20 times — a reflection of how agentic sessions fan a single request into many model calls. Z.ai lists the plan from around $18/month in its documentation, across four tiers (Lite, Pro, Max, Team), with periodic discounts; check z.ai/subscribe for current per-tier pricing.

Usage is governed by two simultaneous caps — a rolling 5-hour limit and a weekly limit — and the more capable models (GLM-5.2, GLM-5.1, GLM-5-Turbo) draw down quota faster at peak hours. The figures below are Z.ai’s approximate per-tier prompt allowances. They matter because the difference between Lite and Max is not capability — every tier gets GLM-5.2 — but how much of it you can use before hitting a wall.

Lite
The evaluation tier
~80 / 5h · ~400 / week

The entry point — enough to trial GLM-5.2 against a real repo and form a judgment. Includes GLM-5.2 like every tier. The right place to start before committing budget.

Best first trial
Pro
The daily-driver tier
~400 / 5h · ~2,000 / week

Roughly 5x Lite's allowance — sized for developers using a coding agent as a daily tool rather than an occasional one. The common landing spot once a trial proves out.

Active development
Max
The heavy-use tier
~1,600 / 5h · ~8,000 / week

Roughly 4x Pro — aimed at power users running long, parallelized agentic sessions where prompt volume is the binding constraint. Same model, far more headroom.

High volume
Team
The multi-seat tier
Seat-based · see Z.ai

The shared-billing tier for organizations. GLM-5.2 is included here too; pricing and seat structure are listed on Z.ai's subscribe page rather than a fixed prompt cap.

Organizations

GLM Coding Plan — approximate weekly prompt allowances by tier

Source: Z.ai GLM Coding Plan documentation (docs.z.ai/devpack/overview), June 2026 — approximate allowances; one prompt is estimated at 15-20 model invocations
Max — weekly prompt allowance~1,600 per 5-hour window · Z.ai approximate
~8,000
Pro — weekly prompt allowance~400 per 5-hour window · Z.ai approximate
~2,000
Lite — weekly prompt allowance~80 per 5-hour window · Z.ai approximate
~400

05 — How ToHow to point your coding agent at GLM-5.2.

The reason this launch is frictionless for existing subscribers is that the GLM Coding Plan exposes an Anthropic-compatible endpoint, so agents built for Claude work with a base-URL and key swap. By default, Z.ai maps Claude Code’s model tiers to GLM-4.7 (for Opus and Sonnet) and GLM-4.5-Air (for Haiku) — so out of the box you are not on GLM-5.2. To use the new flagship you edit the model env vars in your ~/.claude/settings.json. Our GLM-4.7 setup guide walks through the provider configuration this builds on.

The change is three model variables plus the compact-window setting that the 1M context needs. After the provider base URL and API key are in place, set the defaults to glm-5.2[1m] as below, then relaunch and confirm with /status in Claude Code. To pick the deepest reasoning, switch effort with /effort — recall that Max effort is what maps to GLM-5.2’s Max.

Claude Code settings.json — env block for GLM-5.2

Add or replace these in the env object of ~/.claude/settings.json (the base URL and key come from Z.ai’s standard provider setup):

"CLAUDE_CODE_AUTO_COMPACT_WINDOW": "1000000"
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "glm-4.5-air"
"ANTHROPIC_DEFAULT_SONNET_MODEL": "glm-5.2[1m]"
"ANTHROPIC_DEFAULT_OPUS_MODEL": "glm-5.2[1m]"

The [1m] suffix is what enables the 1M window; if Claude Code reports the model does not exist, update Claude Code to the latest version first. For OpenAI-compatible agents like Cline, use the base URL https://api.z.ai/api/coding/paas/v4, choose a custom model, and enter glm-5.2 with the context window set to 1,000,000.

Beyond Claude Code and Cline, Z.ai lists GLM-5.2 as working with OpenCode, Roo Code, OpenClaw, Kilo Code, Crush, and Goose — most of which support custom model configuration the same way. The takeaway is that for anyone already paying for a GLM Coding Plan, evaluating GLM-5.2 is a settings edit and a relaunch, not a procurement decision. That low switching cost is the entire point of releasing to the plan first.

06 — Open SourceOpen weights under MIT, next week.

The open-source commitment is the strategic spine of the release. Z.ai framed the launch with the line “the future of AI is open, and it belongs to the people,” and backed it with a concrete promise: GLM-5.2 weights open-source next week under the MIT License. That is a small but real shift from the GLM-5 base model, which shipped under Apache-2.0. Both are permissive, OSI-approved licenses; MIT is the shorter, simpler one, with no explicit patent grant but the least friction for adoption.

For teams, an MIT-licensed frontier-adjacent coding model — if the weights land as promised and the capability holds — is a genuine self-hosting and data-sovereignty option. It is the same lever that makes models like Kimi K2.7-Code attractive to regulated industries: code never leaves the perimeter, and there is no per-token meter. The caveat is identical too — open weights for a large model are a serious serving commitment, so for most teams self-hosting is a compliance fallback and negotiating lever, not the default path.

The open-weight pattern, and its catch

Releasing capable weights under permissive licenses is now the defining move of the Chinese open-model labs, and it reshapes the cost conversation for everyone — the closed frontier has to justify its premium against a free, self-hostable alternative. The catch is the gap between announcement and availability: as of June 13, 2026 the GLM-5.2 weights are not public. “Next week” is a commitment, not a download link — verify it shipped before building a plan on it.

07 — Competitive ContextWhere GLM-5.2 lands in the June 2026 field.

GLM-5.2 enters one of the most crowded quarters the coding-model market has seen. Anthropic’s Claude Opus 4.8 anchors the closed frontier; Moonshot just shipped Kimi K2.7-Code as an open-weight coding specialist; Alibaba’s Qwen 3.7 Max took closed-model benchmark wins in late May. The matrix below places the realistic alternatives a team would weigh this month — with the standing caveat that GLM-5.2’s independent placement is a week away, so it is positioned on confirmed attributes (availability, context, license), not on scores it does not yet have.

GLM-5.2
The coding-plan-first flagship · new today

Released June 13, 2026. Live on every GLM Coding Plan tier; 1M context (usable, per Z.ai); High/Max effort levels; MIT open weights and API promised next week. No benchmarks published yet. Pick when: you already run a GLM Coding Plan and want to trial the new flagship for an env-var change, with an open-weight path on the horizon.

Lowest trial cost
Claude Opus 4.8
The closed frontier default · May 28, 2026

Anthropic's most capable general-access model, with the deepest agent-harness ecosystem in Claude Code and a 1M context. Closed weights, premium pricing. Still the reference point for raw code generation and tooling maturity. Pick when: maximum capability and a proven harness outweigh cost and weights access.

Capability ceiling
Kimi K2.7-Code
The open-weight coding specialist · June 12, 2026

Moonshot's coding-focused successor to K2.6, open weights on Hugging Face under Modified MIT, with vendor-reported gains and ~30% fewer reasoning tokens. Paired with the open-source Kimi Code CLI from $19/mo. Pick when: you want a frontier-adjacent open-weight coding model that is already downloadable today.

Available open weights
Qwen 3.7 Max
The closed benchmark leader · May 20, 2026

Alibaba's flagship: 1M context and late-May launch wins on Terminal-Bench 2.0 and SWE-Bench Pro against Opus 4.6 Max baselines, at mid-tier pricing. Closed weights — no self-hosting. Pick when: you want top measured coding benchmarks now and weights access does not matter.

Proven benchmarks

08 — Action GuideWhat dev teams and agencies should do now.

If you already pay for a GLM Coding Plan, trial it today. The cost is a settings edit: point your model env vars at glm-5.2[1m], set Max effort, and run one real mid-complexity task — a multi-file refactor or a failing-test fix — on a branch. Score it on end-to-end completion without intervention. That is the long-horizon claim Z.ai is making, so test it directly rather than trusting the adjective.

If you do not, wait a week — there is little to evaluate yet. With no API, no chatbot, no weights, and no benchmarks until next week, there is no low-friction way to assess GLM-5.2 from outside the plan right now. Subscribing solely to test a benchmark-less day-one model is premature; the standalone API next week is the natural entry point for non-subscribers.

Treat the MIT weights as a future option, not a current one. If self-hosting or data residency is on your roadmap, the MIT release is worth tracking — but it is announced, not shipped. Verify the weights are actually published before scoping any deployment, and remember a large model is a real serving commitment. For organizations weighing that build-out, our AI transformation services cover model selection and deployment strategy, and our web development team ships with these agentic stacks daily.

Hold platform decisions until the independent numbers land. GLM-5 earned its credibility by backing a headline claim externally, but that is GLM-5, not GLM-5.2. SWE-bench Verified, Terminal-Bench, and NL2Repo re-runs typically follow an open-weight release within one to two weeks. Start a contained trial now if you are on the plan; make the standardize-on-it decision after the third-party data exists.

Conclusion

A distribution-first launch, with the proof to follow.

GLM-5.2 is a real release with a deliberately unusual shape: Z.ai put its new flagship into every paying subscriber’s hands today, and scheduled the API, the chatbot, the open weights, and — implicitly — the benchmarks for next week. That sequencing rewards the people most likely to act on it, existing GLM Coding Plan users, for whom trying GLM-5.2 costs an env-var change and an evening. For everyone else, the substance arrives next week.

The two things worth tracking are the ones Z.ai has not yet proven: whether the 1M context is genuinely usable across the full window, and whether the long-horizon coding strength holds under independent testing. The family’s track record — GLM-5’s reported SWE-bench result — is a reasonable basis for spending a test session, not a substitute for one. If the weights ship under MIT as promised and the capability survives third-party scrutiny, GLM-5.2 becomes one of the strongest open-weight answers to the closed coding frontier. If it does not, the GLM Coding Plan is still a low-cost place to have found out. Either way, the price of an informed opinion is one evening on a branch.

Build with the right AI stack

From model release to production workflow.

We help teams evaluate, integrate, and operationalize AI coding stacks — from model selection and token-economics modeling to agentic workflow design and self-hosting strategy.

Free consultationExpert guidanceTailored solutions
What we work on

AI development & agentic workflows

  • AI coding stack evaluation and rollout
  • Token-economics and per-seat cost modeling
  • Agentic workflow and CLI integration
  • Open-weight self-hosting strategy
  • Developer team enablement
FAQ · GLM-5.2

The questions teams ask about GLM-5.2.

GLM-5.2 is Z.ai's new flagship model, released June 13, 2026. Z.ai describes it as delivering powerful coding capabilities, usable 1M-token context, and continued strength on long-horizon tasks. At launch it became available to all GLM Coding Plan tiers (Lite, Pro, Max, and Team). The standalone API, the Z.ai chatbot, and the open-source weights were all announced for the following week, and no benchmark scores were published at release.
Related dispatches

Continue exploring AI coding models and agentic stacks.