Choose the route that fits your work
| Your situation | Route to consider | What decides it |
|---|---|---|
| You want to try the model before paying | ZCode new-user trial | Your provider's displayed allowance and expiry; whether the model completes your own sample tasks |
| You work regularly in a supported coding or office agent | GLM Coding Plan | The invoice, credits per completed task, and both five-hour and weekly limits |
| You make occasional calls, build an app, or run a batch pipeline | General Z.ai API | Billed tokens across every attempt, tool charges, and the application's throughput needs |
| You need control of the model deployment | Self-hosted open weights | Hardware capacity, utilization, operations, and accepted throughput on that deployment |
The current Coding Plan overview covers coding and office work in supported agents. The subscription is limited to supported tools: the subscription terms exclude general API access from your own apps, websites, bots, or SaaS products without a separate written agreement. Individual subscriptions also cannot be shared between colleagues. Use an appropriate team offering or separately billed API access for a team.
A paid plan buys an allowance in supported tools. We have not compared trial and paid answers. If quality decides the purchase, compare the exact model and settings on the same tasks before subscribing. The broader coding-model comparison answers a different question about model performance; this page compares GLM access routes and their costs.
What can you actually use for free?
Free web chat does not establish free API access
If you are using a browser chat interface, check its displayed model and account terms separately. A free chat session does not establish a free API allowance, and a chat subscription does not by itself establish Coding Plan access. This comparison covers the documented ZCode trial, supported-agent subscription, direct API, and open-weight routes; it does not verify which model a free chat session uses.
The ZCode trial is temporary and provider-specific
The ZCode connection guide documents a daily trial allowance for new Z.ai users, but its global section does not give an exact GLM-5.3-Flash amount or duration. The BigModel section for China explicitly describes five days with 5 million GLM-5.3-Flash tokens per day, plus a separate GLM-5.3 bucket. Those China-specific terms should not become an assumed entitlement for a global Z.ai account.
- In ZCode's model settings, select the provider for your account: Z.ai for the global service or BigModel for the China service.
- Connect the account, select GLM-5.3-Flash, and read the model's remaining balance and trial expiry before starting a long task.
- Use a small public or synthetic project with an expected result you can check. Save the output, elapsed time, and usage change.
- If there is no trial balance, verify the provider and account eligibility. Do not assume that creating a general API key grants the same ZCode trial.
A useful coding trial could ask for a bounded bug fix with an existing failing test. An office trial could ask for a report from supplied synthetic figures, with every total checked against the input. These are suggested evaluation tasks, not results from a Grow AI Skills model run. Start without private files or sensitive Git history until you have reviewed the client's data handling.
The advertised unlimited campaign has ended
The official campaign page extended the September offer through October 7, 2026. Its zero-quota window required a paid plan and applied to GLM-5.3-Flash through ZCode or AutoClaw from 23:00 to 09:00 Singapore time. As of this October 18 review, those advertised dates have passed. Exclude the offer from a new budget unless a current offer in your account explicitly replaces it.
Free older Flash models are different products
The Z.ai price table lists GLM-4.7-Flash and GLM-4.5-Flash as free, while GLM-5.3-Flash has token prices. Check the complete model ID when a tutorial says “GLM Flash is free.” An older free model may be worth trying for a small task, but its results do not establish equivalent quality. Keep glm-4.7-flash distinct from glm-4.7: the latter is a different API model, and Coding Plan routes that legacy name to GLM-5.3-Flash. A familiar name in an agent menu is not enough to identify a free API call.
Coding Plan prices: monthly billing versus annual equivalents
On the official Individual subscription page, switching the billing selector changes the displayed price. The following amounts were checked on October 18, 2026:
| Individual plan | Monthly selected | Yearly selected: displayed monthly equivalent | 12 × annual monthly equivalent |
|---|---|---|---|
| Lite | $18 / month | $12.60 / month | $151.20 |
| Pro | $80 / month | $56 / month | $672 |
| Max | $168 / month | $117.60 / month | $1,411.20 |
The last column multiplies the annual monthly equivalent by 12; we have not checked an order total at checkout. Confirm the amount due, billing term, taxes, and renewal settings on your order. The $12.60 Lite display should not be treated as a month-to-month offer. A lower annual equivalent commits you to a different term and is less attractive if you only need the model for one short project.
For a first paid month, estimate your usage before selecting a longer term. The plan usage policy says unused subscription time is generally not refundable and advises canceling at least three days before renewal. The general subscription terms give a shorter deadline. Follow the earlier deadline when planning cancellation, and check the renewal state in your account.
How many tasks fit inside a Coding Plan?
The current individual plans have two simultaneous credit limits:
| Plan | Five-hour credits | Weekly credits |
|---|---|---|
| Lite | 2,000 | 10,000 |
| Pro | 12,000 | 60,000 |
| Max | 28,000 | 140,000 |
The credit rules restore five-hour usage five hours after consumption; weekly usage resets on a seven-day cycle activated by the subscription. Peak hours are Monday through Friday, 14:00 to 18:00 Singapore time (UTC+8). Outside that window, including all weekend, model usage consumes 50% of standard credits. This discount applies to plan credits; it is not a published discount on the general API's token prices.
standard GLM-5.3-Flash credits = (
new_input_tokens * 2.3
+ cached_input_tokens * 0.56
+ output_tokens * 8
) / 10,000
off_peak_model_credits = standard_credits * 0.5
Use the provider's separate new-input and cache categories; do not charge cached tokens a second time as new input. For example, 20,000 new input tokens, 80,000 cached input tokens, and 5,000 output tokens consume 13.08 standard model credits, or 6.54 off peak. These are calculated examples. Tool-specific bonuses, MCP calls, and other models are excluded.
A longer illustrative task whose calls add up to 200,000 new input, 800,000 cached input, and 50,000 output tokens consumes 130.8 standard credits. Fifteen such tasks use 1,962 credits, so they nearly fill Lite's five-hour allowance even though they use less than one fifth of its weekly allowance. Actual tasks can have different token volumes and cross peak/off-peak boundaries. Record each call's deduction instead of treating this example as a guaranteed task count.
If you repeatedly hit the five-hour limit during concentrated work, compare a higher tier with an explicitly configured, separately billed API route, if your account and workflow support it. If you hit the weekly limit, moving the same work to another hour within that week only helps to the extent that the off-peak rate reduces consumption. A large weekly allowance cannot override an exhausted five-hour window.
Existing subscribers should first check whether their account has a legacy plan. The plan revision notice preserves different rules for some existing subscriptions. Do not replace a legacy plan's displayed limits with this new-plan credit table.
Direct API price and a first billing check
For the direct global Z.ai API, the current published rates for model glm-5.3-flash are:
| Billing category | USD per 1 million tokens |
|---|---|
| New input | $0.15 |
| Cached input | $0.03 |
| Output | $0.50 |
| Cached-input storage | Listed as limited-time free |
Free cache storage does not remove cache-read, new-input, or output charges. Third-party gateways can have their own rates and free credits. GLM-5.3-FlashX is also a separate model: Z.ai lists $0.37 input, $0.075 cached input, and $1.25 output, and the model guide says FlashX is not yet included in Coding Plan. Keep the exact model ID on your cost record.
For an OpenAI-compatible Chat Completions client, the billing routes differ:
| Connection | Base URL | Billing to check |
|---|---|---|
| General API | https://api.z.ai/api/paas/v4 | Prepaid balance or general API billing |
| Coding Plan in a supported tool | https://api.z.ai/api/coding/paas/v4 | Subscription credits |
The supported-tool integration guide also lists protocol-specific endpoints, including Anthropic Messages and OpenAI Responses. Use the instructions for your chosen tool and protocol. The table above applies to Chat Completions; appending its path to a different protocol's base URL is not a valid setup.
For a general API account, this small request illustrates the request structure. It makes a billable model call if you run it with a valid key; Grow AI Skills has not executed it against the service.
curl https://api.z.ai/api/paas/v4/chat/completions \
-H "Authorization: Bearer $ZAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.3-flash",
"messages": [{"role": "user", "content": "Return the word READY."}],
"reasoning_effort": "low",
"max_tokens": 4096,
"stream": false
}'
Read the returned model, finish_reason, and usage, then inspect the corresponding billing record before sending a batch. A response stopped by a length limit is incomplete even if its HTTP status is successful. Check the response before retrying; a shorter visible answer alone does not establish lower billed output.
Calculate a request bill and compare monthly workloads
The Chat Completion reference reports prompt tokens, completion tokens, and cached prompt tokens. Subtract cached input from the prompt total, then apply each rate once:
new_input_tokens = prompt_tokens - cached_tokens
attempt_cost_usd = (
new_input_tokens * 0.15
+ cached_tokens * 0.03
+ completion_tokens * 0.50
) / 1,000,000
For example, this hypothetical response usage object reports 100,000 total input tokens, including 80,000 served from cache. It is a teaching example, not a captured GLM response:
{
"usage": {
"prompt_tokens": 100000,
"completion_tokens": 5000,
"prompt_tokens_details": {"cached_tokens": 80000}
}
}
The new input is 100,000 minus 80,000, or 20,000 tokens. Its estimated model charge is ($0.003 + $0.0024 + $0.0025) = $0.0079. Charging all 100,000 prompt tokens at the new-input rate and then adding the cache charge would double-count cached input. If cache usage is missing, mark it unknown; an estimate that treats all input as new is conservative under these rates, but it is not the provider's confirmed bill.
Sum every model call in an agent task. A task that reads files, calls tools, receives tool results, and revises its answer can produce several billed attempts. Reconcile the estimate with provider billing; missing usage after an interrupted request is an unknown charge until you check the account, not automatically zero.
The table uses hypothetical workload totals. A workload may contain several calls, retries, and tool turns; add their billed tokens before using the totals below. The figures exclude tool fees, taxes, and review time. They do not predict how many tokens GLM will use.
| Illustrative workload | New input | Cached input | Output | API cost per workload | 1,000 equal workloads |
|---|---|---|---|---|---|
| A short uncached request | 4,000 | 0 | 1,000 | $0.00110 | $1.10 |
| A cached editing task | 20,000 | 80,000 | 5,000 | $0.00790 | $7.90 |
| A long task across several calls | 200,000 | 800,000 | 50,000 | $0.07900 | $79.00 |
| An uncached batch across calls | 1,000,000 | 0 | 50,000 | $0.17500 | $175.00 |
The long-task and batch rows are totals across multiple calls. They are not inputs to send in one request. Each request must fit the documented 1M context window, including output and other context. For example, 1 million prompt tokens plus 50,000 output tokens cannot be treated as a single request that fits a 1M window.
For the $0.0079 example, 100 equal workloads cost $0.79 and 1,000 cost $7.90. Both are below Lite's $18 monthly invoice. The arithmetic reaches $18 at about 2,279 equal workloads. That is only a spending comparison: the subscription must support the tool and fit the timing and credit limits, and the API must be available in that workflow. For an app backend, the plan's restrictions already decide the route before this calculation matters.
A burst of the $0.079 example makes the limit clearer. Three hundred such workloads would cost $23.70 through the API and consume 39,240 standard plan credits. If performed in one week at peak rates, they exceed Lite's weekly allowance. If concentrated in one five-hour period, they also exceed Pro's 12,000 credits and Max's 28,000 credits. Even all at half-rate, the burst uses 19,620 credits, above Pro's five-hour allowance. Monthly price alone cannot tell you whether a plan will run that burst.
Calculate cost per accepted task
Choose an acceptance rule before comparing routes. For a patch, require the requested behavior and relevant tests without unrelated file changes. For a report, check source figures, calculations, and the usable final file. The evaluation-set guide explains how to retain the same cases and expected results across runs.
API cost per accepted task =
total USD charged for all model attempts / tasks that pass acceptance
All-in cost per accepted task =
(model charges + tool and validation costs + review labor)
/ tasks that pass acceptance
Count the final accepted tasks once, even if a task took several retries. Include rejected attempts and abandoned work in spend. If nothing passes, report the spend and zero accepted tasks; the unit cost is undefined.
For an illustrative batch, suppose all attempts together consume 1.2 million new input tokens, 4.8 million cached input tokens, and 600,000 output tokens:
(1.2 * $0.15) + (4.8 * $0.03) + (0.6 * $0.50)
= $0.180 + $0.144 + $0.300
= $0.624 total model API cost

At 48 accepted tasks, the API cost is $0.013 each. At 36, it is about $0.0173. If the batch also takes two hours of review and validation at an illustrative internal rate of $30 per hour, the all-in cost at 48 accepted tasks becomes ($0.624 + $60) / 48, or about $1.26. These acceptance counts and labor figures are assumptions, not measured GLM results.
For Coding Plan, use the subscription fee allocated to the work. If a month-to-month Lite plan serves only this workflow and produces 100 accepted tasks, its subscription cost is $18 / 100 = $0.18 each; at 1,000 accepted tasks it is $0.018. Those task counts are accounting examples, not allowance estimates. Add labor and other tools on the same basis as the API comparison. If several workflows share a plan, record one allocation method, such as their shares of credit consumption, and use it consistently.
Settings, limits, and billing problems that change the comparison
Reasoning and cache use can change the bill
GLM-5.3-Flash supports low, high, and max reasoning effort, with max as the default; thinking cannot be disabled. Compare settings on the same accepted tasks before assuming a lower effort is cheaper overall. Extra retries can erase a saving on an individual call.
For the general API, thinking.clear_thinking defaults to true. The model guide recommends false for preserving reasoning, which requires forwarding the complete prior reasoning history correctly. The open-weight chat template has a different default. Set the option explicitly in a direct-API comparison and record what the client sends. In a supported agent, use only settings the client exposes; do not assume its UI forwards every API option. Keeping more history can increase subsequent input; count observed cache hits rather than assuming all repeated text receives the cache price.
You bought a plan but still see a balance error or deduction
Check the provider, selected connection mode, model ID, and protocol-specific base URL together. A subscription and a general API balance are separate billing routes. The official FAQ says exhausted plan quota does not automatically fall back to account balance. A supported tool configured to the general endpoint can consume balance rather than plan credits. Inspect one request's billing category after correcting the configuration, then resume the workload.
If the model works but requests are throttled, inspect both credit windows and any account restriction notice. Credits remaining for the week do not prove five-hour capacity or concurrent-request availability. The usage policy describes dynamically adjusted concurrency; a tier's weekly credits are not a fixed requests-per-second guarantee.
The trial ends, or an overnight job stops
Check the allowance and expiry in the provider panel before restarting. For a plan, inspect the rolling five-hour usage and weekly reset. For the API, inspect balance, the error response, and any incurred usage. Retry a small sample after addressing the cause. Replaying the whole batch can duplicate completed work and adds billable attempts.
Private repositories and self-hosting need a separate cost check
A September firsthand investigation of ZCode 3.12.3 documented workspace snapshot packaging and an accepted upload of a public repository; a separate commercial-workspace archive remained pending. The author's later updates reported the upload pipeline absent in 3.14.0 and runtime checks of 3.14.3 without new whole-workspace archives. These are version-specific findings, not an audit of your current installation. Grow AI Skills has not independently audited the client or historical cloud-side deletion.
For a private project, review the installed client's current data handling and your organization's policy before granting workspace access. Paying for a subscription alone does not settle where code, history, logs, or tool data goes. A public or synthetic trial is enough to start a capability check without exposing those files.
The official open-weight model card uses the MIT license and lists serving options including vLLM and SGLang. Its 320 billion total parameters and 18 billion active parameters describe a mixture-of-experts model; the active count is not the full weight-storage requirement. Hardware suitability depends on precision, quantization, context, concurrency, and serving implementation. A claim that any 18B-sized setup will run it needs evidence for that exact deployment.
self-hosted cost per accepted task =
(hardware or cloud cost + idle capacity + operations
+ validation and review costs) / accepted tasks
Measure a full operating period, including time when rented hardware is idle. For a low-volume workload, compare that total with the small API bills above. For sustained use or deployment-control requirements, measure accepted tasks per hour on your proposed hardware before committing capacity. A local model also needs local or approved retrieval, tools, logging, and telemetry if the complete workflow must stay within your environment.
To make a purchase decision, keep a short record with each task's route, exact model, settings, attempts, new/cached/output tokens or plan deductions, elapsed time, acceptance result, and review minutes. For occasional work, compare the recorded API total with the monthly invoice. For regular agent use, check both credit windows before choosing a plan. Keep app traffic on the general API unless you have a separate agreement.
