New
GLM-5 · 1M tokens
Built for agentic long-term planning and execution, with particular strength in backend refactoring and deep debugging work.
What you get
- 1M tokens for every unit you buy. Order several units to stack quota.
- A personal access key for
glm-5, issued automatically once your order is completed. - No shipping: delivery is digital, under My Account > Order History and by email.
Capabilities
- Agentic planning
- Refactoring
- Debugging
- Tool calls
Best for
Backend refactoring and in-depth debugging.
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",
messages=[{"role": "user", "content": "Hello"}],
reasoning_effort="max",
)
print(response.choices[0].message.content)
| Model Specs | |
| Model ID | glm-5 |
| Context Window | 200K tokens |
| Max Output | 128K tokens |
| Modalities | Text in / text out |
| Capabilities | Agentic planning, Refactoring, Debugging, Tool calls |
| Best For | Backend refactoring and in-depth debugging |
| Unit Size | 1M tokens |
$3.20
10 or more $3.04
50 or more $2.88
Virtual product
Instant digital delivery · No shipping
- API model:
glm-5 - Each unit: 1M tokens
Your access key is issued automatically once payment is completed and appears under My Account > Order History.