Join the beta

Z.ai · 2026-04-07

GLM 5.1 pricing

GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks.

Prices from OpenRouter’s models API, updated October 29, 2026

Input$1.40per 1M tokens
Output$4.40per 1M tokens
Cached input$0.2681% off input
Context205Ktools · reasoning

What GLM 5.1 costs a month

WorkloadStandard
Support chatbot: 1,000 chats a day, 1,500 tokens in, 400 out$116
Daily summaries: 10,000 a day, 3,000 tokens in, 300 out$1,656
Coding agent: 400 calls a day, 60,000 tokens in (80% cached), 2,000 out$457

30 days. Cached input billed at the cache-read price. Use your own numbers.

Cheaper models with a similar context window

ModelProviderInput /1MOutput /1MCache read /1MContextChatbot, per month*
GLM 5.3 FlashZ.ai$0.046$0.074$0.031.05M$2.95
Mercury 2.5inception$0.04$0.15$0.004260K$3.60
Granite 4.2 8Bibm-granite$0.06$0.15$0.015131K$4.50
Solar Mini 4upstage$0.05$0.20$0.005524K$4.65
Ling 3.0 Flash VLinclusionai$0.06$0.18$0.012131K$4.86

* Support chatbot: 1,000 chats a day, 1,500 tokens in, 400 out, 30 days, no caching. Prices in US dollars per 1M tokens.

Cheaper isn’t automatically as good. Glow’s GlowBench scores models on your kind of task before suggesting a swap.

Other GLM models

ModelInput /1MOutput /1MCache read /1MContextChatbot, per month*
GLM 5.3 Prime$2.80$8.80$0.561M$232
GLM 5.3 FlashX$0.37$1.25$0.091.05M$31.65
GLM 5.3 Flash$0.046$0.074$0.031.05M$2.95
GLM 5.3$0.07$1.40$0.0691.05M$19.95
GLM 5.2$0.006$7$0.0051.05M$84.27
GLM 5V Turbo$1.20$4$0.24203K$102

* Support chatbot: 1,000 chats a day, 1,500 tokens in, 400 out, 30 days, no caching. Prices in US dollars per 1M tokens.

Related

GLM 5.1: questions

How much does GLM 5.1 cost?

$1.40 per 1M input tokens and $4.40 per 1M output tokens, with cached input at $0.26. A 1,000-token prompt with a 500-token answer costs about $0.0036.

What is GLM 5.1’s context window?

204,800 tokens, with up to 131,072 output tokens per response.

Is there a cheaper alternative to GLM 5.1?

GLM 5.3 Flash costs $0.046 in and $0.074 out per 1M tokens with a similar context window. Whether it matches GLM 5.1’s quality depends on the task: test it on your own prompts (Glow’s GlowBench does this per task).

Know what each model really costs you.

Connect OpenRouter and Glow shows spend by model, key and product, and flags the swap that saves the most at the same quality.

One email when your invite is ready. No spam, unsubscribe any time.

  • Read-only keys
  • Never shown again
  • 2FA + Face ID
  • 7-day trial