Guides · dev · buy glm coding plan

Buy a GLM Coding Plan from outside China

Published 16 Oct 2026. Updated 20 Oct 2026. Researched 20 Oct 2026.

GLM Coding Plan is Z.AI’s subscription for coding agents. It meters credits. The token API on the pricing page is a separate bill. This page is how the docs describe buying the plan from outside China, what the caps are, and when the API is the smaller invoice.

The subscribe link in the docs is z.ai/subscribe. We opened the docs on 20 Oct 2026. We did not complete a purchase, so a number on this page loses to the price the checkout shows you.

What you are buying

The overview says every plan supports GLM-5.3 and GLM-5.3-Flash. Requests for GLM-5.2 or GLM-5.1 route to GLM-5.3. Requests for GLM-4.7 route to GLM-5.3-Flash. The plan can be used in tools the overview names: ZCode, Claude Code, Codex, OpenCode, AutoClaw, and OpenClaw. A later line on the same page says it works with 20+ agent tools and points at the tool guide, which also lists Cline and Goose. Account sharing is outside the plan. The FAQ says the quota is only for officially supported tools, and that API calls outside the plan are not available on the plan key. The usage policy prohibits account sharing.

Two base URLs are in the FAQ:

Client Base URL
Claude Code and Goose https://api.z.ai/api/anthropic
Other supported tools https://api.z.ai/api/coding/paas/v4

The Claude Code guide collects the other labs’ base URLs. We did not run an agent against either Z.AI URL.

Plans and prices

Credit caps, from the overview:

Plan 5-hour credits Weekly credits
Lite 2,000 10,000
Pro 12,000 60,000
Max 28,000 140,000

Five-hour credits reset five hours after consumption. Weekly credits start when you subscribe and reset every seven days.

Dollar amounts are on the legacy migration notice, which still labels them as current prices for the online plan. Monthly standard price: Lite $18, Pro $72, Max $160. The same notice lists a current discounted price for a quarter (Lite $48.60, Pro $194.40, Max $432) and for a year (Lite $172.80, Pro $691.20, Max $1,536). A separate “50% off” column on that notice is marked for reference only. It is a migration example for legacy auto-renew users, not a second public price list. The overview itself only says “starting at just 18 USD per month.”

How a credit is calculated

The overview publishes the formula:

(input tokens × input multiplier + cached input tokens × cached input multiplier + output tokens × output multiplier) / 10,000

An MCP call is number of calls × output multiplier.

Product Input Cached input Output
GLM-5.3 6.9 1.7 24
GLM-5.3-Flash, including vision MCP 2.3 0.56 8
Web Search, Web Reader, Zread — — 1.2

During off-peak hours, model usage is charged at 50% of the standard credit rate. Peak hours on that page are Monday to Friday, 14:00–18:00 Singapore time (UTC+8). That is a credit discount. It is a different rule from DeepSeek’s off-peak token price.

Z.AI also prints an estimated weekly token allowance. The range is their method: the high number assumes every call is off-peak (0.5× credits), and the low number assumes every call is peak (1×). At a 95% cache-hit rate, millions of tokens per week:

Model Lite Pro Max
GLM-5.3 48–97 290–580 676–1,352
GLM-5.3-Flash 146–292 877–1,755 2,047–4,095

The same table has 96% and 98% rows. At 98%, Flash Max is 2,217–4,433 million tokens on their arithmetic. Use the row that matches a cache-hit rate you have measured. Their sentence, quoted from the overview: “By fully utilizing the off-peak discounts, you can save up to 92% compared with pay-as-you-go calls to the GLM-5.3 standard API.” That 92% is their claim. This page does not re-derive it.

Paying from outside China

The usage policy charges bonus balance, then cash balance, then a linked third-party method, and it gives “bank card or PayPal” as the examples. The FAQ uses “credits balance” for the first bucket and then the same cash-then-card order. The FAQ also says a small minimum applies when the remainder is charged to a credit card, and that the deduction is rounded up to meet it. The FAQ does not print the dollar amount. A different page, the invite-credit rules, says Stripe requires the amount payable after discounts and credits to be at least $0.50. Read that as a processor rule on that campaign, not as a discount to chase.

