GLM-5.2
Last verified August 3, 2026 · Zhipu pricing ↗$1.40/1M input · $4.40/1M output · 1.0M context · Zhipu
GLM-5.2 costs $1.40 per 1M input tokens and $4.40 per 1M output tokens from Zhipu, with a 1.0M-token context window. A typical chat reply (1,500 tokens in, 400 out) costs $0.0039, or $38.60 per 10,000 requests. On that workload it is cheaper than 66 of the 167 other buyable models tracked here.
Count Tokens
—
Tokens
—
Input Cost
—
Output Cost
Estimate Monthly Cost
Monthly Cost Estimator
Quick:
<$0.0001/mo
Pick a preset above or enter custom usage
What GLM-5.2 Costs Per Request
At $1.40 per 1M input and $4.40 per 1M output tokens, before caching or batch discounts.
| Workload | Input / output tokens | Per request | Per 10,000 requests |
|---|---|---|---|
| Chat reply | 1,500 / 400 | $0.0039 | $38.60 |
| RAG answer over retrieved docs | 8,000 / 600 | $0.014 | $138.40 |
| Coding-agent step | 30,000 / 2,000 | $0.051 | $508.00 |
GLM-5.2 vs Similarly Priced Models
Nearest buyable models by price, with the RAG answer above (8,000 in / 600 out) priced on each.
| Model | Input /1M | Output /1M | Context | RAG answer |
|---|---|---|---|---|
| GLM-5.2 Zhipu | $1.40 | $4.40 | 1.0M | $0.014 |
| GLM-5.3 Zhipu | $1.40 | $4.40 | 1.0M | $0.014 |
| GPT-6.1 Terra OpenAI | $1.00 | $5.00 | 1.1M | $0.011 |
| Claude Haiku 4.5 Anthropic | $1.00 | $5.00 | 200K | $0.011 |
Alternatives to GLM-5.2
Pricing Details
ZhipuMIT-licensed 753B-param MoE, coding-first, 1M-token context. Launched June 13 with only the GLM Coding Plan subscription; the per-token API ($1.40/$4.40, holding GLM 5.1's rate) and open weights landed ~June 16. Cached input $0.26/1M, confirmed on Z.ai's own pricing table 2026-08-03. Z.ai self-reported benchmarks: SWE-Bench Pro 62.1, Terminal-Bench 2.1 81.0, DeepSWE 46.2. No independent third-party eval yet. The 3x peak surcharge (14:00-18:00 Beijing) is not stated on Z.ai's international pricing page; treat it as unconfirmed for the .ai endpoint.
Input / 1M tokens
$1.4
Output / 1M tokens
$4.4
Context Window
1.0M
Max Output
131K
Price History
No price change recorded since 2026-08-03, when this site started tracking this model; it launched on 2026-06-13.
Frequently Asked Questions
Common questions about GLM-5.2 pricing and usage
How much does GLM-5.2 cost?
GLM-5.2 costs $1.4 per 1 million input tokens and $4.4 per 1 million output tokens. This pricing is set by Zhipu.
What tokenizer does GLM-5.2 use?
GLM-5.2 uses the cl100k_base tokenizer. This tokenizer has a vocabulary of ~100,000 tokens and is widely used across many models.
What is GLM-5.2's context window?
GLM-5.2 supports a context window of 1.0M tokens (1,000,000 tokens). The maximum output length is 131K tokens.
How does GLM-5.2 compare to other models?
On an 8,000-token-in, 600-token-out RAG answer, GLM-5.2 costs $0.014 per request. The nearest-priced alternatives cost: GLM-5.3 (Zhipu) $0.014, GPT-6.1 Terra (OpenAI) $0.011, Claude Haiku 4.5 (Anthropic) $0.011. The table above lists their full rates and context windows.
How do I count tokens for GLM-5.2?
Use the token counter at the top of this page or visit the homepage calculator. Paste your text and it will show the exact token count and cost for GLM-5.2 using the cl100k_base tokenizer.
Read More About GLM-5.2
Ox Alpha bills $0 today. Its listing carries a setting that only two of OpenRouter's 422 models share, both of them GLM-5.3, and that setting is what made GLM-5.3 cost 55% more per task than GLM-5.2 on an identical rate card.
August 24, 2026 · 11 min read
GLM-5.3 bills the same $1.40 and $4.40 that GLM-5.2 and GLM-5.1 billed, and finishing a task still costs 55% more than it did. The rate card is the wrong number to be watching.
August 22, 2026 · 11 min read
Claude Opus 4.8 just slipped off the LLM value frontier. A $3 model scores higher on the intelligence index and costs a quarter less to run, and it is not the only flagship the math has passed.
July 23, 2026 · 9 min read