ProBackend
ai ai coding tools
2 hours ago11 min read

Z.ai Ships Free ZCode Coding Agent to Rival Cursor and Claude Code

Beijing-based Z.ai has launched ZCode, a free agentic development environment built around its GLM-5.2 model, directly challenging Cursor, Claude Code and GitHub Copilot in the AI coding tool market with aggressive pricing and an open-source model trained entirely on Chinese silicon.

ZCode is free. The model behind it isn't.

Z.ai — the Beijing lab formerly known as Zhipu AI — just shipped ZCode, a desktop application it calls an "Agentic Development Environment." Free to download. Powered by GLM-5.2, a 744-billion-parameter model trained entirely on Huawei silicon with no American chips involved at all. It's available for macOS (Apple Silicon and Intel), Windows (64-bit and ARM64), and Linux in beta, all on version 3.3.1.

Here's what makes this interesting beyond the usual "another AI coding tool" noise: ZCode is built around long-horizon tasks. You describe an outcome, the agent plans the work, edits files, runs checks, reviews progress, and keeps iterating until it's done. No chat sidebar. No autocomplete extension bolted onto an existing IDE. The model, tools, and execution workflow are tuned together so the agent actually fits into continuous multi-step development work.

And you can steer it from your phone. WeChat, Feishu, or Telegram bots let you check progress and add instructions while long-running work continues. That's a feature that speaks directly to the Chinese developer market, where those messaging platforms dominate professional communication. Whether it catches on globally remains to be seen.

The app itself is free. Revenue comes from Z.ai's GLM Coding Plan subscription tiers, which start at $16.20 per month for Lite and scale up to $144 per month for Max — prices that undercut both Cursor and Claude Code's comparable tiers by a meaningful margin.

ZCode is free. The model behind it isn't

GLM-5.2: the open-source model trained on Chinese chips

ZCode's value proposition is inseparable from GLM-5.2, the model it was designed to showcase. Z.ai released GLM-5.2 on June 16 — first to Coding Plan subscribers, then as open-source weights under the MIT license on Hugging Face. That sequencing decision prioritized distribution over the traditional benchmark-led launch, which says something about where Z.ai thinks the market is heading.

The specs are genuinely formidable. GLM-5.2 is a 744-billion-parameter mixture-of-experts architecture with 40 billion active parameters, a one-million-token context window — five times the predecessor's 200K limit — and training on 28.5 trillion tokens. It ranked second globally on Code Arena as of mid-June, trailing only Anthropic's Claude Fable 5. On FrontierSWE, a benchmark measuring multi-hour autonomous engineering projects, it sits within one percentage point of Claude Opus 4.8 while edging out OpenAI's GPT-5.5.

The training cost estimate from Stability AI founder Emad Mostaque is roughly $25 million, with 80 percent spent on post-training. If that figure holds up, GLM-5.2 is extraordinarily cheap relative to Western frontier models — and the fact that it runs entirely on Huawei silicon makes it one of the few truly sovereign options in this space.

API pricing tells a similar story: $1.40 per million input tokens and $4.40 per million output, which works out to up to 82 percent cheaper than Claude Opus 4.8 at $5 and $25 respectively. Because ZCode is a first-party tool from the same company that makes the model, there's no manual endpoint configuration needed. The model is just wired in.

GLM-5.2: the open-source model trained on Chinese chips

What ZCode actually does differently

The Goals feature is the headline capability. You describe a complex outcome — say, building a full web app with tests and deployment config — and ZCode breaks it into subtasks, plans the work across multiple iterations, and executes without requiring constant hand-holding. The agent edits files, runs checks, reviews its own progress, and keeps going until the goal is marked complete. It's not magic; you'll still need to follow up with clarifying prompts when the agent drifts. But the first-pass output is solid enough that most of the time you're refining, not rewriting from scratch.

BYOK (bring-your-own-key) support is another practical differentiator. ZCode works with third-party models including Claude Code, Codex, Gemini, and OpenCode — a pragmatic concession to the reality that no single model wins every task. You can run Z.ai's cloud API, self-host GLM-5.2 on your own infrastructure, or mix and match depending on what makes sense for a given project.

The remote-control feature deserves its own callout. Steering a running coding agent from WeChat, Feishu, or Telegram on your phone means you're not chained to a desk while long-running work continues. Sensitive commands, file changes, and high-permission actions still go through confirmation before execution, which is a reasonable safety net. But security reviewers have flagged that this access path — an agent summoned from a messaging app — needs careful evaluation before trusting it with anything sensitive, particularly for remote development over SSH.

