New
GLM-5.2 · 1M tokens
The generation GLM-5.3 builds on. Open-source state of the art for coding from generation through to delivery, with the same 1M-token context window.
What you get
- 1M tokens for every unit you buy. Order several units to stack quota.
- A personal access key for
glm-5.2, issued automatically once your order is completed. - No shipping: delivery is digital, under My Account > Order History and by email.
Capabilities
- Open source SOTA
- Coding
- Tool calls
- Reasoning
Best for
Teams standardising on GLM-5.2 before moving to 5.3.
Quick start
from zai import ZaiClient
client = ZaiClient(api_key="YOUR_ACCESS_KEY", base_url="YOUR_BASE_URL")
response = client.chat.completions.create(
model="glm-5.2",
messages=[{"role": "user", "content": "Hello"}],
reasoning_effort="max",
)
print(response.choices[0].message.content)
| Model Specs | |
| Model ID | glm-5.2 |
| Context Window | 1M tokens |
| Max Output | 128K tokens |
| Modalities | Text in / text out |
| Capabilities | Open source SOTA, Coding, Tool calls, Reasoning |
| Best For | Teams standardising on GLM-5.2 before moving to 5.3 |
| Unit Size | 1M tokens |
$4.40
10 or more $4.18
50 or more $3.96
Virtual product
Instant digital delivery · No shipping
- API model:
glm-5.2 - Each unit: 1M tokens
Your access key is issued automatically once payment is completed and appears under My Account > Order History.