GLM-5.4 Overview: Loop Transformer, Coding Plan & API Status
GLM-5.4 is official: 1M context, multimodal input and Loop Transformer. See Coding Plan access, pending Model API and current GLM API alternatives.
Published
GLM-5.4 is an officially documented Z.ai flagship, available to all GLM Coding Plan users. The general Model API is pending completion of a security assessment. As of November 24, 2026, APIMaster has no public GLM-5.4 offer, and Z.ai’s checked API pricing table has no 5.4 token quote. Coding Plan access and pay-as-you-go API access are separate products.
Need a GLM API now? GLM-5.3 starts at $0.42 / $1.32 per million input / output tokens, 70% below Z.ai Standard. Flash starts at $0.072 / $0.24 (52% off), and FlashX at $0.148 / $0.50 (60% off). These are separate models and offers.
| Model ID | Discount | APIMaster current price | Model card |
|---|---|---|---|
| GLM-5.4 | — | No public offer | — |
glm-5.3 | Up to 70% off | From $0.42 / $1.32 | View price |
glm-5.3-flash | Up to 52% off | From $0.072 / $0.24 | View price |
glm-5.3-flashx | Up to 60% off | From $0.148 / $0.50 | View price |
Checked November 24, 2026, 02:10 UTC. USD per million uncached input / billed output tokens. Each starting pair comes from the same available public offer; route prices vary. Use the live model card for current price and supported features. Discounts compare Z.ai Standard, excluding cache and Batch.
GPT Trial(GPT-6 Astra, GPT-6 Sol, GPT-5.6, GPT-5.5, gpt-5.6-luna, gpt-5.6-sol, gpt-5.6-terra, gpt-6.1-sol, gpt-6-astra, gpt-6-sol, gpt-6-luna, gpt-6.2-astra, and gpt-6.2-sol available)
Sign up and claim a $10 GPT trial
GLM-5.4 specifications and official access
| Specification | Official GLM-5.4 documentation |
|---|---|
| Access today | GLM Coding Plan; 1.5× GLM-5.3 quota for weekly-quota plans |
| General Model API | Pending security assessment; no opening date quoted |
| Architecture | Loop Transformer; 28 shared layers, two iterations |
| Input / output | Video, image, text, file / text |
| Context / maximum output | 1M / 128K tokens |
| Vendor throughput claim | Up to 200 tokens/s off-peak; 70–80 tokens/s at peak |
| Public APIMaster price | Not available |
Z.ai positions 5.4 as its latest flagship, not a Flash tier. “Generalized Coding” means using code and tools for work such as video editing, games, CAD and 3D scenes. Its documented output modality is text: those demonstrations do not establish a standalone video-generation endpoint. Thinking, streaming, function calling, caching and structured output are listed capabilities, not proof that every future platform route will support each feature.
What changes with the Loop Transformer?
The model reuses 28 layers for two passes, refining hidden states without duplicating all weights. The official explanation describes gated updates, a shared global KV cache with a separate local window, and reused sparse-attention indices. The intended benefit is more effective reasoning depth while controlling long-context memory cost.
Z.ai’s “comparable to 2T–3T parameter models” statement is a capability claim, not GLM-5.4’s parameter count. The reported 10–14% shorter outputs come from a controlled 30B-model experiment, not a guaranteed 5.4 bill reduction. Z.ai also acknowledges overly long “marathon thinking.” Published throughput is a vendor claim, not an APIMaster latency test.
How to use a GLM API while 5.4 access is pending
For 5.4 today, follow the official Coding Plan access instructions. Do not assume a Coding Plan key or subscription quota funds an ordinary API wallet. For an APIMaster integration now, start with the exact listed ID glm-5.3; the example below calls 5.3, not 5.4. We’ll add discounted 5.4 routes as soon as public API access opens.
Check GLM-5.3’s live price → register → add pay-as-you-go balance → create an API key. Use https://apimaster.ai/v1 and glm-5.3 for the currently listed API; do not treat glm-5.4 as an available APIMaster model yet.
curl "https://apimaster.ai/v1/chat/completions" \
-H "Authorization: Bearer $APIMASTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"glm-5.3","thinking":{"type":"enabled"},"reasoning_effort":"low","messages":[{"role":"user","content":"Summarize this project and list its next three tasks."}]}'
The GPT trial promotion is separate and follows its live catalog; it does not promise free GLM-5.4 or GLM API credits. No paid inference or independent 5.4 benchmark was performed for this guide.
FAQ
Is GLM-5.4 only a rumor?
No. Z.ai now has an official GLM-5.4 page. The tracker screenshot alone was insufficient, but official documentation confirms Coding Plan access.
Can I call GLM-5.4 through APIMaster?
Not at the November 24 check: there is no public offer. Z.ai says the general Model API follows security assessment.
Is GLM-5.4 a Flash model or a flagship?
Z.ai calls it its latest flagship. It is separate from GLM-5.3-Flash and FlashX.
What does GLM-5.4 cost per million tokens?
No 5.4 token quote was found in the checked official API pricing table. Existing 5.3 rates and Coding Plan quotas are not 5.4 API prices.
Sources and related guides
Official GLM-5.4 · Official GLM-5.3 · Official API pricing · OpenRouter
GLM-5.4 Overview: Loop Transformer, Coding Plan & API Status · GLM-5.4 vs GLM-5.3: What Changed and Which Can You Use? · Cheap GLM-5.4 API: Availability & Current GLM Discounts up to 70% · GLM API platform price comparison
Check GLM-5.3’s live price → register → add pay-as-you-go balance → create an API key. Use https://apimaster.ai/v1 and glm-5.3 for the currently listed API; do not treat glm-5.4 as an available APIMaster model yet.