Multi-agent collaboration is built in too. ZCode supports running multiple agents simultaneously, which matters for larger projects where different parts of the codebase need parallel attention. The official site shows this working in practice with a Gomoku game project where the agent handled board logic, AI heuristics, and mobile layout adaptation across separate task streams.

Pricing: free to start, paid tiers that undercut the competition

ZCode itself costs nothing to download. The free tier gives you 3 million GLM-5.2 tokens per day without even needing a payment card, according to hands-on testing by Ruben Torney on June 21. That's a generous opening move — enough for most individual developers to evaluate the tool thoroughly before committing to anything.

The GLM Coding Plan has three tiers:

Lite at $16.20/month (list price $18) covers lightweight workloads on small repositories, with rolling access to the latest flagship models and support for 20+ coding tools including deep ZCode integration.

Pro at $64.80/month (list price $72) gives you everything in Lite plus 5x usage, priority access to new features, a curated selection of MCP tools, and faster generation speeds. This is the tier aimed at day-to-day professional development on mid-sized repos.

Max at $144/month (list price $160) unlocks 20x Lite usage, first access to the latest models and features, and dedicated resources during peak times. Built for advanced users working on mid-to-large repositories.

Through July 31, ZCode is offering a promotional 1.5x usage-quota bonus for Coding Plan subscribers, with off-peak token consumption charged at a 0.67x coefficient. That's a meaningful incentive to try the paid tiers during the promo window.

Compare that to Cursor, which runs around $20/month for its basic tier and scales up significantly for heavier usage, or Claude Code at roughly $100/month for comparable capacity. ZCode's pricing is aggressive, and it's clearly designed to pull developers away from established options by making the switching cost almost zero.

The competitive landscape: against giants with deep pockets

ZCode enters one of the most crowded and fastest-moving markets in enterprise software. Gartner estimates the AI coding agent market at roughly $9.8 to $11 billion annualized as of April 2026, and the defining shift this year is "the movement of frontier model providers into direct competition with application-layer vendors" — precisely the pattern ZCode embodies.

Gartner renamed its annual Magic Quadrant from "AI Code Assistants" to "Enterprise AI Coding Agents" in May, defining the category as autonomous or semiautonomous software engineering solutions that perceive context, translate human intent into multistep plans, and execute those steps across code, tests, and related engineering artifacts. The 2026 Magic Quadrant names Anthropic, Cursor, GitHub, and OpenAI as Leaders. Z.ai wasn't among the 12 vendors evaluated — an absence that underscores both its nascent enterprise sales presence outside China and the Western-centric lens through which the analyst community still views this market.

The competition is formidable. Cursor is the $2 billion ARR IDE that feels like VS Code with a supercharger bolted on. Claude Code reached approximately $2.5 billion in annualized revenue by early 2026. Google relaunched Antigravity 2.0 at I/O in May, and Cognition retired the Windsurf brand, relaunching as Devin Desktop with an Agent Command Center as the default surface.

Against these entrenched players, ZCode's pitch rests on three pillars: deep first-party integration with GLM-5.2 that no third-party editor can replicate, aggressive pricing that starts at a fraction of Western competitors, and MIT-licensed open weights that allow enterprises to self-host. The combination is compelling on paper. Whether it translates into meaningful market share outside China remains the open question.

The Anthropic export ban changed everything

ZCode's arrival cannot be separated from the geopolitical drama that roiled the AI industry over the past three weeks. On June 12, the U.S. government issued an export control directive suspending all access to Anthropic's Fable 5 and Mythos 5 models by any foreign national — including foreign national Anthropic employees themselves. Enterprise clients in finance, healthcare, SaaS, and critical infrastructure found their core intelligence services abruptly disabled, without exception, prior warning, or effective recourse.

While the Trump administration lifted those controls just days later — Anthropic confirmed on June 30 that the Department of Commerce had rescinded the directive — the episode sent shockwaves through the developer community and accelerated interest in open-source, self-hostable alternatives. The government's crackdown coincided with Zhipu announcing the open-source release of GLM-5.2 with no usage restrictions.

The South China Morning Post reported that GLM-5.2 would be available to all users of Zhipu's new GLM Coding Plan subscription, "priced at just a tenth of Anthropic's premium Claude Code and Claude Max tiers." The market responded accordingly. Zhipu AI's market capitalization crossed HK$1 trillion (US$128 billion) on June 22, driven by a 42 percent intraday share surge. JPMorgan raised its 2026–2030 revenue forecast for Zhipu by between 7 and 16 percent, projecting over 534 percent revenue growth for 2026 and expecting the AI firm to turn a profit by 2028.

