qwen
// z-ai
GLM 5.2
z-ai/glm-5.2
GLM 5.2 costs $0.650 per 1M input tokens and $2.04 per 1M output tokens with a 1.0M-token context window.
A reasoning, tool-calling model from z-ai, released Jun 16, 2026. On LiveBench it scores 73.2 overall — #36 of 55 benchmarked models — and ranks highest in coding (#17).
- Input / 1M
- $0.650
- Output / 1M
- $2.04
- Context
- 1.0M
- LiveBench overall
- 73.2 · #36
Specs and pricing
| Input price USD per 1M prompt tokens | $0.650 |
|---|---|
| Output price USD per 1M completion tokens, reasoning included | $2.04 |
| Blended price 3:1 input:output — #141 most expensive of 343 listed models | $0.998 |
| Cached input read Blank means not priced separately — not free | $0.121 |
| Cache write | — |
| Context window | 1,048,576 tokens |
| Max output | 131,072 tokens |
| Input modalities | text |
| Tool calling | Yes |
| Extended reasoning | Yes |
| Knowledge cutoff | — |
| Listed | Jun 16, 2026 |
Also listed as z-ai/glm-5.2:free (Free blended)— the same model at a different price or rate limit.
Benchmarks by category
LiveBench scores out of 100, with GLM 5.2's rank among the 55 benchmarked models listed here. Run: glm-5.2.
$0.0342 measured per point
What GLM 5.2 costs to run
Monthly list cost across five workload shapes, using the published cached-input rate where there is one. A floor, not a quote — batch discounts and cache writes aren't included.
| Workload | Per month |
|---|---|
| Support chatbot 1.2K in / 400 out × 200K requests | $281.15/mo |
| RAG assistant 8K in / 600 out × 100K requests | $430.59/mo |
| Coding agent 40K in / 4K out × 20K requests | $386.79/mo |
| Document extraction 20K in / 1.5K out × 50K requests | $776.27/mo |
| Bulk classification 500 in / 20 out × 5M requests | $1,564/mo |
Compare GLM 5.2 with
The benchmarked models closest to it on overall score.
anthropic
GLM 5.2 vs Claude Sonnet 4.6
openai
GLM 5.2 vs GPT-5.6 Luna
GLM 5.2 vs Gemini 3.6 Flash
anthropic
GLM 5.2 vs Claude Opus 4.5
openai
GLM 5.2 vs GPT-5.2-Codex
GLM 5.2 FAQ
How much does GLM 5.2 cost?
GLM 5.2 lists at $0.650 per 1M input tokens and $2.04 per 1M output tokens, with cached input reads at $0.121 per 1M. A RAG assistant handling 100K requests a month (8K tokens in, 600 out) comes to about $430.59 at list price.
What is the context window of GLM 5.2?
GLM 5.2 accepts up to 1,048,576 tokens of context and can return up to 131,072 output tokens per response.
Does GLM 5.2 support tool calling?
Yes — GLM 5.2 supports tool (function) calling and exposes extended reasoning. It accepts text input.
How does GLM 5.2 score on benchmarks?
On LiveBench release 2026-06-25 (run: glm-5.2), GLM 5.2 scores 73.2 overall, ranking #36 of 55 benchmarked models.
What is the API model ID for GLM 5.2?
On OpenRouter the model ID is "z-ai/glm-5.2". It was listed on Jun 16, 2026.
More from z-ai
How these numbers are produced
- Price and specs — provider list data from OpenRouter, refreshed every 15 minutes. “Blended” is a 3:1 input:output mix.
- Scores and ranks — LiveBench release 2026-06-25. Ranks count only models that have a published run; a blank means “not evaluated”, never “bad”.
- Cost per point — the measured dollars LiveBench spent on the run, divided by the score it earned.
Published benchmarks rank models on someone else's tasks. Before committing, see LLM & agent evaluation for building an eval on your own.