GLM-5.1 pricing, context window and limits
GLM-5.1 costs $0.8964 per million input tokens and $3.5855 per million output tokens at Zhipu GLM list price. It accepts up to 200,000 tokens of context and returns up to 131,072 tokens.
- Model id
glm-5.1 - Snapshot
What does GLM-5.1 cost?
| Input | $0.8964 |
|---|---|
| Output | $3.5855 |
| Cached input (read) | $0.1942 |
| Cache write | $0 |
US dollars per million tokens. A dash means no price is published.
How much can GLM-5.1 read and write?
| Context window | 200,000 |
|---|---|
| Max output | 131,072 |
What can GLM-5.1 do?
| Vision (image input) | No |
|---|---|
| Tool calling | Yes |
| Structured output | Yes |
| Reasoning | Yes |
| Input | text |
| Output | text |
What does a request to GLM-5.1 cost?
| A typical request: 1,000 tokens in, 500 out | $0.0027 |
|---|---|
| A long request: 10,000 tokens in, 1,000 out | $0.013 |
| 1,000 typical requests | $2.69 |
| 1 million tokens in and 1 million out | $4.48 |
Input read from the provider's prompt cache costs $0.1942 per million tokens instead of $0.8964, 78% less. A request that repeats a 1,000-token prompt from the cache costs $0.002 instead of $0.0027.
Among 17 Zhipu GLM models with a published price, GLM-5.1 is the 15th cheapest by input price. Its context window is the 8th largest of 17. List prices only; discounts, batch prices and prices above 200K tokens are not shown.
How do I add GLM-5.1 to Flightdeck?
Copy this, open the provider's Models page in Flightdeck, paste it into Paste JSON, check the form and save. Release the model once the prices are right.
{
"provider": "chatglm",
"model": "glm-5.1",
"name": "GLM-5.1",
"inputPerMillion": 0.89637,
"outputPerMillion": 3.58548,
"cacheReadPerMillion": 0.19421,
"cacheWritePerMillion": 0,
"contextTokens": 200000,
"outputTokens": 131072,
"tools": true,
"reasoning": true,
"structuredOutput": true,
"inputModalities": [
"text"
],
"outputModalities": [
"text"
]
}How do I call GLM-5.1 through DVARA?
Configure the chatglm provider in the DVARA LLM Gateway and send the model id glm-5.1. DVARA, the AI gateway, applies your policies, audit and cost attribution to the call. See LLM cost attribution and budgets.
In DVARA, if you haven't set your own price for a model, its calls are costed at the price in the catalogue that ships with your DVARA version. A price you set in Flightdeck always wins. You can switch catalogue prices off. Then a model with no price you set gets no cost record: its calls count against no budget and appear in no report, and the gateway records the model as unpriced. Every cost record says which price it used.
What should I check before relying on this data?
The weekly review marked this entry. A person saw each mark and kept the model listed.
- The provider charges more above 200K tokens of input; the table shows the base price.
- The price differs by more than 1% from another published price list.
Which other Zhipu GLM models are there?
- GLM-5$0.5976 in · $2.6891 out · 205K context
- GLM-5.2$1.1952 in · $4.1831 out · 1M context
- GLM-4.7-FlashX$0.0747 in · $0.4482 out · 200K context
- GLM-5.3$1.1952 in · $4.1831 out · 1M context
- GLM-4.7-Flash$0 in · $0 out · 200K context
- GLM-5.3-Flash$0.1195 in · $0.4183 out · 1M context
- GLM-4.7$0.4482 in · $2.0915 out · 205K context
- GLM-5.3-FlashX$0.2988 in · $1.0458 out · 1M context
- GLM-4.6V-Flash$0 in · $0 out · 128K context
- GLM-5V-Turbo$0.747 in · $3.2867 out · 200K context
- GLM-4.6V$0.1494 in · $0.4482 out · 128K context
- GLM-4.6$0.6 in · $2.2 out · 205K context
Which models from other providers are similar to GLM-5.1?
These are the closest in context window and input price, one per provider.
- Claude Haiku 4.5 (latest)Anthropic · $1 in · $5 out · 200K context
- Claude Haiku 4.5 (Global)Amazon Bedrock · $1 in · $5 out · 200K context
- Qwen3-Coder 480B-A35B InstructAlibaba Qwen · $0.861 in · $3.441 out · 262K context
- Kimi K2.6Moonshot AI · $0.9711 in · $4.0337 out · 262K context
- Qwen3.8 27BGroq · $0.8 in · $4 out · 131K context