Z.ai (Zhipu)GLM-5.1
z-ai/glm-5.1
textcodingreasoning
Z.ai GLM-5.1: GLM flagship chat and reasoning model with strong coding and agent performance.
Pricing
USD per 1M tokens, billed per token. Cached input applies where the provider caches prompts.
- Input
- $0.885
- Output
- $3.54
- Cached input
- $0.192
Specifications
- Context length
- 200K
- Max output tokens
- —
- Input
- text
- Output
- text
- Endpoints
- openai, anthropic
- Released
- Apr 10, 2026
- Alias accepted
- GLM-5.1
Example request
curl https://api.nxioai.com/api/v1/chat/completions \
-H "Authorization: Bearer $NXIO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"z-ai/glm-5.1","messages":[{"role":"user","content":"Hello"}]}'Price history
Every price change opens a new version. Past requests are billed with the version in effect at the time.
| Effective | Until | Input | Output | Cached input | Source |
|---|---|---|---|---|---|
| Oct 6, 2026 | current | $0.885 | $3.54 | $0.192 | sync |