Z.ai shipped GLM-5.4 to every GLM Coding Plan subscriber on November 23, 2026—a 750-billion-parameter Loop Transformer with vision, now listed in official devpack documentation beside GLM-5.3. Product lead Zixuan Li announced rollout on X, and Z.ai's research post GLM-5.4: Toward Generalized Coding with Our First Loop Transformer frames the release as the start of Generalized Coding, explicitly building on earlier Agentic Engineering, long-horizon tasks, and cybersecurity work.
If you run Claude Code, OpenCode, Cline, or ZCode against api.z.ai, the practical change is immediate: you can select glm-5.4 or glm-5.4[1m] and get looped reasoning plus multimodal inputs on the same subscription. The security question is not whether a headline beat GLM-5.3 by 47% on vulnerabilities—that claim does not appear in Z.ai's post or docs—but whether your harness still approves every shell call when a model that Z.ai delayed weight releases for on GLM-5.3 over vulnerability discovery gets more thinking time per token.
explainx.ai has the GLM-5.4 Coding Plan news timeline (a separate news site, not Beam). This post focuses on verified mechanics, claimed-vs-verified cyber headlines, and checks for agent operators.
Quick answers
| Question | Answer |
|---|---|
| Am I affected? | Yes, if you route any coding agent through the GLM Coding Plan and want predictable model routing, quota burn, and tool-use risk |
| Is there a fix? | No patch on your laptop—set model ids explicitly, cap autonomous runs, and log tools; update when Z.ai publishes cyber evals |
| Does data leave my machine? | Yes—prompts and tool output go to Z.ai like any neocloud route unless you self-host weights later |
| Did Z.ai verify 47% more vulns? | Not in primary sources we reviewed; no 750B CyberGym table shipped with GLM-5.4 |
| What model string? | glm-5.4 or glm-5.4[1m] per Li's November 23 post; confirm in agent logs |
What Z.ai announced (verified)
Li's November 23 posts state four facts subscribers can act on today:
- GLM-5.4 is available to all GLM Coding Plan users, not a private beta tier.
- The release adds vision on the coding subscription that already bundles Web Search, Web Reader, and Zread MCP tools per docs.z.ai.
- Coding performance improved in aggregate terms without a public SWE-bench or Terminal Bench table for the 750B build in the research post.
- Accounts with weekly quotas get 50% more weekly allowance when GLM-5.4 is the active model compared with GLM-5.3, per Li's wording—while docs now publish separate credit multipliers for GLM-5.4 (for example 4.6× input / 16× output vs 6.9× / 24× for GLM-5.3 on the same page).
Z.ai's GLM-5.4 research post adds architecture claims: loop depth on a 750B base, Generalized Coding (code as scaffolding for wider tasks), and a known weakness—overly long "marathon thinking" loops that raise latency even when accuracy improves. The Decoder's November 23 summary quotes Z.ai on gated progressive updates, shared KV cache between loop passes, and sparse attention to control memory at 1M context—useful for understanding why your agent bills more tokens per decision even when output looks shorter on small tests.
Image: Z.ai
Important honesty check: Z.ai's public materials do not yet include independent 750B leaderboard scores. The Decoder notes that figures in the blog post come from a 30B loop ablation, not the shipping flagship, and that Artificial Analysis has not published a GLM-5.4 card as of November 23, 2026.
Claimed vs verified: "47% more vulnerabilities"
Aggregator and social headlines suggest GLM-5.4 finds 47% more vulnerabilities than GLM-5.3, often citing an informal VulnPR-100 scorecard (47 finds versus 32 for GLM-5.3 in reposted threads). That is not stated on z.ai/blog/glm-5.4, in docs.z.ai, or in Li's announcement thread.
What is on the record for the prior generation:
| Claim | Source | Status (Nov 24, 2026) |
|---|---|---|
| GLM-5.3 leads open weights on CyberGym vulnerability discovery in Z.ai's August 2026 post | Z.ai GLM-5.3 research | Vendor-reported; weight release delayed for safety |
| GLM-5.3 is the most cyber-capable open-weight model CAISI tested, below U.S. frontier on aggregate | NIST CAISI assessment | Independent government eval |
| GLM-5.3 approached Claude Mythos Preview on exploit building in separate reporting | The Decoder | Secondary journalism citing Anthropic research |
| GLM-5.4 improves vulnerability discovery 47% vs GLM-5.3 (VulnPR-100 social scorecards) | Third-party reposts, not Z.ai | Unverified—no vendor benchmark table located |
Early community anecdotes—one tester quoted in Chinese press recaps saying GLM-5.4 felt "cautious" and surfaced bugs others missed—are single-app impressions, not benchmarks. They are useful for hypothesis, not for risk registers.
Until Z.ai publishes CyberGym / ExploitBench / ExploitGym numbers for GLM-5.4 or CAISI runs a new pass, treat offensive planning ability as unknown upgrade, not proven 47%.
How the Loop Transformer changes agent behavior
Standard transformer stacks run each layer once per forward pass. Z.ai's loop design re-executes a shared layer block so the model can revise intermediate states before emitting the next token. Mechanically (per Z.ai, relayed by The Decoder):
- First pass builds context with conservative gating.
- Second pass writes updates back through per-token gates, avoiding activation blow-ups.
- KV cache sharing plus a sliding local window on the second pass limits memory growth at long context.
- Sparse attention picks salient tokens once; the second pass reuses that selection.
For coding agents, the user-visible effect is often longer internal deliberation—Z.ai admits marathon loops that stall—rather than a single quick completion. That matters for security reviews:
- More turns inside one "fix this bug" task can mean more
bash,curl, or MCP search calls before you see a diff. - Vision invites screenshot uploads of internal UIs; those images ride the same neocloud trust boundary as text prompts (Together AI's November prompt-leak disclosure is a reminder that inference providers can retain samples).
- Shorter final answers on some 30B tests do not guarantee shorter tool traces on 750B in your repo.
On Vals AI's CyberOffense range, GLM 5.3 Flash already showed that cheap tokens plus patience can keep an agent grinding for tens of hours. GLM-5.4's architecture pushes in the same direction: depth over single-pass speed.
What this means if you run AI coding agents
1. Verify routing before you trust quotas
Li instructs Claude Code users to set glm-5.4[1m]. Docs list GLM-5.4 as supported but will not auto-upgrade stale defaults.
# Example: confirm what your Claude Code session believes it is using
# (exact env names follow docs.z.ai/devpack — match your team's template)
grep -E 'ANTHROPIC_DEFAULT|glm-' ~/.claude/settings.json 2>/dev/null || true
Log model slug, API host, and timestamp on CI jobs the way we recommend in the Trump overseas data-center tax post for residency—here the goal is proving which weights processed secrets.
2. Re-budget credits with published multipliers
docs.z.ai now shows GLM-5.4 with lower input multipliers than GLM-5.3 (4.6 vs 6.9) but still 16× output. Li's +50% weekly pool when GLM-5.4 is selected is orthogonal to per-token math—run a week-long burn test on a non-production repo before team-wide migration. Peak Singapore afternoon windows still charge full rate (14:00–18:00 UTC+8).
3. Treat cyber capability as supply-chain risk, not a feature flag
NIST CAISI's GLM-5.3 findings established that open weights + agent harnesses moved vulnerability discovery into commodity territory. Unit 42's Cairn reporting shows GLM-class workers already appear in autonomous intrusion workflows in the wild.
GLM-5.4 does not automatically make your agent malicious—but it may succeed more often on multi-step offensive tasks if you leave yolo mode on. Pair model upgrades with:
- Human approval on
bash,kubectl, and outboundcurl. - Separate credentials for agent shells vs production.
- Patch velocity on dependencies the agent touches (open-weight automation against stale Firefox fixes shows the defender lag).
4. Hosted vs self-hosted forensics
When commercial APIs refuse exploit-laden prompts, teams already switched to self-hosted GLM-5.2 for incident work, as Hugging Face documented. GLM-5.4's delayed open weights means Coding Plan traffic remains hosted for most subscribers—plan data handling accordingly.
5. Harness choice still dominates cost
Runta's harness eval shows Codex CLI was cheapest on GLM-5.3 while Pi won on GLM Flash—model swaps re-rank harness economics. Re-test after pointing the same repo at glm-5.4.
What to watch from Z.ai next
Shipped Coding Plan access and a research narrative are only the first layer. Security and operations teams should track four publication events before they fold GLM-5.4 into autonomous workflows:
- Model card and API schema on docs.z.ai with vision token pricing and context limits for
glm-5.4[1m]. - Cyber benchmark tables for the 750B build—not only the 30B loop ablation figures already quoted in press coverage.
- Open-weight release notes, including whether safety hardening changes tool-use behavior versus the hosted endpoint you tested.
- Third-party evals (CAISI, Vals AI, or Terminal Bench maintainers) that score the same agent harness you run, not chat-only leaderboards.
Until those land, keep production agents on known baselines and run GLM-5.4 experiments in sandboxes with dummy credentials. That is the same discipline we recommend after any neocloud model swap: prove routing, measure burn, then widen scope.
What Beam can and cannot do here
Beam is local-first observability for coding agents: it records tool calls, can deny risky PreToolUse patterns for Claude Code and Codex when workspace policy is cached, scans skills and MCP configs with eleven heuristics, and redacts secrets before persistence on disk. See how agent security monitoring works on your machine.
For GLM-5.4 specifically:
- Beam does not terminate API calls to Z.ai or filter by model name.
- Beam does help you prove which commands ran while a session claimed
glm-5.4, and flag credential exfiltration patterns in tool output. - Scanning is heuristic, not malware analysis of model weights; missing cached policy is fail-open.
If you need compliance evidence of agent actions during a model migration, Beam's audit trail complements provider dashboards—not replaces legal review of neocloud terms.
Frequently asked questions
Is GLM-5.4 available on the GLM Coding Plan on November 24, 2026?
Yes. Z.ai product lead Zixuan Li said on November 23, 2026 that GLM-5.4 is available to all GLM Coding Plan subscribers, with vision and stronger coding performance. The official devpack overview at docs.z.ai now lists GLM-5.4 alongside GLM-5.3 and GLM-5.3-Flash with published credit multipliers.
Did Z.ai report that GLM-5.4 finds 47% more vulnerabilities than GLM-5.3?
No primary source we found states that figure. Z.ai's GLM-5.4 research post describes architecture and Generalized Coding; it does not publish CyberGym or ExploitBench scores for the 750B model. GLM-5.3's August 2026 post documented in-the-wild vulnerability work separately. Treat viral 47% headlines as unverified until Z.ai or an independent lab publishes comparable benchmarks.
How do I enable GLM-5.4 in Claude Code?
Li posted on November 23, 2026 that Claude Code users should set the model to glm-5.4[1m] and other harnesses to glm-5.4, with your Coding Plan API key and Z.ai base URL configured per docs.z.ai. Confirm the agent reports glm-5.4 in session logs—stale env vars often still route to GLM-5.3.
What is a Loop Transformer in GLM-5.4?
Per Z.ai's November 23 research post, summarized by The Decoder, GLM-5.4 runs a shared 28-layer block twice with gating and a hybrid KV cache so depth increases without doubling parameters. Z.ai positions the 750B model near 2T–3T-class intelligence but published 750B benchmark tables only after independent review; its blog figures came from a 30B loop ablation.
Does GLM-5.4 change my coding agent's shell permissions?
No. Swapping a model string in Claude Code, OpenCode, or ZCode does not change OS permissions, MCP tool scopes, or repository access. A more capable model can plan longer tool chains—including offensive security steps if your harness allows unconstrained bash. Permissions stay yours to tighten.
How does GLM-5.4 compare to GLM-5.3 on cyber benchmarks?
CAISI (NIST) assessed GLM-5.3 in September 2026 as the most cyber-capable open-weight release to date, still below U.S. frontier models on aggregate. Z.ai has not published CAISI-style scores for GLM-5.4 as of November 24, 2026. Do not assume GLM-5.4 inherits GLM-5.3's ExploitBench gains without new data.
Will GLM-5.4 open weights ship immediately?
Z.ai says it plans to open-source weights after safety hardening, matching the pattern for GLM-5.3 where weights followed a two-week safety delay. API and downloadable weights are separate from Coding Plan access; self-hosters should watch z.ai and Hugging Face model pages, not only the plan announcement.
Does Beam block GLM-5.4 or scan it for exploits?
Beam does not sit in the Z.ai API path. It can watch Claude Code and Codex PreToolUse on your machine, scan skills and MCP configs with heuristics, and redact secrets before local storage. It does not evaluate model weights for cyber capability and does not deny outbound calls by model name.
Related reading
- Vals AI CyberOffense: open-weight agents on enterprise ranges
- CAISI context: Tencent Hy4 cyber-training filters vs hosted refusals
- Together AI prompt samples leak affecting GLM traffic
- Claude Code vulnerabilities: advisory patch guide
- Agent permissions and tool boundaries
- Beam landing: what Beam watches on-device
GLM Coding Plan pricing, credit multipliers, and supported model lists are accurate as of November 24, 2026 per docs.z.ai unless Z.ai updates them after this post.

