Fresh paint, wet floors — we're rebuilding CostOfToken into a cross-provider price comparison. Some corners are still under construction; the full version is coming up soon.

zai-org/GLM-5.2 pricing

GLM-5.2 is Z-AI's latest flagship model for long-horizon tasks. It marks a substantial leap in long-horizon task capability over its predecessor GLM-5.1 and, for the first time, delivers that capability on a solid 1M-token context . zai-org/GLM-5.2 from DeepInfra costs $0.750 per 1M input tokens and $2.40 per 1M output tokens. Cached input is $0.140 per 1M. Context window 1,048,576 tokens.

API id zai-org/GLM-5.2 · DeepInfra · source · updated 2026-09-25 · general-purpose

$0.750
Input / 1M tokens
$2.40
Output / 1M tokens
$0.140
Cached input / 1M
1M
Context window

zai-org/GLM-5.2 specifications

Provider
DeepInfra
API id
zai-org/GLM-5.2
Model type
general-purpose
Context window
1M tokens
Max output
not published
Currency
USD
Price source
Provider API
Last checked
2026-09-25

What zai-org/GLM-5.2 costs in practice

Estimated cost at common usage volumes
WorkloadInput tokensOutput tokensEstimated cost
Short chat turn1,000500$0.0019
Document summary50,0002,000$0.04
1M tokens in, 200K out1,000,000200,000$1.23

Estimates use the standard tier and ignore caching discounts, so real bills with repeated prompt prefixes are typically lower.

Common questions

How much does zai-org/GLM-5.2 cost per 1M tokens?
zai-org/GLM-5.2 costs $0.750 per 1M input tokens and $2.40 per 1M output tokens on the standard tier. Cached input is $0.140 per 1M.
What is zai-org/GLM-5.2's context window?
zai-org/GLM-5.2 accepts up to 1,048,576 tokens in a single request.
Is there a cheaper DeepInfra model than zai-org/GLM-5.2?
Yes. deepseek-ai/DeepSeek-V4-Flash is $0.090 per 1M input tokens versus $0.750 for zai-org/GLM-5.2, with a 1,048,576 token context window.
Where does this zai-org/GLM-5.2 price come from?
From the OpenRouter catalogue, because DeepInfra does not publish machine-readable pricing. OpenRouter is a reseller, so its rate can differ from DeepInfra's own — verify before committing spend.

Head-to-head comparisons

Other DeepInfra models

See all DeepInfra pricing →