ZCode review: Z.ai's GLM-5.3 coding agent on a real project

By

Updated

Tagged: AI

I tried ZCode with GLM-5.3 on a real project. Here's how the coding agent works, what it costs, its permission modes, automations, API, and limits.

ZCode is Z.ai’s desktop coding agent.

I installed it on my Mac and pointed it at this site’s repository to see how it handled a real project rather than a small demo.

The first result was good. GLM-5.3 found useful improvements in a codebase with more than 1,700 posts, and the app felt fast with a clear workflow.

What is ZCode?

ZCode runs on macOS, Windows, and Linux. Z.ai calls it an Agentic Development Environment, or ADE. Unlike a VS Code fork, it has no traditional code editor.

Instead, you give the agent a task and let it handle the loop: planning the work, editing files, running commands, checking the browser, and verifying the result.

task
  -> plan
  -> edit files, run commands, use the browser
  -> verify the result
  -> review

Each task keeps everything together: your goal, changed files, terminal output, browser context, and Git state. You can also run tasks in parallel, schedule recurring work, and control ZCode from your phone.

Z.ai and GLM-5.3

Z.ai is the international name of Zhipu AI, a Beijing AI lab that grew out of research at Tsinghua University. It builds the GLM family of models and, unlike OpenAI and Anthropic, publishes model weights you can download and host yourself.

ZCode is its official harness for GLM-5.3. The app is built around the model, and the model is tuned for this kind of agentic work.

On the billing side, Z.ai sells both API access and the GLM Coding Plan. The same subscription works in more than 20 coding agents, including Claude Code.

What is different about GLM-5.3?

GLM-5.3 launched on August 14, 2026. It uses the same base model as GLM-5.2, without another pre-training phase. All the improvements came from post-training on longer engineering tasks.

The practical limits are:

  • 1M token context window
  • 128K maximum output
  • three reasoning levels: low, high, and max

Reasoning is always on. You can lower the effort, which uses less of your plan quota, but you can’t turn it off completely.

How was the model trained?

Z.ai trained GLM-5.3 inside runnable task environments. The model gets a goal, a set of tools, and an outcome it can verify, then writes code, runs it, and learns from whether the task passed. Some of these environments represent several days of engineering work, like finding a bottleneck, fixing it, running an experiment, and proving the speedup.

Building enough realistic environments by hand would take too long, so Z.ai uses research agents to collect work patterns and turn them into runnable tasks, with another agent checking that each one can be solved. The verifiers don’t see the reference solution, which makes it harder for the model to cheat by copying the expected shape.

That training explains why GLM-5.3 fits ZCode so well. It’s built to push through long tasks without making you break down every step.

How good is GLM-5.3?

Z.ai reports a 50% improvement over GLM-5.2 on its internal coding benchmark. I don’t put much weight on a single company benchmark, though the public numbers show a similar jump:

BenchmarkGLM-5.2GLM-5.3
Terminal Bench 3.04.628.3
DeepSWE v1.146.266.9
Agents’ Last Exam23.828.5
CyberGym77.2%84.5%

According to Z.ai, GLM-5.3 leads open models on Terminal Bench 3.0 and Agents’ Last Exam.

Against closed models, the gap is tighter. On Z.ai’s Code Bench, GLM-5.3 scores 31.4% at high effort while producing about 50,000 output tokens per task, compared to Claude Opus 4.8 at 29.5% with about 120,000 tokens. At max effort, GLM-5.3 reaches 34.5%, while Claude Fable 5 stays ahead at 39.5%.

It isn’t the top coding model overall, but it gets close while using fewer tokens and costing a lot less.

Why security matters for this model

During training, GLM-5.3 got unusually good at finding security problems. It scores 84.5% on CyberGym, which Z.ai says is the highest result on that benchmark so far. Its exploitation scores also more than doubled over GLM-5.2, though closed models still lead there.

Z.ai followed up by working with security teams on real codebases. The model found 2,436 vulnerabilities across 269 projects, including 1,097 medium-to-high severity issues, some of which had been sitting in those codebases for decades. Z.ai tracks the reports in a public Security Disclosure Ledger.

