GLM-5.4 Is Live in Coding Plans, But the API Is Not Yet (2026)

On November 23, 2026, Z.ai launched GLM-5.4, its first model built on a Loop Transformer architecture. The rollout has a catch that matters if you call models from code. GLM-5.4 is available now to GLM Coding Plan subscribers, but Z.ai's documentation says the Model API will open only after a security assessment. The docs we checked on November 25 give no date for that.

So the practical question is not "how do I call GLM-5.4." It is "what can I build against today, and what should I budget for." This guide covers both.

Key Takeaways

  • Z.ai released GLM-5.4 on November 23, 2026, and GLM Coding Plan users can use it now.
  • The GLM-5.4 Model API is not open yet. Z.ai's docs say it opens after a security assessment, with no date published.
  • Z.ai's GLM-5.4 model page lists a 1M-token context length and a 128K-token maximum output.
  • GLM-5.3 costs $1.40 per 1M input tokens, $0.26 per 1M cached input tokens, and $4.40 per 1M output tokens on pay-as-you-go pricing.
  • GLM-5.3-Flash costs $0.15 per 1M input tokens and $0.50 per 1M output tokens, which is about one-ninth the output price of GLM-5.3.

What Z.ai Changed in GLM-5.4

Z.ai's main claim is architectural. GLM-5.4 reuses 28 layers of the GLM-5 base model across two passes. The first pass builds global context and writes conservatively into the residual stream. The second pass reuses that state and refines the output. Per-token gates control how much each pass writes, and the gates adjust step size based on how hard each token is.

The cache detail is the part that affects cost. Z.ai says the second pass reuses the first pass's KV entries for the full context, and only adds the KV cache for one sliding window of the second pass. In other words, the extra loop does not double the context cache. Z.ai says this keeps the deployment cost increase over GLM-5.3 "well under control" at 1M-token context lengths. That is the vendor's statement. We have not measured it.

The model also takes image, video, and file input, and outputs text. Z.ai positions it for "Generalized Coding," meaning code generation for tasks beyond normal software work, such as building games and editing video through code.

Can You Call It From Code Today?

No. Coding Plan users can select GLM-5.4 in supported coding tools. Users on weekly-quota plans get 1.5 times the GLM-5.3 quota. Nothing in the docs we read gives a Model API endpoint or a date for pay-as-you-go access.

If your service needs an API key this week, plan around GLM-5.3 or GLM-5.3-Flash. Both are listed on the pay-as-you-go pricing page. Keep the model ID in configuration, so you can switch to GLM-5.4 later without code changes.

Current GLM API Prices to Budget With

These are Z.ai's published prices in USD per 1 million tokens. Cached input storage is listed as limited-time free on the pricing page, so storage charges could return when that promotion ends.

ModelInputCached InputOutputStatus
GLM-5.4Not publishedNot publishedNot publishedCoding Plan only; Model API pending
GLM-5.3$1.40$0.26$4.40Pay-as-you-go
GLM-5.3-FlashX$0.37$0.075$1.25Pay-as-you-go
GLM-5.3-Flash$0.15$0.03$0.50Pay-as-you-go
GLM-5$1.00$0.20$3.20Pay-as-you-go

How the Options Compare

AttributeGLM-5.4GLM-5.3GLM-5.3-Flash
API accessModel API pending security assessmentPay-as-you-go APIPay-as-you-go API
Input price per 1M tokensNot published$1.40$0.15
Output price per 1M tokensNot published$4.40$0.50
Listed context length1M tokensNot listed on the pricing pageNot listed on the pricing page
Best forCoding and vision work inside Coding Plan toolsProduction calls where cost per token matters less than qualityHigh-volume calls where a cheaper model is good enough
Key limitationNo pay-as-you-go API yetAbout 9.3 times the Flash input priceLower price, so test quality on your own prompts first

Cost Math for a Typical Request

Take a request with 6,000 fresh input tokens, 20,000 cached input tokens, and 1,500 output tokens. The script below calculates the cost on both current prices.

PRICES = {  # USD per 1M tokens, from Z.ai's pricing page
    "glm-5.3":       {"input": 1.40, "cached": 0.26, "output": 4.40},
    "glm-5.3-flash": {"input": 0.15, "cached": 0.03, "output": 0.50},
}

def request_cost(model, fresh_in, cached_in, out):
    p = PRICES[model]
    total = fresh_in * p["input"] + cached_in * p["cached"] + out * p["output"]
    return total / 1_000_000

for model in PRICES:
    print(f"{model}: ${request_cost(model, 6000, 20000, 1500):.5f} per request")

# glm-5.3:       $0.02020 per request
# glm-5.3-flash: $0.00225 per request

What to Do Next

If you need a GLM model in production this week, use GLM-5.3-Flash for high-volume calls and GLM-5.3 where output quality matters more. Keep the model name in configuration so you can switch to GLM-5.4 once its Model API opens, without touching application code.

Test 50 to 100 of your own prompts before you switch. Vendor benchmarks do not show how a model handles your data, your formatting rules, or your tool calls. Measure output quality and token counts on your own traffic, then decide.

Estimate the monthly bill with the API cost calculator, and check prompt length with the token counter. KissAPI also offers one OpenAI-compatible endpoint across several model families, so moving traffic between models stays a configuration change. Create a free account to test that setup.

Frequently Asked Questions

Can I call GLM-5.4 through the Model API today?

Not yet. Z.ai's GLM-5.4 documentation says the Model API will open after a security assessment is complete. The docs give no date. GLM-5.4 is available now to GLM Coding Plan users.

What context window and output limit does GLM-5.4 list?

Z.ai's GLM-5.4 model page lists a 1M-token context length and a maximum output of 128K tokens.

What does GLM-5.3 cost per million tokens?

On Z.ai's pricing page, GLM-5.3 costs $1.40 per 1M input tokens, $0.26 per 1M cached input tokens, and $4.40 per 1M output tokens. GLM-5.3-Flash costs $0.15 input, $0.03 cached input, and $0.50 output per 1M tokens.

Test Your Prompts Before You Switch Models

Create a free account at api.kissapi.ai/register and run your own prompts against the models you are considering.

Start Free