- Synexa
- Model explainers
- GLM-5.4
AI model · Z.ai
GLM 5.4, Explained: Specs, Pricing, Access
GLM 5.4 is Z.ai's new flagship coding model and its first Loop Transformer, with a 1M-token context and an API price of $1.40 per million input tokens. Synexa does not serve it; use Synexa when your app also needs images, video, music or 3D from one API key.
- 1M context, 128K output
- $1.40 in / $4.40 out per MTok
- Coding Plan from $18 a month
- Synexa: image, video, audio, 3D APIs
What is GLM 5.4?
GLM 5.4, written GLM-5.4 by its maker, is a large language model from Z.ai, announced on November 23, 2026. Z.ai calls it its latest flagship and the first built on a Loop Transformer: a block of shared layers runs more than once per token, so the model reasons deeper without adding parameters. Z.ai claims intelligence comparable to models of 2T to 3T parameters.
Z.ai frames the release as the start of generalized coding, where code becomes the way to solve tasks beyond software: in its demos, GLM 5.4 writes code to produce a music video, model a robotic arm in FreeCAD, build a full game and render a 3D scene with custom shaders.
It follows GLM-5.3 (August 2026) at the same API price. Z.ai's own caveat: it can get caught in overly long "marathon thinking" loops. For another model built on looping, see our Inkling 2 Mini guide; for a large Western rival, our Gemini Neon guide.
GLM 5.4 specs: context, output and model code
From Z.ai's model page, migration guide and launch post, as of December 4, 2026.
- Maker
- Z.ai
- Announced
- November 23, 2026
- API model code
glm-5.4- Architecture
- Loop Transformer: 28 layers of the GLM-5 base model run for two iterations, at the 750B scale
- Attention
- Sparse attention; the second pass reuses the first pass's attention indices
- Input
- Text, images, video and files
- Output
- Text
- Context window
- 1M tokens
- Max output
- 128K tokens
- Thinking
- Always on;
reasoning_effortlow, high or max (default max) - Tools
- Function calling, streaming tool calls, structured output, context caching
- Speed (Z.ai)
- Up to 200 tokens/s off-peak, 70 to 80 tokens/s at peak
- Open weights
- Planned after safety hardening; not published as of December 4, 2026
How much does GLM 5.4 cost?
On the Z.ai API the model costs $1.40 per million input tokens and $4.40 per million output tokens, the same as GLM-5.3. Prices as of December 4, 2026.
Input, per MTok
- GLM 5.4
- $1.40
- GLM-5.3
- $1.40
- GLM-5.3-Flash
- $0.15
Cached input, per MTok
- GLM 5.4
- $0.26
- GLM-5.3
- $0.26
- GLM-5.3-Flash
- $0.03
Output, per MTok
- GLM 5.4
- $4.40
- GLM-5.3
- $4.40
- GLM-5.3-Flash
- $0.50
Cached input storage
- GLM 5.4
- Free for a limited time
- GLM-5.3
- Free for a limited time
- GLM-5.3-Flash
- Free for a limited time
Coding Plan credits per 10K tokens (in / cached / out)
- GLM 5.4
- 4.6 / 1.1 / 16
- GLM-5.3
- 6.9 / 1.7 / 24
- GLM-5.3-Flash
- 1.15 / 0.28 / 4 (promo)
Example: 100K in + 10K out (API)
- GLM 5.4
- $0.184
- GLM-5.3
- $0.184
- GLM-5.3-Flash
- $0.020
| Rate | GLM 5.4 | GLM-5.3 | GLM-5.3-Flash |
|---|---|---|---|
| Input, per MTok | $1.40 | $1.40 | $0.15 |
| Cached input, per MTok | $0.26 | $0.26 | $0.03 |
| Output, per MTok | $4.40 | $4.40 | $0.50 |
| Cached input storage | Free for a limited time | Free for a limited time | Free for a limited time |
| Coding Plan credits per 10K tokens (in / cached / out) | 4.6 / 1.1 / 16 | 6.9 / 1.7 / 24 | 1.15 / 0.28 / 4 (promo) |
| Example: 100K in + 10K out (API) | $0.184 | $0.184 | $0.020 |
The example row is our arithmetic: 0.1M × $1.40 plus 0.01M × $4.40 = $0.184. Web search costs $0.01 per use. On the OpenRouter marketplace, listed from December 2, 2026, most hosts charge the same $1.40 / $4.40 and one lists $1.20 / $4.00. Independently, Artificial Analysis scores GLM 5.4 at max effort 42 on its Intelligence Index, against a 43 median for models above $1 per million blended tokens, at $5.08 per index task because it wrote 123M tokens (median 69.6M).
GLM 5.4 on the GLM Coding Plan: how much can you use?
Every Coding Plan tier includes the new model, and on weekly quota plans Z.ai raised its quota to 1.5× that of GLM-5.3. Plans start at $18 a month.
Lite
- 5-hour credits
- 2,000
- Weekly credits
- 10,000
- GLM 5.4 tokens a week (95% cache hits)
- 72M to 146M
Pro
- 5-hour credits
- 12,000
- Weekly credits
- 60,000
- GLM 5.4 tokens a week (95% cache hits)
- 440M to 870M
Max
- 5-hour credits
- 28,000
- Weekly credits
- 140,000
- GLM 5.4 tokens a week (95% cache hits)
- 1,014M to 2,028M
| Plan | 5-hour credits | Weekly credits | GLM 5.4 tokens a week (95% cache hits) |
|---|---|---|---|
| Lite | 2,000 | 10,000 | 72M to 146M |
| Pro | 12,000 | 60,000 | 440M to 870M |
| Max | 28,000 | 140,000 | 1,014M to 2,028M |
Z.ai's estimates. The low end assumes all use falls in peak hours (Monday to Friday, 14:00 to 18:00 UTC+8); off-peak use costs half the credits, which gives the high end.
What is new in GLM 5.4?
Z.ai's launch post focuses on the architecture and on coding as a general skill.
Loop Transformer
Fewer thinking tokens
Cheap extra pass
Generalized coding
Reads images and video
Agent-ready API
Where can you use GLM 5.4?
Z.ai offers the model through its Coding Plan, API, chat app and ZCode; marketplace hosts carry it too.
GLM Coding Plan
Z.ai API
glm-5.4 through the Chat Completion API, pay per token at $1.40 in and $4.40 out per million.Z.ai Chat and ZCode
OpenRouter
What to check before you switch to GLM 5.4
Points from Z.ai's migration guide and launch post.
- Update the model code to
glm-5.4and setmax_tokenswith the 128K output limit in mind - Pick
reasoning_effortlow or high for fast tasks; max is the default - Tune either
temperature(default 1.0) ortop_p(default 0.95), not both - Enable
streamandtool_streamand concatenate streamed tool arguments
- Try to turn thinking off; disabling it returns an error
- Leave agent runs uncapped; it can fall into long thinking loops
- Plan on self-hosting yet; the weights are not public
- Expect peak-hour speed to match the 200 tokens/s off-peak figure
Is GLM 5.4 open source?
Not yet. Z.ai says it plans to open-source the weights responsibly after completing necessary safety hardening, and gives no date. As of December 4, 2026, Z.ai's Hugging Face organization lists GLM-5.3 and GLM-5.3-Flash from August 2026 as its newest language models, with no GLM 5.4 repository.
That matters if you planned to self-host. Earlier GLM releases did ship open weights, so a release is plausible, but until it lands the only ways in are Z.ai's own products and API, or hosts on marketplaces. If you need open weights today, GLM-5.3 is the newest public checkpoint in the line. Z.ai also says a significantly larger next model "will be ready soon".
Can you run GLM 5.4 on Synexa?
No. Synexa does not serve GLM 5.4, any other GLM model, or any chat language model. Apart from a safety classifier's labels, its only text outputs are image answers from LLaVA-13B and transcripts from Whisper v3. For the language side, use Z.ai's API or Coding Plan.
Synexa supplies the assets that generalized coding still needs. When GLM 5.4 writes a game or a 3D viewer, it can call Synexa for the parts code cannot draw: Hunyuan3D 3.1 turns one image into a textured 3D model for $0.16 a request, Nano Banana Pro makes concept art for $0.10, and Lyria 2 writes a soundtrack clip for $0.10. Prices are on each model page in Explore, new accounts get $0.10 of free credit, and the quickstart shows the first call in Python or Node.
- Pay per request, no subscription
- Python and Node clients, plus plain HTTP
- Image, video, audio, upscaling and 3D in one catalog
Synexa models to pair with a GLM 5.4 coding agent
Flat per-request prices as listed on Synexa model pages, December 2026.
Textured 3D model from one image
- Synexa model
- Hunyuan3D 3.1
- Price
- $0.16 / request
Fast draft 3D mesh
- Synexa model
- TRELLIS
- Price
- $0.02 / request
Concept art, sprites or product images
- Synexa model
- Nano Banana Pro
- Price
- $0.10 / request
UI mockup or poster with readable text
- Synexa model
- GPT Image 2
- Price
- $0.10 / request
30-second soundtrack clip
- Synexa model
- Lyria 2
- Price
- $0.10 / request
Transcribe a voice note into a spec
- Synexa model
- Whisper v3
- Price
- $0.004 / request
| Asset your agent needs | Synexa model | Price |
|---|---|---|
| Textured 3D model from one image | Hunyuan3D 3.1 | $0.16 / request |
| Fast draft 3D mesh | TRELLIS | $0.02 / request |
| Concept art, sprites or product images | Nano Banana Pro | $0.10 / request |
| UI mockup or poster with readable text | GPT Image 2 | $0.10 / request |
| 30-second soundtrack clip | Lyria 2 | $0.10 / request |
| Transcribe a voice note into a spec | Whisper v3 | $0.004 / request |
Synexa catalog prices, not Z.ai's. Video models such as Veo 3.1 are in the catalog too; check each video model page for its current price, and compare platforms on pricing or in our WaveSpeed AI alternative page.
Related pages
More model explainers and API comparisons.
Frequently asked questions
What is GLM 5.4?
GLM 5.4 is Z.ai's flagship language model, announced November 23, 2026, and the first in the GLM line built on a Loop Transformer, which runs 28 layers of the GLM-5 base twice per token. It targets coding and agent work, reads text, images, video and files, writes text, and has a 1M-token context with up to 128K output tokens.
How much does the GLM 5.4 API cost?
On the Z.ai API it costs $1.40 per million input tokens, $0.26 per million cached input tokens and $4.40 per million output tokens, the same rates as GLM-5.3, as of December 4, 2026. Cached input storage is free for a limited time. A call with 100K tokens in and 10K out costs about $0.18 at these prices.
Is GLM 5.4 open source?
Not yet. Z.ai says it plans to open-source the weights after completing safety hardening, without a date. As of December 4, 2026 there is no public GLM 5.4 repository on Z.ai's Hugging Face page; the newest open GLM language models there are GLM-5.3 and GLM-5.3-Flash from August 2026. Use the API or Coding Plan meanwhile.
Is GLM 5.4 in the GLM Coding Plan?
Yes. Z.ai says all Coding Plan users can use it in their coding tools, and plans start at $18 a month. It consumes fewer plan credits per token than GLM-5.3, so weekly quota plans get about 1.5 times as much GLM 5.4 use. Off-peak use outside 14:00 to 18:00 UTC+8 on weekdays costs half the credits.
What is a Loop Transformer?
A Loop Transformer runs a block of weight-shared layers several times for each token, refining the hidden state on every pass. That makes the network deeper without adding parameters. Z.ai converted an existing pre-trained model rather than training from scratch, and says the loop shifts part of the reasoning from written thinking tokens into the model itself.
Can I turn off thinking in GLM 5.4?
No. Thinking is forced on, and Z.ai's migration guide says disabling it returns an error. You control depth with reasoning_effort: low for light thinking, high for enhanced thinking, or max for deep thinking, which is the default. For quick tasks, set it to low and keep max_tokens reasonable to limit long reasoning loops.
How fast is GLM 5.4?
Z.ai reports up to 200 tokens per second during off-peak hours and 70 to 80 tokens per second at peak load on its own service. Third-party hosts vary. Total task time also depends on thinking length: the model thinks by default at max effort, and Z.ai warns it can run long "marathon thinking" loops on hard problems.
Can I use GLM 5.4 through Synexa?
No. Synexa does not serve GLM models or any other chat language model. Synexa is a pay-per-request API for generative media: images, video, music, speech, upscaling and image-to-3D, including Hunyuan3D 3.1 at $0.16 a request. Many teams let a coding model write the app, then call Synexa to generate its art, audio and 3D assets. New accounts get $0.10 of free credit.
Pair GLM 5.4 with a media API
Let GLM 5.4 write the code, then generate the images, music, video and 3D assets it needs on Synexa. Pay per request, start with $0.10 free credit.