How Much To Run AI
Hosted API

GLM-5.4: Coding Plan Access, Quota and Loop Architecture

GLM-5.4 is Z.ai’s multimodal coding model, available through all GLM Coding Plan tiers. Its Loop Transformer runs 28 shared GLM-5 layers twice, while the plan grants 1.5 times the GLM-5.3 token quota on eligible current plans. Z.ai’s standard Model API still awaits a security assessment, and no direct GLM-5.4 API rate is published. Weights are planned after safety hardening.

Content reviewed:

Read Z.ai’s GLM-5.4 model guide ↗
GLM-5.4 reuses 28 GLM-5 layers for two passes, adding computation while keeping the 750-billion-parameter base model size. The current access route is the GLM Coding Plan, with no general API price listed yet.
Architecture and access summary based on Z.ai documentation. The 2T–3T comparison is the publisher’s claim about intelligence, not a hardware estimate.

Use this model

Online access and trials

Use cases

  • Use a coding agent for a multi-file change and compare accepted work with GLM-5.3.
  • Send screenshots, files or long project context through a supported coding workflow.
  • Estimate whether a monthly plan fits your team’s coding-agent workload before relying on a per-token budget.

When should you use GLM-5.4?

GLM-5.4 is aimed at programming and longer agent workflows. Z.ai also demonstrates it writing and editing video, generating games, creating 3D scenes and producing mechanical CAD. Those examples show the broader tasks the vendor is targeting. Test your own acceptance criteria before treating a demonstration as a repeatable production result.

The model accepts text, images, video and files, and returns text. Z.ai lists a one-million-token context and up to 128,000 output tokens. A large context ceiling is useful for long codebases or documents, but it does not guarantee that every coding client can upload that much content or that every request will fit within a plan quota.

Z.ai describes GLM-5.4 as having intelligence comparable to 2T–3T-parameter models. That is the publisher’s characterization of capability. It does not mean the model contains 2T–3T parameters or needs hardware sized from those figures.

What does the Loop Transformer change?

Z.ai says GLM-5.4 starts from a 750B-parameter GLM-5 base and reuses a shared group of 28 layers for two iterations. The second pass refines hidden states produced by the first, increasing effective depth without storing another independent copy of those layers. This is not equivalent to doubling the model’s parameter count.

The second pass also reuses selected attention indices and most KV state from the first pass. Z.ai says it adds a sliding-window KV stream for the second pass instead of duplicating the full context cache. That design is intended to keep the extra inference memory manageable at long context, though the guide does not publish a complete serving memory figure for customer deployments.

The plan interface offers Low, High and Max thinking levels, with Max as the default. The vendor notes that long “marathon thinking” can use quota quickly. Start at a lower setting for a small edit or direct question, then reserve Max for tasks where the extra reasoning is valuable. Compare the full task, including tool calls and retries, rather than judging by the first response.

Z.ai reports up to 200 tokens per second off peak and 70–80 at peak load. These are provider-reported service figures, not an independent benchmark or a guarantee for each account, region, prompt or coding client.

How can you access GLM-5.4, and what does it cost?

GLM-5.4 is available to Lite, Pro, Max and Team GLM Coding Plan users through ZCode or compatible coding tools. The current official documentation says weekly-quota plans provide 1.5 times as many usable tokens with GLM-5.4 as GLM-5.3 under the same quota. The 1.5× benefit does not apply to legacy V1 plans.

At this check, ZCode’s global page displays monthly prices of $12.60 for Lite (list $18), $56 for Pro (list $80) and $117.60 for Max (list $168). Prices and benefits can change; BigModel has a separate mainland-China storefront. BigModel currently lists 2,000 five-hour and 10,000 weekly credits for Lite, 12,000 and 60,000 for Pro, and 28,000 and 140,000 for Max. Per 10,000 tokens, GLM-5.4 uses 4.6 credits for uncached input, 1.1 for cached input and 16 for output; GLM-5.3 uses 6.9, 1.7 and 24, respectively. Model calls consume half the standard credits outside the peak window, which runs Monday to Friday, 14:00–18:00 UTC+8. Actual task usage depends on generated tokens, cache hits, tool calls and retries.

