GLM-5.4 API: call it today as an AIVAX subscription model
Z.ai's pay-as-you-go API for GLM-5.4 has not opened yet. On AIVAX Pro, Max and Ultimate it answers today as @aivax-subscription/glm-5.4, with a 500K context, tool calling and three reasoning efforts, on the plan's monthly subscription quota.
Z.ai released GLM-5.4 on November 23, 2026, and the "Getting Started" list at the end of its launch post has one entry that is not available yet: "API (Coming Soon)". The model runs in Z.ai's chat, in its ZCode editor and inside the GLM Coding Plan subscription. There is no pay-as-you-go endpoint, no published per-token price, and open weights are planned "after completing necessary safety hardening", with no date.
If you want GLM-5.4 in your own code, or in a harness you configure yourself with an API key you already manage, that leaves nothing to call. From today, Pro, Max and Ultimate accounts on AIVAX can call it as @aivax-subscription/glm-5.4. It runs on the plan's monthly subscription quota, and a request to it never debits the account balance.
GLM-5.4 runs part of the GLM-5 base twice
GLM-5.4 is Z.ai's first flagship built as a Loop Transformer. Each forward pass runs a block of 28 layers from the GLM-5 base twice, with per-token gates that decide how much of the second pass gets written back into the residual stream. The depth comes from reusing weights, so the parameter count stays where it was: Z.ai describes the model at the 750B scale and claims intelligence "comparable to 2T-3T parameter models".
For anyone sending it requests, the more useful line in the post is a limitation Z.ai states itself: the model "tends to get caught in overly long 'marathon thinking' loops". Z.ai says the extra reflection improves accuracy. It also means a hard prompt can take a lot longer than an easy one, and a client timeout should leave room for that. The post's other number on thinking length, 10–14% shorter outputs, comes from an ablation on a 30B model with the same design, and says little about how long GLM-5.4 itself will think.
A request needs only the new model name
Any OpenAI-compatible client works against the Chat Completions endpoint:
curl https://inference.aivax.net/v1/chat/completions \
-H "Authorization: Bearer $AIVAX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "@aivax-subscription/glm-5.4",
"reasoning_effort": "high",
"messages": [{ "role": "user", "content": "Reply with exactly: ok" }]
}'
The same name works on /v1/responses and /v1/messages, the two APIs coding agents speak. For the Codex CLI, the provider block from the harness integration guide works with the model line pointed at GLM-5.4. Codex does not know AIVAX models, so the context window has to be set by hand as well:
model_provider = "aivax"
model = "@aivax-subscription/glm-5.4"
model_context_window = 500000
[model_providers.aivax]
name = "AIVAX"
base_url = "https://inference.aivax.net/v1"
env_key = "AIVAX_API_KEY"
wire_api = "responses"
supports_websockets = false
With that file, codex exec printed a warning that it has no metadata for the model name, then wrote a small JavaScript module and its node:test file and ran the tests, which passed. The same guide has the settings for Claude Code, OpenCode and other harnesses.
The AIVAX version is narrower than Z.ai's launch post
Z.ai credits GLM-5.4's range to "improvements in both coding and vision", and its launch examples include video and 3D work. The AIVAX catalog lists @aivax-subscription/glm-5.4 with text input, tool calling and reasoning, and no image or video input for now. Check the catalog entry before you design around vision.
The context window is 500,000 tokens, like every other subscription model. Z.ai's post discusses deployment cost "at 1M context lengths"; on AIVAX a request over 500K is rejected with an error. A harness that assumes 1M needs its limit lowered, which is what the model_context_window line does for Codex.
Reasoning effort accepts max, high and low, the same three values as GLM-5.3. We sent one short coding prompt, a function that merges overlapping intervals, once at each level. At low the answer came back with no reasoning text; at high and max it opened with a one-line reasoning block, and all three took between 4 and 7 seconds. One easy prompt cannot separate high from max. Our guide to reasoning effort across providers covers what these values mean on other models.
Temperature is fixed at 1.0. In a direct API request a temperature field is accepted and not applied, while an AI Gateway that stores a temperature for this model fails validation. Several reasoning models follow the same rule, as described in our post on the "temperature is not supported" error.
The pricing page shows each subscription model's throughput, time to the first token and uptime over the last 24 hours, next to GLM-5.3 and the rest of the catalog. Expect GLM-5.4 to start answering later than GLM-5.3: it thinks before the first token, and on long reasoning that wait grows.
The quota is shared with every other subscription model
All subscription models draw from one monthly quota. The subscription models table expresses what each plan includes as an equivalent at the model's catalog price: for GLM-5.4, about $30 on Pro, $130 on Max and $320 on Ultimate. Those figures assume the whole quota goes to GLM-5.4. Traffic split between GLM-5.4 and, say, Kimi K3.1 Pro divides the same pool. The pricing page shows the same estimate per plan, recalculated from the last 24 hours of usage.
When the quota runs out, the request returns 429 Too Many Requests and is not routed to a paid model. To keep going before the quota renews, your code has to name another model. A client that treats every 429 as "wait and retry" will wait until the renewal date, so check which model returned it before backing off.
Subscription models are not zero data retention. Prompts are kept for an indefinite period, and an account with ZDR-only routing cannot use them. We would not send customer or regulated data through GLM-5.4 on these terms.
Evaluate it now, keep production off it for a while
Our recommendation is to use this window for evaluation. Point a harness you already run at GLM-5.4, give it tasks you already give GLM-5.3 or Kimi K3.1 Pro, and read the diffs side by side. On a Pro, Max or Ultimate plan that costs a share of a quota the plan already includes, and it runs through the same API key and endpoint as the rest of your AIVAX traffic.
We would not wire a customer-facing pipeline to it yet. @aivax-subscription/glm-5.4 is an AIVAX name, Z.ai has not published the model ID its own API will use, and a dependency that answers 429 with no fallback when a monthly pool empties is the wrong one for a path users wait on. Keep the model name in configuration, as we argued when comparing pinned model IDs and aliases, so moving to a paid GLM-5.4 route later touches one setting.
The requests, the reasoning-effort comparison and the Codex run in this post ran against the live AIVAX API on November 27, 2026. Z.ai's claims are quoted from its launch post as read on the same day.