ZCode setup guide
Switch a ZCode provider to API Key mode to run Claude and GLM from one monthly allowance.
GLM-5.4 is Zhipu's first Loop Transformer flagship, adding native vision, a 1M context window, and a 51.1% head-to-head win rate over GLM-5.3 across 200 real-world coding tasks. ZCode 4.0 makes it the default model and brings together November's Design plugin, Git Worktree parallelism, background agents, and voice input in one window.
On November 23, Zhipu (Z.ai) rolled out GLM-5.4 to every GLM Coding Plan subscriber. The same day, ZCode jumped to version 4.0.0 with a new welcome screen carrying a single subtitle: "the official GLM-5.4 Agent Harness."
Two upgrades stand out right away. GLM-5.4 now sees images, so you can drop screenshots, mockups, and error screens straight into the prompt. And on the exact same GLM Coding Plan quota, GLM-5.4 gives you 1.5x as many usable tokens as GLM-5.3.
At a glance: GLM-5.4 is Zhipu's first flagship built on a Loop Transformer architecture, supporting video, image, text, and file inputs, a 1M context window, 128K max output, and up to 200 tokens/s off-peak. On current GLM Coding Plan tiers (Lite / Pro / Max) and the team plan, usable token volume is 1.5x that of GLM-5.3. ZCode 4.0 pre-configures it as the default model and consolidates November's releases—the Design plugin, Git Worktree parallelism, background agents, voice input, and ZCode Sites. Existing subscribers only need to update ZCode or refresh their model list.

Vision is the upgrade you feel on the first frontend task. With text-only models, fixing a layout meant describing the broken UI in words. GLM-5.4 takes screenshots, design comps, and error states directly—handy for tracking down visual bugs or cloning a layout from a mockup. According to Zhipu's model docs, GLM-5.4 accepts video, image, text, and file inputs and produces text output.
Quota is metered in credits, and GLM-5.4 cuts the credit multiplier by roughly a third across every token category compared with GLM-5.3. That is where the 1.5x boost comes from:
| Credits per 10K tokens | Input | Cached Input | Output |
|---|---|---|---|
| GLM-5.4 | 4.6 | 1.1 | 16 |
| GLM-5.3 | 6.9 | 1.7 | 24 |
| GLM-5.3 ÷ GLM-5.4 | 1.5 | ~1.55 | 1.5 |
ZCode's FAQ puts it plainly: the same plan quota yields 1.5x the tokens on GLM-5.4 versus GLM-5.3 across current GLM Coding Plan tiers and the team plan. Lite, Pro, and Max all include GLM-5.4, and new users claiming the ZCode trial plan (5 days, 8M tokens per day) get GLM-5.4 quota as well.
The rest of the spec sheet:
The default max thinking effort works through every step carefully, which fits architecture work, gnarly bugs, and long-horizon tasks. For quick copy tweaks or short questions, press Ctrl + T (Control + T on macOS) to step thinking effort down for faster responses and lower token burn.

Zhipu evaluated GLM-5.4 against three peers across 200 real-world coding scenarios:
| GLM-5.4 vs. | Win | Tie | Lose |
|---|---|---|---|
| GLM-5.3 | 51.1% | 25.7% | 23.1% |
| Kimi K3.1 Pro | 41.8% | 26.9% | 31.3% |
| DeepSeek-V4.1-Flash-1017 | 36.6% | 30.2% | 33.2% |
Against GLM-5.3, wins outnumber losses by more than two to one. Zhipu positions GLM-5.4 as the strongest domestic model for day-to-day coding feel, pointing to visual coding, visual replication, and long-horizon tasks as its biggest gains.
GLM-5.4 is Zhipu's first flagship built on a Loop Transformer. In a standard Transformer, each layer runs once per forward pass. A Loop Transformer sends tokens through a shared block of layers multiple times, refining the hidden state from the previous pass—buying a deeper network without adding weights. Zhipu says this pushes GLM-5.4's intelligence to the level of a 2T–3T-parameter model.
Rather than training from scratch, Zhipu adapted the pretrained GLM-5 base model so that 28 layers (layers 27–54) execute twice. Making that practical at 750B scale took three architectural changes:

