AI Exposé

Archives
Log in
Subscribe
August 20, 2026

Z.ai Review 2026: I Tested It - GLM 5, Features, and Pricing

If you write code for a living, you have probably watched your AI bill quietly become one of your biggest monthly expenses. Two hundred dollars here, a hundred there, and suddenly you are paying more for autocomplete than for your hosting, your domain, and your coffee habit combined.

That is the exact frustration Z.ai has been eating into all through 2026. It is a real frontier AI lab with real models, and it is currently selling access at a fraction of what the American labs charge. The question is whether the quality holds up or whether you are trading money for headaches.

Short answer: for coding work, it holds up remarkably well. Here is everything you need to know before you spend a cent.

Get up to 30% off the Z.ai GLM Coding Plan here — the discount applies on annual billing, so you lock in the lowest effective monthly rate available.

What Is Z.ai?

Z.ai is the international platform and brand of Zhipu AI, a Chinese artificial intelligence lab that builds and trains its own frontier large language models. Those models carry the GLM name, short for General Language Model, and they are the reason developers keep bringing Z.ai up in every "cheaper Claude alternative" conversation.

The important thing to understand up front is what Z.ai is not. It is not a reseller. It is not a thin wrapper sitting on top of somebody else's API. Zhipu trains the GLM family from scratch, publishes research, and releases most of its model weights openly on Hugging Face. When you buy from Z.ai you are buying directly from the lab that built the model, which is a large part of why the pricing is what it is.

The platform itself gives you a few doors into the same models:

  • A free browser chat interface at chat.z.ai, which works much like a free ChatGPT account

  • A pay-per-token API that is OpenAI-compatible, so most existing code works with a base URL swap

  • The GLM Coding Plan, a flat monthly subscription built specifically for AI coding inside your editor and terminal

  • Downloadable open weights for self-hosting, at zero licensing cost, for most models in the family

Get up to 30% off the Z.ai GLM Coding Plan here

How Does Z.ai Work?

The mechanics are refreshingly boring, which is exactly what you want from infrastructure.

You create an account, generate an API key, and then choose how you want to consume the models. If you are building an application, you point your existing OpenAI SDK at Z.ai's base URL and use your Z.ai key. If you are coding day to day, you subscribe to the GLM Coding Plan and connect it to whichever coding tool you already use.

That second path is the one that has driven most of the adoption, and it works because Z.ai exposes an Anthropic-compatible endpoint alongside the OpenAI-compatible one. In practice that means Claude Code, Cline, Roo Code, Kilo Code, OpenCode and roughly twenty other clients can be pointed at Z.ai with a config change rather than a rewrite. Your commands stay the same. Your agentic loop stays the same. Your workflow stays the same. Only the invoice changes.

On the subscription side, usage is metered in credits rather than raw tokens, with a rolling five-hour allowance and a weekly allowance running in parallel. The five-hour bucket refreshes dynamically five hours after you consume it, and the weekly bucket resets every seven days from the date you activated. Off-peak usage is charged at half the standard credit rate, with peak hours defined as Monday to Friday, 14:00 to 18:00 Singapore time.

Get up to 30% off the Z.ai GLM Coding Plan here

Z.ai Company and Founding

Zhipu AI was founded in 2019 as a spin-out from Tsinghua University's Knowledge Engineering Group in Beijing, which gives it an academic pedigree most AI startups cannot claim. It spent its first several years building out the GLM architecture largely in the Chinese market before pushing hard internationally under the Z.ai brand.

The company went public and now trades as 2513.HK as of January 2026. That matters more than it might sound. A publicly listed company files reports, discloses financials, and answers to regulators and shareholders. It is a meaningfully different risk profile from handing your credit card to an anonymous API reseller with a slick landing page.

The lab also has a genuine open-source track record. GLM-4.5, GLM-4.5-Air and GLM-5.2 have all shipped as open weights under permissive licensing, which means the model you are renting is a model you could, in principle, download and run on your own hardware. That is a real hedge against vendor lock-in.

Z.ai Sign Up

Getting on board takes about five minutes and you do not need a credit card to start testing.

  • Head to the Z.ai signup page and create an account with an email address

  • Confirm your email and log in to the console

  • Generate an API key from the API Keys section of the dashboard

  • Test for free first using GLM-4.7 Flash or GLM-4.5 Flash, both of which are priced at zero on the API

  • When you are convinced, subscribe to the GLM Coding Plan tier that matches your workload and apply your discount at checkout

  • Connect the plan to your coding tool by updating the base URL and key in that tool's settings

