Zhipu AI

GLM 5

glm-5
  • Reasoning
  • Reasoning change without cache break
  • Structured output
  • Tool use
  • Implicit caching
Input
$1.00
Per 1M tokens
Output
$3.20
Per 1M tokens
Speed
251
tokens / s
Context
200K
tokens
Released
Feb 2026
3 newer versions
Where glm-5 runs
DeploymentRegionCostFlexPriorityUltrafastCache readCache writeThroughputCapabilitiesZero data retentionNo training
Amazon BedrockEUeu-north-1$1.20 / $3.84$0.60 / $1.92$2.10 / $6.72N/AN/AN/A106 tok/s
  • Reasoning
  • Structured output
  • Tool use
Amazon BedrockEUeu-west-2$1.55 / $4.96$0.775 / $2.48$2.713 / $8.68N/AN/AN/A251 tok/s
  • Reasoning
  • Structured output
  • Tool use
Amazon BedrockUSus-east-1$1.00 / $3.20$0.50 / $1.60$1.75 / $5.60N/AN/AN/A162 tok/s
  • Reasoning
  • Structured output
  • Tool use
Amazon BedrockUSus-east-2$1.00 / $3.20$0.50 / $1.60$1.75 / $5.60N/AN/AN/A78 tok/s
  • Reasoning
  • Structured output
  • Tool use
Amazon BedrockUSus-west-2$1.00 / $3.20$0.50 / $1.60$1.75 / $5.60N/AN/AN/A224 tok/s
  • Reasoning
  • Structured output
  • Tool use
Zhipu AIGlobal$1.00 / $3.20N/AN/AN/A$0.20$0.00112 tok/s
  • Reasoning
  • Reasoning change without cache break
  • Tool use
  • Implicit caching

Build with GLM 5

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

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
The gateway's models next to glm-5
ModelRegionProvidersCostFlexPriorityUltrafastCache readCache writeThroughputContextZero data retentionNo trainingReleased
grok-4.3Global$1.25 / $2.50N/AN/AN/A$0.20N/A130 tok/s1M Apr 2026
gpt-5.4-miniGlobalUSEU$0.75 / $4.50$0.375 / $2.25$1.50 / $9.00N/A$0.075N/A276 tok/s272KVariesVariesMar 2026
grok-4.20-non-reasoningGlobal$1.25 / $2.50N/AN/AN/A$0.20N/A452 tok/s1MVariesVariesMar 2026
grok-4.20-reasoningGlobal$1.25 / $2.50N/AN/AN/A$0.20N/A441 tok/s1MVariesVariesMar 2026
gemini-3.8-flashGlobalUSEU$0.75 / $3.75$0.75 / $3.75$2.70 / $13.50N/A$0.15N/A244 tok/s1MVariesVariesSep 2026

Alternatives to GLM 5

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

Benchmark GLM 5 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−69% 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 cost?
glm-5 costs $1.00 per 1M input tokens and $3.20 per 1M output tokens on its cheapest host, Amazon Bedrock, US. These are list prices, as the gateway's model list gives them.
Does glm-5 have other service tiers?
Yes, on Amazon Bedrock, US. Beside its standard $1.00 / $3.20 per 1M tokens, it sells Flex at $0.50 / $1.60 and Priority at $1.75 / $5.60.
What is the context window of glm-5?
glm-5 takes up to 200,000 tokens of input and writes up to 131,100 tokens in one answer.
Which hosts run glm-5?
2 hosts: Amazon Bedrock (EU and US) and Zhipu AI (Global). To keep a call on one, send its provider and region, for example "provider": "bedrock", "region": "us-east-1".
Can I run glm-5 in the EU?
Yes. glm-5 runs in the EU on Amazon Bedrock. To keep a call there, send its provider and region, for example "provider": "bedrock", "region": "eu-north-1".
Do the hosts of glm-5 keep my data or train on it?
Zero data retention: 5 of its 6 deployments. No training on your data: 6 of 6. Where a host does not say, this page shows it as unknown.
How fast is glm-5?
Over the last 24 hours, glm-5 wrote a median of 251 output tokens per second on its fastest host, Amazon Bedrock, EU.
What can glm-5 do?
glm-5 reads text and writes text. It supports reasoning, tool use, structured output and implicit caching.
Is there a cheaper model that does the same job as glm-5?
On list price, 28 models can do the same job for less, for a call of 2,000 input and 500 output tokens. The closest in price is gemini-3.8-flash, at 6% 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?
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?
Point any OpenAI client at https://gateway.weflayr.com/v1 with a Weflayr API key and send "glm-5" 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.