Zhipu AI

GLM 5.1

glm-5.1
  • Reasoning
  • Reasoning change without cache break
  • Structured output
  • Tool use
  • Explicit caching
  • Implicit caching
Input
$1.40
Per 1M tokens
Output
$4.40
Per 1M tokens
Speed
108
tokens / s
Context
200K
tokens
Released
Apr 2026
2 newer versions
Where glm-5.1 runs
DeploymentRegionCostFlexPriorityUltrafastCache readCache writeThroughputCapabilitiesZero data retentionNo training
Alibaba CloudGlobal$1.40 / $4.40N/AN/AN/A$0.14$1.75108 tok/s
  • Reasoning
  • Reasoning change without cache break
  • Structured output
  • Tool use
  • Explicit caching
  • Implicit caching
Zhipu AIGlobal$1.40 / $4.40N/AN/AN/A$0.26$0.00102 tok/s
  • Reasoning
  • Reasoning change without cache break
  • Tool use
  • Implicit caching

Build with GLM 5.1

Visit https://docs.weflayr.com/agents/integration-playbook, then set up Weflayr in this project and use it to call the model "glm-5.1".

Compare with other models

Price and speed is only half the answer. Benchmark models on your calls to find out the other half.

Benchmark on your calls
Filters
  • GLM 5.1
The gateway's models next to glm-5.1
ModelRegionProvidersCostFlexPriorityUltrafastCache readCache writeThroughputContextZero data retentionNo trainingReleased
glm-5.3GlobalUSEU$1.40 / $4.40N/AN/AN/A$0.28N/A334 tok/s1MVaries Aug 2026
mistral-large-4GlobalEU$1.36 / $4.18N/AN/AN/A$0.14N/A162 tok/s1M Oct 2026
qwen4-maxGlobalUS$1.50 / $4.50N/AN/AN/A$0.075$1.875155 tok/s1MVaries Nov 2026
muse-spark-openGlobal$1.25 / $4.25N/AN/AN/A$0.15N/A366 tok/s1M Oct 2026
muse-spark-1.3Global$1.25 / $4.25N/AN/AN/A$0.15N/A353 tok/s1M Sep 2026

Alternatives to GLM 5.1

71 other models with the same capabilities and at least the same context window as GLM 5.1 are available on the Weflayr gateway. Review the most notable ones.

Benchmark GLM 5.1 on your own agent calls

A lower list price says nothing about answer quality. Your evals grade each answer against the one you ship today.

Evaluate models on your own callsExample

Miracle LabsYesterday, 11:34pm_agent

Review all standup recordings from the past week, check if an issue exists for every work item, and create a status report for me.

  • Your agent's answersBaselineBaseline
  • glm-5.1−57% cost Same quality
  • glm-5.3−57% cost Same quality
  • gemini-4-neon+15% cost Better quality
  • deepseek-v4-pro−80% costWorse quality

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 on its cheapest host, Alibaba Cloud, Global. Input read from the cache costs $0.14 per 1M tokens. These are list prices, as the gateway's model list gives them.
What is the context window of glm-5.1?
glm-5.1 takes up to 200,000 tokens of input and writes up to 64,000 tokens in one answer.
Which hosts run glm-5.1?
2 hosts: Alibaba Cloud (Global) and Zhipu AI (Global). To keep a call on one, send its provider and region, for example "provider": "alibaba", "region": "GLOBAL".
Can I run glm-5.1 in the EU?
Not yet. glm-5.1 runs in Global regions only. 52 models that can do the same job run in the EU.
Do the hosts of glm-5.1 keep my data or train on it?
Zero data retention: 1 of its 2 deployments. No training on your data: 2 of 2. Where a host does not say, this page shows it as unknown.
How fast is glm-5.1?
Over the last 24 hours, glm-5.1 wrote a median of 108 output tokens per second on its fastest host, Alibaba Cloud, Global.
What can glm-5.1 do?
glm-5.1 reads text and writes text. It supports reasoning, tool use, structured output, explicit caching and implicit caching.
Is there a cheaper model that does the same job as glm-5.1?
On list price, 38 models can do the same job for less, for a call of 2,000 input and 500 output tokens. The closest in price is mistral-large-4, at 4% less. A price list cannot tell if the answers are as good. A Weflayr benchmark replays your own calls on each model to find out.
Is there a newer version of glm-5.1?
Yes. glm-5.3 is the newest version of its line, released Aug 2026. It lists at $1.40 / $4.40 per 1M tokens.
How do I call glm-5.1?
Point any OpenAI client at https://gateway.weflayr.com/v1 with a Weflayr API key and send "glm-5.1" as the model. Send a list of models to have the next one answer when the first fails. Calls take up to 200K tokens of context.

Put your model teams to work.

Connect Weflayr, benchmark your agents, and gain control over your AI performance.