GLM-5.4: Z.ai's Loop Transformer flagship, price and specs
Z.ai opened the GLM-5.4 API on 1 December 2026. It is Z.ai's new flagship and its first model built on a Loop Transformer, which runs 28 layers of the GLM-5 base model twice for deeper reasoning without more parameters. [1][2] Z.ai lists it at $1.40 per 1M input tokens and $4.40 per 1M output tokens, the same as GLM-5.3, with a 1M-token context window. [2][3]
Updated
$1.40 / $4.40
What does one GLM-5.4 request cost?
A coding-agent turn worked from Z.ai's list rates: 20,000 input tokens and 4,000 output tokens on GLM-5.3, then the same turn on GLM-5.4 with output 12% shorter (the middle of Z.ai's reported 10 to 14%), then with 15,000 of the input tokens read from cache at $0.26. [2][3]
| Request | Input | Output | The request |
|---|---|---|---|
| GLM-5.3: 20K in, 4K out | 20,000 x $1.40/1M = $0.0280 | 4,000 x $4.40/1M = $0.0176 | $0.0456 |
| GLM-5.4: 20K in, 3.52K out | 20,000 x $1.40/1M = $0.0280 | 3,520 x $4.40/1M = $0.0155 | $0.0435 |
| GLM-5.4 with 15K input cached | 5,000 x $1.40/1M + 15,000 x $0.26/1M = $0.0109 | 3,520 x $4.40/1M = $0.0155 | $0.0264 |
curl -X POST "https://api.z.ai/api/paas/v4/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "glm-5.4",
"temperature": 1,
"top_p": 0.95,
"reasoning_effort": "max",
"thinking": { "type": "enabled", "clear_thinking": false },
"messages": [
{ "role": "user", "content": "Hello, please introduce yourself." }
]
}'Before you switch to GLM-5.4
Ask a question- The switch is the model string: text parameters and per-token prices are the same. Z.ai reports 10 to 14% shorter outputs on benchmarks such as GPQA-Diamond, so the same work should bill fewer output tokens; check it on your own prompts, since Z.ai also warns of occasional very long thinking. [2][3]
- A model that runs a shared block of layers more than once per token. GLM-5.4 runs 28 GLM-5 layers twice, so part of the reasoning moves from written-out thinking tokens into the depth of the loop. [2]
- No. Z.ai says thinking.type only accepts enabled on GLM-5.4; it recommends clear_thinking false. [2]
Sources
How this post is checked: the Straitly team, which sells API access to AI models, wrote it. Every Z.ai figure is from Z.ai's own pages or posts, read on 3 December 2026; Straitly prices are from its own catalog on 6 December 2026. Published 3 December 2026, last updated 3 December 2026. If something here is out of date, tell us at straitly.ai/contact.
One key for the models you already use.
An OpenAI-compatible key for the 118 models on Straitly, prepaid, per token.