Before committing at flagship scale, Zhipu validated the architecture across 1B, 4B, 30B, and 750B bases. The table below shows the 30B model sharing the 750B base architecture—same parameter count, with only about 10% more training compute:
| Benchmark | Baseline | + Loop | Improvement | Avg. Length Change |
|---|---|---|---|---|
| AIME25 | 19.17 | 30.42 | +11.3 | −2% |
| GPQA-Diamond | 47.58 | 56.26 | +8.7 | −11.7% |
| AA-LCR | 40.33 | 47.67 | +7.3 | −9.7% |
| MMLU-Pro | 71.65 | 75.05 | +3.4 | −14.9% |
| IFBench | 50.20 | 53.47 | +3.3 | −13.0% |
Two takeaways jump off the table. The longer the reasoning chain, the more Loop helps—math, long context, and coding see the sharpest lifts. And scores go up while output length drops, meaning part of the reasoning moves out of generated tokens and into the extra depth of the loop.
Zhipu frames GLM-5.4's next frontier as "Generalized Coding": using code not just to ship software, but as the execution layer for broader creative and engineering tasks. Inside a tool-calling harness, you hand the model a storyboard, reference image, or spec; it writes code, drives specialized tools, inspects the output, and iterates. Zhipu's release notes highlight three showcases:
ZCode 4.0 fills in the design and frontend debugging loop. Its built-in Design plugin handles design-system checks and recently added image generation.

The built-in browser anchors that workflow:
To use the element picker, enable the built-in Design plugin on the plugins page first (it is off by default).
On multitasking, ZCode now lets you genuinely push agents into the background:

Combined with ZCode's existing automation features, long-running jobs take very little babysitting:
/goal so the agent verifies its own progress after each turn and keeps going until the condition is met
A few quality-of-life additions round out the daily experience:
None of this landed overnight. ZCode's changelog shows four releases across November, with 4.0.0 pulling the month's work together:

| Version | Date | What shipped |
|---|---|---|
| 3.17.2 | Nov 3 | ZCode Sites one-click web deployment |
| 3.18.2 | Nov 13 | Voice input, Git Worktree parallelism, Design system checks, built-in browser element picker, device size presets, PNG / PDF export |
| 3.19.1 | Nov 22 | Foreground-to-background agent handoff, Design plugin image generation, bundled Python / LibreOffice / Poppler, voice input shortcut |
| 4.0.0 | Nov 23 | Pre-loaded GLM-5.4, region-aware plugin store, plus seven fixes including stalled sessions and lost context when switching models |
If you are still on an earlier 3.x build, updating now brings in the whole stack at once.
The GLM Coding Plan comes in three tiers—Lite, Pro, and Max—each governed by both a 5-hour credit cap and a weekly credit cap:
| Plan | Monthly price | 5-hour credits | Weekly credits | Est. weekly GLM-5.4 tokens |
|---|---|---|---|---|
| Lite | ¥118 | 2,000 | 10,000 | 72M–146M tokens |
| Pro | ¥538 | 12,000 | 60,000 | 440M–870M tokens |
| Max | ¥1,078 | 28,000 | 140,000 | 1.014B–2.028B tokens |
The rightmost column is Zhipu's weekly estimate assuming a 95% cache hit rate; under the same assumptions, GLM-5.3 covers 48M–97M tokens on Lite, 290M–580M on Pro, and 676M–1.352B on Max. The upper end of each range assumes 100% off-peak usage: outside peak hours (weekdays 14:00–18:00 UTC+8), credits are billed at 50%. Monthly prices above are list rates; the ZCode site currently displays discounted pricing at ¥94.4, ¥430.4, and ¥862.4.
Your plan quota works across official supported tools including ZCode, Claude Code, Codex, OpenCode, and WorkBuddy. In Claude Code, pass glm-5.4[1m] as the model ID; in other tools, use glm-5.4. Zhipu recommends setting the client context window to 512000 tokens for stronger coding performance:
export ANTHROPIC_BASE_URL="https://open.bigmodel.cn/api/anthropic"export ANTHROPIC_AUTH_TOKEN="YOUR_CODING_PLAN_API_KEY"claude --model "glm-5.4[1m]"International users on Z.ai should point ANTHROPIC_BASE_URL to https://api.z.ai/api/anthropic, where plans are billed in USD.
ZCode itself is free and lets you bring your own model providers. Keep GLM-5.4 on your GLM Coding Plan, and add a second provider when you want Claude in the same window: open the model selector, click Manage models, pick a provider, switch the top-right toggle to API Key mode, and enter your CodingPass endpoint and key:
Anthropic Base URL https://codingpass.aiOpenAI Base URL https://codingpass.ai/v1API Key cp-live-…Model claude-sonnet-5-5We think this pairing works cleanly in practice: run long-horizon jobs and visual replication on GLM-5.4 through your Coding Plan, then switch to Claude in the same picker whenever a tough architectural or debugging call needs a second opinion. CodingPass Go starts at $10 a month, and its full $60 allowance can go to Claude Sonnet 5.5—about 2,050 requests, with cache reads billed at official cache rates. Full walkthrough in our ZCode setup guide.
glm-5.4 as the model name, or glm-5.4[1m] in Claude Code. ZCode's edge is that it comes pre-configured out of the box—just sign in and select it.Switch ZCode to API Key mode to plug in CodingPass: Claude Sonnet 5.5 from