// z-ai
GLM 5.1
z-ai/glm-5.1
GLM 5.1 costs $0.966 per 1M input tokens and $3.04 per 1M output tokens with a 205K-token context window.
A reasoning, tool-calling model from z-ai, released Apr 7, 2026. LiveBench hasn't published a run for it, so this page carries measured price and specs only — no benchmark numbers.
- Input / 1M
- $0.966
- Output / 1M
- $3.04
- Context
- 205K
- LiveBench overall
- Not evaluated
Specs and pricing
| Input price USD per 1M prompt tokens | $0.966 |
|---|---|
| Output price USD per 1M completion tokens, reasoning included | $3.04 |
| Blended price 3:1 input:output — #112 most expensive of 343 listed models | $1.48 |
| Cached input read Blank means not priced separately — not free | $0.179 |
| Cache write | — |
| Context window | 204,800 tokens |
| Max output | 128,000 tokens |
| Input modalities | text |
| Tool calling | Yes |
| Extended reasoning | Yes |
| Knowledge cutoff | — |
| Listed | Apr 7, 2026 |
What GLM 5.1 costs to run
Monthly list cost across five workload shapes, using the published cached-input rate where there is one. A floor, not a quote — batch discounts and cache writes aren't included.
| Workload | Per month |
|---|---|
| Support chatbot 1.2K in / 400 out × 200K requests | $418.08/mo |
| RAG assistant 8K in / 600 out × 100K requests | $640.32/mo |
| Coding agent 40K in / 4K out × 20K requests | $575.18/mo |
| Document extraction 20K in / 1.5K out × 50K requests | $1,154/mo |
| Bulk classification 500 in / 20 out × 5M requests | $2,325/mo |
Compare GLM 5.1 with
Benchmarked models at a similar price.
GLM 5.1 vs Gemini 3.7 Flash
GLM 5.1 vs Gemini 3.6 Flash
x-ai
GLM 5.1 vs SpaceXAI: Grok 4.3
moonshotai
GLM 5.1 vs Kimi K2.7 Code
openai
GLM 5.1 vs GPT-5.4 Mini
GLM 5.1 FAQ
How much does GLM 5.1 cost?
GLM 5.1 lists at $0.966 per 1M input tokens and $3.04 per 1M output tokens, with cached input reads at $0.179 per 1M. A RAG assistant handling 100K requests a month (8K tokens in, 600 out) comes to about $640.32 at list price.
What is the context window of GLM 5.1?
GLM 5.1 accepts up to 204,800 tokens of context and can return up to 128,000 output tokens per response.
Does GLM 5.1 support tool calling?
Yes — GLM 5.1 supports tool (function) calling and exposes extended reasoning. It accepts text input.
How does GLM 5.1 score on benchmarks?
LiveBench has not published a run for GLM 5.1 yet. Until it does, compare it on price and specs, or run your own evaluation on your own tasks.
What is the API model ID for GLM 5.1?
On OpenRouter the model ID is "z-ai/glm-5.1". It was listed on Apr 7, 2026.
More from z-ai
How these numbers are produced
- Price and specs — provider list data from OpenRouter, refreshed every 15 minutes. “Blended” is a 3:1 input:output mix.
- Scores and ranks — LiveBench release 2026-06-25. Ranks count only models that have a published run; a blank means “not evaluated”, never “bad”.
- Cost per point — the measured dollars LiveBench spent on the run, divided by the score it earned.
Published benchmarks rank models on someone else's tasks. Before committing, see LLM & agent evaluation for building an eval on your own.