GLM-5.1
zai/glm-5-1Por Z.AI / Zhipu · família: glm · lançado 2026-03-27 · data de conhecimento: 2025-04
Prices in USD per 1M tokens. Unknown means the provider does not publish per-token pricing.
Capacidades
Model fit scores
0–100 · higher is betterThese scores reward declared capabilities, context size, price and provider availability — they are not benchmark results. Use them as a directional signal alongside your own evaluation.
Coding86
- Tool calling40/40
- Structured output20/20
- Reasoning10/10
- Context window (100K → 1M)6/20
- Provider availability10/10
Agents100
- Tool calling35/35
- Structured output25/25
- Reasoning15/15
- Output token limit15/15
- Provider availability10/10
JSON / structured output88
- Structured output / JSON mode50/50
- Tool calling20/20
- Temperature control10/10
- Price-friendly for high-volume8/20
Cost efficiency48
- Headline price (log-scaled)43/95
- Has prompt-cache pricing5/5
Long context55
- Context window (100K → 2M)45/90
- Has published price for full window10/10
Production-readiness94
- Number of independent providers40/40
- Has published per-token price20/20
- Context window ≥ 8K15/15
- No data inconsistencies across providers4/10
- Official model (not derivative)15/15
Cost Efficiency Index
Open full calculator →Estimated cost using the recommended provider's headline rate. Each scenario fixes average input/output tokens — the assumptions are shown in the third column.
| Scenario | Cost | Assumption |
|---|---|---|
RAG answer per 1,000 RAG answers | $9.20 < $0.01 per request | 5K input tokens (query + 4 retrieved chunks of ~1K each) and a 500-token answer. Typical SaaS knowledge-base bot. |
Support ticket triage per 10,000 tickets | $18.40 < $0.01 per request | 1K input tokens (ticket body + system prompt) and a 100-token JSON classification reply. High-volume customer support. |
Data extraction per 1,000 documents | $5.00 < $0.01 per request | 2K input tokens (a single document page) and a 500-token JSON extraction. ETL / invoice / form pipelines. |
Code review per 1,000 PRs | $15.60 $0.02 per request | 8K input tokens (diff + surrounding files) and a 1K-token review comment. PR-bot workloads. |
Agent step per 1,000 steps | $19.44 $0.02 per request | 12K input tokens (long-running tool history) and a 600-token tool-call decision. Cost per agent step. |
Detalhes de preço
Preço recomendado de zai · glm-5.1
Provedor mais barato: zai-coding-plan · Unknown entrada + Unknown saída
Disponível em 33 provedores
| Provedor | ID do modelo do provedor | Entrada / 1M | Saída / 1M | Contexto | Lançado |
|---|---|---|---|---|---|
| Z.AI zai | glm-5.1 | $1.40 | $4.40 | 200K | 2026-03-27 |
| Z.AI Coding Plan zai-coding-plan | glm-5.1 | Unknown | Unknown | 200K | 2026-03-27 |
| Zhipu AI Coding Plan zhipuai-coding-plan | glm-5.1 | Unknown | Unknown | 200K | 2026-03-27 |
| Zhipu AI zhipuai | glm-5.1 | $6.00 | $24.00 | 200K | 2026-03-27 |
| OpenRouter openrouter | z-ai/glm-5.1 | $1.40 | $4.40 | 203K | 2026-04-07 |
| Vercel AI Gateway vercel | zai/glm-5.1 | $1.40 | $4.40 | 203K | 2026-04-07 |
| Together AI togetherai | zai-org/GLM-5.1 | $1.40 | $4.40 | 203K | 2026-04-07 |
| Deep Infra deepinfra | zai-org/GLM-5.1 | $1.40 | $4.40 | 203K | 2026-04-07 |
| Hugging Face huggingface | zai-org/GLM-5.1 | $1.00 | $3.20 | 203K | 2026-04-03 |
| 302.AI 302ai | glm-5.1 | $0.860 | $3.50 | 200K | 2026-04-10 |
| NanoGPT nano-gpt | zai-org/glm-5.1 | $0.300 | $2.55 | 200K | 2026-03-27 |
| SiliconFlow (China) siliconflow-cn | Pro/zai-org/GLM-5.1 | $1.40 | $4.40 | 205K | 2026-04-08 |
| OpenCode Go opencode-go | glm-5.1 | $1.40 | $4.40 | 203K | 2026-04-07 |
| Alibaba (China) alibaba-cn | glm-5.1 | $0.870 | $3.48 | 203K | 2026-04-14 |
| ZenMux zenmux | z-ai/glm-5.1 | $0.878 | $3.51 | 200K | 2026-04-03 |
| NovitaAI novita-ai | zai-org/glm-5.1 | $1.40 | $4.40 | 205K | 2026-03-27 |
| Weights & Biases wandb | zai-org/GLM-5.1 | $1.40 | $4.40 | 200K | 2026-03-27 |
| DInference dinference | glm-5.1 | $1.25 | $3.89 | 200K | 2026-03-27 |
| Kilo Gateway kilo | z-ai/glm-5.1 | $1.26 | $3.96 | 203K | 2026-03-27 |
| OpenCode Zen opencode | glm-5.1 | $1.40 | $4.40 | 205K | 2026-04-07 |
| Ollama Cloud ollama-cloud | glm-5.1 | Unknown | Unknown | 203K | 2026-03-27 |
| FrogBot frogbot | zai-glm-5-1 | $1.40 | $4.40 | 198K | 2025-01-20 |
| Venice AI venice | zai-org-glm-5-1 | $1.75 | $5.50 | 200K | 2026-04-07 |
| AIHubMix aihubmix | glm-5.1 | $0.845 | $3.38 | 200K | 2026-03-27 |
| Wafer wafer.ai | GLM-5.1 | Unknown | Unknown | 203K | 2026-04-07 |
| Synthetic synthetic | hf:zai-org/GLM-5.1 | $1.00 | $3.00 | 197K | 2026-03-27 |
| Nvidia nvidia | z-ai/glm-5.1 | Unknown | Unknown | 131K | 2026-03-27 |
| Friendli friendli | zai-org/GLM-5.1 | $1.40 | $4.40 | 203K | 2026-04-07 |
| Cortecs cortecs | glm-5.1 | $1.31 | $4.10 | 205K | 2026-04-14 |
| SiliconFlow siliconflow | zai-org/GLM-5.1 | $1.40 | $4.40 | 205K | 2026-04-08 |
| LLM Gateway llmgateway | glm-5.1 | $6.00 | $24.00 | 200K | 2026-03-27 |
| Neuralwatt neuralwatt | zai-org/GLM-5.1-FP8 | $1.10 | $3.60 | 200K | 2026-04-07 |
| HPC-AI hpc-ai | zai-org/glm-5.1 | $0.660 | $2.00 | 202K | 2026-04-08 |
Inconsistências de dados entre provedores
- context_window varies: 131072, 196608, 198000, 200000, 202000, 202752, 204800, 205000
- release_date varies (span 449d): 2025-01-20, 2026-03-27, 2026-04-03, 2026-04-07, 2026-04-08, 2026-04-10, 2026-04-14
- modalities varies across offerings
Os provedores reportam valores diferentes para este modelo. Os dados rápidos acima usam um provedor representativo; consulte a tabela para detalhes por provedor.
Frequently asked questions
How much does GLM-5.1 cost?
GLM-5.1 costs $1.40 per 1M input tokens and $4.40 per 1M output tokens, sourced from zai. Cache reads, audio tokens and >200K-context tiers (where applicable) are listed in the Pricing detail block above.
What is the context window of GLM-5.1?
GLM-5.1 has a context window of 200K tokens, with a max output of 131K tokens per reply. This is the total combined size of prompt + completion.
Does GLM-5.1 support tool calling?
Yes. GLM-5.1 supports tool calling (function calling). This makes it suitable for production agent and automation workloads where the model has to invoke external functions reliably.
Does GLM-5.1 support structured output / JSON mode?
Yes. GLM-5.1 supports structured output / JSON-schema-constrained decoding. This makes it suitable for production agent and automation workloads where the model has to invoke external functions reliably.
Can GLM-5.1 accept image input?
No. GLM-5.1 only accepts text as input. If you need image input, see our /capabilities/vision list for current vision-capable models.
Is GLM-5.1 open-weight?
No. GLM-5.1 is a proprietary model — only Z.AI / Zhipu (and any approved hosting partners) can serve it. The pricing above reflects the cheapest API access.
What are the best alternatives to GLM-5.1?
If GLM-5.1 doesn't fit, consider GLM-5, GLM-4.7, GLM-4.6. Each one targets the same use case — see the Related links below for direct head-to-head pages.
Where does this data come from?
All numbers come from the public models.dev API and are normalised into a single canonical model record. We re-pull daily and write any changes (price, context, capability) to the /changelog page.
Explore more
More Z.AI / Zhipu models
- GLM-5$1.00 in / $3.20 out
- GLM-4.7$0.60 in / $2.20 out
- GLM-4.6$0.60 in / $2.20 out
- GLM-4.7-Flash$0.06 in / $0.40 out
- GLM-4.5$0.60 in / $2.20 out
Capability lists this model is in
Última atualização:
Data is sourced from models.dev and normalized for comparison. Prices and capabilities may change. Always verify critical production decisions with the provider's official documentation.