GLM-5 API Pricing
GLM-5 is Zhipu's mid-tier flagship text model for system engineering, coding, and long-range agent tasks. The live vendor table lists $1/M input and $3.2/M output, with cached input at $0.2/M. Checked by hand against docs.z.ai.
GLM-5 API cost calculator.
Live calculator pre-loaded with current GLM-5 rates. Tweak spend, output mix, or cache assumptions and share the URL to share the calculation.
GLM-5 cost on real workloads.
Repo implementation
Pull request review
Knowledge base answer
Support assistant
Counts use a chars-per-token calibration measured on the vendor's own published tokenizer (zai-org/GLM-5, 2026-06-10). English prose is typically within a few percent; code and non-Latin scripts tokenize heavier. For billing-exact counts use the vendor's count-tokens API.
| Model | Input /M | Output /M | Effective blended | Context | Best for |
|---|---|---|---|---|---|
| GLM-5 Current | $1.00 cache $0.20 | $3.20 | $0.572 agentic 92/8 | 200K | Cheaper GLM-5 family base |
| GLM-5.1 | $1.40 cache $0.26 | $4.40 | $0.78 +36% | 200K | Flagship agentic coding |
| GLM-5 Turbo | $1.20 cache $0.24 | $4.00 | $0.70 deprecated · +22% | 200K | Delisted August 2026 - kept for reference |
| GLM-4.7 | $0.60 cache $0.11 | $2.20 | $0.358 −37% | 200K | Mid-tier GLM agents |
| GLM-4.7 FlashX | $0.07 cache $0.01 | $0.40 | $0.0511 −11× | 200K | Ultra-cheap GLM traffic |
| GLM-4.7 Flash | Free cache Free | Free | Free free | 200K | Free registered-user tier |
| DeepSeek V4 Pro | $1.32 cache $0.044 | $3.96 | $0.569 same | 1M | DeepSeek frontier discount tier |
| Qwen3.7 Plus | $0.40 | $1.60 | $0.496 −13% · promo | 1M | Qwen coding and agents |
GLM-5 has published scores on 2 benchmarks we track; its best placing is #71 of 105 on ARC-AGI-2. All of these scores come from independent leaderboards, not from the lab.
| Benchmark | Score | Rank | Leader | Source |
|---|---|---|---|---|
| ARC-AGI-2 Reasoning | 4.9% ARC Prize verified, best result | #71 of 105 | GPT-6 Astra · 95% | Official leaderboard ARC Prize Foundation |
| ARC-AGI-1 Reasoning | 44.7% ARC Prize verified, best result | #72 of 99 | 6 tied · 98.5% | Official leaderboard ARC Prize Foundation |
GLM-5 API pricing FAQ.
Practical pricing questions, separated from calculator assumptions and regional tiers.
Q · 01 What is GLM-5 priced at? +
$1/M input and $3.2/M output on the live Z.AI pricing table. Cached input is listed at $0.2/M. This page stores USD per-million-token pricing.Q · 02 How is the effective price calculated? +
$0.57/M.Q · 03 Is prompt caching priced separately? +
$0.2/M versus $1/M fresh input. Cached input storage is listed as limited-time free on the Z.AI page.Q · 04 Are regional prices different? +
Q · 05 Is there a batch discount? +
Q · 06 How accurate is the tokenizer estimate? +
zhipu-tokenizer-estimate chars-per-token estimate for English text. It is useful for rough planning, but actual billing comes from the vendor API usage fields and can differ for Chinese, code, or mixed-language prompts.