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
| Workload | Input tokens | Output tokens | Estimated cost |
|---|---|---|---|
| Short chat turn | 1,000 | 500 | $0.0019 |
| Document summary | 50,000 | 2,000 | $0.04 |
| 1M tokens in, 200K out | 1,000,000 | 200,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
- XiaomiMiMo/MiMo-V2.6-Flash $0.140
- anthropic/claude-fable-5 $10.00
- Qwen/Qwen3-VL-235B-A22B-Instruct $0.200
- Qwen/Qwen3-14B $0.120
- Qwen/Qwen3-Max-Thinking $1.20
- ByteDance/Seed-2.0-mini $0.100
- deepseek-ai/DeepSeek-V4-Flash-0731 $0.060
- zai-org/GLM-5.3-Flash $0.150
- anthropic/claude-opus-5-5 $4.00
- meta-llama/Llama-4-Scout-17B-16E-Instruct $0.100
- ibm-granite/granite-4.2-8b $0.060
- Qwen/Qwen3-30B-A3B $0.120
- openai/gpt-oss-120b-Ultra $0.200
- ByteDance/Seed-2.0-pro $0.500
- thinkingmachines/Inkling $0.950
- zai-org/GLM-4.6 $0.500