---
title: "ZCode 4.0 and GLM-5.4 Launch: Vision, Loop Transformer Benchmarks, and 1.5x GLM Coding Plan Tokens"
description: "Zhipu (Z.ai) ships ZCode 4.0 with GLM-5.4 built in: a Loop Transformer flagship with native vision, 1M context, up to 200 tokens/s off-peak, and 1.5x more usable tokens on the same GLM Coding Plan quota. Full benchmarks, pricing, and November ZCode features."
url: https://codingpass.ai/blog/zcode-4-0-glm-5-4-coding-plan
language: en
updated: 2026-11-24
---
# ZCode 4.0 ships with GLM-5.4: vision and 1.5x more tokens

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.

[CodingPass team](https://codingpass.ai/about) Published Nov 24, 2026 Updated Nov 24, 2026 7 min read

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.

## GLM-5.4: native vision and 1.5x the token mileage

![ZCode model selector showing GLM-5.4 selected alongside GLM-5.3-Flash under the BigModel personal plan, with the thinking effort slider set to max](https://codingpass.ai/assets/img/blog/zcode-4-0-glm-5-4-coding-plan/model-menu.webp)

*ZCode's model picker with GLM-5.4 pre-loaded under the BigModel plan. Source: ZCode official docs.*

**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:

- **Context window**: 1M tokens, with automatic compression in ZCode around 966K tokens
- **Max output**: 128K tokens
- **Throughput**: up to 200 tokens/s off-peak, 70–80 tokens/s during peak hours
- **Thinking effort**: low, high, and max tiers, defaulting to max
- **Capabilities**: thinking mode, streaming, Function Calling, context caching, and structured output

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.

## Head-to-head benchmarks: ahead in all three matchups

![GLM-5.4 head-to-head win-rate chart: vs GLM-5.3 51.1% win, 25.7% tie, 23.1% lose; vs Kimi K3.1 Pro 41.8% win, 26.9% tie, 31.3% lose; vs DeepSeek-V4.1-Flash-1017 36.6% win, 30.2% tie, 33.2% lose](https://codingpass.ai/assets/img/blog/zcode-4-0-glm-5-4-coding-plan/win-rate.webp)

*GLM-5.4 head-to-head win rates across 200 real-world coding tasks. Source: Zhipu GLM-5.4 model docs.*

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.

## Loop Transformer: deeper reasoning at the same parameter count

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:

- **Gated progressive update**: each pass writes back a gated delta—the first pass builds global context, and the second opens the gate to refine it
- **Cross-pass shared KV cache**: the second pass reuses the first pass's sparse KV cache and adds only a sliding window, keeping extra memory overhead minimal
- **Reused sparse-attention indices**: the second pass reuses the first pass's DSA indices directly instead of paying the retrieval cost again

![30B model comparison before and after adding Loop: AIME25 rises from 19.17 to 30.42, GPQA-Diamond from 47.58 to 56.26, AA-LCR from 40.33 to 47.67, MMLU-Pro from 71.65 to 75.05, and IFBench from 50.20 to 53.47, with average output length dropping across all five](https://codingpass.ai/assets/img/blog/zcode-4-0-glm-5-4-coding-plan/loop-table.webp)

*30B model before and after adding Loop (after 200K long-context SFT, thinking enabled). Source: Zhipu GLM-5.4 model docs.*

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.

## Generalized Coding: video, 3D, and mechanical design through code

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:

- **Scaling Coding to Video**: creator Mike Luan produced a self-narrated music video, *Hello world*, end to end with GLM-5.4—concept, arrangement, motion, and rendering. Every frame is rendered live with frontend code and zero image assets, while GLM-5.4 planned the music by chapter and shot, called a third-party music model, and refined its own prompts across multiple passes
- **Scaling Coding to 3D**: creator 夜神不说话 built an interactive macro scene of a breathing, head-tilting, blinking long-tailed tit with individually rendered feathers using only procedural math geometry and custom GLSL shaders—no external 3D models or textures
- **Scaling Coding to Engineering**: GLM-5.4 modeled a six-axis robotic arm in FreeCAD, then drove Blender to choreograph motion, render visuals, and composite audio for a simulated animation of the arm gripping a logo

## ZCode's Design workflow

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.

![ZCode built-in browser displaying a three-day Tokyo itinerary page with the '12–16°C' weather badge highlighted; the matching element chip appears in the left prompt box running GLM-5.4 max](https://codingpass.ai/assets/img/blog/zcode-4-0-glm-5-4-coding-plan/pick.webp)

*Picking an element in ZCode's built-in browser drops it straight into the prompt as a structured tag. Source: ZCode official docs.*

The built-in browser anchors that workflow:

- **Element picker**: click any button, card, or heading on the page and ZCode bundles its page title, URL, text, selector, and coordinates into a prompt tag—just say "make this badge orange," and save local page edits directly
- **Device size presets**: toggle between mobile and other preset viewports, or enter custom dimensions (such as 390 × 844) to inspect responsive layouts
- **Export**: save any page as PNG or PDF for quick previews

To use the element picker, enable the built-in Design plugin on the plugins page first (it is off by default).

## Parallel tasks and background agents

On multitasking, ZCode now lets you genuinely push agents into the background:

- **Git Worktree**: spin up separate worktrees so parallel tasks stay isolated from one another
- **Foreground to background**: type a new instruction while an agent is running and click "Send now"—the active agent shifts to the background automatically so you do not have to wait
- **Background subagents by default**: subagents run in the background, and single-shot CLI runs wait for background tasks to finish before exiting

![ZCode Idle-time tasks dashboard with a create button, a queued task card at position 9, and three templates: Git standup summary, CI failures and flaky tests report, and docs sync check](https://codingpass.ai/assets/img/blog/zcode-4-0-glm-5-4-coding-plan/idle.webp)

*Idle-time tasks enter a global queue and execute during off-peak compute windows. Source: ZCode official docs.*

Combined with ZCode's existing automation features, long-running jobs take very little babysitting:

- **Idle-time tasks**: queue non-urgent work (code analysis, doc checks, CI reports) to run automatically during surplus compute hours—free, with zero plan quota deducted
- **Goal mode**: set a target with `/goal` so the agent verifies its own progress after each turn and keeps going until the condition is met
- **Remote and bots**: monitor progress and send follow-up instructions away from your desk via mobile Remote, or through WeChat, Feishu, and Telegram bots

## Voice input, bundled tools, and ZCode Sites

![ZCode Sites plugin page describing how it turns web projects into cloud Linux deployment bundles, with the example prompt 'Deploy this project as a website' and commands including site-deploy, site-analytics, and site-badge](https://codingpass.ai/assets/img/blog/zcode-4-0-glm-5-4-coding-plan/sites.webp)

*The ZCode Sites plugin ships a project live from a single prompt. Source: ZCode official docs.*

A few quality-of-life additions round out the daily experience:

- **Voice input**: live speech-to-text in the prompt box with a keyboard shortcut toggle when you would rather talk through a spec than type it
- **Bundled tools**: Python, LibreOffice, and Poppler ship pre-installed so document, spreadsheet, and slide plugins work out of the box
- **ZCode Sites**: an official plugin that deploys a project as a live website in one step, with built-in visit analytics

## Four releases in November

None of this landed overnight. ZCode's changelog shows four releases across November, with 4.0.0 pulling the month's work together:

![ZCode 4.0.0 changelog dated November 23, 2026, listing GLM-5.4 pre-loaded on the Coding Plan, region-aware plugin store display, and seven bug fixes](https://codingpass.ai/assets/img/blog/zcode-4-0-glm-5-4-coding-plan/changelog.webp)

*ZCode 4.0.0 changelog. Source: ZCode official site, captured November 24, 2026.*

| 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.

## Plans, pricing, and weekly quotas

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.

## Pairing GLM-5.4 with Claude inside ZCode

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.ai
OpenAI Base URL     https://codingpass.ai/v1
API Key             cp-live-…
Model               claude-sonnet-5-5
```

We 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](https://codingpass.ai/tools/zcode).

## FAQ

**Is GLM-5.4 exclusive to ZCode?**

No. GLM-5.4 is open to all GLM Coding Plan subscribers and works in Claude Code, Codex, OpenCode, and any other tool that supports the Coding Plan. Use `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.

**What if GLM-5.4 does not appear in my model list?**

Update ZCode to the latest version, then go to Settings → Model Settings and click the refresh icon in the top right. GLM-5.3 and GLM-5.3-Flash remain available and will not be replaced automatically—you stay on whichever model you pick.

**Do legacy V1 plans also get the 1.5x token boost?**

Legacy V1 plans can access GLM-5.4 with their existing benefits unchanged, but the 1.5x token volume applies only to current GLM Coding Plan tiers and the team plan. To get the 1.5x rate, switch to a current plan.

Written by CodingPass team

We run CodingPass and test each guide against the latest stable release of the tool before we publish it. Spotted something out of date? Write to [support@codingpass.ai](mailto:support@codingpass.ai).

## Related reading.

Tools

### [ZCode setup guide](https://codingpass.ai/tools/zcode)

Switch a ZCode provider to API Key mode to run Claude and GLM from one monthly allowance.

Models

### [All models](https://codingpass.ai/models)

Every model ID, its minimum tier, and monthly allowances on Go, Plus, and Pro.

Rules

### [How allowances and caps work](https://codingpass.ai/usage-limits)

Monthly allowances, 5-hour and weekly caps, and how 429 responses work.
