Enter opens the highlighted result. Esc closes.

GLM 5.1 API pricing

As of October 22, 2026, Z.ai GLM 5.1 costs $1.40 per million input tokens and $4.40 per million output tokens on Z.ai's own API, with cached input at $0.26 per million.

GLM 5.1 benchmarks and specs · Every Z.ai model's price

  • Input, per million tokens$1.40
  • Output, per million tokens$4.40
  • Cached input, per million$0.26
  • Context window205K tokens
  • Max output131K tokens
  • Output speedNot measured

What a request costs

Three fixed token mixes at the list price, without cache or batch discounts. For a whole month, use the calculator.

Cost of three workloads on GLM 5.1
WorkloadTokensOne request1,000 requestsFits the context window
Chat turn 1K input + 500 output tokens $0.0036 $3.60 Yes
Repository review 50K input + 3K output tokens $0.083 $83.20 Yes
Agent loop 200K input + 10K output tokens $0.324 $324.00 No, it would need splitting
Solved coding task One SWE-bench Verified attempt, divided by the share that succeed $0.60 $600.00

Price history

We have read Z.ai's own price every day since October 21, 2026. It has not changed yet; any change will be listed here with its date.

  1. October 21, 2026 First recorded: $1.40 input, $4.40 output

Cheaper models as good as GLM 5.1

Models within two points of GLM 5.1 or above it on the LLMBenchmark Index, with a lower output price. Cheapest first.

GLM 5.1 pricing questions

How much does GLM 5.1 cost per million tokens?
$1.40 per million input tokens and $4.40 per million output tokens, as listed on OpenRouter on October 22, 2026.
Does GLM 5.1 support prompt caching?
Yes. OpenRouter lists cached input at $0.26 per million tokens, against $1.40 for uncached input.
Is there a cheaper model as good as GLM 5.1?
MiMo-V2.6-Flash scores 60.8 on the LLMBenchmark Index, within two points of GLM 5.1 or above it, and costs $0.28 per million output tokens.
Has the price of GLM 5.1 changed?
Not since we started recording it daily on October 21, 2026.