GLM-5.2 API Pricing
GLM-5.2 costs $1.40 per 1M input tokens and $4.40 per 1M output tokens.These rates were last verified on .
Published rates and billing units
| Billing dimension | USD list price |
|---|---|
| Input / 1M tokens | $1.40 |
| Cached input / 1M tokens | $0.26 |
| Output / 1M tokens | $4.40 |
Verified 2026-10-23 · Official source · Pricing methodology. Taxes, optional services and account-specific discounts are not included.
Cost examples
These examples use published list prices only. They exclude taxes, enterprise discounts, minimum charges, retries, batch discounts, and provider-specific billing rules.
1M input + 1M output
$5.80
A direct per-million comparison against every other text model.
100K input + 25K output
$0.25
A compact chat, summarization, or analysis workload.
10M input + 2M output
$22.80
A monthly production estimate for heavier RAG or agent traffic.
75% cached input + 250K output
$1.65
Cached input is about 81% cheaper than standard input at list price.
Calculator for GLM-5.2
Enter your own input, output, and cached-token assumptions. This calculator is preloaded with only GLM-5.2, so the result stays focused on this model.
Input cost
$1.40
Output cost
$4.40
Total
$5.80
Price history
No list-price movement across 128 daily snapshots from 2026-06-18 to 2026-10-23.
When to use GLM-5.2
Good fit
- code generation, debugging, and agentic development work where output quality affects engineering time
- reasoning-heavy prompts, planning, analysis, and multi-step tool use
- long-document and repository-scale prompts where context window matters
Be careful with
- blind migration without testing your own prompts, latency, and failure modes