GLM API pricing and cost calculator
Estimate Z.ai GLM API costs across GLM-5.3, GLM-5, GLM-4.7 and GLM-4.5-Air, with cached input pricing.
Prices last verified against official provider pages on . How we verify prices. Written by the Chelure Enterprises Editorial Team.
How GLM pricing works
Z.ai prices GLM per million tokens. GLM-5.3 costs $1.40 input and $4.40 output, GLM-5.3-FlashX costs $0.37 and $1.25, and GLM-5.3-Flash costs $0.15 and $0.50. Older models are cheaper: GLM-5 is $1.00 and $3.20, GLM-4.7 is $0.60 and $2.20, and GLM-4.5-Air is $0.20 and $1.10.
Free models and cache storage
Z.ai lists GLM-4.7-Flash and GLM-4.5-Flash as free, so they are not in the calculator. Cached input is priced lower than normal input on the paid models, and Z.ai lists cache storage as free for a limited time.
A worked example
With 1,500 input and 400 output tokens per request and 1,000 requests a day, GLM-5.3 costs about $115.80 a month and GLM-5.3-Flash about $12.75 a month, with no caching.
GLM prices per million tokens
| Model | Input | Output | Cached input |
|---|---|---|---|
| GLM-5.3 | $1.40 | $4.40 | $0.26 |
| GLM-5.3-FlashX | $0.37 | $1.25 | $0.075 |
| GLM-5.3-Flash | $0.15 | $0.50 | $0.03 |
| GLM-5.2 | $1.40 | $4.40 | $0.26 |
| GLM-5.1 | $1.40 | $4.40 | $0.26 |
| GLM-5 | $1.00 | $3.20 | $0.20 |
| GLM-4.7 | $0.60 | $2.20 | $0.11 |
| GLM-4.5-Air | $0.20 | $1.10 | $0.03 |
Source: Z.ai pricing, verified November 13, 2026. Z.ai also sells image generation (GLM-Image $0.015 per image, CogView-4 $0.01), video (CogVideoX-3, $0.20 per video) and transcription: see the image and video calculators.
Frequently asked questions
How much does GLM-5.3 cost?
GLM-5.3 costs $1.40 per million input tokens and $4.40 per million output tokens as of November 13, 2026.
Are any GLM models free?
Z.ai lists GLM-4.7-Flash and GLM-4.5-Flash as free. They are not included in the calculator.
Does GLM have cached input pricing?
Yes. Cached input is $0.26 per million tokens on GLM-5.3 and $0.03 on GLM-5.3-Flash.
Cite this page: GLM API pricing. Createchz AI Tools, verified November 13, 2026. https://createchz.com/ai-costs/glm-api-pricing/