AI Token Price
Z.ai

3 current models

Z.ai API pricing

Z.ai API pricing: GLM-5.3 $1.40 / $4.40, GLM-5.3 FlashX $0.37 / $1.25 and GLM-5.3 Flash $0.15 / $0.50 per 1M input / output tokens. Checked 13 Oct 2026 against Z.ai pricing.

Cheapest frontier model elsewhere: DeepSeek V4 Pro at $1.32 / $3.96, against $1.40 / $4.40 for GLM-5.3. Compare the two

Current Z.ai models

Current Z.ai models and prices per million tokens
Batch API model ID
$1.40 $4.40 $0.26 1M 14 Aug 2026 — glm-5.3
$0.37 $1.25 $0.075 1M 18 Sep 2026 — glm-5.3-flashx
$0.15 $0.50 $0.030 1M 26 Aug 2026 — glm-5.3-flash

What a month costs on Z.ai models

Monthly cost of three example workloads on current Z.ai models, at list prices
ModelChat app10M input, 2M output tokensSupport bot50M input (70% cached), 5M outputCoding agent750M input (85% cached), 8M output
GLM-5.3$22.80$52.10$358
GLM-5.3 FlashX$6.20$14.43$99.44
GLM-5.3 Flash$2.50$5.80$40.00

List prices checked 13 Oct 2026, general-purpose models, prompts under any long-prompt threshold, no batch discount. Cached input is billed at each model's cache-read price; cache-write charges aren't included. Price your own traffic · Agent cost per task

Recent Z.ai price changes

All changes

How GLM API pricing works

Z.ai, the company behind the GLM models, bills its API per token with separate input, cached-input and output prices. The current GLM-5.3 line has three options:

  • GLM-5.3 ($1.40 / $4.40): Z.ai's flagship, built for coding and agentic work. It takes text only, always reasons before answering (with three effort levels), and has a 1M-token context window with up to 128K tokens of output.
  • GLM-5.3 Flash ($0.15 / $0.50): the low-cost model, and the first natively multimodal model in the GLM-5 series, so it accepts images, video and files as well as text.
  • GLM-5.3 FlashX ($0.37 / $1.25): the same model as Flash on faster serving, which Z.ai quotes at up to 200 tokens per second, for about two and a half times the price.

Cached input

Repeated input served from cache costs $0.26 per 1M tokens on GLM-5.3, $0.03 on Flash and $0.075 on FlashX, about a fifth of the normal input price. Z.ai also lists a storage charge for cached input but currently waives it as a limited-time offer. For a coding agent with 750M input tokens a month, 85% of it cached, and 8M output, GLM-5.3 costs about $358 a month and GLM-5.3 Flash about $40.00.

Z.ai doesn't list a batch discount on its pricing page.

Older GLM models

Earlier GLM models stay on sale. GLM-5.2 and GLM-5.1 cost the same as GLM-5.3 ($1.40 / $4.40), so there's little reason to stay on them for price. GLM-5 costs $1.00 / $3.20, and GLM-4.7 and GLM-4.6 cost $0.60 / $2.20. GLM-4.7-Flash is free to use.

GLM Coding Plan or the API?

Z.ai also sells the GLM Coding Plan, a subscription for using GLM models in coding tools, with a points-based quota instead of per-token billing. GLM-5.3 and GLM-5.3 Flash are available on it. Like other coding subscriptions, it suits one developer working in a coding agent every day, while the API suits apps and automation. See Z.ai's Coding Plan page for the current tiers and prices.

Which GLM model should you use?

  • Coding and agents: GLM-5.3. Its input and output prices are well below Claude Sonnet 5.5’s and GPT-6.1 Sol’s, but its cached input ($0.26) costs more than theirs ($0.10), so for cache-heavy agents the monthly bill comes out about the same.
  • High-volume work, and anything with images or video: GLM-5.3 Flash.
  • Interactive apps where response speed matters: GLM-5.3 FlashX.

Other charges

  • Web search as a built-in tool costs $0.01 per use.
  • API formats: Z.ai accepts both OpenAI-compatible and Anthropic-compatible requests, so GLM works in tools built for either.

Sources: Z.ai pricing, GLM-5.3, GLM-5.3 Flash and FlashX. Checked 13 October 2026.

Z.ai model IDs

API model IDs, context windows and release dates for current Z.ai models
ModelAPI model IDContextMax outputReleased
GLM-5.3 FlashXglm-5.3-flashx1M128K18 Sep 2026
GLM-5.3 Flashglm-5.3-flash1M—26 Aug 2026
GLM-5.3glm-5.31M—14 Aug 2026

Compared with other providers

Z.ai models against the cheapest current model of the same tier from other providers, by blended price
TierZ.aiCheapest elsewhereZ.ai costs
FrontierGLM-5.3$1.40 / $4.40DeepSeek V4 Pro$1.32 / $3.969% more
SmallGLM-5.3 Flash$0.15 / $0.50Ministral 3 3B$0.10 / $0.102.4× more

Blended price per 1M tokens (3 input : 1 output), current general-purpose models only. Price isn't quality: compare the models on your own tasks. Compare up to four models

Z.ai model comparisons

Compare up to four

Questions

How much does the Z.ai API cost?

Z.ai API pricing: GLM-5.3 $1.40 / $4.40, GLM-5.3 FlashX $0.37 / $1.25, GLM-5.3 Flash $0.15 / $0.50 per 1M input / output tokens, checked 13 Oct 2026. Every model is billed per token, separately for input and output.

What is the cheapest Z.ai model?

GLM-5.3 Flash, at $0.15 / $0.50 per 1M input / output tokens. It suits high-volume, simpler work; check its quality on your task before switching.

Does Z.ai charge less for cached input?

Yes. Repeated input served from cache costs $0.075 per 1M on GLM-5.3 FlashX, $0.03 per 1M on GLM-5.3 Flash, $0.26 per 1M on GLM-5.3.

Is there a batch discount?

Z.ai does not list a batch discount on its pricing page as of 13 Oct 2026.

Z.ai model families

Pricing rules

  • Mistral also resells GLM-5.3 at the same price.