New
GLM-5.1 · 1M tokens
Coding proficiency aligned with Opus 4.6, and able to work independently and consistently for up to eight hours on one task without losing the thread.
What you get
- 1M tokens for every unit you buy. Order several units to stack quota.
- A personal access key for
glm-5.1, issued automatically once your order is completed. - No shipping: delivery is digital, under My Account > Order History and by email.
Capabilities
- Agentic coding
- 8-hour runs
- Tool calls
- Reasoning
Best for
Long autonomous coding sessions on a single task.
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.1",
messages=[{"role": "user", "content": "Hello"}],
reasoning_effort="max",
)
print(response.choices[0].message.content)
| Model Specs | |
| Model ID | glm-5.1 |
| Context Window | 200K tokens |
| Max Output | 128K tokens |
| Modalities | Text in / text out |
| Capabilities | Agentic coding, 8-hour runs, Tool calls, Reasoning |
| Best For | Long autonomous coding sessions on a single task |
| 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.1 - Each unit: 1M tokens
Your access key is issued automatically once payment is completed and appears under My Account > Order History.