Cancel windows disagree. The usage policy says cancel at least 3 days before the next billing date. The FAQ and the subscription terms both say at least 24 hours before the end of the current term. Canceling three days ahead meets the stricter of those two sentences. Subscriptions are non-refundable on the FAQ and on the usage policy, including unused quota. The subscription terms say the renewal price is the price displayed on the charge date, which can differ from the price you first subscribed at. If you buy through an app store, those terms say the distributor’s billing rules apply.

Region: the terms of use ask you to confirm that you are not located in Iran, North Korea, Cuba, Crimea, Donetsk, or Zaporizhzhia, and that you will not make the service available to a person in those places. The same terms have a United States clause about ITAR and EAR technical data. They do not say a US card is accepted, and they do not say the US is banned. We did not bind a card. The payment guide is the same limit for the other labs.

Whether it is worth it

Pay-as-you-go GLM-5.3 on Z.AI’s pricing page is $1.40 input and $4.40 output per million tokens, with cached input at $0.26. Flash is $0.15 and $0.50, cached input $0.03. Lite is $18 until the weekly credits end. A light user can spend less on the API than on Lite. A heavy user hits the weekly cap and then waits, because the FAQ says the plan key does not fall through to the API balance.

Illustrative Coding-agent session costGLM-5.3$1.39GLM-5.3-Flash$0.156Anthropic: Claude Opus 5.5$2.94OpenAI: GPT-6.1 Sol$1.47
Coding-agent session: 3 million input tokens, 90% served from cache, 60 thousand output tokens. Cache-write fees are not included. Chinese rows use the lab published rate (DeepSeek uses the peak rate). Comparators are OpenRouter list prices for Anthropic: Claude Opus 5.5 ($8.00/M blended) and OpenAI: GPT-6.1 Sol. Snapshot 2026-11-11. Cache-write fees are excluded. A missing cache price is billed as a full input token.
ModelSessionvs Opusvs SolCache price
GLM-5.3$1.3953% cheaper6% cheaperpublished
GLM-5.3-Flash$0.15695% cheaper89% cheaperpublished
Anthropic: Claude Opus 5.5$2.94——published
OpenAI: GPT-6.1 Sol$1.47——published

The percentages in this table compare session cost. The price table's percentages compare blended token price. They answer different questions.

That session is illustrative: 3 million input tokens, 90 percent cache hits, 60 thousand output tokens, no cache-write fee. It is a way to see Flash and the flagship as different official bills. It is not your repo. Put it next to the credit formula if you want a plan-versus-API guess, and treat the overview’s token table as Z.AI’s own guess at a high cache-hit rate.

The OpenRouter card is a different seller whenever the check says so.

Lite is a capped experiment. Pro and Max raise the 5-hour cap sixfold and fourteenfold against Lite, and the standard price on the migration notice rises faster than that from Lite to Pro. A bursty week cares about the weekly cap. A small steady week is easier to explain as tokens. The plan comparison is the other subscriptions we would and would not price. The session calculator is the token side.

Related: Z.AI API, coding plans compared, paying from abroad.

Questions

How much is the GLM Coding Plan?

The overview says plans start at 18 USD a month. The legacy migration notice lists a current standard price of $18 for Lite, $72 for Pro, and $160 for Max, plus quarterly and annual discounted prices. We did not complete checkout on 20 Oct 2026. The subscribe page wins if it disagrees.

Can I buy GLM from outside China?

Z.AI's terms of use ask you to confirm you are not in Iran, North Korea, Cuba, Crimea, Donetsk, or Zaporizhzhia. They do not say the United States is blocked. The usage policy names a bank card or PayPal after account balances. We did not bind a card.

What happens when the credits run out?

The FAQ says calls in supported tools use plan quota only, and a used-up quota does not draw the account balance. You wait for the next 5-hour cycle. The weekly cap can stop you earlier.

Is the coding plan cheaper than the API?

A light week can cost less on the token API than Lite at $18. The overview publishes a credit formula and its own weekly token estimates at high cache-hit rates. Compare those with the official GLM rates, not with a slogan.

Sources

  1. GLM Coding Plan overview, accessed 2026-10-20
  2. GLM Coding Plan legacy migration notice, accessed 2026-10-20
  3. GLM Coding Plan usage policy, accessed 2026-10-20
  4. GLM Coding Plan FAQ, accessed 2026-10-20
  5. Z.AI terms of use, accessed 2026-10-20
  6. Z.AI subscription terms, accessed 2026-10-20
  7. Z.AI pricing, accessed 2026-10-16