GLM-5.2 API Pricing
GLM-5.2 on DeepInfra costs $0.75 per 1M input tokens and $2.40 per 1M output tokens (as of ).
| Input | $0.75 / 1M tokens |
|---|---|
| Output | $2.40 / 1M tokens |
| Cached input (read) | $0.14 |
| Cache write | — |
| Batch input / output | — |
| Above 200K tokens (input / output) | — |
| Context window | 1.04858M tokens |
| Max output | — tokens |
| Supports | tool calling, reasoning, prompt caching |
| Deprecation date | None listed |
| API model id | zai-org/GLM-5.2 |
| In our records since |
What it costs for common jobs
Estimated from the list price above (no caching or batch discount).
| Job | Estimated cost |
|---|---|
| 1,000 chat replies (2,000 tokens in, 500 out each) | $2.70 |
| Summarising 100 long documents (50,000 in, 1,000 out each) | $3.99 |
| 1 million classification calls (300 in, 5 out each) | $237.00 |
Try your own numbers in the LLM API cost calculator.
Price history
No price change recorded since .
Similarly priced models
| Model | Provider | Input / 1M | Output / 1M | Cached input / 1M | Context |
|---|---|---|---|---|---|
| Seed-2.0-code | DeepInfra | $0.50 | $3.00 | $0.10 | 256K |
| Seed-2.0-pro | DeepInfra | $0.50 | $3.00 | $0.10 | 256K |
| DeepSeek-R1 | DeepInfra | $0.70 | $2.40 | — | 164K |
| Qwen3.5-397B-A17B | DeepInfra | $0.45 | $3.00 | $0.22 | 262K |
| Qwen3.8-27B | DeepInfra | $0.40 | $3.00 | $0.04 | 262K |
| Qwen3.6-27B | DeepInfra | $0.32 | $3.20 | — | 262K |
| Hermes-3-Llama-3.1-405B | DeepInfra | $1.00 | $1.00 | — | 131K |
| GLM-5 | DeepInfra | $0.60 | $2.08 | $0.12 | 203K |