The confusion between "z ai" and "GLM" has a simple explanation: Z.ai is the name of the service, and GLM is the name of the models. The service offers a chat, a paid API and the GLM Coding Plan subscription aimed at programming. The plan of the article: who is behind Z.ai, which models are available, plan prices, connecting the subscription to Claude Code, and the position on Russia.
Z.ai: who is behind it and what is on chat.z.ai
On Hugging Face the zai-org organization is labeled "Zhipu AI (Z.ai)". The Chinese platform bigmodel.cn is labeled differently: "智谱AI". The international service is run by the Singapore company JINGSHENG HENGXING TECHNOLOGY PTE.LTD (so says the user agreement, revision of 14 April 2026), and Singapore law applies.
The chat.z.ai page shows a chat with GLM-5.3-Flash selected by default, a Sign in button and the prompts Full-Stack, Writing, Data Insight, PPT, Web Site. No prices or limits for the free chat are given there. No messages were sent to the chat.
GLM models: what is available on 9 November 2026
| Model in the API | What the documentation says | Input / output per 1M tokens | Weights |
|---|---|---|---|
glm-5.3 | flagship, 1M context, up to 128K output, text-only input | $1.4 / $4.4 | Hugging Face, GLM-5.3 license |
glm-5.3-flash | first natively multimodal model of the GLM-5 series, 320B parameters, 18B active | $0.15 / $0.50 | Hugging Face, MIT |
glm-5.3-flashx | accelerated Flash, up to 200 tokens per second | $0.37 / $1.25 | not found in the zai-org repository |
The table is built from docs.z.ai/guides/overview/pricing, and the page carries no date. Cached input is cheaper: $0.26 for GLM-5.3 and $0.03 for Flash. The Z.ai release log puts GLM-5.3 on 18 August 2026 and Flash on 26 August. More on both models in the GLM 5.3 review and the GLM 5.3 Flash breakdown.
The license for the GLM-5.3 weights allows using them, fine-tuning the model and selling copies, but attaches conditions:
- Every copy keeps the copyright and permission notices, and use is governed by applicable law.
- A special case is called "model as a service": access to inference or fine-tuning (for example through an API) where a third party controls the inputs, parameters or training data. When the licensee or its affiliates sell such a service and their combined revenue exceeds 10 billion dollars in any 12 consecutive months, a safety review with Z.ai is required before commercial use of the model. The definition excludes end-user products where the model is merely built into individual features, and plain forwarding of requests to other people's models.
- The software is provided "as is" and without warranties.
This is a retelling of the license text, not legal advice.
A paid API exists separately from the subscription. The address is https://api.z.ai/api/paas/v4, the key type is Standard API Key, and charges are deducted from the balance.
GLM Coding Plan prices
| Plan | Per month | Paying per quarter, per-month equivalent | Paying per year, per-month equivalent | Credits per 5 hours | Credits per week |
|---|---|---|---|---|---|
| Lite | $18 | $14.4 | $12.6 | 2,000 | 10,000 |
| Pro | $80 | $64 | $56 | 12,000 | 60,000 |
| Max | $168 | $134.4 | $117.6 | 28,000 | 140,000 |
Prices are on the z.ai/subscribe page, limits in the docs.z.ai/devpack/overview documentation. Pro is labeled there as "6× Lite" and Max as "14× Lite". The weekly count starts at the moment of purchase and resets every seven days.
How credits are deducted:
- Deduction is counted in tokens. The multiplier for GLM-5.3 is 6.9 on input, 1.7 on cached input and 24 on output, and the total is divided by 10,000.
- For Flash the multipliers are roughly a third as large (2.3, 0.56 and 8), so the quota drains about three times more slowly.
- Peak time is weekdays from 14:00 to 18:00 Singapore time (9:00 to 13:00 Moscow time), when the full price applies. At other hours and all day on weekends the price is half.
- For Lite the documentation estimates the weekly volume on GLM-5.3 at 48-97 million tokens if the cache hits 95% of the time.
Trust only the figures on the subscription page. Limits were counted in prompts until 30 July 2026; at that time, per the notice of 21 April, Pro cost $72, Max $160. Those numbers are out of date.
Which tools the subscription supports
The documentation names these tools: Claude Code, Cline, Codex, Crush, Cursor, Droid, Eigent, Goose, Kilo Code, OpenCode, Pi, Qoder, Roo Code, TRAE and ZCode, Z.ai's own environment. General-purpose agents such as OpenClaw and AutoClaw go in a separate list. The overview mentions "20+ Agent Tools", and the full list is on the docs.z.ai/devpack/tool/others page.
The address depends on the protocol:
- For Codex:
https://api.z.ai/api/v1. - For Claude Code and Goose:
https://api.z.ai/api/anthropic. - For other OpenAI-compatible tools (Cline, say):
https://api.z.ai/api/coding/paas/v4.
Installing OpenCode and connecting any model to it is covered in a separate article.
How to connect GLM Coding Plan to Claude Code
Z.ai offers three routes: npx @z_ai/coding-helper as a helper, a script for macOS and Linux, or editing ~/.claude/settings.json by hand. Here is the manual option:
{
"env": {
"ANTHROPIC_AUTH_TOKEN": "your_zai_api_key",
"ANTHROPIC_BASE_URL": "https://api.z.ai/api/anthropic",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "glm-5.3-flash[1m]",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "glm-5.3[1m]",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "glm-5.3[1m]",
"CLAUDE_CODE_AUTO_COMPACT_WINDOW": "1000000",
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": 1,
"API_TIMEOUT_MS": "3000000"
}
}
What matters after connecting:
- Model roles. If the model lines are not added, the page says that Opus, Sonnet and Haiku all lead to GLM-5.3-Flash.
- The key. It is taken from the API Keys section, on the Personal Coding Plan tab. Since 16 October 2026 subscription keys and regular API keys are separate, so a Standard key in Claude Code does not touch the quota and can charge the balance.
- The error "1113 Insufficient Balance". The FAQ ties it to a wrong address, tool or model. The subscription covers only GLM-5.3 and GLM-5.3-Flash, and FlashX is outside it for now.
Limits and data
- The subscription works only inside supported tools. Your own bot, site or SaaS cannot run on it without a separate written agreement.
- The plan is personal. Sharing access, reselling and proxying are forbidden, and more than three violations can get an account blocked.
- Money is not refunded, and the plan renews itself. Per the FAQ and the subscription terms you must cancel 24 hours ahead, per the usage policy page not less than 3 days ahead. It is safer to hold to the stricter deadline and cancel three days ahead.
- When the quota is used up, nothing is taken from the balance; you wait for the next five-hour cycle.
The sources answer differently on what happens to data. The platform agreement for individual users gives Z.ai the right to process content to improve its services and to store it outside your country. The team plan documentation, by contrast, promises that data does not go into training by default. Personal Lite is marked "Default data privacy" with no explanation. How requests from Claude Code under a personal subscription are handled could not be established, so code under an NDA is better not sent there.
Z.ai from Russia: what is said about access and payment
The exclusion list of the agreement (revision of 14 April 2026) names Iran, North Korea, Cuba, Crimea, Donetsk and Zaporizhzhia, plus the sanctions lists of the UN, the US, the EU and China: you confirm that you are in none of those places and on none of those lists. Russia as a whole is not named. No list of supported countries was found.
On payment. A bank card and PayPal are named; for top-ups by card, per the documentation, 3DS verification is not supported. Nothing is said about cards of Russian banks, SBP (the Russian Faster Payments System) or rubles. Whether a payment will go through and whether the account will be blocked is unknown, and it cannot be promised.
Plainly on the risky options: a subscription from a reseller, someone else's account, paying with someone else's card. The terms forbid sharing and reselling a plan, payments are not refunded, and you can end up without both the money and the access.
A developer has another option: paying for GLM tokens through an API gateway. It does not replace a Z.ai subscription, but the models are the same and payment can be made in rubles.
GLM Coding Plan, Kimi Code and Qwen Code
| Option | What it is | License | Payment |
|---|---|---|---|
| GLM Coding Plan | quota on GLM models for third-party agents and ZCode | weights: GLM-5.3 License, Flash is MIT | a subscription from $18 a month, or tokens |
| Kimi Code | Moonshot AI's terminal agent | MIT, per GitHub | a Kimi subscription or a Moonshot key |
| Qwen Code | Alibaba's terminal agent | Apache 2.0, per GitHub | several plans; Coding Plan Lite closed to new subscriptions from 20 March 2026 (per the Qwen Code article) |
The difference is in the idea. The vendors built Kimi Code and Qwen Code as their own agents, while Z.ai sells quota on a model and lets you take any agent from the list. More in the breakdowns of Kimi Code and Qwen Code.
If you need Claude after all
If what drew you to GLM was a coding agent with payment from Russia, there is another option: Claude Code works with codexkey through a sk_cdx_... key and the ANTHROPIC_BASE_URL variable. The glm-5.3 and glm-5.3-flash models of the catalog are called with the same key, and prices are in the GLM 5.3 review. codexkey does not sell the GLM Coding Plan subscription; that is a separate Z.ai product. Paying for Claude itself is covered in the article on paying from Russia.
FAQ
Are Z.ai and Zhipu AI the same company?
Yes, it is one company: the zai-org organization on Hugging Face is called "Zhipu AI (Z.ai)". The international platform is run by JINGSHENG HENGXING TECHNOLOGY PTE.LTD of Singapore.
How much does GLM Coding Plan cost?
Per month: Lite $18, Pro $80, Max $168. Paying per quarter cuts the price by 20%, paying per year by 30%. Data from the z.ai/subscribe page on 9 November 2026.
Can I pay for Z.ai with a Russian card?
The official texts are silent: neither a confirmation nor a refusal. It is not worth counting on a successful payment.
Will the subscription work for my application?
No. By the terms the quota works only in supported tools, and for your own application you need the API with pay-per-token billing.