Model comparison · 2026-11-24

When is GLM-5.4 on the API? What Z.AI says, and GLM-5.3

As of 24 November 2026 GLM-5.4 is not on Z.AI's Model API. What Z.AI has said, the Coding Plan vs Model API difference, and GLM-5.3 on LLMTR.

Diagram: a GLM-5.3 family box under the https://llmtr.com/v1 address, with zai/glm-5.3, zai/glm-5.3-flash and zai/glm-5.3-flashx boxes below it.

Short answer: GLM-5.4 is not on the Model API; GLM-5.3 is available

LLMTR is a gateway that gives access to AI models from different providers through an OpenAI-compatible API. As of 24 November 2026 Z.AI has not released GLM-5.4 on its Model API. According to Z.AI's announcement of 23 November 2026, GLM-5.4 is available in the GLM Coding Plan, ZCode and Z.ai Chat; the announcement lists the API as coming soon, and the guide says the Model API will be made available once the security assessment is complete. There is no GLM-5.4 row on Z.AI's pricing page and no GLM-5.4 entry in its release notes. Of the models Z.AI has released on the Model API, GLM-5.3 is called at https://llmtr.com/v1/chat/completions with the id zai/glm-5.3 and an API key created in your llmtr.com account; under the agreement between LLMTR and Z.AI, its price is 10% below the Z.AI list price.

Z.AI has given no date or price for the Model API, and this article gives no estimate for GLM-5.4. Below you will find what Z.AI has written about GLM-5.4, how the Coding Plan differs from the Model API, and how to use GLM-5.3 until GLM-5.4 arrives.

What has Z.AI said about GLM-5.4?

According to Z.AI's guide, GLM-5.4 is a GLM model built on the Loop Transformer architecture: 28 layers of the GLM-5 base model run twice with the same weights, at a 750-billion-parameter scale. Z.AI says the model reaches an intelligence level comparable to models with 2 to 3 trillion parameters. The second article in this series explains how the architecture works.

Z.AI presents GLM-5.4 as the start of Generalized Coding: writing code to generate and edit videos, build games, and do 3D modeling and mechanical design. According to the guide, the model supports thinking mode, streaming responses, tool calls through function calling, context caching and structured output such as JSON. Z.AI also lists as a limitation that the model tends to get caught in overly long thinking loops; in the same place it adds that this prolonged reflection consistently improves accuracy.

What Z.AI's GLM-5.4 guide and announcement state, 24 November 2026
FeatureWhat Z.AI states
Context window1M tokens
Output ceiling per response128K tokens
InputsVideo, image, text, file
OutputText
CapabilitiesThinking mode, streaming, function calling, context caching, structured output
AccessGLM Coding Plan, ZCode, Z.ai Chat; Model API after the security assessment
Model API priceNot announced
WeightsPlanned to be open-sourced after safety hardening; no date given

How the GLM Coding Plan differs from the Model API

The GLM Coding Plan is a subscription Z.AI sells for use in coding tools. According to Z.AI's FAQ, the plan's quota can only be used in supported tools, and API calls outside the plan are not available. Section 4 of the subscription terms prohibits, unless a separate written agreement with Z.AI is in place, using the quota to call model APIs directly from your own applications, bots, websites or SaaS products, and providing the plan to third parties; a subscription is tied to a single person.

The Model API is pay-as-you-go access called from applications. ZCode and Z.ai Chat, by contrast, are Z.AI's own apps. If you want GLM-5.4 in a product, an internal tool or a system that serves your customers, you have to wait for the Model API to open. Until then you can use the GLM-5.3 family, which is released on the Model API.

GLM-5.3 and GLM-5.4 compared

The table compares the GLM-5.3 row in the LLMTR catalog with Z.AI's GLM-5.4 guide. Z.AI gives 128K output for both models; the catalog's 131,072 is 128 × 1,024. Prices are per 1M tokens, in the order input / cached input / output. Under the agreement between LLMTR and Z.AI, the LLMTR price is 10% below the list price; on the model page the list price appears struck through for comparison.

On GLM-5.3, reasoning is always on; its depth is chosen with reasoning_effort as low, high or max, and when no level is chosen LLMTR sends low. Z.AI writes that GLM-5.4 supports thinking mode but has not documented its reasoning_effort levels. If you need image input, use GLM-5.3-Flash or GLM-5.3-FlashX; both accept image input on LLMTR.

GLM-5.3 (LLMTR catalog) and GLM-5.4 (Z.AI guide), 24 November 2026
FeatureGLM-5.3GLM-5.4
On LLMTRCalled with the id zai/glm-5.3Not in the catalog; Model API not open
Context window1,000,000 tokens1M tokens
Output ceiling131,072 tokens128K tokens
InputsTextVideo, image, text, file
ReasoningAlways on; low, high, maxThinking mode; levels not documented
Z.AI list price$1.40 / $0.26 / $4.40Not announced
LLMTR price$1.26 / $0.234 / $3.96Not announced