Z.ai’s standard Model API guide still says access will follow a security assessment, and its direct rate card has no GLM-5.4 price. Do not estimate Z.ai API bills with GLM-5.3’s $1.40 input and $4.40 output rates. Z.ai still describes weights as planned after safety hardening, without a release date.

To try it in ZCode, select GLM-5.4 in the model picker. In a compatible Coding Plan client, the documented model name is glm-5.4. Claude Code uses glm-5.4[1m]. The Coding Plan endpoint is separate from the standard pay-as-you-go Model API endpoint, so configure the credential and endpoint for the plan you actually use.

RouteCurrent statusCost basis
GLM Coding PlanAvailable on Lite, Pro, Max and TeamMonthly subscription and plan credits; 1.5× GLM-5.3 token quota on eligible weekly plans
Z.ai standard Model APIAwaiting completion of the security assessmentNo GLM-5.4 token rate in Z.ai’s direct price list
Open weightsPlanned after safety hardeningNo local hardware or self-hosting cost can be estimated yet

What have third-party coding runs reported?

These reports use different suites and units, so read each row on its own terms. ModelDial’s Max entries use a private coding suite and were published on different dates; its GLM-5.4 reference cost is missing. That comparison does not establish a general speed or subscription-cost advantage.

AICodeKing’s KingBench 4 post attributes its longer suite run mainly to more reasoning steps and tokens rather than slower individual steps. This is one reviewer’s harness, not a standardized latency measure, and the post does not report Coding Plan credits or per-task cost.

QWJCool tried the same prompt a week apart. GLM took longer than Gemini and returned an incomplete page. The post leaves the reasoning effort and test environment unspecified.

EvaluationReported GLM-5.4 resultComparator and measurement limits
ModelDial GLM-5.4 Max, private coding suite47.6/100; 125m 49s total; reference cost not listedFive-dimension private task suite. This is a dated publisher evaluation, not an agent task or Coding Plan usage record.
ModelDial GLM-5.3 Max, private coding suite47.2/100; 279m 37s total; $31.10 API-equivalent reference costSame publisher and suite, but a separate dated evaluation. The cost is an API-equivalent reference, not a GLM Coding Plan charge.
AICodeKing KingBench 4, Max431m total; 1,128 steps; about 1.04M reasoning tokensGemini 4 Neon: 109m, 244 steps and about 70K tokens. One author’s harness; no plan-credit or task-level cost report.
QWJCool one-prompt reportMore than six hours; output described as incompleteGemini 4 Neon: 25m on the same prompt the previous week. Effort setting and run environment not given.

GLM-5.4 or GLM-5.3?

Choose GLM-5.4 when you want the newer reasoning architecture, image or video input, and longer coding-plan context. Choose GLM-5.3 when you need its already published general API rates or open weights today. GLM-5.3-Flash remains available for lighter tasks, and Z.ai says it is not automatically replaced when GLM-5.4 is selected elsewhere.

A useful comparison uses the same repository issue, tools, acceptance tests and time limit. Record whether the patch passes, total plan usage, elapsed time, output tokens and retries. A 1.5× quota allowance does not by itself establish lower cost per accepted task.

DecisionGLM-5.4GLM-5.3
AccessGLM Coding PlanGeneral API, GLM Coding Plan and open weights
InputText, image, video and fileText
Context / max output1M / 128K tokens1M / 128K tokens in the model guide
Published API priceNot listed$1.40 input / $4.40 output per million tokens
Weight licenseWeights not releasedGLM-5.3 License

Before you use it

  • The 2T–3T intelligence comparison and the throughput figures come from Z.ai. They are not independent benchmarks or hardware specifications.
  • Z.ai’s standard Model API has no published GLM-5.4 rate.
  • Third-party coding results use private suites and publisher-reported conditions. They do not predict the elapsed time or plan credits of a different task.
  • Plan credits, regional fees and subscription promotions can change. Check the plan page before purchase.

How to get started

Use the official model guide for current access and the matching provider’s price page for API terms. Compare coding-plan results by accepted work per credit, including retries and tool activity. Keep Z.ai’s standard API and its Coding Plan separate when estimating cost.

Sources

Sources (15)

Calculators