Zhipu AI/ GLM
GLM-5.1
zhipuai/glm/5-1
Strong GLM coding model for agentic engineering, terminals, and repository generation
Released
2026-04-07
Context window
200K
Max output
131K
Weights
Open weight
Modalities
Input
Text
Output
Text
Identity
- Version
- glm-5.1
- Aliases
- GLM-5.1
Resources
Providers
| Provider | Provider model ID | Protocol | Context | Max output | Input | Output | Capabilities | Notes | Pricing | Streaming |
|---|---|---|---|---|---|---|---|---|---|---|
| Zhipu AI | glm-5.1 | custom | 200K | 131K | Text | Text | ReasoningTool callStructuredTemperatureOpen weight | Interleaved output | input $1.4/M · cache read $0.26/M output $4.4/M · cache write $0/M | Yes |
| GreenPT | glm-5.1 | openai_chat | 200K | 131K | Text | Text | ReasoningTool callStructuredTemperatureOpen weight | - | input $1.756/M output $5.518/M | Yes |
| OpenCode Go | glm-5.1 | openai_chat | 200K | 131K | Text | Text | ReasoningTool callStructuredTemperatureOpen weight | Interleaved output | input $1.4/M · cache read $0.26/M output $4.4/M | Yes |
| Zhipu AI Coding Plan | glm-5.1 | openai_chat | 200K | 131K | Text | Text | ReasoningTool callStructuredTemperatureOpen weight | Interleaved output | input $0/M · cache read $0/M output $0/M · cache write $0/M | Yes |
| CrofAI | glm-5.1 | openai_chat | 200K | 131K | Text | Text | ReasoningTool callStructuredTemperatureOpen weight | Interleaved output | input $0.45/M · cache read $0.08/M output $2.15/M · cache write $0/M | Yes |
| LLM Gateway | glm-5.1 | openai_chat | 200K | 131K | Text | Text | ReasoningTool callStructuredTemperatureOpen weight | Interleaved output | input $0.931/M · cache read $0.173/M output $2.93/M · cache write $0/M | Yes |
| Kenari | glm-5-1 | openai_chat | 200K | 131K | Text | Text | ReasoningTool callStructuredTemperatureOpen weight | - | input $0/M output $0/M | Yes |
| OpenCode Zen | glm-5.1 | openai_chat | 200K | 131K | Text | Text | ReasoningTool callStructuredTemperatureOpen weight | Interleaved output | input $1.4/M · cache read $0.26/M output $4.4/M | Yes |
| 302.AI | glm-5.1 | openai_chat | 200K | 131K | Text | Text | ReasoningTool callStructuredTemperatureOpen weight | Interleaved output | input $0.86/M output $3.5/M | Yes |
| DInference | glm-5.1 | openai_chat | 200K | 131K | Text | Text | ReasoningTool callStructuredTemperatureOpen weight | Interleaved output | input $1.25/M output $3.89/M | Yes |
| EmpirioLabs AI | glm-5-1 | openai_chat | 200K | 131K | Text | Text | ReasoningTool callStructuredTemperatureOpen weight | - | input $0.825/M · cache read $0.165/M output $3.301/M | Yes |
| Alibaba Token Plan | glm-5.1 | openai_chat | 200K | 131K | Text | Text | ReasoningTool callStructuredTemperatureOpen weight | Interleaved output | input $0/M · cache read $0/M output $0/M · cache write $0/M | Yes |
| Wafer | GLM-5.1 | openai_chat | 200K | 131K | Text | Text | ReasoningTool callStructuredTemperatureOpen weight | - | input $1/M · cache read $0.1/M output $3.2/M · cache write $0/M | Yes |
| DigitalOcean | glm-5.1 | openai_chat | 200K | 131K | Text | Text | ReasoningTool callStructuredTemperatureOpen weight | Interleaved output | input $0.975/M · cache read $0.26/M output $4.3/M | Yes |
| Auriko | glm-5.1 | openai_chat | 200K | 131K | Text | Text | ReasoningTool callStructuredTemperatureOpen weight | Interleaved output | input $1.4/M · cache read $0.26/M output $4.4/M | Yes |
| Charm Hyper | glm-5.1 | openai_chat | 200K | 131K | Text | Text | ReasoningTool callStructuredTemperatureOpen weight | - | input $1.52432/M · cache read $0.283088/M output $4.79072/M | Yes |
| Alibaba (China) | glm-5.1 | custom | 200K | 131K | Text | Text | ReasoningTool callStructuredTemperatureOpen weight | Interleaved output | input $0.87/M · cache read $0.17/M output $3.48/M | Yes |
| Alibaba Token Plan (China) | glm-5.1 | openai_chat | 200K | 131K | Text | Text | ReasoningTool callStructuredTemperatureOpen weight | Interleaved output | input $0/M · cache read $0/M output $0/M · cache write $0/M | Yes |
| Ollama Cloud | glm-5.1 | openai_chat | 200K | 131K | Text | Text | ReasoningTool callStructuredTemperatureOpen weight | Interleaved output | - | Yes |
| Z.AI | glm-5.1 | custom | 200K | 131K | Text | Text | ReasoningTool callStructuredTemperatureOpen weight | Interleaved output | input $1.4/M · cache read $0.26/M output $4.4/M · cache write $0/M | Yes |
| Cortecs | glm-5.1 | openai_chat | 200K | 131K | Text | Text | ReasoningTool callStructuredTemperatureOpen weight | Interleaved output | input $1.31/M · cache read $0.24/M output $4.1/M | Yes |
| EBCloud | GLM-5.1 | openai_chat | 200K | 131K | Text | Text | ReasoningTool callStructuredTemperatureOpen weight | Interleaved output | input $0.8571/M output $3.4286/M | Yes |
| OpenRouter | z-ai/glm-5.1 | openai_chat | 200K | 131K | Text | Text | ReasoningTool callStructuredTemperatureOpen weight | Interleaved output, Hugging Face: zai-org/GLM-5.1 | input $0.966/M · cache read $0.1794/M output $3.036/M | Yes |
| CrossModel | z-ai/glm-5.1 | openai_chat | 200K | 131K | Text | Text | ReasoningTool callStructuredTemperatureOpen weight | - | input $1/M · cache read $0.2/M output $3.8/M · cache write $1/M | Yes |
| FastRouter | z-ai/glm-5.1 | openai_chat | 200K | 131K | Text | Text | ReasoningTool callStructuredTemperatureOpen weight | - | input $1.05/M output $3.5/M | Yes |
| ZenMux | z-ai/glm-5.1 | openai_chat | 200K | 131K | Text | Text | ReasoningTool callStructuredTemperatureOpen weight | Interleaved output | input $0.8781/M · cache read $0.1903/M output $3.5126/M | Yes |
| OrcaRouter | z-ai/glm-5.1 | openai_chat | 200K | 131K | Text | Text | ReasoningTool callStructuredTemperatureOpen weight | Interleaved output | input $1.4/M · cache read $0.26/M output $4.4/M · cache write $0/M | Yes |
| TensorX | z-ai/glm-5.1 | openai_chat | 200K | 131K | Text | Text | ReasoningTool callStructuredTemperatureOpen weight | - | input $1.4/M · cache read $0.35/M output $4.4/M · cache write $1.75/M | Yes |
| Kilo Gateway | z-ai/glm-5.1 | openai_chat | 200K | 131K | Text | Text | ReasoningTool callStructuredTemperatureOpen weight | - | input $1.38/M · cache read $0.26/M output $4.4/M | Yes |
Capabilities
ReasoningTool callStructuredTemperatureOpen weight
Official price
input $1.4/M · cache read $0.26/M
output $4.4/M · cache write $0/M