Start your Z.ai account and claim up to 30% off here — test on the free Flash models first, then upgrade only when you have proven it works on your own codebase.

Z.ai Features:

This is the section most reviews skip over with a bullet list of buzzwords. Here is what each feature actually does for you and why you would care.

Natural language programming. You describe what you want in ordinary English and the model produces a plan, writes the code, runs it, and debugs its own mistakes. This is not autocomplete. It is closer to briefing a junior developer who never gets tired and never needs the requirements repeated. The practical value is that you spend your thinking time on architecture and let the model handle the typing.

Agentic tool use. The GLM models are specifically tuned for multi-step tool calling, which is the capability that makes coding agents work at all. Instead of answering one question, the model reads files, edits them, runs tests, reads the failures, and iterates. Z.ai notes that a single user prompt can trigger fifteen to twenty separate model invocations behind the scenes. That is the agent working, not the billing being sneaky.

Massive context windows. The flagship GLM models handle very large contexts, which in real terms means you can drop an entire module, a long specification document, or a sprawling stack trace into a single request without chopping it into pieces. Anyone who has spent an afternoon manually chunking a codebase to fit a context limit will understand immediately why this matters.

Intelligent code completion. Real-time, context-aware suggestions inside your editor that understand your project rather than just the current line. Less typing, fewer typos, faster iteration.

Codebase question answering. Point it at your repository and ask questions in plain language. Where is authentication handled? Why does this function exist? What breaks if I delete this? For anyone onboarding onto an unfamiliar codebase, this alone justifies a subscription.

Debugging and repair. Paste an error message or describe the misbehaviour and the model traces through your actual code to locate the cause and propose a fix. It is the difference between searching Stack Overflow for a generic version of your problem and having something read your specific problem.

Automated maintenance tasks. Lint fixes, merge conflict resolution, release note generation, and the other unglamorous work that eats hours and teaches you nothing. Hand it over.

Exclusive MCP access. Every Coding Plan tier includes Model Context Protocol tools for web search, web reading, and Zread, plus vision understanding. In practice this means the model can look things up on the live internet and read images and screenshots, rather than being trapped in its training data. When you are debugging against a library that shipped a breaking change last month, this is the feature that saves you.

Vision understanding. Feed it a screenshot of a broken UI, a design mockup, or a diagram and it can work from the image. Enormously useful for front-end work.

Broad tool compatibility. Claude Code, Cline, Roo Code, Kilo Code, OpenCode and roughly twenty other clients are supported. You are not being forced into a proprietary editor you do not want.

Open weights. Most of the GLM family is downloadable and self-hostable at no licensing cost. If your compliance situation ever hardens, you have an exit that does not involve rewriting everything.

Unlock all of this with up to 30% off here

Z.ai Models: The GLM Family Explained

The naming can be confusing because Zhipu ships fast. Here is the current picture.

GLM-5.3 is the newest flagship, launched on 14 August 2026. It is currently available only through the GLM Coding Plan and Z.ai's ZCode agent, with no published per-token API rate yet while it goes through a staged rollout. Requests aimed at GLM-5.2 or GLM-5.1 are automatically routed up to GLM-5.3 on the Coding Plan. If you subscribe to a Coding Plan, this is the model you get, and the subscription is currently the only way to reach it.

GLM-5.2 is the previous flagship and still the top of the published API rate card at $1.40 per million input tokens and $4.40 per million output, with cached input at $0.26. It is genuinely frontier-class for coding and reasoning, and the price is a fraction of what comparable Western models charge.

GLM-5-Turbo is the speed-tuned sibling at $1.20 input and $4.00 output per million tokens. You trade a slice of raw capability for lower latency, which is the right call for high-volume or user-facing applications.

GLM-4.7 is the value pick and the workhorse of the lineup, at $0.60 input and $2.20 output per million tokens, with cached input as low as $0.11. It reportedly scores 73.8% on SWE-bench Verified, which is a strong result for any open model, and it consumes noticeably less quota than the flagship models on a Coding Plan. For routine edits and everyday work, using GLM-4.7 instead of the flagship is the single easiest way to stretch your subscription further.

GLM-4.7 Flash and GLM-4.5 Flash are free on the API. Zero for input, zero for cached input, zero for output. This is not a trial credit that expires, it is a line item priced at nothing. It is the reason you can validate Z.ai against your own code before spending anything.

