Home / Models / Z.ai / GLM 5.1

GLM 5.1 pricing and routing profile

GLM 5.1 from Z.ai lists at $1.40 per million input tokens and $4.40 per million output tokens, with a 204,800-token context window. Prices from OpenRouter's catalogue on 2026-09-28.

Input, per 1M tokens$1.40
Output, per 1M tokens$4.40
Cached input, per 1M$0.26
Context window205K
Confidence signalAvailable

Tool callingStructured outputReasoning controlLog probabilities

Cost per 1,000 requests

Request shapeList cost
Classification or routing (600 tokens in, 10 out)$0.884
Chat reply (2,000 in, 400 out)$4.56
Retrieval-augmented answer (8,000 in, 500 out)$13.40

Before prompt caching. Try your own shape in the cost calculator.

Can Gimbix route to it first?

Yes. At least one host return token log probabilities for GLM 5.1, which is the confidence signal Gimbix uses to let a cheaper model answer first.

Cheaper models that can answer first

Models priced below GLM 5.1 that expose a confidence signal. Whether they answer your traffic as well is what a Gimbix pilot measures.

ModelInput / output per 1MCheaper on a chat reply
Grok 4.3$1.25 / $2.5023%
Grok 4.20 Multi-Agent$1.25 / $2.5023%
Grok 4.20$1.25 / $2.5023%
Qwen3 Max Thinking$0.78 / $3.9032%
Qwen3 Max$0.78 / $3.9032%
Grok Build 0.1$1.00 / $2.0039%

Questions

How much does GLM 5.1 cost?

GLM 5.1 lists at $1.40 per million input tokens and $4.40 per million output tokens on OpenRouter as of 2026-09-28. A typical chat reply of 2,000 input and 400 output tokens costs about $4.56 per 1,000 requests.

What is the context window of GLM 5.1?

204,800 tokens.

Can a cheaper model replace GLM 5.1?

Sometimes. Gimbix proves it on your own traffic before routing: the cheaper model must match GLM 5.1 on one half of your requests and make at most three answers worse on the other.