GLM 5.4
GLM-5.4 is Z.ai's flagship model and its first built on a loop transformer architecture. It adds image understanding and stronger all-round coding performance for long-horizon agent tasks.
Model card on Hugging Face- Input / output priceUp to 35% off
$1.40 / $4.40$0.91 / $2.86 per 1M- Context
- 1M tokens
- Released
- Nov 23, 2026
Paste into Claude Code, Cursor, or Codex
Help me set up the Respan gateway: fetch and follow https:/
Providers
10 providers, cheapest first, OpenRouter last, priced per 1M tokens after gateway discounts.
| Provider | Input | Output |
|---|---|---|
Respan35% off respan/glm-5.4 | ||
Prime Intellect prime_intellect/z-ai/glm-5.4 | $1.20/M | $4.00/M |
DeepRelay deeprelay/deeprelay/glm-5.4 | $1.22/M | $3.83/M |
Baseten baseten/zai-org/GLM-5.4 | $1.40/M | $4.40/M |
EmpirioLabs empiriolabs/glm-5-4 | $1.40/M | $4.40/M |
FriendliAI friendliai/zai-org/GLM-5.4 | $1.40/M | $4.40/M |
Mistral mistral/zai-glm-5-4 | $1.40/M | $4.40/M |
Nebius nebius/zai-org/GLM-5.4 | $1.40/M | $4.40/M |
Z.ai zai/glm-5.4 | $1.40/M | $4.40/M |
OpenRouter openrouter/z-ai/glm-5.4 | $1.40/M | $4.40/M |
Is a provider down? Mistral AI status, OpenRouter status
Pricing
Averaged across 10 providers, in USD per 1M tokens after gateway discounts.
- Average input
- $1.31 per 1M
- Average output
- $4.15 per 1M
- Average cache read
- $0.32 per 1M
- Average cache write
- $1.20 per 1M
Cost by volume
Total cost from 0 to 1T tokens on the cheapest and most expensive provider.
Throughput and latency
30-day averages from requests through the Respan gateway. Under each figure, every model on the gateway by its average, this one in blue.
Output speed
Higher is better87tokens/sacross providers
Time to first token
Lower is better7.0sacross providers
Response latency
Lower is better12sacross providers
Compare GLM 5.4: GLM 5.4 vs GLM 5.3
Apps
Use GLM 5.4 in the tools you already run. Each guide points the app at the Respan gateway.
Setup guides for more apps are in the integration docs.
GLM 5.4 FAQ
Short answers, built from the data on this page.
GLM 5.4 is a model from Z.ai, released on Nov 23, 2026. GLM-5.4 is Z.ai's flagship model and its first built on a loop transformer architecture. It adds image understanding and stronger all-round coding performance for long-horizon agent tasks.
On the Respan gateway, GLM 5.4 costs from $0.91 per 1M input tokens and $2.86 per 1M output tokens on Respan, after gateway discounts. Averaged across its 10 providers, it costs $1.31 per 1M input tokens and $4.15 per 1M output tokens.
GLM 5.4 is available through 10 providers: Respan, Prime Intellect, DeepRelay, Baseten, EmpirioLabs, FriendliAI, and 4 more.
GLM 5.4 accepts up to 1M tokens of context on its largest provider route.
Point any OpenAI-compatible SDK at https://gateway.respan.ai/v1 with your Respan API key and set the model to "zai/glm-5.4". To set it up with a coding agent, copy the agent setup prompt at the top of this page.
Certified where it counts.
Built to meet the security and privacy standards that enterprise and healthcare teams require.
ISO 27001
The internationally recognized standard for information security management.
SOC 2
Secure, compliant management of your data across all of our systems.
GDPR
Operated under GDPR, the world's strictest standard for data privacy.
HIPAA
HIPAA compliant, with a BAA available for healthcare teams.