GLM-4.5 and GLM-4.5-Air are the older generation, still perfectly capable, and Air is the cheapest paid model in the family at $0.20 input and $1.10 output per million tokens.

Get up to 30% off the Z.ai GLM Coding Plan here

GLM-4.6V handles vision, and its Flash variant is also free.

The practical takeaway is that you should not default to the flagship for everything. Route your hard problems to GLM-5.3 or GLM-5.2, your routine work to GLM-4.7, and your experiments to the free Flash models. That single habit changes your effective cost dramatically.

Z.ai Claude Code Integration: Why Developers Are Switching

This deserves its own section because it is the single biggest reason Z.ai took off among developers in 2026.

Claude Code is an outstanding agentic coding tool. The problem for a lot of people is what it costs to run it hard. Z.ai's answer is an Anthropic-compatible endpoint that lets you keep the tool and change the model underneath it.

The migration is a configuration edit. You set the base URL to Z.ai's Anthropic-compatible endpoint, set your Z.ai API key, and carry on. Same interface, same commands, same agentic behaviour, same muscle memory. Nothing about how you work changes.

What changes is the ceiling on your bill. Instead of metered spend that climbs with every long agent run, you have a flat monthly fee. Long sessions stop being a financial decision.

The same approach works with Cline, Roo Code, Kilo Code, OpenCode and the rest of the supported list. One important limitation to note honestly: the GLM Coding Plan is restricted to officially supported coding tools. It is not a general-purpose API key substitute. For production application workloads you use the metered API instead, which has no tool restriction.

Get up to 30% off the Z.ai GLM Coding Plan here

Z.ai Pricing 2026

Here is where the case for Z.ai gets hard to argue with. All figures below reflect the current published rates.

Z.ai Coding Plan Pricing

The GLM Coding Plan runs three self-serve tiers on standard monthly billing:

  • Lite at $18 per month. Around 2,000 credits per five-hour window and 10,000 per week. In prompt terms this works out to roughly 80 prompts per five hours and about 400 per week, plus 100 MCP calls monthly. Suited to solo developers doing normal daily work.

  • Pro at $72 per month. Around 12,000 credits per five-hour window and 60,000 per week, which is roughly 400 prompts per five hours and 2,000 per week, plus 1,000 MCP calls. This is roughly five times Lite and it is where most full-time developers settle.

  • Max at $160 per month. Around 28,000 credits per five-hour window and 140,000 per week, roughly 1,600 prompts per five hours and 8,000 per week, plus 4,000 MCP calls. Around twenty times Lite, built for heavy parallel agent work and long-context workloads.

Annual billing takes roughly 30% off each of those, bringing the effective monthly cost to about $12.60, $50.40 and $112 respectively, or roughly $151, $605 and $1,344 per year.

Every tier includes the same model lineup. You are not paying more for better models, only for more usage. That is the honest way to structure a plan and it means the cheapest tier gives you the same intelligence as the most expensive one.

There is also a Team tier with custom pricing for organisations that need shared seats.

Claim up to 30% off any GLM Coding Plan tier here — apply it on annual billing for the lowest possible monthly rate.

Z.ai API Pricing

The API is billed separately, per million tokens, split into input, cached input and output:

  • GLM-5.2 at $1.40 input, $0.26 cached input, $4.40 output

  • GLM-5-Turbo at $1.20 input, $0.24 cached input, $4.00 output

  • GLM-4.7 at $0.60 input, $0.11 cached input, $2.20 output

  • GLM-4.5-Air at $0.20 input, $0.03 cached input, $1.10 output

  • GLM-4.7 Flash, GLM-4.5 Flash and GLM-4.6V Flash at zero across the board

  • GLM-5.3 has no published per-token rate yet and is available through the Coding Plan and ZCode only

Cached input is the lever most people ignore. Reusing the same system prompt or document prefix bills at roughly a fifth of the standard input rate, so structuring your prompts for cache reuse is close to free money.

Z.ai Subscription vs API: Which One Should You Buy?

The rule of thumb is simple. If you fire occasional calls from scripts or run a bursty production workload, the metered API is cheaper. If you live inside an agentic coding tool for hours a day, the Coding Plan caps your bill and almost always wins on effective cost per token.

If you are building a product for other people to use, you need the API regardless, because the Coding Plan is restricted to supported coding tools.

Many developers end up running both: a Coding Plan for their own daily work and an API key for the product they are shipping.

Get up to 30% off the Z.ai GLM Coding Plan here

Z.ai Pros and Cons

