GLM-5.1 pricing & specs

Z.AI (Zhipu) · released 2026-04-07 · ● verified 2026-10-11

input / 1M$1.40
output / 1M$4.40
context200K
max output131.1K

// price history ($/1M tokens)

$5.06
input $/1Moutput $/1M2026-04-08 → 2026-10-11

// cheaper or similar alternatives

modelinoutctxvs GLM-5.1
Gemma 4 E2B IT$0.04$0.08131.1K−97.7%
Qwen3.7 Flash$0.03$0.131M−97.4%
Qwen Turbo$0.05$0.201M−95.9%
DeepSeek V4 Flash 0731$0.06$0.181.05M−95.8%
GPT OSS 120B$0.05$0.25131.1K−95.3%

// price by host

hostin $/1Mout $/1M
Baseten$1.30$4.30
Novita AI$1.38$4.40

// faq

How much does GLM-5.1 cost?

GLM-5.1 costs $1.40 per million input tokens and $4.40 per million output tokens. At 50M input and 10M output tokens per month that is about $114.

What is the context window of GLM-5.1?

200K tokens, with up to 131.1K output tokens per request.

Does GLM-5.1 support prompt caching?

Yes. Cached input tokens cost $0.26 per million and cache writes cost $0 per million.

What are cheaper alternatives to GLM-5.1?

Gemma 4 E2B IT ($0.04 in / $0.08 out), Qwen3.7 Flash ($0.03 in / $0.13 out), Qwen Turbo ($0.05 in / $0.20 out) offer the same input types and capabilities for less.

Is GLM-5.1 open weights?

Yes. It is available from 2 tracked hosts; the cheapest is Baseten at $1.30 input and $4.30 output per million tokens.

// spec sheet

input / 1M
$1.40
output / 1M
$4.40
cache read / 1M
$0.26
cache write / 1M
$0
blended (3:1)
$2.15
context
200K
max output
131.1K
input types
text
reasoning
yes
tool calling
yes
structured output
yes
open weights
yes
knowledge cutoff
n/a
price source
Z.AI (Zhipu)

report a data error

// cost calculator

modelin $/1Mout $/1M= monthly
Gemma 4 E2B IT$0.04$0.08$2.80
Qwen3.7 Flash$0.03$0.13$2.80
Qwen Turbo$0.05$0.20$4.50
GLM-5.1$1.40$4.40$114

Base-tier list prices. Long-context tiers, caching and batch discounts are not included.