The Fable 5 episode introduced a new risk category into enterprise AI procurement: sovereign access risk. When a government can disable a commercially deployed AI model overnight, the traditional evaluation criteria of developer experience, benchmark scores, and pricing become secondary to a more fundamental question: will this tool still work tomorrow? An investigation by FifthRow found that almost all standard Data Processing Addenda, SaaS agreements, and procurement SLAs relied on vague force majeure or compliance with law catch-alls rather than precise regulatory suspension or kill-switch clauses.

ZCode's BYOK architecture and GLM-5.2's MIT-licensed open weights offer a partial answer. A development team can download the model, host it on its own infrastructure, and run ZCode against it without ever touching Z.ai's cloud — eliminating both American export-control risk and Chinese data-sovereignty concerns in a single move. The catch is that anyone using Z.ai's cloud API remains subject to Chinese law, a consideration that evaporates only with pure self-hosting.

Hands-on: what the Windows test revealed

Ruben Torney's hands-on test of ZCode on Windows provides the most concrete early impression available. The free tier delivers 3 million GLM-5.2 tokens per day without requiring a payment card, which means you can evaluate the tool thoroughly before committing to anything.

The first-pass output quality is solid. ZCode handles straightforward coding tasks well — generating boilerplate, writing tests, and making targeted edits without requiring extensive prompting. The agent understands project context reasonably well and makes sensible decisions about file structure and implementation approach.

But it's not flawless. Torney noted that follow-up prompts are often needed to polish the output, particularly for more complex or nuanced tasks. The agent sometimes makes reasonable but imperfect choices that require correction. This is typical of current-generation coding agents and isn't unique to ZCode, but it's worth noting for anyone considering switching from an established tool.

The remote-control feature via messaging bots is functional but feels early. It works, but the experience isn't as polished as the desktop interface. For Chinese developers who already use WeChat or Feishu for professional communication, this is a natural extension. For Western developers who rely on Slack or Teams, the gap is noticeable.

Overall, the hands-on impression is positive but cautious. ZCode is a real competitor, not just a novelty. It won't replace Cursor or Claude Code for most developers today, but it's close enough that ignoring it would be unwise.

What's next: the challenges ahead

ZCode faces a steep climb in several areas. It is not open source itself — only the underlying GLM-5.2 model carries an MIT license. Linux support remains in beta, which limits adoption among the developer communities that lean heavily on Linux distributions. Security reviewers have flagged the need for careful evaluation of credential handling, particularly for remote development over SSH and messaging-platform-triggered tasks.

The enterprise trust question is the biggest hurdle. Can a Chinese AI company build credibility with Western enterprise buyers amid escalating technology tensions? The answer will depend on transparency, security audits, and whether ZCode can demonstrate consistent reliability in production environments. Gartner analysts have warned that governance, pricing, support, workflows, commercial maturity, and market durability matter as much as developer experience and model capabilities when evaluating coding agent vendors for enterprise-wide adoption.

Z.ai's real challenge is turning a $128 billion valuation into a global developer tools business. The company controls the model (GLM-5.2), the subscription layer (the GLM Coding Plan), and the IDE (ZCode) — a tightly coupled stack that optimizes for performance but concentrates switching costs. For the company, the business logic is clear: its most reliable revenue stream has been on-premises deployments for Chinese government agencies, state-owned banks, and energy conglomerates. In full-year 2025, on-premises deployment revenue reached RMB 534 million, growing over 100 percent year-over-year and accounting for 73.7 percent of total revenue with a gross margin of 48.8 percent.

ZCode and the GLM Coding Plan represent the company's bid to build a comparable revenue engine in cloud-based developer tools — globally, not just in China. The early signals are encouraging if anecdotal. Community reception on X was enthusiastic, with one early user calling the tool "super stable" and others clamoring for more Coding Plan capacity.

But the hard questions loom large. Can ZCode's ecosystem mature fast enough to compete with Cursor's polished UX, Claude Code's deep agent primitives, and GitHub Copilot's unmatched distribution? And can Z.ai sustain a company valued at $128 billion while still losing money?

What is no longer in question is the competitive dynamic itself. Three weeks ago, a U.S. government directive proved that access to the world's best coding model can vanish overnight. Today, a Chinese lab is shipping a free IDE, an open-source model trained on zero American chips, and a subscription plan that costs less per month than a single lunch in Manhattan. The AI coding agent market did not just become global this summer. It became a market where the fallback option might be better than the thing it's falling back from — and that changes the calculus for every engineering leader choosing a toolchain in the second half of 2026.

More blogs