QDNA Send a message

GLM-5.4 versus GLM-5.3 and GLM-5.3-Flash: looped architecture, access, performance and pricing

Z.ai launched GLM-5.4 on 23 November 2026, restricted to its GLM Coding Plan subscription, with no pay-as-you-go API and no published weights, and here is what changes compared with GLM-5.3 and GLM-5.3-Flash: looped architecture, access, announced or measured performance, and pricing.

GLM-5.4 versus GLM-5.3 and GLM-5.3-Flash: GLM-5.4 runs a 28-layer loop twice and is only available through the Coding Plan, with no published weights; GLM-5.3 has 78 layers and 40 billion active parameters; GLM-5.3-Flash has 45 layers and 18 billion active, under the MIT licence. GLM-5.4 versus GLM-5.3 and GLM-5.3-Flash: GLM-5.4 runs a 28-layer loop twice and is only available through the Coding Plan, with no published weights; GLM-5.3 has 78 layers and 40 billion active parameters; GLM-5.3-Flash has 45 layers and 18 billion active, under the MIT licence.
One new model locked to a subscription, two models with open weights. Image: QDNA.
Short answer. GLM-5.4 takes 28 layers of the GLM-5 base model and runs them twice, at a 750-billion-parameter scale. It is only available through the GLM Coding Plan: no pay-as-you-go API, weights, licence or API price had been published as of 24 November 2026. GLM-5.3 and GLM-5.3-Flash remain the only ones you can deploy on site.

How was this article put together?

This article draws on sources read on 24 November 2026, between 06:04 and 06:30 UTC: the Z.ai documentation and its BigModel counterpart, the configuration files published on Hugging Face, the Artificial Analysis pages, the public OpenRouter API and Simon Willison's post.

Every fact was then cross-checked through a second, independent reading of the primary sources, separating three kinds of figures: a vendor announcement, which is not a measurement; a third-party measurement, cited with its version and date; and a QDNA calculation, labelled as such, while anything the vendor has not published is marked "not published".

What is GLM-5.4 and how can you access it?

GLM-5.4 is Z.ai's new flagship model, announced on 23 November 2026, presented as the first one built on a looped architecture and officially available only through the GLM Coding Plan subscription, although the Chinese press also lists the ZCode, Trae, WorkBuddy and Qoder coding platforms.

It is not offered through the pay-as-you-go API, as the documentation says the model API will open once a security assessment is complete. A Coding Plan subscriber can still reach it with a subscription key, including through the OpenAI-compatible endpoint, as Simon Willison found on launch day.

The weights are not published: Hugging Face returns no GLM-5.4 repository as of 24 November, and the Chinese press, quoting Zhipu's official WeChat account, reports that they are due to be opened "responsibly", with no date. The official documentation says nothing about it, nor does it publish any licence for the model.

Subscribers on weekly quota plans get a GLM-5.4 quota 1.5 times that of GLM-5.3, but the model is still missing from the OpenRouter catalogue, and Artificial Analysis has no page for it: the expected address returned a 404 error when we checked on 24 November.

GLM-5.4 page of the Z.ai documentation, tagged New: a notice says the model is available to all GLM Coding Plan users, with a quota 1.5 times that of GLM-5.3, and that the model API will open after the security assessment.
GLM-5.4 page of the Z.ai documentation, captured on 24 November 2026 at 06:13 UTC: the API will open "upon completion of the security assessment". Source: docs.z.ai.

How does the GLM-5.4 looped architecture work?

The GLM-5.4 looped architecture sends the same group of 28 weight-shared layers through the network twice, instead of stacking new layers. Z.ai thus gets a deeper network without adding parameters, by adapting an already pre-trained base model through continued training rather than starting from scratch.

The diagram published by Z.ai shows a 26-layer prelude, then the loop over layers 27 to 54 run twice, then a 24-layer coda from layer 55 to layer 78. The model therefore has 78 distinct layers, as many as GLM-5.3, and each token goes through 106 layers (QDNA calculation: 26 + 28 + 28 + 24).

Z.ai places GLM-5.4 at the 750-billion-parameter scale of its GLM-5 base model, which is not an exact count, and the number of active parameters per token has not been published. The vendor claims intelligence comparable to models with 2 to 3 trillion parameters, without any published measurement to back it up.

Three changes come with the loop: per-pass gates control how much each pass writes back into the residual stream, while the second pass reuses the sparse key-value cache of the first, with a 128-token sliding window, and takes over the sparse attention indices computed during the first pass.

According to Z.ai, an extra loop therefore costs only one sliding window of cache rather than a full context cache, which keeps the deployment overhead over GLM-5.3 in check at one million tokens. The vendor does not quantify that overhead, and says it validated the architecture on base models of 1, 4, 30 and 750 billion parameters.