That capability delayed the public weights, because Z.ai put GLM-5.3 through an extra two weeks of risk review before releasing them.

Open weights and licensing

You can download the GLM-5.3 weights from Hugging Face, where Z.ai published them on August 28, 2026.

Unlike GLM-5.2, which used the MIT license, GLM-5.3 ships under a custom license. You can still use, modify, distribute, sell, deploy, and fine-tune the model, with one extra condition: model-hosting companies earning more than $10 billion per year need a Z.ai security review.

That condition doesn’t affect most developers, but open weights no longer automatically means MIT licensed. Read the license terms before building a product around the model.

What is GLM-5.3-Flash?

Z.ai released GLM-5.3-Flash two days before the main weights, and unlike the main model, Flash uses the MIT license. It’s the first natively multimodal GLM-5 model, so it can inspect images and screenshots.

Under the hood, Flash has 320 billion total parameters with 18 billion active per token. Its mixture-of-experts architecture keeps inference cheap, and combining sparse and linear attention lowers the cost of processing long contexts.

Flash costs about one tenth as much as GLM-5.3 and gives you three times the usable quota inside the Coding Plan. ZCode uses it for visual work so the agent can open a page, inspect the result, and check its own changes.

Privacy before installation

When you use the Coding Plan, ZCode sends your prompts and relevant code to Z.ai. Because Z.ai is a Chinese company, your employer or clients may have rules against sending proprietary code or data to its infrastructure.

For public projects and personal experiments, I’m comfortable trying it, but check your policy before using it on private client work.

You can avoid the hosted service by running the open weights yourself, though in practice that needs serious hardware. We’ll come back to that later.

Install ZCode

Download the app from zcode.z.ai.

The ZCode website with the download button for the macOS app

On an Apple Silicon Mac, you get a .dmg file. Open it and drag ZCode into Applications.

The ZCode installer window with the app icon and the Applications folder

Windows installers are available too, and Linux builds are in beta.

Connect your account

ZCode asks you to connect an account on first launch.

The ZCode welcome screen with the account connection options

You can connect to:

  • Z.ai, the global service
  • BigModel, the Chinese mainland service
  • your own API key

For most people outside China, pick Z.ai.

New users get a five-day trial with daily quotas for GLM-5.3 and GLM-5-Turbo. After the trial, you need a GLM Coding Plan:

  • Lite costs $18 per month
  • Pro costs $80 per month and includes six times the usage
  • Max costs $168 per month and includes 14 times the usage

Z.ai also offers a 30% discount on all three plans. Usage is tracked through points, and calls during off-peak hours and weekends cost half as many points.

The main ZCode window

After connecting, you land here:

The ZCode main window with the sidebar, the prompt box, and suggestion chips

The sidebar holds your projects and tasks, along with search, automations, and the Plugin Marketplace. In the center, you get a single prompt box where @ adds context and / runs commands.

There’s also a built-in terminal. Click the terminal icon in the top-right corner to open it.

The ZCode built-in terminal panel opened at the bottom of the window

Choose a model

The model selector sits below the prompt box.

The ZCode model dropdown showing GLM-5.3, GLM-5.3-Flash, and GLM-5-Turbo

You can pick from three models:

  • GLM-5.3 for bigger coding tasks
  • GLM-5.3-Flash for faster work and visual tasks
  • GLM-5-Turbo for quick questions

With GLM-5.3, you also pick a reasoning effort. I use Max for architecture, debugging, and work across several files, while Low is enough for renames, small edits, and quick questions.

If you’re unsure, start low. You can always rerun a task with more effort, whereas burning a big chunk of your quota on a small edit is harder to get back.

Choose a permission mode

Check the permission mode before starting a task.

The ZCode permission mode dropdown with four execution modes

ZCode gives you four options:

  • Ask before changes asks before editing a file
  • Edit automatically changes files without asking
  • Plan mode shows a plan before editing
  • Full access removes more confirmations

Start with Ask before changes. You’ll approve more actions, but you’ll see what the agent wants to do. Once you trust it on that project, switch to Edit automatically.

