Modelspike AI model prices, calculators & specs
Released model Z.ai / glm-5-4 Last verified: Dec 2, 2026

GLM-5.4

Z.ai Released Nov 23, 2026 Proprietary ~750B (28 layers looped 2×) 1M context

GLM-5.4 is Z.ai's flagship Loop Transformer model released November 23, 2026, reusing 28 layers twice per forward pass over a ~750B base with a 1M-token context window and 128K max output. Pay-as-you-go Model API and OpenRouter routing (z-ai/glm-5.4) launched December 2, 2026 at $1.40/$4.40 per 1M tokens ($0.26 cached; Prime Intellect route $0.40/$2.464) alongside GLM Coding Plans ($18–$168/mo), while public Hugging Face weights remain unreleased.

What changed

GLM-5.4 or Flash? — pick the right variant

GLM-5.4
GLM-5.4 is Z.ai's flagship Loop Transformer model released November 23, 2026, reusing 28 layers twice per forward pass over a ~750B base with a 1M-token context window and 128K max output.
$1.4 / $4.4 per 1M
This page
GLM-5.3 Flash
MIT open-weight 320B/18B-active multimodal MoE live now on API & OpenRouter.
$0.15 / $0.50 per 1M · 1M context
Full page →

Where you can use GLM-5.4

Z.ai Model APIModel ID glm-5.4 live at $1.40 input / $4.40 output per 1M tokens ($0.26 cached input, limited-time free cache storage) with 1M context and 128K max output.
OpenRouterLive since Dec 2, 2026 as z-ai/glm-5.4 across 7 providers: Z.ai, Modal, Friendli, Crusoe, Inferact vLLM ($1.40/$4.40, $0.26 cached) and Baseten ($1.40/$4.40, $0.14 cached) at 82–234 tok/s P50, plus Prime Intellect at $0.40/$2.464 ($0.0744 cached, 156 tok/s).
GLM Coding PlanLive in ZCode and terminal coding harnesses (Claude Code via glm-5.4[1m]) on Lite (~$18/mo), Pro (~$80/mo) and Max (~$168/mo) tiers with 1.5× weekly quota vs GLM-5.3.
Open WeightsNot yet publicly downloadable as of December 2, 2026 (zai-org/GLM-5.4 on Hugging Face returns 404/gated).

How GLM-5.4 compares

MetricGLM-5.4Claude Opus 5.5GLM-5.3 FlashQwen4 Max
Release dateNov 23, 2026Sep 22, 2026Aug 26, 2026Nov 16, 2026
Context window1M1M1M1M
Parameters~750B (28 layers looped 2×)Undisclosed320B (18B active)2.4T (71B active)
Key benchmark—DeepSWE v1.1 74.2%DeepSWE v1.1 63.4%Terminal-Bench 4.0 (AA) 48.5%
API (in / out)$1.40 / $4.40/M$4 / $20/M$0.15 / $0.50/M$1.425 / $4.275/M

API pricing & quick cost estimate

Input
$1.40 / 1M tokens
Output
$4.40 / 1M tokens
Cached input
$0.26 / 1M
Quick monthly cost estimator (GLM-5.4) Compare all models →
Estimated monthly API spend: $23/mo (Input $14 + Output $8.8)

Reference: 1M input + 1M output tokens = $5.8.

Source: https://docs.z.ai/guides/overview/pricing. Last checked Dec 2, 2026.

Where to run GLM-5.4

Official Direct
Z.ai API
Official direct rates ($1.40 / $4.40 per 1M). Best for enterprise SLAs and prompt caching.
Open official docs ↗
Unified API Router
OpenRouter
One API key for GLM-5.4 plus 400+ models with instant fallback routing (z-ai/glm-5.4).
View on OpenRouter ↗

Objective official rates are listed separately above. Some routing or GPU links may be affiliate links — see our disclosure.

Benchmarks

No official scores published yet for the benchmarks we track.

How to use GLM-5.4

Quickstart request
curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "z-ai/glm-5.4", "messages": [{"role": "user", "content": "Audit this repository architecture"}]}'

API & runtime notes

What GLM-5.4 can do

Technical specifications

Release date
Nov 23, 2026
Access
Proprietary
Parameters
~750B (28 layers looped 2×)
Context window
1M
Modality
text+image+video+file

GLM-5.4 FAQ

How much does GLM-5.4 API cost and is it on OpenRouter?

Yes — both Z.ai's standalone Model API (glm-5.4) and OpenRouter (z-ai/glm-5.4) went live on December 2, 2026. Official Z.ai rates and primary OpenRouter providers (Modal, Friendli, Crusoe, Inferact vLLM, Z.ai) cost $1.40 input / $4.40 output per 1M tokens ($0.26 cached), while Prime Intellect on OpenRouter offers an alternate route at $0.40/$2.464 ($0.0744 cached). Subscription access also remains on GLM Coding Plans ($18–$168/mo).

Why are GLM-5.4 benchmark scores marked pending?

Z.ai has not published a standardized 750B benchmark table (the 10–14% shorter CoT figure in Z.ai's docs comes from a 30B ablation experiment) and Artificial Analysis v5.0.1 scores are not yet available. We do not publish unverified leaderboard numbers and will add official or AA scores once released.

Official sources