The announced context reaches one million tokens, with up to 128,000 output tokens, although BigModel advises setting the window of coding tools used with the Coding Plan to 512,000 tokens. The model accepts video, image, text and file input, but only produces text.

The layers of the three models to scale: GLM-5.4 has a 26-layer prelude, a 28-layer loop run twice with the same weights and a 24-layer coda, for 106 passes per token; GLM-5.3 has 78 layers; GLM-5.3-Flash has 45 layers, 34 with linear attention and 11 with sparse attention. The layers of the three models to scale: GLM-5.4 has a 26-layer prelude, a 28-layer loop run twice with the same weights and a 24-layer coda, for 106 passes per token; GLM-5.3 has 78 layers; GLM-5.3-Flash has 45 layers, 34 with linear attention and 11 with sparse attention.
The layers of the three models, to scale. Sources: Z.ai documentation for the GLM-5.4 loop, GLM-5.3 config.json and GLM-5.3-Flash config.json on Hugging Face. Diagram: QDNA, based on the article.

How do GLM-5.3 and GLM-5.3-Flash differ?

GLM-5.3 and GLM-5.3-Flash are two distinct open-weight models: the first has 78 layers and 256 experts, the second 45 layers and 288 experts, according to their configuration files, and the first reads text only, whereas the second is the first natively multimodal model in the GLM-5 series.

GLM-5.3 has 753.3 billion parameters according to the Hugging Face API, about 40 billion of them active per token, and Z.ai announces 744 billion, the gap being the multi-token prediction layer. Each token activates 8 of the 256 experts plus one shared expert, and the vocabulary has 154,880 entries.

GLM-5.3-Flash has 321.3 billion parameters, 320 billion according to its model card, 18 billion of them active, and its 45 layers alternate three linear-attention layers with one sparse-attention layer, 34 and 11 in total, while a 24-layer vision encoder lets it read images and videos. It also activates 8 experts, out of 288.

The licences differ: GLM-5.3-Flash is under the MIT licence, while GLM-5.3 follows an MIT-style glm-5.3 licence, which requires a Z.ai security review from model-as-a-service operators whose cumulative revenue exceeds 10 billion dollars over twelve months.

GLM-5.3 was announced on 14 August 2026 in the Coding Plan, and its API opened on 18 August, while GLM-5.3-Flash came out on 26 August. Z.ai also serves API-only variants with no published weights, including GLM-5.3-FlashX, described as a high-speed version of GLM-5.3-Flash.

CriterionGLM-5.4GLM-5.3GLM-5.3-Flash
Announcement23 November 202614 August 2026 (API on 18 August)26 August 2026
AccessGLM Coding Plan onlyAPI, Coding Plan, weightsAPI, Coding Plan, weights
Weights and licenceNot publishedPublished, glm-5.3 licencePublished, MIT licence
Total parameters750 billion scale753.3 billion321.3 billion
Active parametersNot published40 billion18 billion
Routed experts, activeNot published256 (+ 1 shared), 8288 (+ 1 shared), 8
Layers78, of which 28 run twice7845 (34 linear, 11 sparse)
Context, output1 million, 128,0001,048,576, 128,0001,048,576, 128,000
InputVideo, image, text, fileTextText, image, video

Sources: GLM-5.3 on Hugging Face and GLM-5.3-Flash on Hugging Face, with their configuration files; Z.ai release notes for API dates; Z.ai documentation for GLM-5.4.

zai-org/GLM-5.3 model page on Hugging Face: glm-5.3 licence, model size 753B params, tensor types BF16, F8_E4M3 and F32, 1,262,104 downloads last month.
GLM-5.3 model page on Hugging Face, captured on 24 November 2026 at 06:13 UTC: 753 billion parameters and the glm-5.3 licence. Source: huggingface.co.

What are the announced and measured performance figures worth?

For GLM-5.4, Z.ai publishes only a win rate, with no standard benchmark and no independent measurement as of 24 November 2026: on an internal evaluation of 200 real-world programming scenarios, the vendor says GLM-5.4 beats GLM-5.3 in 51.1% of cases, ties in 25.7% and loses in 23.1%.

The same chart pits GLM-5.4 against Kimi K3.1 Pro, with 41.8% wins, and against DeepSeek-V4.1-Flash-1017, with 36.6%. The judge, the protocol and the reasoning effort are not published, and the link to the 200 scenarios appears only in the Chinese version of the documentation.