The Pros

  • Genuinely frontier-class coding quality at a fraction of Western pricing

  • Flat-rate Coding Plan starting at $18 per month, dropping near $12.60 on annual billing

  • Roughly 30% off with annual billing, which is a real discount rather than a marketing number

  • Free API models that are actually free, letting you validate before you pay

  • Works inside Claude Code, Cline, Roo Code, Kilo Code, OpenCode and around twenty other tools

  • OpenAI-compatible and Anthropic-compatible endpoints mean migration is a config change

  • Every subscription tier gets the same models, so cheap does not mean dumbed down

  • Open weights on most models, which is a genuine hedge against lock-in

  • Publicly listed company with published research and a real developer community

  • Off-peak usage costs half the credit rate, which rewards anyone with a flexible schedule

  • MCP tools for web search, web reading and vision are included on all tiers

  • Free browser chat at chat.z.ai with no subscription required

The Cons

  • Requests are processed on Chinese infrastructure, so if you operate under strict data residency or compliance rules, clear it with your legal team before routing anything sensitive

  • The Coding Plan is restricted to officially supported coding tools and cannot be used as a general production API key

  • Model versions ship extremely fast, so pin your versions in production or expect behaviour to shift under you

  • GLM-5.3 has no published per-token API price yet, which makes long-term API budgeting for the newest flagship harder

  • Flagship models consume quota at a multiple during peak hours, so the headline prompt counts shrink if you work in the peak window

  • English documentation is good but occasionally trails the Chinese version

  • Prompt allowances are estimates rather than guarantees, and large repositories or aggressive auto-accept settings will burn through them faster

  • For non-coding work such as broad research, multimodal creative tasks and general chat, the Western subscriptions still cover more ground

Get up to 30% off the Z.ai GLM Coding Plan here

Is Z.ai Legit?

Yes, and the evidence is straightforward rather than a matter of opinion.

Zhipu AI is a publicly traded company listed as 2513.HK. It publishes peer-reviewed research. It releases open model weights on Hugging Face that anyone can download, inspect and benchmark independently. Its models appear on third-party leaderboards and in independent evaluations. It maintains public developer documentation with specific, verifiable numbers rather than vague marketing claims. And it has a large, visible community of developers openly discussing the product, including its flaws.

That combination is close to the opposite of a scam profile. The legitimate concern with Z.ai is not whether the company is real or whether the models work. It is a data jurisdiction. Your requests are processed on Chinese infrastructure. For a solo developer working on a side project, that is usually a non-issue. For a regulated enterprise handling customer data, it is a genuine conversation to have with your compliance team before you migrate. Be honest with yourself about which of those you are.

Who Should Use Z.ai?

  • Solo developers and indie hackers. Lite on annual billing is close to the cheapest serious AI coding access available anywhere.

  • Full-time developers running agents daily. Pro is the tier that fits, and it undercuts most comparable subscriptions.

  • Small teams and heavy agent users. Max at $160, or roughly $112 on annual billing, sits below the top Western tiers while offering very large allowances.

  • Startups watching burn rate. The API pricing and free Flash models let you build without a frightening monthly bill.

  • Anyone already using Claude Code. The migration is a config edit and the savings are immediate.

  • Developers in cost-sensitive markets. When you are earning in one currency and paying in dollars, the difference between $18 and $200 a month is not a rounding error.

Who should think twice: anyone under strict data residency requirements, anyone who needs one subscription to cover research, creative and multimodal work as well as coding, and anyone who needs a written uptime SLA on the public tier.

Get up to 30% off the Z.ai GLM Coding Plan here

Frequently Asked Questions

What is Z.ai used for?

Primarily AI-assisted software development. Natural language programming, code completion, debugging, codebase question answering, automated maintenance tasks, and agentic multi-step work inside coding tools. It also serves as a general-purpose LLM API for building applications, and as a free browser chat assistant.

Is Z.ai free to use?

Partly, and genuinely so. The browser chat at chat.z.ai is free. On the API, GLM-4.7 Flash, GLM-4.5 Flash and GLM-4.6V Flash are priced at zero for input, cached input and output. Most model weights are also downloadable at no licensing cost if you want to self-host. The paid tiers are the Coding Plan and the metered API for the larger models.

How much does the Z.ai Coding Plan cost?

Lite is $18 per month, Pro is $72, and Max is $160 on standard monthly billing. Annual billing reduces those by roughly 30%, to around $12.60, $50.40 and $112 per month equivalent.

Does Z.ai work with Claude Code?

