CoAI
News

Z.ai's GLM-5.4 Now Available on the Pay-As-You-Go API, at the Same Price as GLM-5.3: $1.4 Input and $4.4 Output per Million Tokens

The flagship model of Z.ai (智谱, Zhipu AI), "GLM-5.4," is now available not only on flat-rate plans but also on the regular API, where you pay only for what you use. Pricing is $1.4 for input and $4.4 for output per million tokens, the same as the previous model, GLM-5.3. It has also been listed on OpenRouter. The model's weights have not yet been released.

December 2, 20264 min read
Screenshot of the official Z.AI Developer Document — GLM-5.4 page
Z.AI Developer Document — GLM-5.4 · SourceCaptured: December 3, 2026

Screenshots show the official pages on the capture date and may differ from the pages at publication. Select an image to enlarge it.

"GLM-5.4," the flagship model of Chinese AI company Z.ai (智谱, Zhipu AI), is now available on the regular API, where you pay only for what you use. When it was released in late November 2026, it was limited to options such as the flat-rate coding plan "GLM Coding Plan," and Z.ai said it would release the general API "after the safety evaluation is complete." As of December 3, 2026, the pricing page of Z.ai's developer documentation lists pay-as-you-go pricing for GLM-5.4, and the model description page has also added instructions for using it via the API.

CoAI could not find an announcement in which Z.ai itself gave the date API availability started. It was listed on OpenRouter, a service that lets you use many AI models in one place, on December 2, 2026 (Japan time).

We covered the features of GLM-5.4 itself (image and video input, a new architecture called Loop Transformer, and so on) in our November article, "Z.ai Launches New Model "GLM-5.4" on Its Flat-Rate Coding Plan." This article focuses on what has changed with API availability.

Same price as GLM-5.3

According to Z.ai's pricing page, GLM-5.4 costs the following per million tokens (tokens are the units text is broken into).

  • Input: $1.4
  • Cached input: $0.26
  • Cache storage: free for a limited time
  • Output: $4.4

Caching is a mechanism that lowers costs by reusing previous processing results when you repeatedly send the same input. This pricing is the same as for GLM-5.3, GLM-5.2 and GLM-5.1, listed on the same page. The new flagship model, with improved performance, can now be used at the same price as the previous models.

For lighter use, GLM-5.3-Flash ($0.15 input, $0.50 output) and GLM-5.3-FlashX ($0.37 input, $1.25 output) remain available.

API specifications and usage caveats

The main specifications listed on the model description page and in the migration guide for the new model are as follows.

  • Model name: "glm-5.4"
  • Input: video, images, text and files (output is text)
  • Amount of text it can handle at once (context): 1 million tokens
  • Maximum output per call: up to 128,000 tokens
  • Supports calling external tools (Function Calling), output in fixed formats, caching and streaming (returning output bit by bit)

One thing to watch is how "thinking mode," which adds a thinking process, is handled. According to the migration guide, thinking mode is on from the start in GLM-5.4, and trying to turn it off returns an error. You can choose the thinking depth from "low," "high" and "max" with a setting called "reasoning_effort." Z.ai's recommended settings are a temperature (output variability) of 1, top_p of 0.95 and reasoning_effort of "max."

Z.ai lists as a weakness that GLM-5.4 "tends to overthink and fall into long loops." Because thinking also counts as output tokens, not being able to turn off thinking mode affects costs too. For uses where a short answer is enough, options include setting reasoning_effort to "low" or using the lighter Flash models.

For migrations from GLM-5.2 and other models, the migration guide advises checking differences in settings like these, not just changing the model name.

Also available on OpenRouter

On OpenRouter, it is listed under the name "z-ai/glm-5.4." Input is text, images and video, and several providers besides Z.ai itself offer the model. Most providers charge the same as Z.ai, $1.4 for input and $4.4 for output, but pricing and maximum output per call vary by provider. When Z.ai itself provides it via OpenRouter, the maximum output per call is shown as 131,072 tokens.

Weights not released, and use from Japan

As of December 3, the model's weights (its underlying data) have not been released on Z.ai's Hugging Face page. Only models up to GLM-5.3 and GLM-5.3-Flash are available. If you want to run it on your own servers, you cannot do so yet.

The regions listed as unavailable in the terms of use for the international version of Z.ai are Iran, North Korea, Cuba, Crimea, Donetsk and Zaporizhzhia; Japan is not included. However, there is no guidance written specifically about API use in Japan, and there is no official statement on its Japanese performance.

CoAI's take

GLM-5.4 has gone from a model available only within flat-rate plans to one you can build into your own apps. Because the price was kept the same as GLM-5.3, people already using GLM-5.3 via the API can easily try it by changing the model name. However, since thinking mode cannot be turned off, output tokens increase even for the same question, and the actual bill may be higher. It is safest to compare cost and response speed on a small amount of real data before switching.

Z.ai is also adding models for specific uses, such as "GLM-Legal" for legal work. If you use it for business, check in the terms of use how your input data is handled. All performance evaluations are Z.ai's own, and outside verification is still to come.

Sources

Tools mentioned in this article

Back to news