The other figures Z.ai publishes do not concern GLM-5.4: they compare a looped and a standard version of a 30-billion-parameter model, on which AIME25 rises from 19.17 to 30.42 and GPQA-Diamond from 47.58 to 56.26, after long-context fine-tuning, with thinking mode enabled.

Z.ai announces GLM-5.4 output of up to 200 tokens per second off-peak and 70 to 80 tokens per second at peak times: this is an announcement that no third party has measured. The vendor also acknowledges a limitation, the model's tendency to get stuck in overly long reasoning loops.

For GLM-5.3, Z.ai publishes ten scores in the model card, with maximum reasoning effort as the default, including 88.2 on Terminal Bench 2.1, 28.3 on Terminal Bench 3.0, 66.9 on DeepSWE and 84.5 on CyberGym. These are vendor announcements, obtained with a harness it documents in footnotes.

The only third-party measurement shared by the two deployable models comes from Artificial Analysis, whose index in version 5.0.1, read on 24 November 2026, gives 32 to GLM-5.3 at maximum effort and 28 to GLM-5.3-Flash, against a median of 23 for comparable models. Indices from earlier versions cannot be compared with these.

Artificial Analysis measurement (v5.0.1)GLM-5.3 (maximum effort)GLM-5.3-Flash
Intelligence index3228
Output speed70 tokens/s61 tokens/s
Time to first answer token87.31 s67.69 s
Time per index task28.2 min36.4 min
Cost per index task$5.01$0.58
GLM-5.4Not published: no page as of 24 November 2026

Sources: Artificial Analysis pages for GLM-5.3 and GLM-5.3-Flash, read on 24 November 2026 at 06:26 UTC; GLM-5.3 model card on Hugging Face for the vendor scores.

GLM-5.3 generates faster, but an index task costs it $5.01 against $0.58 for GLM-5.3-Flash, which in turn needs more time per task. These figures describe hosted services measured on a given date, and they do not stand for the throughput of a server installed on site.

How much do GLM-5.4, GLM-5.3 and GLM-5.3-Flash cost?

GLM-5.4 has no published API price: it appears neither in the Z.ai international price list nor in the BigModel list for China, even though the Team Plan page mentions a pay-as-you-go "GLM-5.4 Standard API", whose price is not published anywhere as of 24 November 2026.

GLM-5.3 and GLM-5.3-Flash have published prices per million tokens, in dollars at Z.ai and in yuan at BigModel, which we reproduce as they stand, without conversion. Cache storage is free for a limited time on both, and GLM-5.3-Flash output costs almost nine times less than GLM-5.3 output (QDNA calculation).

ModelZ.ai (input / cache / output)BigModel (input / cache / output)
GLM-5.4Not publishedNot published
GLM-5.3$1.4 / $0.26 / $4.4¥8 / ¥2 / ¥28
GLM-5.3-Flash$0.15 / $0.03 / $0.50¥0.8 / ¥0.23 / ¥2.8

Prices per million tokens read on 24 November 2026: Z.ai price list and BigModel price list.

The GLM Coding Plan starts at $18 a month and covers all three models, but the Pro and Max tier prices only appear on the Z.ai subscription page, which we could not read from our network, so we do not publish them for lack of a readable official source.

Usage is counted in credits, per five-hour window and per week: 2,000 and 10,000 credits on Lite, 12,000 and 60,000 on Pro, 28,000 and 140,000 on Max, with each token weighted by a model-specific multiplier and usage outside peak hours counting for half.

Coding Plan multiplierInputCached inputOutput
GLM-5.44.61.116
GLM-5.36.91.724
GLM-5.3-Flash2.30.568

Multipliers and credits read on 24 November 2026 on the Z.ai GLM Coding Plan page, identical in the Chinese version at BigModel.

GLM-5.4 multipliers are two thirds of those of GLM-5.3 for input and output, 16 against 24 for output, so the same volume uses fewer credits on the new model. A multiplier is not an API price, and no API price for GLM-5.4 can be derived from it.

Peak hours run from Monday to Friday, 14:00 to 18:00 Singapore time (UTC+8), and Z.ai estimates the possible weekly volume at a 95% cache hit rate: 72 to 146 million tokens for GLM-5.4 on Lite, against 48 to 97 million for GLM-5.3, depending on the share of off-peak usage.

