GLM-5.2 is Zhipu AI's language model with a 1.0M context window and up to 262K output tokens, available from 20 providers, starting at $0.61 / 1M input and $1.98 / 1M output. Z.AI's flagship long-horizon autonomous LLM capable of sustained multi-hour task execution with agentic reasoning.
| Benchmarks | |
|---|---|
| Intelligence Index | #29 |
| Coding Index | #31 |
| GPQA | #54 |
| HLE | #26 |
| IFBench | #41 |
| Time to First Token | #427 |
| SciCode | #37 |
| LCR | #49 |
| TerminalBench Hard | #14 |
| TAU2 | #2 |
| Output TPS | #106 |
Capabilities
Input1/5
Text✓
Image·
Audio·
Video·
PDF·
Output1/5
Text✓
Image·
Audio·
Video·
Embedding·
Capabilities8/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 | Fast | Batch | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Input $ / 1M | Output $ / 1M | Cache Read $ / 1M | Cache Write 5m $ / 1M | Input $ / 1M | Output $ / 1M | Cache Read $ / 1M | Input $ / 1M | Output $ / 1M | |
| $1.40 | $4.40 | $0.28 | N/A | — | — | — | $0.7 | $2.20 | |
| $1.54 | $4.84 | $0.15 | N/A | — | — | — | — | — | |
| $1.40 | $4.40 | $0.26 | $1.40 | — | — | — | — | — | |
| $0.75 | $2.40 | $0.14 | N/A | — | — | — | — | — | |
| $1.40 | $4.40 | $0.14 | N/A | — | — | — | — | — | |
| $1.40 | $4.40 | $0.14 | N/A | — | — | — | — | — | |
| $1.40 | $4.40 | N/A | N/A | — | — | — | — | — | |
| $2.05 | $6.27 | N/A | N/A | — | — | — | — | — | |
| $1.40 | $4.40 | $0.14 | N/A | — | — | — | $0.7 | $2.20 | |
| $1.40 | $4.40 | N/A | N/A | — | — | — | — | — | |
| $1.40 | $4.40 | $0.26 | N/A | — | — | — | — | — | |
| $0.966 | $3.04 | $0.193 | N/A | — | — | — | — | — | |
| $1.40 | $4.40 | $0.14 | N/A | — | — | — | — | — | |
| $1.40 | $4.40 | $0.28 | N/A | — | — | — | — | — | |
| $1.40 | $4.40 | $0.28 | N/A | — | — | — | — | — | |
| $1.80 | $5.50 | N/A | N/A | — | — | — | — | — | |
| $0.61 | $1.98 | $0.22 | N/A | — | — | — | — | — | |
| $1.40 | $4.40 | $0.26 | N/A | — | — | — | — | — | |
| $0.8 | $2.55 | $0.16 | N/A | N/A | N/A | N/A | — | — | |
| — | — | — | — | $2.10 | $6.60 | $0.21 | — | — | |
| $0.76 | $2.42 | $0.14 | N/A | — | — | — | — | — | |
| $1.40 | $4.40 | $0.26 | N/A | — | — | — | — | — | |
Cost Calculator
US Dollar ($)
Preset:
Cheapest Instances to Run It
Cloud GPU instances that can host GLM-5.2, ranked by cheapest on-demand price. The model needs about 1808 GB of GPU memory at FP16 precision (estimated from its parameter count), so treat the fit as guidance rather than a guarantee.
All clouds
FP16 (full precision)
US Dollar ($)
Instance | Cloud | GPU | VRAM | Price | Cheapest region |
|---|---|---|---|---|---|
| p6-b300.48xlarge | 8× B300 | 2149 GB | $142.42/hr |
Versions
| Version | Released | Context | Input / 1M | Output / 1M | Status |
|---|---|---|---|---|---|
| GLM-5.3 Flash | 1.3M | $0.075 | $0.250 | Available | |
| GLM-5.3 | 1.3M | $0.700 | $2.20 | Available | |
| GLM-5.3 (50% off) | 1.0M | $0.700 | $2.20 | Available | |
| GLM-5.2 Fast | 1.0M | $2.10 | $6.60 | Available | |
| GLM-5.2 | 1.0M | $0.610 | $1.98 | Current | |
| GLM-5V Turbo | 205K | $1.20 | $4.00 | Available | |
| GLM-5 Turbo | 203K | $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-5.1 Fast | — | 203K | $2.80 | $8.80 | Available |