# GLM-5.4

> Source: LMSpeed (https://lmspeed.net) — https://lmspeed.net/model/glm-5-4. When citing or reusing this content, credit "LMSpeed" and link to https://lmspeed.net/model/glm-5-4.

GLM-5.4 is Z.ai's first Loop Transformer flagship. The API is available as glm-5.4. It accepts video, images, text and files, and returns text. GLM-5.3...

Canonical URL: https://lmspeed.net/model/glm-5-4
Last updated: 2026-12-02

Reproduction and quotation must name LMSpeed, link to the canonical HTML URL, and retain individual source citations.

GLM-5.4 is Z.ai's first Loop Transformer flagship. The API is available as glm-5.4. It accepts video, images, text and files, and returns text. GLM-5.3 accepts text. Both models have the same official API rates on Z.ai and on the Chinese BigModel platform. Cache storage is temporarily free on both platforms. It continues training from the GLM-5 base by running 28 shared-weight layers for two iterations, at the 750B scale named in the 2026-11-23 launch post. Z.ai says the capability matches 2T-3T models. That is a capability claim, not a parameter count. The post names three changes: Gated Progressive Updates, a hybrid KV cache with global sharing plus an independent sliding window, and sparse attention index reuse. At 1M context length, Z.ai says the extra deployment cost versus GLM-5.3 stays under control. The official API supports a 1M-token context and up to 128K output tokens. Z.ai reports up to 200 tokens/s off-peak and 70-80 tokens/s at peak. GLM Coding Plan, ZCode, and Z.ai Chat already include the model. Weekly Coding Plan users get 1.5× the GLM-5.3 quota. The weights are not open yet. Z.ai also says the model can fall into long marathon thinking, and that extra reflection often improves accuracy. A 30B same-size test in the post used about 10% more training compute and cut average output length by 10-14% on benchmarks such as GPQA-Diamond and MMLU-Pro. Those notes are not GLM-5.4 scores. On the China mainland BigModel platform, Zhipu lists CNY 8 input, CNY 2 cached input and CNY 28 output per million tokens (docs.bigmodel.cn official pricing).

LLM

Official API price[[1]](https://lmspeed.net/model/glm-5-4#model-source-1)

$1.40input / 1M tokens

Z.ai international Standard · Output $4.40/1M

Official context window

1M

1,000,000[[1]](https://lmspeed.net/model/glm-5-4#model-source-1)

## Specifications

[[2]](https://lmspeed.net/model/glm-5-4#model-source-2)[[4]](https://lmspeed.net/model/glm-5-4#model-source-4)

Model weights

Unknown

License

[Unknown](https://lmspeed.net/model/license/unknown)

Official context window

1Mtokens

1,000,000 tokens · [[1]](https://lmspeed.net/model/glm-5-4#model-source-1)

≈ 1.2K pages of text

Reported output limit

128Ktokens

128,000 tokens · [[1]](https://lmspeed.net/model/glm-5-4#model-source-1)

8K128K1M4M

1M

### Features

### Technical Details

Input

Output

Released

Nov 2026

Documentation

[Documentation](https://docs.z.ai/guides/llm/glm-5.4)[OpenRouter](https://openrouter.ai/z-ai/glm-5.4)[HuggingFace](https://huggingface.co/zai-org/GLM-5.4)[Ollama](https://ollama.com/search?q=GLM-5.4)

Tokenizer

Other

Architecture

text+image+video->text

Moderated

No

Supported parameters

frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_ppresence_penaltyreasoningreasoning_effortrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p

Reported product launch

2026-11-23 · blog · Z.ai[[3]](https://lmspeed.net/model/glm-5-4#model-source-3)

Predecessor / base model

[GLM-5](https://lmspeed.net/model/glm-5)

Model weights

Not released; publisher says weights will be released later

API model ID

glm-5.4

Input modalities

video / image / text / file

Output modalities

text

Alternatives & Similar Models

[GLM 5.3](https://lmspeed.net/model/glm-5-3)

## Pricing Comparison

Third-party relay quote comparison, not official model pricing. Verify currency and billing units before comparing.

Z.ai international Standard

- Cache storage is free for a limited time.

| Metric | Value | Unit |
| --- | --- | --- |
| Input | USD 1.4 | million tokens |
| Output | USD 4.4 | million tokens |
| Cached input | USD 0.26 | million tokens |

- [Z.ai official API pricing](https://docs.z.ai/guides/overview/pricing)

Zhipu China Standard

- Cache storage is free for a limited time.

| Metric | Value | Unit |
| --- | --- | --- |
| Input | CNY 8 | million tokens |
| Output | CNY 28 | million tokens |
| Cached input | CNY 2 | million tokens |

- [Zhipu official API pricing](https://docs.bigmodel.cn/cn/guide/start/pricing)

|  |  | Model Variant | Group |  |  |  |  | Audit |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| [PackyCode](https://lmspeed.net/provider/codex-api-packycode-com) | L1 100% | glm-5.4 | zai-officially | $1.14/M Cache read$0.286/M | $4.00/M | — | — | — |
| [Codely](https://lmspeed.net/provider/codely) | L1 100% L2 100% | glm-5.4 | default | $0.0005/request | - | — | — | — |
| [Maolao API](https://lmspeed.net/provider/maolaoapi-com) | L1 100% | glm-5.4 | 395 | $0.619/M Cache read$0.155/M | $2.17/M | — | — | — |
| [Tokeness.io](https://lmspeed.net/provider/tokeness-cn) | L1 100% | glm-5.4 | default | $45.00/M | $45.00/M | — | — | — |
| [ZEN-AI VIP](https://lmspeed.net/provider/vip-zen-ai-top) | L1 100% | glm-5.4 | deepseek | $0.438/M Cache read$0.110/M | $1.53/M | — | — | — |
| [KiosAPI](https://lmspeed.net/provider/kiosapi) | L1 100% L2 0% | glm-5.4 | CN-Key | $5.14/M | $5.14/M | — | — | — |
| [钱多多 API](https://lmspeed.net/provider/api2-aigcbest-top) | L1 100% | glm-5.4 | default | $37.50/M | $37.50/M | — | — | — |
| [Compute Token](https://lmspeed.net/provider/computetoken-ai) | L1 99% | glm-5.4 | default | $17.98/M | $17.98/M | — | — | — |
| [N1N](https://lmspeed.net/provider/api-n1n-ai) | L1 100% | glm-5.4 | deployed1 | $0.126/M Cache read$0.023/M | $0.395/M | — | — | — |
| [小波 API](https://lmspeed.net/provider/xiaobo-api) | L1 100% | glm-5.4 | bhkld | $2.05/request | - | — | — | — |
|  | L1 100% | [乾坤按量]glm-5.4 | bhkld | $25.64/M Cache read$6.41/MCache write$32.06/MCache write 1h$51.29/M | $89.75/M | — | — | — |
| [zlkpro](https://lmspeed.net/provider/zlkpro) | L1 100% L2 100% | glm-5.4 | default | $7.50/M | $7.50/M | — | — | — |
| [KFCV50](https://lmspeed.net/provider/kfcv50) | L1 100% | glm-5.4 | default | $10.27/M | $10.27/M | — | — | — |
| [ohmyapis.store](https://lmspeed.net/provider/ohmyapis-store) | L1 100% L2 0% | glm-5.4 | default | $0.100/M Cache read$0.020/MCache write$0/MCache write 1h$0/M | $0.350/M | — | — | — |
|  | L1 100% L2 0% | glm-5.4-fast | default | $0.165/M Cache read$0.042/MCache write$0/MCache write 1h$0/M | $0.600/M | — | — | — |
| [CM-API 公益站](https://lmspeed.net/provider/api-chengmo-cc-cd) | L1 99% | glm-5-4-261123 | free | $0.750/M | $0.750/M | — | — | — |
| [Yunchu API](https://lmspeed.net/provider/api-qiulingyan-top) | L1 100% | glm-5.4 | default | $1.20/M Cache read$0.299/M | $4.19/M | — | — | — |
| [9527 API](https://lmspeed.net/provider/9527code-com) | L1 100% | glm-5.4 | BigModel | $4.80/M Cache read$1.20/MCache write$4.80/MCache write 1h$7.68/M | $16.80/M | — | — | — |
| [PoloAPI](https://lmspeed.net/provider/poloai-top) | L1 100% | glm-5.4 | Svip国内模型 | $90.00/M | $90.00/M | — | — | — |
| [LinoRoute](https://lmspeed.net/provider/linoroute) | L1 100% L2 100% | glm-5.4 | Self-Deployed-1 | $0.138/M Cache read$0.026/M | $0.435/M | — | — | — |

This table includes 3 free-priced rows for this model. Free means the current listed price is $0, not an unlimited quota. [Free LLM API directory](https://lmspeed.net/free) · [Free API keys](https://lmspeed.net/free-api-keys)

Showing 20 model IDs of 37.

## Related model comparisons

[### GGLM 5.3 vs GLM-5.4

4 verified comparison points

Indexable](https://lmspeed.net/compare/model/glm-5-3-vs-glm-5-4)[### CClaude Opus 4.6 vs GLM-5.4

4 verified comparison points

Indexable](https://lmspeed.net/compare/model/claude-opus-4-6-vs-glm-5-4)[### CClaude Opus 4.8 vs GLM-5.4

4 verified comparison points

Indexable](https://lmspeed.net/compare/model/claude-opus-4-8-vs-glm-5-4)

## Frequently Asked Questions

### What is the GLM-5.4 API price?

Official Standard API: input $1.40, output $4.40 per 1M tokens, USD. Standard · USD · Cached input $0.26/1M tokens

## Sources & notes

- [1]

[Official · publisher](https://docs.z.ai/guides/overview/pricing)Checked: 2026-12-02

- [2]

[Official model documentation](https://docs.z.ai/guides/llm/glm-5.4)Checked: 2026-12-02

- [3]

[Z.ai](https://z.ai/blog/glm-5.4)Checked: 2026-12-02

- [4]

[OpenRouter-reported; not official](https://openrouter.ai/z-ai/glm-5.4)

- [5]

[LMSpeed methodology](https://lmspeed.net/methodology)

---
Cite as: GLM-5.4 — LMSpeed, https://lmspeed.net/model/glm-5-4 (retrieved 2026-12-04)