Access and pricing on 24 November 2026: GLM-5.4 only through the GLM Coding Plan, with no pay-as-you-go API, API price or weights, multipliers 4.6, 1.1 and 16; GLM-5.3 at 1.4, 0.26 and 4.4 dollars at Z.ai and 8, 2 and 28 yuan at BigModel, multipliers 6.9, 1.7 and 24; GLM-5.3-Flash at 0.15, 0.03 and 0.50 dollars and 0.8, 0.23 and 2.8 yuan, multipliers 2.3, 0.56 and 8. Access and pricing on 24 November 2026: GLM-5.4 only through the GLM Coding Plan, with no pay-as-you-go API, API price or weights, multipliers 4.6, 1.1 and 16; GLM-5.3 at 1.4, 0.26 and 4.4 dollars at Z.ai and 8, 2 and 28 yuan at BigModel, multipliers 6.9, 1.7 and 24; GLM-5.3-Flash at 0.15, 0.03 and 0.50 dollars and 0.8, 0.23 and 2.8 yuan, multipliers 2.3, 0.56 and 8.
Access, prices per million tokens and credit multipliers of the three models on 24 November 2026. Sources: Z.ai and BigModel price lists, GLM Coding Plan page. Diagram: QDNA, based on the article.
Top of the GLM Coding Plan Overview page in the Z.ai documentation: a single subscription for coding and office agent tools, usable with ZCode, Claude Code, Codex, OpenCode, AutoClaw and OpenClaw.
Top of the GLM Coding Plan page, captured on 24 November 2026 at 06:13 UTC; the multiplier table sits further down the same page. Source: docs.z.ai.

What does GLM-5.4 change for an on-site deployment?

For an on-site deployment, GLM-5.4 changes nothing today: with no published weights, it cannot be downloaded or sized, and only GLM-5.3 and GLM-5.3-Flash can be installed on your own server, so they are the models to evaluate for a project starting now.

GLM-5.3 weighs 756 GB in FP8 and 464 GB in the NVFP4 version published by NVIDIA, which calls for several GPUs or two linked DGX Stations, whereas GLM-5.3-Flash weighs 328 GB in FP8 and, once quantized, fits within the 512 GB of a Mac Studio M5 Ultra.

The site's memory calculator gives the footprint of each format, with the cache and concurrency you need. For GLM-5.4, Z.ai says an extra loop costs only one sliding window of cache, without publishing a figure: we estimate neither its memory nor its throughput until its weights are published.

Points to watch

Seven points deserve attention before building a project on GLM-5.4: they come down to what Z.ai has not yet published, to the Coding Plan access terms and to the lack of any independent measurement of the model as of 24 November 2026.

  • Weights: their release is only reported by the press quoting Zhipu's WeChat account, with no date or licence.
  • Pay-as-you-go API: promised after a security assessment, with no date or price.
  • Independent measurements: none as of 24 November 2026, and Artificial Analysis has no page for the model yet.
  • Actual size: active parameters and expert count not published; "750B" refers to the scale of the base model.
  • Context: one million tokens announced, but BigModel advises 512,000 in coding tools.
  • Overlong reasoning: a limitation Z.ai itself acknowledges in its documentation.
  • Tier prices: only the $18-a-month entry tier appears in a readable official source.

Frequently asked questions

Is GLM-5.4 open source?

Not as of 24 November 2026. There is no GLM-5.4 repository on Hugging Face and no published licence. The Chinese press, quoting Zhipu's WeChat account, reports that the weights will be opened "responsibly", with no date, while the official Z.ai and BigModel documentation does not mention it.

Can you use GLM-5.4 through an API?

Not on a pay-as-you-go basis: Z.ai will open the model API after a security assessment, with no announced date. A GLM Coding Plan subscriber can however reach it with a subscription key, including through the OpenAI-compatible endpoint, in the supported coding tools.

How many parameters does GLM-5.4 have?

Z.ai places GLM-5.4 at the 750-billion-parameter scale of its GLM-5 base model, without giving an exact count. The number of active parameters per token has not been published. The model has 78 distinct layers, 28 of which every token goes through twice.

Is GLM-5.4 better than GLM-5.3?

Z.ai says so, based on an internal evaluation of 200 programming scenarios, with 51.1% wins, 25.7% ties and 23.1% losses against GLM-5.3. The judge and the protocol are not published, and no independent measurement exists as of 24 November 2026.

How much does GLM-5.4 cost?

GLM-5.4 has no published API price. It is used through the GLM Coding Plan, which starts at $18 a month, with a credit multiplier of 4.6 for input and 16 for output, against 6.9 and 24 for GLM-5.3. A multiplier does not give a price per million tokens.

Which GLM model should you install on site today?

GLM-5.3 or GLM-5.3-Flash, the only ones with published weights. GLM-5.3 weighs 756 GB in FP8 and 464 GB in NVFP4, while GLM-5.3-Flash weighs 328 GB in FP8 and reads images and videos. The site's memory calculator gives the footprint for each format, context and concurrency level.

Official sources

Further reading