GLM-5.2 is Z.ai’s flagship model for the era of long-horizon tasks. With a truly usable 1M-token context window, it can handle project-level engineering context, execute long-running tasks more reliably, follow engineering standards more consistently, and complete the full development workflow from requirements to multi-platform deployment in a single task.
Pricing
- Input Tokens: $1.1268 /M tokens
- Output Tokens: $3.9438 /M tokens
- Cache Read: $0.2817 /M tokens
Input Modalities
- Text
Output Modalities
- Text
Context length
- 1M tokens
Max output
- 131K tokens
Capabilities
- Thinking
- Streaming
- Tool calling
- Web search
- URL context
- Code interpreter
- Computer use
- File search
- Memory tool
- Structured outputs
- Citations
- Prompt caching
- Background mode
- Server-side sessions
Providers
Alibaba Cloud alicloud-glm-5.2
Pricing$1.1268$3.9438
Cache$0.2817
Context1M
Max output128K
Latency3.6S
Throughput35.8TPS
Uptime
99.54% uptime 2 days ago
100.00% uptime yesterday
99.76% uptime today
Baidu baidu-glm-5.2
Pricing$1.1268$3.9438
Cache$0.2817
Context1M
Max output128K
Latency1.1S
Throughput13.4TPS
Uptime
100.00% uptime 2 days ago
100.00% uptime yesterday
100.00% uptime today
Z.AI zai-glm-5.2
Pricing$1.1268$3.9438
Cache$0.2817
Context1M
Max output128K
Latency1.3S
Throughput12.0TPS
Uptime
100.00% uptime 2 days ago
100.00% uptime yesterday
100.00% uptime today
Deepinfra deepinfra-glm-5.2
Pricing$1.045$3.3001
Cache$0.198
Context1M
Max output128K
Latency0.6S
Throughput22.9TPS
Uptime
100.00% uptime 2 days ago
100.00% uptime yesterday
100.00% uptime today
Novita novita-glm-5-2
36% offPricing$1.1268$0.7212$3.9438$2.524
Cache$0.2817$0.1803
Context1M
Max output128K
Latency1.5S
Throughput11.5TPS
Uptime
100.00% uptime 2 days ago
93.33% uptime yesterday
100.00% uptime today
Tencent tencent-glm-5.2
Pricing$1.238$4.333
Cache$0.3095
Context1M
Max output128K
Latency3.5S
Throughput6.5TPS
Uptime
100.00% uptime 2 days ago
100.00% uptime yesterday
100.00% uptime today
StreamLake streamlake-glm-5-2
Pricing$1.1268$3.9438
Cache$0.2817
Context1M
Max output128K
Latency1.0S
Throughput35.9TPS
Uptime
0.00% uptime 2 days ago
0.00% uptime yesterday
0.00% uptime today
Performance for glm-5.2
Uptime is the percentage of requests that succeeded over the past 72 hours. AIHubMix continuously monitors every provider and automatically retries with the next-best provider when one returns an error or responds too slowly; Latency is total round-trip time (lower is better); Throughput is how fast the model writes (tokens per second, higher is better).
Uptime
Loading...
Latency
Loading...
Throughput
Loading...
Try this model
Python

