# Z.ai: GLM 5.1

Provider: z-ai  
Category: llm  
Model ID: `z-ai/glm-5.1`

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...

## Specs

- Context length: 202752 tokens
- Max output: 65535 tokens
- Modalities: text
- Released: 2026-04-07

## Pricing

- Input: $1.05 per million tokens
- Output: $3.50 per million tokens

## Providers

- **z-ai** — ctx 202752, input $1.05/M, output $3.50/M

---
Last verified: 2026-04-23T23:46:29.618Z  
Canonical URL: https://switchy.build/models/glm-5-1