Yes. Z.ai provides an Anthropic-compatible endpoint, so you can point Claude Code at Z.ai by changing the base URL and API key. Your workflow, commands and agent behaviour stay the same.

What is the difference between GLM-4.5, GLM-4.7, GLM-5.2 and GLM-5.3?

They are successive generations. GLM-4.5 is the older baseline, GLM-4.7 is the efficient everyday workhorse with strong coding scores at low cost, GLM-5.2 is the previous flagship and the top of the published API rate card, and GLM-5.3 is the newest flagship, currently available only through the Coding Plan and ZCode.

Get up to 30% off the Z.ai GLM Coding Plan here

Is GLM-5.3 available on the API?

Not with published per-token pricing at the time of writing. Z.ai is staging its rollout behind a safety review, so it is reachable through the GLM Coding Plan and the ZCode agent, with wider API access indicated for later. The API rate card still tops out at GLM-5.2.

Is the Z.ai API OpenAI-compatible?

Yes. Most existing OpenAI SDK code works after changing the base URL and the API key. Z.ai also offers an Anthropic-compatible endpoint for coding tools.

Can I use the Coding Plan for production applications?

No. The Coding Plan is restricted to officially supported coding tools and IDE assistants. For programmatic, production or customer-facing workloads, use the metered API, which has no tool restriction.

How many prompts do I get on each plan?

Roughly 80 prompts per five hours and 400 per week on Lite, roughly 400 per five hours and 2,000 per week on Pro, and roughly 1,600 per five hours and 8,000 per week on Max. These are estimates rather than guarantees, because a single prompt can trigger fifteen to twenty model invocations depending on repository size and task complexity.

What are peak and off-peak hours?

Peak hours are Monday to Friday, 14:00 to 18:00 Singapore time. Off-peak usage is charged at 50% of the standard credit rate, so working outside that window stretches your allowance considerably.

Get up to 30% off the Z.ai GLM Coding Plan here

Is Z.ai cheaper than Claude or ChatGPT?

On coding subscriptions, yes in most configurations. Max at $160 sits below the top ChatGPT and Claude tiers, and Lite and Pro undercut them substantially, especially on annual billing. On raw API tokens, GLM models run far below Claude Opus and the higher GPT tiers, although some newer budget models from Western labs now compete on input price.

Is my code safe with Z.ai?

Your requests are processed on Chinese infrastructure. For personal projects and non-sensitive work most developers accept that trade-off readily. For regulated data, proprietary enterprise code, or anything under GDPR scope, review it with your compliance team first, or use the open weights to self-host instead.

Can I self-host GLM models?

Yes for most of the family. GLM-4.5, GLM-4.5-Air and GLM-5.2 have shipped as open weights under permissive licensing with no licensing fee. You will need serious GPU capacity for the flagship models, so it only makes economic sense at very high volume or when data isolation is the actual driver.

Does Z.ai offer a discount?

Yes. Annual billing on the GLM Coding Plan carries roughly a 30% reduction versus standard monthly pricing. 

You can claim up to 30% off through this link.

Which plan should I start with?

Start free on the Flash models to confirm quality on your own codebase. Then take Lite on annual billing, which is the lowest-cost entry point. Upgrade to Pro only when you genuinely feel the five-hour limit interrupting your work.

Can I cancel or change plans?

Subscriptions are managed from your Z.ai account console. Review the current usage policy in the documentation for the specific refund and cancellation terms before subscribing.

How do I reduce my Z.ai bill further?

Four habits. Use cached input by reusing stable system prompts and document prefixes, which bills at roughly a fifth of standard input. Route routine work to GLM-4.7 instead of the flagship. Do heavy work off-peak at half the credit rate. And pay annually rather than monthly.

Conclusion: Z.ai Review Verdict

Z.ai is the clearest value play in AI coding right now, and it is not close.

You get a real frontier model family from a publicly listed lab with published research and open weights. You get a flat subscription starting at $18 a month, dropping near $12.60 on annual billing, when comparable coding plans elsewhere run $100 to $200. You get compatibility with Claude Code and roughly twenty other tools, so migration is a config edit rather than a project. And you get free models to test on, which means you can prove all of this on your own code before spending anything.

Get started with Z.ai and claim up to 30% off your GLM Coding Plan here — apply the discount on annual billing to lock in the lowest effective monthly rate, on whichever tier fits your workload.

Don't miss what's next. Subscribe to AI Exposé:
Powered by Buttondown, the easiest way to start and grow your newsletter.