Back to Models
Z.ai: GLM 5.1
z-ai/glm-5.1Apr 7, 2026202.8K context131.1K max output$1.40/M in · $4.40/M outReasoning
Description
GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on a single task for more than 8 hours, autonomously planning, executing, and improving itself throughout the process, ultimately delivering complete, engineering-grade results.
Specifications
Provider
z-ai
Context Length
202.8K
Max Output
131.1K
Modality
Intext
Outtext
Pricing
| Type | Price / 1M tokens |
|---|---|
| Input | $1.40 |
| Output | $4.40 |
| Cache Read | $0.26 |
Quick Start
curl https://api.ominigate.ai/v1/chat/completions \
-H "Authorization: Bearer sk-omg-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "z-ai/glm-5.1",
"messages": [{"role": "user", "content": "Hello!"}]
}'