GLM-5.2 is Zhipu AI's language model with a 1.0M context window and up to 262K output tokens, available from 2 providers, starting at $1.40 / 1M input and $4.40 / 1M output. Z.AI's flagship long-horizon autonomous LLM capable of sustained multi-hour task execution with agentic reasoning.
Capabilities
Input1/5
Text✓
Image·
Audio·
Video·
PDF·
Output1/5
Text✓
Image·
Audio·
Video·
Embedding·
Capabilities5/13
Reasoning✓
Adaptive Reasoning·
Function Calling✓
Parallel Function Calling·
Structured Outputs✓
Native JSON Schema✓
Web Search·
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching✓
Assistant Prefill·
Pricing by Provider
US Dollar ($)
Per 1M tokens
| Provider | Standard | ||
|---|---|---|---|
| Input $ / 1M | Output $ / 1M | Cache Read $ / 1M | |
| $1.40 | $4.40 | $0.26 | |
| $1.40 | $4.40 | $0.26 | |
Cost Calculator
US Dollar ($)
Preset:
Versions
| Version | Released | Context | Input / 1M | Output / 1M | Status |
|---|---|---|---|---|---|
| GLM-5.2 | 1.0M | $1.40 | $4.40 | Current | |
| GLM-5V Turbo | 200K | $1.20 | $4.00 | Available | |
| GLM-5 Turbo | 262K | $1.20 | $4.00 | Available | |
| GLM-5.1 Non-Reasoning | — | — | — | — | Available |
| GLM-5 Non-Reasoning | — | — | — | — | Available |
| GLM-5 Code | — | 200K | $1.20 | $5.00 | Available |
| GLM-4.6V Flash | 128K | — | — | Available | |
| GLM-4 32B | 128K | $0.100 | $0.100 | Available | |
| GLM-4.7 FlashX | 200K | $0.060 | $0.400 | Available | |
| GLM-4.7 Non-Reasoning | — | — | — | — | Available |
| GLM-4.6 Reasoning | — | — | — | — | Available |