chooseaimodel
← All models
Balancedstrong quality at a mid priceOpen Weights

GLM 5.1 Pricing

Z.ai · z-ai-glm-5-1

ShareXFacebookLinkedIn
Input / 1M tokens
$0.966
Output / 1M tokens
$3.04
Context window
204,800 tokens
273 pages of text
Max output
128k tokens

What it costs in practice

Estimate your own workloadOpens the calculator with GLM 5.1 preloaded — adjust volume and token counts there.

Price history

List price per 1M tokens since we started tracking in Jun 2026. Each step marks a price change — hover a point for the exact date and rate.

What it excels at

Supports extended context up to 200k tokens for document and codebase analysis. Open weights enable local deployment and fine-tuning.

The business tradeoff

Smaller ecosystem and tooling compared with major closed providers. Self-hosted deployments introduce variable latency and infrastructure costs.

Cheaper from Z.ai

Same tier from other providers

Head-to-head

Vendor list rates, as of Jul 3, 2026 · source: openrouter · per-request examples assume 1,200 input + 400 output tokens.