How do you call GLM-5.3 on LLMTR?

Three steps are enough. Start by creating an API key on llmtr.com and loading a balance under Dashboard > Billing. Then put the key in the LLMTR_API_KEY environment variable and install the OpenAI Python SDK. Finally set base_url to https://llmtr.com/v1 in the client and write zai/glm-5.3 in the model field.

The example below sends a coding request to GLM-5.3 and works out its cost at the LLMTR price from the token counts in the usage field: prompt_tokens for input, completion_tokens for output and, when the response includes it, prompt_tokens_details.cached_tokens for cached input. Reasoning tokens are part of the output: they count against max_tokens and are billed at the output price. With a low limit the answer can be cut off while the model is still reasoning, so do not set max_tokens low. When GLM-5.4 is added to the catalog, change the model value and check the reasoning_effort levels on its model page; those levels changed between GLM-5.2 and GLM-5.3.

OpenAI Python SDK example that sends a request to GLM-5.3 through https://llmtr.com/v1/chat/completions and works out its cost at the LLMTR price from the usage field.

import os

from openai import OpenAI

client = OpenAI(base_url="https://llmtr.com/v1", api_key=os.environ["LLMTR_API_KEY"])
MODEL = "zai/glm-5.3"
# LLMTR price per 1M tokens: input, cached input, output.
PRICE = (1.26, 0.234, 3.96)

response = client.chat.completions.create(
    model=MODEL,
    messages=[{"role": "user", "content": "Write a Python function that checks whether a string is a valid IPv4 address, with three test cases."}],
    reasoning_effort="low",
    max_tokens=4096,
)

usage = response.usage
details = usage.prompt_tokens_details
cached = (details.cached_tokens or 0) if details else 0
cost = ((usage.prompt_tokens - cached) * PRICE[0] + cached * PRICE[1] + usage.completion_tokens * PRICE[2]) / 1_000_000
print(response.choices[0].message.content)
print("tokens:", usage.prompt_tokens, usage.completion_tokens, "cost: $%.6f" % cost)

Summary for your team

Recommendation: until the GLM-5.4 Model API opens, use GLM-5.3 through llmtr.com, with the id zai/glm-5.3 at https://llmtr.com/v1/chat/completions. As of 24 November 2026 Z.AI does not offer GLM-5.4 on its Model API, and the GLM Coding Plan quota cannot be used in your own applications. Under the agreement between LLMTR and Z.AI, GLM-5.3 is 10% below the Z.AI list price: $1.26 input and $3.96 output per 1M tokens.

The reasons: one LLMTR API key and a loaded balance are enough, and no separate Z.AI account is needed. On LLMTR the GLM chat models are called at the same endpoint; when GLM-5.4 is added to the catalog, you change the model id and check the reasoning_effort levels on its model page. Usage appears on the Dashboard > Usage page.

Calling GLM-5.3 through LLMTR

Create an API key, point the OpenAI Python SDK at https://llmtr.com/v1 to call zai/glm-5.3, and work out the cost from the usage field.

  1. Key. Create an API key on llmtr.com, load a balance under Dashboard > Billing and put the key in the LLMTR_API_KEY environment variable.
  2. Request. In the OpenAI Python SDK, set base_url to https://llmtr.com/v1 and model to zai/glm-5.3; choose low, high or max with reasoning_effort and do not set max_tokens low.
  3. Check. Multiply the token counts in the usage field by the LLMTR price and compare the result with the amount on the Dashboard > Usage page.

Frequently asked questions

Is GLM-5.4 on the API?

No. As of 24 November 2026 GLM-5.4 is in the GLM Coding Plan, ZCode and Z.ai Chat, not on the Model API; Z.AI writes that the Model API will be made available after the security assessment. GLM-5.3, which is on the Model API, is called on LLMTR with the id zai/glm-5.3.

How much will the GLM-5.4 API cost?

Z.AI has not announced a Model API price for GLM-5.4; there is no GLM-5.4 row on its pricing page. GLM-5.3 costs $1.26 input and $3.96 output per 1M tokens on LLMTR; Z.AI's list price is $1.40 and $4.40.

Can I use a GLM Coding Plan key in my own application?

Not under Z.AI's terms. The plan's quota is for supported coding tools only. Unless you have a separate written agreement with Z.AI, section 4 of the subscription terms prohibits using the quota to call model APIs directly from your own applications, bots, websites or SaaS products, and providing the plan to others. Applications need the Model API.

Does GLM-5.4 have open weights?

Not yet. In its announcement of 23 November 2026 Z.AI writes that it plans to open-source the weights responsibly after completing the necessary safety hardening; no date or license has been given. The GLM-5 weights were published on Hugging Face in the zai-org/GLM-5 repository under the MIT license.

When will GLM-5.4 come to LLMTR?

GLM-5.4 is planned to be added to the LLMTR catalog when Z.AI opens the Model API; this article will be updated with the model id and price when it is added. Until then you can use GLM-5.3 with the id zai/glm-5.3.

Related posts