GLM-5.4
FlagshipAs of December 3, 2026, GLM-5.4 by Z.ai (Zhipu AI) costs $1.40 per 1M input tokens and $4.40 per 1M output tokens, with a 1M-token context window.
GLM-5.4 is Z.ai's current flagship and the first model it has built on a Loop Transformer architecture, and the price card is the easy part: $1.40 per million input tokens, $0.26 on a cached read, and $4.40 output on the Z.ai pricing page, exactly the rate GLM-5.3, GLM-5.2, and GLM-5.1 all charge, so the generational step costs nothing extra per token. The shape is a 1M token context window (1,048,576 on the registries that publish the exact figure) with 128K max output, video, image, text, and file input, and text output. Thinking is not optional: the thinking parameter accepts only enabled, and Z.ai's own recommended settings are clear_thinking false, reasoning_effort max, temperature 1, and top_p 0.95, which is a stronger steer than most vendors publish. Function calling, context caching, and structured output are all supported, and Z.ai quotes streaming at up to 200 tokens per second off-peak and 70 to 80 at peak. Two things are worth knowing before you plan around it. The rollout ran backwards from the usual order: coverage puts the model in front of GLM Coding Plan subscribers from November 23, 2026, where weekly-quota plans get 1.5 times their GLM-5.3 allowance for it, with the per-token API following at the start of December. And there are no weights. Z.ai has published every GLM-5 flagship so far, GLM-5.2 under MIT and GLM-5.3 under a custom license, but as of December 3, 2026 the zai-org organization on Hugging Face still tops out at GLM-5.3 and GLM-5.3-Flash; Z.ai has said it intends to release GLM-5.4 after safety hardening and has given no date, so the open-weight argument for the GLM line currently rests on 5.3. Evidence is the other gap. Z.ai published no benchmark table at launch, only a win-rate chart against GLM-5.3, and no independent evaluator had scored it as of December 3, 2026, so GLM-5.3 remains the version with numbers you can check.
Input Price
$1.40
per 1M tokens
Output Price
$4.40
per 1M tokens
Context Window
1.0M
tokens
Released
2026-11
API access
Capabilities
Key Strengths
- ✓$1.40/$4.40 per 1M tokens with $0.26 cached reads, unchanged from GLM-5.3
- ✓First GLM flagship on Z.ai's Loop Transformer architecture
- ✓1M token context window with 128K max output
- ✓Video, image, text, and file input on one endpoint
- ✓1.5 times the GLM-5.3 quota on weekly-quota GLM Coding Plan tiers
- ✓Streaming up to 200 output tokens per second off-peak, per Z.ai
Best For
- ▸Agentic coding inside the GLM Coding Plan
- ▸Long-context document and video analysis at a sub-$2 input rate
- ▸Migration target for GLM-5.3 and GLM-5.2 workloads at the same price
- ▸Work that does not need self-hosting, since no weights have shipped
Pricing Details
Input tokens
$1.40
per 1M tokens
Output tokens
$4.40
per 1M tokens
Estimated cost per 1K requests
$3.60
~1K input + ~500 output tokens avg
Prices are subject to change. Check the official documentation for current pricing. See the cost calculator for detailed estimates.
Quick answers
- How much does GLM-5.4 cost?
- As of December 3, 2026, GLM-5.4 costs $1.40 per 1M input tokens and $4.40 per 1M output tokens on the Z.ai (Zhipu AI) API.
- What is the context window of GLM-5.4?
- GLM-5.4 has a 1M-token context window (1,048,576 tokens).
Related Models
GLM-5.3
FlagshipZ.ai (Zhipu AI)
$1.40 in / $4.40 out
GLM-5.3-FlashX
BudgetZ.ai (Zhipu AI)
$0.37 in / $1.25 out
GLM-5.3 Flash
BudgetZ.ai (Zhipu AI)
$0.15 in / $0.50 out
GLM-5.2
FlagshipZ.ai (Zhipu AI)
$1.40 in / $4.40 out
Claude Fable 5.2
FlagshipAnthropic
$8.00 in / $40.00 out
Claude Mythos 5.2
FlagshipAnthropic
$8.00 in / $40.00 out
Claude Mythos 5.1
FlagshipAnthropic
$10.00 in / $50.00 out
Claude Opus 5.5
FlagshipAnthropic
$4.00 in / $20.00 out