GLM-5.4 is Z.ai's first flagship model with native vision capabilities, featuring Z.ai's first Loop Transformer architecture with enhanced reasoning and generalized coding capabilities.
Ways to buy 7
| Way to buy | Input | Output | In / out per 1M | Cached | Vs cheapest |
|---|---|---|---|---|---|
| PrimeIntellect Default region · cached $0.1 | $1.2 | $4 | $1.2 / $4Cheapest | $0.1 | Cheapest |
fp8 · cached $0.18 | $1.4 | $4.4 | $1.4 / $4.4+13% vs cheapest | $0.18 | +13% vs cheapest |
fp8 · cached $0.26 | $1.4 | $4.4 | $1.4 / $4.4+13% vs cheapest | $0.26 | +13% vs cheapest |
zdr · cached $0.26 | $1.4 | $4.4 | $1.4 / $4.4+13% vs cheapest | $0.26 | +13% vs cheapest |
| Inferact vLLM Default region · cached $0.26 | $1.4 | $4.4 | $1.4 / $4.4+13% vs cheapest | $0.26 | +13% vs cheapest |
Default region · cached $0.26 | $1.4 | $4.4 | $1.4 / $4.4+13% vs cheapest | $0.26 | +13% vs cheapest |
fp8 · cached $0.26 | $1.4 | $4.4 | $1.4 / $4.4+13% vs cheapest | $0.26 | +13% vs cheapest |
USD per 1M tokens. Regions are separate routes.
Through a gateway
Your own numbers100M input and 20M output tokens a month: $200.00 direct.
LiteLLM$200.00+0%
Vercel AI Gateway$200.00+0%
Requesty$210.00+5%
Eden AI$211.00+5.5%
OpenRouter$211.00+5.5%
Cloudflare AI GatewayNot offeredNot offered
HeliconeNot offeredNot offered
Kong AI GatewayNot offeredNot offered
Neon AI GatewayNot offeredNot offered
TrueFoundry AI GatewayNot offeredNot offered
A dash: not on that gateway's own model list. No published token fee: Martian Gateway, Portkey.
Related models
| In / out per 1M | Cheapest route | |||||||
|---|---|---|---|---|---|---|---|---|
Z.ai · 1M | $0.37 | $1.25 | $0.37 / $1.25 | $0.59 | 1M | Lab list price | · | GLM-5.3-FlashX-Legal (GLM-Legal) is Z.ai's legal-domain variant of GLM-5.3-FlashX, a native multimodal model that accepts text, image, and video input and produces text. |
Z.ai · 1M | $1.68 | $5.28 | $1.68 / $5.2840% | $2.58 | 1M | Lab list price | 40% | GLM-5.3-Prime is the high-speed variant of Z.ai's GLM-5.3, inheriting its full capabilities while delivering 1.5–2× the output throughput through inference acceleration. |
Z.ai · 1M | $0.37 | $1.25 | $0.37 / $1.25 | $0.59 | 1M | Lab list price | · | GLM-5.3-FlashX is the high-speed variant of Z.ai's GLM-5.3-Flash, a native multimodal model delivering inference speeds of up to 200 tokens/s. |
Z.ai · 1M | $0.036 | $0.082 | $0.036 / $0.082 | $0.047 | 1M | on Relace (fp4) | · | GLM-5.3-Flash is a native multimodal model from Z.ai. |
Google · 1MCheapest: $2 on Google Gemini API (flex) | $2 | $10 | $2 / $10 | $4 | 1M | $2 on Google Gemini API (flex) | · | Gemini 4 Carbon is a frontier Gemini 4 model from Google for coding, agentic and complex reasoning work. |
Google · 1MCheapest: $2 on Google Gemini API (flex) | $2 | $10 | $2 / $10 | $4 | 1M | $2 on Google Gemini API (flex) | · | Gemini 4 Argon is Google's flagship reasoning model, built for complex software engineering, deep mathematical and scientific problem solving, and autonomous multi-step agents. |
OpenAI · 1.05MCheapest: $2 on OpenAI (flex) | $2 | $10 | $2 / $10 | $4 | 1.05M | $2 on OpenAI (flex) | · | GPT-6.1 Sol is an upgrade to GPT-6 Sol from OpenAI, positioned below the flagship GPT-6 Astra in the GPT-6 series. |
Google · 1MCheapest: $1.5 on Google Gemini API (flex) | $1.5 | $7.5 | $1.5 / $7.5 | $3 | 1M | $1.5 on Google Gemini API (flex) | · | Gemini 4 Hydrogen is the high-efficiency workhorse model of the Gemini 4 family from Google, built for high-throughput agentic workflows, coding and multi-model routing at lower cost and latency than... |
About GLM 5.4
Takes text, image, video in and returns text. First listed Dec 3, 2026. Up to 944K output tokens. Blended price $1.9 per 1M tokens at 3 input to 1 output. Model id glm-5-4.
Price history
No list-price history: this model is sold by hosts rather than its lab.
Questions
How much does GLM 5.4 cost?
$1.2 per million input tokens and $4 per million output tokens, with cached input at $0.1.
What is the context window of GLM 5.4?
1M tokens, with up to 944K tokens of output.
Where is GLM 5.4 cheapest?
Of 7 routes tracked, PrimeIntellect is cheapest at $1.2 input and $4 output per million tokens.