Use Plan mode for large changes. Reading a plan takes a minute, while tracking down a wrong assumption inside a big diff takes much longer.

Save Full access for disposable projects, and always use Git regardless of the mode. My free Git course covers the basics if you need them.

Run a real task

I selected the flaviocopes.com repository and gave ZCode this task:

see the last published post and analyze if we can improve it,
suggest up to 4 things I could do to make it better

A ZCode task starting on the flaviocopes.com repository

The agent started reading the repository. Because I was using Ask before changes, it paused before running a shell command.

The ZCode permission approval card for a shell command

I could allow the command once, allow that pattern for the project, or deny it, which lets you grant access gradually instead of approving everything upfront.

Once I approved it, ZCode found the latest post, read it, and compared it with the rest of the site.

The ZCode task result with four concrete suggestions to improve the post

It caught dead-end links, a long section without a table of contents, and a timezone inconsistency. That was useful work on the first try.

The prompt helped too, since I gave it one goal and a clear boundary. With coding agents, I try to:

  • keep one goal per task
  • point to evidence with @
  • say how the agent can verify the result

Use Goals for longer work

A normal task is a conversation, while a Goal keeps working toward an outcome.

ZCode loops through planning, execution, and verification, updating its plan as it goes instead of stopping at the first answer. That’s where GLM-5.3’s long-task training should help.

Still, give every Goal an outcome you can verify. “Make the test suite pass” works, while “Make the app better” doesn’t.

Add plugins

You can extend ZCode through the Plugin Marketplace.

The ZCode Plugin Marketplace with installed plugins and available categories

Plugins can bundle skills, commands, and MCP servers. The catalog includes browser automation, Android emulation, video tools, and DOCX or PDF generation.

If MCP is new to you, read What is MCP, the Model Context Protocol.

Schedule automations

The ZCode Automations screen with scheduled task templates

You can schedule recurring tasks or queue work for later. The built-in templates cover a morning development brief, a daily risk scan, a release brief, and a documentation sync check.

Off-peak calls use half the usual points, and Z.ai is also rolling out idle-time tasks for subscribers that run when spare capacity is available without touching your plan quota.

Automations fit background work that doesn’t need an immediate answer:

  • check recently changed pages for broken links
  • scan the week’s changes for security problems
  • prepare a Friday summary of the work

The security scan is the best one to start with, since vulnerability discovery is one of GLM-5.3’s strongest areas.

Control ZCode from your phone

ZCode gives you two ways to stay connected away from your desk: Remote and Bot Channel. Remote mirrors the desktop app on your phone after you scan a code, while Bot Channel connects ZCode to WeChat, Feishu, or Telegram so you can check a task, start another one, change projects, switch models, and select a run mode from chat.

Either way, the session still runs on your desktop and your code stays on that machine.

I like this idea because long agent tasks often stop just to ask a single question. Answering from your phone beats coming back two hours later to find the task blocked. For Codex, Cursor, Grok Bot, and SSH workflows, see How to work with coding agents from your phone.

Is there a ZCode CLI?

Yes. On September 20, 2026, Z.ai published ZCode’s source code on GitHub under the Apache 2.0 license, and the repository includes a command-line version.

It’s one zcode command. With no arguments it opens a terminal UI, and with --web it serves the same agent as a local web app:

zcode
zcode --web

Both run on your machine without the desktop app. Since the ZCode website only offers the desktop download, you have to build the CLI from the repository with Node.js and pnpm by following the README.

There’s also zcode-app-cli, a community package that gives you a zcode command with npm install -g zcode-app-cli@latest. Z.ai doesn’t make it, though. It wraps the agent from a ZCode desktop release in its own terminal interface.

Watch out for one default in the official CLI. When you run a task without the interface using --prompt, it defaults to the yolo permission mode unless you pass --mode, so normal tool calls run without asking.

If you want a terminal agent on the GLM Coding Plan without building anything from source, Claude Code is the simplest route.

Use the Coding Plan with Claude Code

You’re not locked into ZCode. The Coding Plan works with more than 20 tools.

The fastest way to configure Claude Code is with Z.ai’s helper:

npx @z_ai/coding-helper

