Home › Providers › z-ai › Z.ai: GLM 5.4

Z.ai: GLM 5.4 API Pricing

Z.ai: GLM 5.4 is an API model from z-ai. It costs $1.4 per 1M input tokens and $4.4 per 1M output tokens, with cached input at $0.26. Its context window is 1,048,576 tokens with up to 943,718 output tokens. A workload of 10M input + 2M output tokens costs about $22.8 per month.
Input
$1.4
per 1M tokens
Output
$4.4
per 1M tokens
Cached input
$0.26
per 1M tokens
Context window
1.04858M
1,048,576 tokens
Blended (80/20)
$2
per 1M tokens

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.

How much does Z.ai: GLM 5.4 cost for a real workload?

At 10M input + 2M output tokens per month, Z.ai: GLM 5.4 costs about $22.8 ($14 input + $8.8 output). Try your own volumes in the cost calculator.

Price history

Tracked since 2026-12-03 (4 daily snapshots) with no price changes. Current: $1.4 input / $4.4 output per 1M tokens.

What are cheaper alternatives to Z.ai: GLM 5.4?

Where to run Z.ai: GLM 5.4

AI/ML API: one API key for 400+ models, including most models tracked here · Novita AI: pay-as-you-go APIs for open models (DeepSeek, Qwen, Llama and more) plus GPU cloud · CometAPI: one API for 500+ models (GPT, Claude, Gemini and more) at about 80% of official prices. Prices there follow each platform's own catalog and can differ from the list prices tracked here.

Run it on AI/ML API →Run it on Novita AI →Run it on CometAPI →

Disclosure: links to these platforms may be affiliate links — if you sign up or buy through them, LLMPrices may earn a commission at no extra cost to you.

Compare Z.ai: GLM 5.4 with other models

Z.ai: GLM 5.4 vs Z.ai: GLM 5.3 Flash (batch)Z.ai: GLM 5.4 vs Z.ai: GLM 4.7 FlashZ.ai: GLM 5.4 vs Z.ai: GLM 5.3 Flash (TEE)Z.ai: GLM 5.4 vs Z.ai: GLM 5.3 FlashZ.ai: GLM 5.4 vs Z.ai: GLM 4.6VZ.ai: GLM 5.4 vs Z.ai: GLM 4.5 Air

Frequently asked questions

How much does Z.ai: GLM 5.4 cost?

Z.ai: GLM 5.4 costs $1.4 per 1M input tokens and $4.4 per 1M output tokens (list price, snapshot December 06, 2026). At 10M input + 2M output tokens per month that is about $22.8.

What is the context window of Z.ai: GLM 5.4?

Z.ai: GLM 5.4 has a context window of 1,048,576 tokens and can return up to 943,718 output tokens per response.

What are cheaper alternatives to Z.ai: GLM 5.4?

Cheaper models include Qwen: Qwen4 Max ($1.425 in / $4.275 out), OpenAI: GPT-5.1 (batch) ($0.625 in / $5 out), OpenAI: GPT-5 (batch) ($0.625 in / $5 out). See the full list on this page.

Is Z.ai: GLM 5.4 free to use?

No. Z.ai: GLM 5.4 is a paid model at $1.4 input / $4.4 output per 1M tokens. 16 free models are listed on the free models page.

Provider: z-ai · Model ID: z-ai/glm-5.4 · Modality: text+image+video->text · Price snapshot December 06, 2026, refreshed daily. How we collect prices