GLM-5
Z.AIGLM-5 by Z.AI: $1.00/M cache-miss input, $3.20/M output tokens. Cached input: $0.2/M. 200K context, 128K max output. Function Calling & JSON Mode. Price verified 2026-11-18.
Input Price
$1.00
cache miss / 1M tokens
Cached Input
$0.2
per 1M tokens
Output Price
$3.20
per 1M tokens
Context Window
200K
tokens
China (CNY) price: ¥4/M input, ¥1/M cached input, ¥18/M output (Mainland China, input <32K) on Z.AI's official mainland price list. Details
GLM-5 official China pricing (CNY)
Mainland China list price from Z.AI, in CNY per 1M tokens. Verified 2026-11-18. The USD prices above are Z.AI's international list price, not a currency conversion.
| Rate | Cached input | Input | Output |
|---|---|---|---|
| Mainland China, input <32K | ¥1 | ¥4 | ¥18 |
GLM-5 price history
No price changes recorded for GLM-5 in our AI API price change log (earliest entry: 2026-05-27). Current rates last verified against the official Z.AI pricing page on 2026-11-18. See all AI API price changes
Cheaper ways to use GLM-5
Current free credits and discounts that apply to Z.AI models.
- 🧠智谱 BigModelFree Credits— 20M free tokens for new sign-ups; GLM-4.7-Flash and GLM-4-Flash-250414 are free to call
- 🌋火山方舟(豆包)Free Tier— Up to 5M free inference tokens per day on Doubao-Seed-2.1-pro (check the console for the exact allowance)
- 💧硅基流动 SiliconFlowFree Credits— ¥16 voucher after real-name verification; referrer and new user each get ¥16; several small models are freeends 2026-12-31
Specifications
| Provider | Z.AI |
| Model ID | glm-5 |
| Input Price | $1.00 / 1M cache-miss tokens |
| Cached Input Price | $0.2 / 1M tokens |
| Output Price | $3.20 / 1M tokens |
| Context Window | 200K tokens |
| Max Output | 128K tokens |
| Capabilities | textfunction_callingstructured_output |
| Release Date | 2026-02-12 |
| Pricing Source | Official Z.AI pricing |
| Price Verified | 2026-11-18 |
| Notes | Previous-generation GLM flagship for agentic engineering (GLM-5.3 is current). Cached-input storage is free for a limited time. China pricing is tiered: ¥4/¥18 below 32K input, ¥6/¥22 at 32K and above. |
Monthly Cost Estimates
Estimated monthly costs based on different daily usage levels (assuming 50% input / 50% output split). Input estimates use cache-miss pricing, so cache-heavy workloads can be lower.
| Daily Tokens | Monthly Cost | Annual Cost |
|---|---|---|
| 10K | $0.63 | $7.56 |
| 50K | $3.15 | $37.80 |
| 100K | $6.30 | $75.60 |
| 500K | $31.50 | $378.00 |
| 1.0M | $63.00 | $756.00 |
How GLM-5 Pricing Compares
Standard cache-miss input / output prices per 1M tokens, compared with active, price-verified models priced in USD. Cached, batch and long-context rates are not included.
- Within Z.AI: 3 of 8 other active Z.AI models have a lower input price, and 3 have a lower output price.
- Similar context window: among the 18 active models with a 100K–400K token context window, GLM-5 ranks #12 from cheapest at a 50/50 input/output mix. Cheapest: GLM-4.7-Flash ($0.00/$0.00). Most expensive: Jamba Large 1.7 ($2.00/$8.00).
- Versus the previous release: compared with GLM-4.7 (released 2025-12-22, $0.6/$2.20), input is +67% and output is +45%.
Use our Token Counter to estimate how many tokens your prompts use, and our Pricing Calculator to compare costs across all models.
GLM-5 Key Details
- Pricing: $1.00/M cache-miss input tokens, $0.2/M cached input tokens, $3.20/M output tokens
- Context window: 200K tokens — 81 of 90 active models we track have a larger window
- Max output: 128K tokens per response
- Capabilities: text, function_calling, structured_output
- Highlights: Previous-generation GLM flagship for agentic engineering (GLM-5.3 is current). Cached-input storage is free for a limited time. China pricing is tiered: ¥4/¥18 below 32K input, ¥6/¥22 at 32K and above.
- Released: 2026-02-12
Other Z.AI Models
Similar Price Range
Related Tools
FAQ
How much does GLM-5 cost?
GLM-5 costs $1.00 per million cache-miss input tokens and $3.20 per million output tokens. Cached input costs $0.2 per million tokens. For a typical workload of 100K input tokens/day and 50K output tokens/day, expect approximately $7.80/month before cache-hit savings.
What is GLM-5's context window?
GLM-5 supports a context window of 200K tokens. This means your combined input prompt and output response can be up to 200K tokens. The maximum output per response is 128K tokens.
Is GLM-5 good for my use case?
GLM-5 supports text, function_calling, structured_output. We track pricing and limits, not output quality, so test it on your own prompts before committing. The price comparison above lists cheaper and pricier models with a similar context window, and the Pricing Calculator estimates your monthly cost across all of them.