You can also edit ~/.claude/settings.json yourself:

{
  "env": {
    "ANTHROPIC_AUTH_TOKEN": "your-coding-plan-api-key",
    "ANTHROPIC_BASE_URL": "https://api.z.ai/api/anthropic",
    "ANTHROPIC_DEFAULT_OPUS_MODEL": "glm-5.3",
    "ANTHROPIC_DEFAULT_SONNET_MODEL": "glm-5.3",
    "ANTHROPIC_DEFAULT_HAIKU_MODEL": "glm-5.3-flash",
    "CLAUDE_CODE_AUTO_COMPACT_WINDOW": "1000000",
    "API_TIMEOUT_MS": "3000000"
  }
}

The three model settings route Claude Code to GLM, the compact window lets it use more of the 1M context before summarizing, and the long timeout keeps high-effort requests from ending too soon.

Make sure you use the exact endpoint shown above. A wrong base URL can produce 1113 Insufficient Balance even when your subscription is active. Once you’ve updated the config, run claude, open /status, and check that the base URL and model match.

Call GLM-5.3 from Node.js

The Z.ai API is OpenAI-compatible, so you can call it directly with fetch():

const response = await fetch('https://api.z.ai/api/paas/v4/chat/completions', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    Authorization: `Bearer ${process.env.ZAI_API_KEY}`,
  },
  body: JSON.stringify({
    model: 'glm-5.3',
    messages: [
      { role: 'user', content: 'Review this function for security issues: ...' },
    ],
    reasoning_effort: 'high',
  }),
})

const data = await response.json()
console.log(data.choices[0].message.content)

reasoning_effort accepts low, high, or max, and it defaults to max. You can’t disable thinking completely: if you have older code sending thinking.type: "disabled", switch it to enabled with reasoning_effort: "low" or the request will fail.

The API also supports streaming, function calls, structured output, and context caching.

Can you run GLM-5.3 yourself?

Yes, though not on a normal laptop. GLM-5.3 needs a multi-GPU server, and Z.ai provides vLLM and SGLang setup instructions on the Hugging Face page. Self-hosting makes sense when a company needs full control over its data and already has the infrastructure to run the model.

For the rest of us, public weights still matter. Another provider can host the model, and Z.ai can’t remove it after release.

How does ZCode compare?

Claude Code runs in the terminal, while ZCode gives you a desktop app, automations, and phone control. On the other hand, Claude Code has a more mature ecosystem and supports custom subagents, which ZCode doesn’t have yet. You can use both with the same Coding Plan.

Unlike Cursor-style tools, ZCode leaves out the code editor. It fits people who want the agent to write while they review. I wrote about that shift in What changes when you stop opening the code editor?.

Compared to full agent managers that coordinate several agents across projects, ZCode stays narrower. It runs parallel tasks, Goals, and automations, but only for its own agent. My deep dive into bb shows what a broader agent manager looks like.

Where ZCode falls short

GLM-5.3 is competitive with closed models, though it doesn’t lead them. ZCode is also young, so releases move quickly and you should expect some rough edges.

For me, the missing custom subagents are the biggest gap, since I use specialized agents to split larger work into parallel tasks. Privacy can also rule it out for proprietary code. Self-hosting solves that problem, but only for teams with enough infrastructure.

Right now, that makes ZCode a useful second tool for me rather than a replacement for my main setup.

How I would use ZCode

I ran ZCode on this site’s repository using GLM-5.3 at Low effort, and it handled the task well.

Where it makes the most sense is as a second opinion on the Lite plan. A different model can spot a path that your usual coding agent missed, and $18 per month is reasonable for that. It’s also a practical way to follow open coding models, since using one on real work tells you more than another benchmark table.

Automations are the other clear fit. Regular checks like broken links, recent security problems, and weekly summaries don’t need you watching the task.

Just don’t use ZCode for client work without checking the data rules for that project first, and hold off on moving a critical workflow to it while the app is still this new.

If coding agents are new to you, my AI fundamentals guide explains agent loops, tools, permissions, and safe ways to use them.

Want me to talk about your product? You can sponsor this site.

Related posts about ai: