Guides · dev · z.ai api
Z.AI API: Flash, FlashX, and the flagship price people misread
Z.AI’s pricing page is unusually clear, which makes the OpenRouter headline look worse. Here is the page, per million tokens, as fetched 16 Oct 2026:
| Model | Input | Cached input | Output |
|---|---|---|---|
| GLM-5.3-Flash | $0.15 | $0.03 | $0.50 |
| GLM-5.3-FlashX | $0.37 | $0.075 | $1.25 |
| GLM-5.3 | $1.40 | $0.26 | $4.40 |
| GLM-5.2 | $1.40 | $0.26 | $4.40 |
Cached-input storage is listed as limited-time free. Web search is $0.01 per use. Older flash models on the same page are marked free. That “free” applies to the names on that older table, not to GLM-5.3.
| Model | Blended | vs Opus | vs Sol |
|---|---|---|---|
| glm-5.3-flash | $0.291 | 96% cheaper | 93% cheaper |
| glm-5.3-flashx | $0.590 | 93% cheaper | 85% cheaper |
| glm-5.3 | $1.26 | 84% cheaper | 69% cheaper |
| glm-5.2 | $1.07 | 87% cheaper | 73% cheaper |
Flash on OpenRouter matches the table. The flagship does not. FlashX on our snapshot should be checked against $0.37 / $1.25 before you quote it. The bar chart is the list price. The table above is the vendor.
Sign-up, as far as the docs go
The developer docs assume an API key and show a bearer token. We did not register, so we will not claim a card brand or a phone-number rule. The international pricing is in USD. The coding plan is a second product with credits, not a cheaper version of this table.
Anthropic base URL from the model page:
https://api.z.ai/api/anthropic
Use it with a Z.AI key. The Claude Code note says the same thing and stops there.
Related: session cost at the official rate.
Questions
What is the Z.AI flagship price?
The pricing page lists GLM-5.3 at $1.40 input, $0.26 cached input, and $4.40 output per million tokens.
Which base URL does a coding agent use?
The GLM-5.3 docs list https://api.z.ai/api/anthropic for the Anthropic protocol and an OpenAI-style URL under api.z.ai.
Sources
- Z.AI pricing, accessed 2026-10-16
- GLM-5.3 docs, accessed 2026-10-16
- OpenRouter GLM-5.3 endpoints, accessed 2026-10-16