# GLM 5.4 Loop Transformer Pricing, Coding Plan Locks, and API (https://reapi.ai/resources/glm-5-4)

Z.ai launched **GLM 5.4** on November 23, 2026 by running 28 middle layers of its 750 billion parameter GLM-5 base twice per token, promising reasoning depth comparable to 2 trillion to 3 trillion parameter models inside a 1 million token context window.<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-2">\[2]</a></sup> Eight days later, on December 1, 2026, a direct audit of Z.ai's billing portal, LiteLLM's 7,214-model registry, OpenRouter, Artificial Analysis, and Hugging Face shows a sharply narrower operational picture than the headline implies.<sup><a href="#ref-3">\[3]</a></sup><sup><a href="#ref-7">\[7]</a></sup><sup><a href="#ref-8">\[8]</a></sup><sup><a href="#ref-9">\[9]</a></sup><sup><a href="#ref-10">\[10]</a></sup>

There is still no pay-as-you-go public API, no per-token price card, no downloadable model weights, no `GLM 5.4 Flash` variant, and not a single published benchmark table for the 750 billion parameter flagship itself.<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-3">\[3]</a></sup><sup><a href="#ref-9">\[9]</a></sup> Access remains gated behind the GLM Coding Plan (starting at `$18` per month on Lite, up to `$168` per month on Max), ZCode, and signed-in Z.ai Chat, under strict tool-only usage rules that prohibit custom backend apps and allow account bans after three violations.<sup><a href="#ref-4">\[4]</a></sup><sup><a href="#ref-5">\[5]</a></sup><sup><a href="#ref-6">\[6]</a></sup>

## How GLM 5.4 Loops 28 Layers Without Exploding 1M Context

A conventional Transformer passes each token through every decoder block once. **GLM 5.4** keeps a 78-layer layout built on the 750 billion scale GLM-5 base, sending representations through 26 entry layers, looping layers 27 through 54 for two weight-shared iterations, and finishing with 24 exit layers.<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-11">\[11]</a></sup> That produces 106 effective layer applications per token without expanding the physical parameter footprint on GPU memory.<sup><a href="#ref-1">\[1]</a></sup>

Crucially, Z.ai did not train this looped model from scratch. Its research note states that looped models trained from scratch still trail standard unshared Transformers at equal pre-training compute budgets.<sup><a href="#ref-1">\[1]</a></sup> Instead, Z.ai adapted an existing pre-trained base via continued training, validating the recipe progressively across 1 billion, 4 billion, 30 billion, and 750 billion scales.<sup><a href="#ref-1">\[1]</a></sup> Making two-pass looping viable at a 1 million token context window required three concrete engineering modifications documented in the launch post:<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-2">\[2]</a></sup>

1. **Gated progressive updates**: Overwriting hidden states directly across loop passes caused activation norms to blow up before reaching downstream layers. Z.ai added independent per-token gates for each pass; the first pass builds global context conservatively with small gate values, and the second pass opens the gates for full refinement, writing harder tokens more aggressively on pass one.<sup><a href="#ref-1">\[1]</a></sup>
2. **Hybrid KV cache (global sharing plus local sliding window)**: Keeping two full 1 million token KV caches would double serving memory.<sup><a href="#ref-1">\[1]</a></sup> In **GLM 5.4**, the second iteration reuses the sparse KV selected on pass one and stores newly computed KV only inside a bounded local sliding window, keeping incremental memory overhead manageable at long context.<sup><a href="#ref-1">\[1]</a></sup>
3. **Sparse attention index reuse**: Rather than running the sparse attention indexer twice, pass two reuses pass one's attention indices at zero extra indexing cost, which Z.ai reports performs nearly identically to recomputing indices.<sup><a href="#ref-1">\[1]</a></sup>

On paper, those three changes pair with two visible product upgrades over GLM 5.3. First, official developer docs list input modalities of **Video, Image, Text, and File** (with Text output and a 128K output ceiling), whereas GLM 5.3 is text-only and audio input remains unlisted.<sup><a href="#ref-2">\[2]</a></sup> Second, fused systems kernels let Z.ai advertise up to 200 tokens per second off-peak and 70 to 80 tokens per second under peak load.<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-2">\[2]</a></sup>

One architectural catch matters for anyone wiring **GLM 5.4** into a latency-sensitive workflow. The internal 28-layer loop is fixed at two passes per token (dynamic adaptive loop counts remain an open research item under Z.ai's "Looking Ahead" section), yet the external chain-of-thought token count is unbounded.<sup><a href="#ref-1">\[1]</a></sup> Z.ai candidly warns that **GLM 5.4** tends to fall into overly long "marathon thinking" loops on difficult prompts.<sup><a href="#ref-1">\[1]</a></sup> That explains why a model whose 30 billion ablation cut output length by `10%` to `14%` can still stall an interactive terminal session for minutes when reasoning effort stays at its default `max` setting.<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-12">\[12]</a></sup>

Z.ai frames its demos as "Generalized Coding": writing code to assemble a self-narrated music video ("Hello World"), modeling a 6-axis robotic arm in FreeCAD, generating a playable game, and rendering an interactive 3D macro bird-watching scene in custom GLSL shaders.<sup><a href="#ref-1">\[1]</a></sup> Because output modality is strictly text, these showcases prove multi-step tool and code synthesis rather than a native video-rendering endpoint.<sup><a href="#ref-2">\[2]</a></sup>

## Coding Plan Pricing, Credit Multipliers, and Account Locks

Because Z.ai has published no pay-as-you-go token pricing for **GLM 5.4**, subscription billing on the GLM Coding Plan is the only published rate card as of December 1, 2026.<sup><a href="#ref-3">\[3]</a></sup><sup><a href="#ref-4">\[4]</a></sup> All individual tiers (Lite, Pro, Max) and both Team Plan seats unlock **GLM 5.4**, GLM 5.3, and GLM 5.3-Flash under dual rolling limits: a dynamic 5-hour credit bucket and a 7-day weekly credit cap.<sup><a href="#ref-4">\[4]</a></sup><sup><a href="#ref-5">\[5]</a></sup><sup><a href="#ref-6">\[6]</a></sup>

| GLM Coding Plan Tier                                                 | Monthly Price                              | Yearly Rate (per month)                                   | 5-Hour Credits                               | Weekly Credits                                | Weekly GLM 5.4 Token Estimate (95% Cache)                      |
| -------------------------------------------------------------------- | ------------------------------------------ | --------------------------------------------------------- | -------------------------------------------- | --------------------------------------------- | -------------------------------------------------------------- |
| Individual Lite<sup><a href="#ref-4">\[4]</a></sup>                  | `$18`<sup><a href="#ref-4">\[4]</a></sup>  | `$12.60` (`30%` off)<sup><a href="#ref-4">\[4]</a></sup>  | `2,000`<sup><a href="#ref-5">\[5]</a></sup>  | `10,000`<sup><a href="#ref-5">\[5]</a></sup>  | `72` to `146 million`<sup><a href="#ref-5">\[5]</a></sup>      |
| Individual Pro<sup><a href="#ref-4">\[4]</a></sup>                   | `$80`<sup><a href="#ref-4">\[4]</a></sup>  | `$56.00` (`30%` off)<sup><a href="#ref-4">\[4]</a></sup>  | `12,000`<sup><a href="#ref-5">\[5]</a></sup> | `60,000`<sup><a href="#ref-5">\[5]</a></sup>  | `440` to `870 million`<sup><a href="#ref-5">\[5]</a></sup>     |
| Individual Max<sup><a href="#ref-4">\[4]</a></sup>                   | `$168`<sup><a href="#ref-4">\[4]</a></sup> | `$117.60` (`30%` off)<sup><a href="#ref-4">\[4]</a></sup> | `28,000`<sup><a href="#ref-5">\[5]</a></sup> | `140,000`<sup><a href="#ref-5">\[5]</a></sup> | `1,014` to `2,028 million`<sup><a href="#ref-5">\[5]</a></sup> |
| Team Standard Seat (min 2 seats)<sup><a href="#ref-6">\[6]</a></sup> | Per-seat console quote                     | Per-seat console quote                                    | `15,000`<sup><a href="#ref-6">\[6]</a></sup> | `66,000`<sup><a href="#ref-6">\[6]</a></sup>  | `479` to `957 million`<sup><a href="#ref-6">\[6]</a></sup>     |
| Team Premium Seat (min 2 seats)<sup><a href="#ref-6">\[6]</a></sup>  | Per-seat console quote                     | Per-seat console quote                                    | `35,000`<sup><a href="#ref-6">\[6]</a></sup> | `155,000`<sup><a href="#ref-6">\[6]</a></sup> | `1,124` to `2,246 million`<sup><a href="#ref-6">\[6]</a></sup> |

Source: Z.ai Subscription Portal (`z.ai/subscribe`)<sup><a href="#ref-4">\[4]</a></sup>, Coding Plan Overview (`docs.z.ai/devpack/overview`)<sup><a href="#ref-5">\[5]</a></sup>, and Team Plan Benefits (`docs.z.ai/devpack/teamplan`)<sup><a href="#ref-6">\[6]</a></sup>, checked December 1, 2026. Quarterly billing takes `20%` off monthly rates.<sup><a href="#ref-4">\[4]</a></sup>

The headline selling point for existing subscribers is lower credit burn than GLM 5.3. Z.ai calculates model credits with one published formula: `Credits = (Input tokens × Input multiplier + Cached Input tokens × Cached multiplier + Output tokens × Output multiplier) / 10,000`.<sup><a href="#ref-5">\[5]</a></sup> (Several third-party launch summaries dropped the `/ 10,000` divisor and misreported credits per single token.) Under that formula, **GLM 5.4** charges `4.6` credits per 10,000 fresh input tokens, `1.1` per 10,000 cached input tokens, and `16` per 10,000 output tokens, compared with `6.9 / 1.7 / 24` on GLM 5.3.<sup><a href="#ref-5">\[5]</a></sup> Cutting multipliers by `33.3%` to `35.3%` gives weekly subscribers `1.5x` the usable token allowance of GLM 5.3 at the same subscription price.<sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-5">\[5]</a></sup>

Two billing mechanics hidden in the footnotes determine whether those weekly numbers hold up in real work:

First, **off-peak pricing cuts credit burn by `50%` for 20 hours every weekday and all weekend.**<sup><a href="#ref-5">\[5]</a></sup> Z.ai defines peak hours narrowly as Monday through Friday, 14:00 to 18:00 Singapore Standard Time (`UTC+8`), which maps to 06:00 to 10:00 UTC or 01:00 to 05:00 US Eastern Standard Time.<sup><a href="#ref-5">\[5]</a></sup> Developers working normal North American or Latin American daytime hours run completely off-peak and effectively land near the upper bound of each token range, while East Asian afternoon sessions pay full `1x` rates.<sup><a href="#ref-5">\[5]</a></sup>

Second, **those `72 million` to `2,028 million` weekly estimates rely heavily on `95%` to `98%` prompt cache hit rates.**<sup><a href="#ref-5">\[5]</a></sup> Output tokens (`16` credits per 10,000) cost `14.5x` more credits than cached input (`1.1`).<sup><a href="#ref-5">\[5]</a></sup> Run an uncached refactoring burst consuming `1 million` fresh input tokens plus `1 million` generated reasoning and patch tokens during peak hours, and the formula deducts `(1,000,000 × 4.6 + 1,000,000 × 16) / 10,000 = 2,060` credits, blowing past Lite's entire `2,000`-credit 5-hour ceiling in one burst.<sup><a href="#ref-5">\[5]</a></sup> That mismatch explains why developers on X complained within the first week that marathon thinking eats through Coding Plan quota rapidly despite the `1.5x` multiplier cut.

Beyond token math, Z.ai's Usage Policy and FAQ enforce six contractual locks that disqualify the Coding Plan for application backends or CI pipelines:<sup><a href="#ref-6">\[6]</a></sup><sup><a href="#ref-13">\[13]</a></sup><sup><a href="#ref-14">\[14]</a></sup>

* **Officially supported tools only**: Usage Policy explicitly restricts Coding Plan credentials to approved coding agents (ZCode, Claude Code, Codex, Cline, OpenCode, Goose, Cursor, AutoClaw, OpenClaw); custom scripts, SaaS backends, or shared team accounts violate terms, and accounts accumulating more than three risk-control violations can be permanently banned.<sup><a href="#ref-13">\[13]</a></sup><sup><a href="#ref-14">\[14]</a></sup>
* **Hard stop on Individual exhaustion**: When a Lite, Pro, or Max subscriber hits the 5-hour or 7-day cap, requests halt until reset. Z.ai's FAQ confirms the platform will not fall back to prepaid API balance on Individual plans; only Team Plan administrators can toggle pay-as-you-go overage (currently discounted `10%` from model API list price).<sup><a href="#ref-6">\[6]</a></sup><sup><a href="#ref-14">\[14]</a></sup>
* **Dynamic concurrency caps**: Z.ai recommends `1` concurrent project on Lite, `1` to `2` on Pro or Team Standard, and `2` or more on Max or Team Premium, tightening concurrency dynamically during peak hours.<sup><a href="#ref-6">\[6]</a></sup><sup><a href="#ref-13">\[13]</a></sup>
* **Zero refunds and conflicting cancellation windows**: Every subscription is non-refundable once charged, and Z.ai's own pages contradict each other on renewal cutoff (`docs.z.ai/devpack/usage-policy` instructs canceling at least `3` days before renewal, whereas `docs.z.ai/devpack/faq` specifies `24` hours).<sup><a href="#ref-13">\[13]</a></sup><sup><a href="#ref-14">\[14]</a></sup>
* **Key-to-endpoint separation (`Error 1113`)**: Sending a Coding Plan key to a standard API URL triggers `"1113 Insufficient Balance"` or drains cash balance instead of plan credits.<sup><a href="#ref-14">\[14]</a></sup>

## Public API, Free Access, and Open Weights Audit on Dec 1

Nearly every launch-day summary noted that the standard API and weights were missing on November 23. Checking six live primary surfaces on December 1, 2026 confirms that **none of those blockers has cleared after eight days.**

| Verification Surface                                                                                | Live Result Checked Dec 1, 2026                                                                                                                                         | Operational Implication                                                                                                                                                            |
| --------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Z.ai Model API Landing (`z.ai/model-api`)<sup><a href="#ref-3">\[3]</a></sup>                       | Page still titled `"Start building with GLM-5.3"` (`$1.40` in / `$0.26` cached / `$4.40` out per million tokens)<sup><a href="#ref-3">\[3]</a></sup>                    | No public pay-as-you-go **GLM 5.4** endpoint exists yet<sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-3">\[3]</a></sup>                                                    |
| Z.ai Official API Pricing (`docs.z.ai/guides/overview/pricing`)<sup><a href="#ref-3">\[3]</a></sup> | Zero **GLM 5.4** or `GLM 5.4 Flash` rows; Latest Models stops at GLM-5.3, GLM-5.3-Flash (`$0.15/$0.50`), and FlashX (`$0.37/$1.25`)<sup><a href="#ref-3">\[3]</a></sup> | Even Team Plan docs claim `"up to 92%"` savings vs a `"GLM-5.4 Standard API"` that has no public rate card<sup><a href="#ref-3">\[3]</a></sup><sup><a href="#ref-6">\[6]</a></sup> |
| Z.ai Release Notes (`docs.z.ai/release-notes/new-released`)<sup><a href="#ref-2">\[2]</a></sup>     | Latest dated entry remains `2026-08-26` (`GLM-5.3-Flash`)<sup><a href="#ref-2">\[2]</a></sup>                                                                           | Official API changelog has not recorded a **GLM 5.4** GA launch                                                                                                                    |
| LiteLLM Global Registry (`BerriAI/litellm`)<sup><a href="#ref-7">\[7]</a></sup>                     | `0` matches for `glm-5.4` across `7,214` model keys (`179` `glm-5*` routes end at `glm-5.3` / `glm-5.3-flash`)<sup><a href="#ref-7">\[7]</a></sup>                      | Zero cloud partner staging on Bedrock, Vertex AI, Azure, Together, Baseten, or Nebius<sup><a href="#ref-7">\[7]</a></sup>                                                          |
| OpenRouter Live Catalog (`openrouter.ai/api/v1/models`)<sup><a href="#ref-8">\[8]</a></sup>         | `0` matches across `472` live models (`12` `z-ai/glm-5*` routes top out at `z-ai/glm-5.3-prime`)<sup><a href="#ref-8">\[8]</a></sup>                                    | No third-party pay-per-token marketplace carries **GLM 5.4** yet<sup><a href="#ref-8">\[8]</a></sup>                                                                               |
| Hugging Face Organization (`huggingface.co/zai-org`)<sup><a href="#ref-9">\[9]</a></sup>            | `0` **GLM 5.4** repos; newest repos are `GLM-5.3-Flash-BF16` and `GLM-5.3-BF16` (October 15, 2026)<sup><a href="#ref-9">\[9]</a></sup>                                  | Self-hosting and air-gapped deployment remain blocked until weights and a license drop<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-9">\[9]</a></sup>                     |

Source: Live December 1, 2026 inspections of Z.ai developer docs<sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-3">\[3]</a></sup><sup><a href="#ref-6">\[6]</a></sup>, LiteLLM<sup><a href="#ref-7">\[7]</a></sup>, OpenRouter<sup><a href="#ref-8">\[8]</a></sup>, and Hugging Face<sup><a href="#ref-9">\[9]</a></sup>.

What about free access? Search interest for `"glm 5.4 free"` jumped after launch, yet the answer depends on whether you mean casual chat or developer tooling. On `chat.z.ai` without signing in, only `GLM-5.3-Flash` is selectable while **GLM 5.4** and GLM 5.3 appear greyed out behind a `"Sign up for free"` banner; Z.ai publishes no free daily message quota for signed-in chat accounts, and zero free API tier or downloadable weights exist for developers.<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-11">\[11]</a></sup> Note also that Simon Willison demonstrated on launch night that a paid Coding Plan key does authenticate against Z.ai's OpenAI-compatible Responses endpoint (`https://api.z.ai/api/v1`) for personal CLI scripting, though Usage Policy still binds Coding Plan keys to supported developer tools rather than commercial server apps.<sup><a href="#ref-13">\[13]</a></sup><sup><a href="#ref-15">\[15]</a></sup>

## Missing 750B Benchmark Data and Early Field Reports

The sharpest gap in the **GLM 5.4** rollout is evaluation transparency. Eight days after release, Z.ai still has not published a model card or a single standardized benchmark score for the 750 billion parameter flagship.<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-2">\[2]</a></sup> Because there is no public pay-as-you-go API or open checkpoint, independent evaluators have not been able to score it either: `artificialanalysis.ai/models/glm-5-4` returns HTTP `404` on December 1, 2026, and Artificial Analysis's Z.ai provider page still tracks only four older endpoints led by `GLM-5.3 (max)` (Intelligence Index `32`, `$5.01` per task, `25.1` minutes per task, `69.40s` time to first answer token).<sup><a href="#ref-10">\[10]</a></sup>

The only quantitative benchmark table Z.ai released comes from a controlled iso-parameter ablation on a **30 billion parameter test model** (identical parameters, roughly `10%` more total training compute, evaluated after 200K long-context SFT with thinking enabled):<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-11">\[11]</a></sup>

| Evaluation Suite (30B Ablation Only, Not 750B)                        | Baseline 30B | Looped 30B         | Output Length Change                                  |
| --------------------------------------------------------------------- | ------------ | ------------------ | ----------------------------------------------------- |
| AIME25<sup><a href="#ref-11">\[11]</a></sup>                          | `19.17`      | `30.42` (`+11.25`) | `2.0%` shorter<sup><a href="#ref-11">\[11]</a></sup>  |
| GPQA-Diamond<sup><a href="#ref-11">\[11]</a></sup>                    | `47.58`      | `56.26` (`+8.68`)  | `11.7%` shorter<sup><a href="#ref-11">\[11]</a></sup> |
| AA-LCR (Long Context Reasoning)<sup><a href="#ref-11">\[11]</a></sup> | `40.33`      | `47.67` (`+7.34`)  | `9.7%` shorter<sup><a href="#ref-11">\[11]</a></sup>  |
| MMLU-Pro<sup><a href="#ref-11">\[11]</a></sup>                        | `71.65`      | `75.05` (`+3.40`)  | `14.9%` shorter<sup><a href="#ref-11">\[11]</a></sup> |
| IFBench<sup><a href="#ref-11">\[11]</a></sup>                         | `50.20`      | `53.47` (`+3.27`)  | `13.0%` shorter<sup><a href="#ref-11">\[11]</a></sup> |

Source: Z.ai 30B iso-parameter ablation figures reported from Z.ai's launch chart (`z.ai/blog/glm-5.4`<sup><a href="#ref-1">\[1]</a></sup> and Proje Defteri transcription<sup><a href="#ref-11">\[11]</a></sup>).

Treat those numbers strictly as proof that continued-training looping helps at 30 billion scale.<sup><a href="#ref-1">\[1]</a></sup> They do not verify Z.ai's claim that 750 billion **GLM 5.4** matches 2 trillion to 3 trillion parameter rivals.<sup><a href="#ref-1">\[1]</a></sup> Be equally cautious of AI-generated aggregator blog posts currently ranking in Google search that fabricate "official Z.ai" 750 billion scores (such as bogus `53.8%` SWE-bench Verified or `78.4%` GPQA-Diamond figures) or advertise non-existent `reasoning_depth: "deep_loop"` router endpoints.<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-7">\[7]</a></sup>

In place of formal leaderboards, early developer field reports from week one highlight a clear split by reasoning effort and task type. On November 30, a multi-role developer benchmark posted to `r/ZaiGLM` (`builder`, `reviewer`, `engineer`, `planner`) found that **GLM 5.4** at `low` effort matched or beat GLM 5.3 and GLM 5.3-Flash at `max` effort using a fraction of the time and tokens, yet raising **GLM 5.4** to `high` inflated completion time and cost roughly `5x` while introducing overthinking regressions (catching obscure edge cases while missing obvious surface bugs), and the tester skipped `max` entirely as too slow for interactive loops.<sup><a href="#ref-16">\[16]</a></sup> Separate `r/LocalLLaMA` threads similarly praised code synthesis while faulting non-coding prose as stiff and literal. Meanwhile, Z.ai's own closing line on the launch blog ("our next, significantly larger model will carry forward everything we learned here. It will be ready soon") has already led analysts to treat **GLM 5.4** as a transitional architecture validation ahead of a larger native successor.<sup><a href="#ref-1">\[1]</a></sup>

## Sorting GLM 5.4 Flash Rumors From Real Agent Setup

Search queries for `"glm 5.4 flash"` kept climbing into December 1, driven largely by stealth-model speculation around an anonymous test endpoint nicknamed `HungerG` that testers later identified as Step 5 rather than a Z.ai release. Checked against Z.ai's developer docs, subscription tables, Hugging Face, OpenRouter, and LiteLLM on December 1, 2026, **there is no GLM 5.4 Flash model.**<sup><a href="#ref-3">\[3]</a></sup><sup><a href="#ref-5">\[5]</a></sup><sup><a href="#ref-7">\[7]</a></sup><sup><a href="#ref-8">\[8]</a></sup><sup><a href="#ref-9">\[9]</a></sup>

Z.ai's active lightweight tier remains **GLM 5.3-Flash**, a 320 billion total / 18 billion active hybrid linear-and-sparse attention model under an MIT open-weight license, priced at `$0.15` input / `$0.03` cached / `$0.50` output per million tokens on Z.ai's Standard API.<sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-3">\[3]</a></sup> On the Coding Plan, Z.ai is running a limited-time `50%` quota discount on GLM 5.3-Flash from November 24 through December 24, 2026, slashing its credit multipliers from `2.3 / 0.56 / 8` down to `1.15 / 0.28 / 4` (one-quarter of **GLM 5.4**'s rate).<sup><a href="#ref-5">\[5]</a></sup> Because GLM 5.3-Flash already supports video, image, text, and file inputs, Coding Plan subscribers do not need to move routine visual or high-volume edits onto **GLM 5.4** just to parse screenshots.<sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-5">\[5]</a></sup>

If you already hold an active GLM Coding Plan and want to wire **GLM 5.4** into Claude Code with its full 1 million token window, Z.ai's official model-switching guide uses `https://api.z.ai/api/anthropic` as `ANTHROPIC_BASE_URL` and adds these keys to `~/.claude/settings.json`:<sup><a href="#ref-12">\[12]</a></sup>

```json
{
  "env": {
    "CLAUDE_CODE_AUTO_COMPACT_WINDOW": "1000000",
    "ANTHROPIC_DEFAULT_HAIKU_MODEL": "glm-5.4[1m]",
    "ANTHROPIC_DEFAULT_SONNET_MODEL": "glm-5.4[1m]",
    "ANTHROPIC_DEFAULT_OPUS_MODEL": "glm-5.4[1m]"
  }
}
```

For Cline and other OpenAI-compatible agents, configure base URL `https://api.z.ai/api/coding/paas/v4` with model string `glm-5.4`, set the context window to `1000000`, and enable image support; Codex uses `https://api.z.ai/api/v1`.<sup><a href="#ref-12">\[12]</a></sup> Before starting a long refactoring session, pay close attention to Z.ai's silent reasoning-effort mapping table, because **thinking cannot be turned off on GLM 5.4** and defaults to `max`:<sup><a href="#ref-12">\[12]</a></sup>

| Parameter Sent by Client                                       | Effective GLM 5.4 Effort | Runtime Behavior                                                                                                              |
| -------------------------------------------------------------- | ------------------------ | ----------------------------------------------------------------------------------------------------------------------------- |
| `thinking.type` omitted, `true`, `enabled`, `adaptive`         | `max` (default)          | Highest marathon-thinking and credit burn risk<sup><a href="#ref-1">\[1]</a></sup><sup><a href="#ref-12">\[12]</a></sup>      |
| `thinking.type` set to `false`, `disabled`, `none`, `off`      | `low`                    | Request succeeds; silently runs lightweight thinking<sup><a href="#ref-12">\[12]</a></sup>                                    |
| `reasoning_effort`: `minimal`, `light`, `low`                  | `low`                    | Recommended starting point for interactive coding<sup><a href="#ref-12">\[12]</a></sup><sup><a href="#ref-16">\[16]</a></sup> |
| `reasoning_effort`: `medium`, `high`                           | `high`                   | Auto-converted to `high`; watch for overthinking<sup><a href="#ref-12">\[12]</a></sup><sup><a href="#ref-16">\[16]</a></sup>  |
| `reasoning_effort`: `xhigh`, `max`, `ultra`, or unknown string | `max`                    | Falls back to `max` and logs a hint<sup><a href="#ref-12">\[12]</a></sup>                                                     |

Source: Z.ai How to Switch Models (`docs.z.ai/devpack/latest-model`)<sup><a href="#ref-12">\[12]</a></sup> and `r/ZaiGLM` developer testing<sup><a href="#ref-16">\[16]</a></sup>.

Running `/status` in Claude Code verifies that `glm-5.4[1m]` is active, and typing `/effort low` before routine file edits keeps marathon thinking from draining a 5-hour quota window prematurely.<sup><a href="#ref-12">\[12]</a></sup><sup><a href="#ref-16">\[16]</a></sup>

## Pay-As-You-Go APIs Beyond Z.ai Subscription Boundaries

To be completely transparent about what we host: **reAPI does not serve GLM 5.4 or GLM 5.3 inference today.** Our [GLM 5.3 overview](/models/glm-5-3) and [GLM 5.3 setup guide](/resources/how-to-use-glm-5-3) direct readers to external SeedRouter routing for GLM 5.3, and no third-party gateway anywhere can legally proxy pay-as-you-go **GLM 5.4** until Z.ai completes its security assessment and opens the Standard Model API.<sup><a href="#ref-2">\[2]</a></sup><sup><a href="#ref-7">\[7]</a></sup><sup><a href="#ref-8">\[8]</a></sup>

If you already pay for a Z.ai Coding Plan seat for interactive IDE work, switching from GLM 5.3 to **GLM 5.4** at `low` effort is a straightforward win for vision input and lower credit multipliers.<sup><a href="#ref-5">\[5]</a></sup><sup><a href="#ref-12">\[12]</a></sup> If you instead need a production REST API right now for automated CI code review, backend agents, or multi-developer services without tool-only locks, 5-hour quota stalls, or missing independent benchmarks, four 1 million token context models are live pay-as-you-go on reAPI today:

| Live Pay-As-You-Go Model on reAPI                                          | Context / Max Output  | Verified reAPI Input / Output (per MTok)                                                                                          | Independent Benchmark & Positioning                                                                                                                            |
| -------------------------------------------------------------------------- | --------------------- | --------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Claude Opus 5.5](/models/claude-opus-5-5) (`claude-opus-5-5`)             | `1M` / `128K`         | `$2.80` / `$14.00` default (`$2.00` / `$10.00` on `:claude-0.5`; direct `$4.00` / `$20.00`)<sup><a href="#ref-17">\[17]</a></sup> | Artificial Analysis Index `58`; proven flagship for multi-file systems engineering<sup><a href="#ref-17">\[17]</a></sup><sup><a href="#ref-18">\[18]</a></sup> |
| [Claude Sonnet 5.5](/models/claude-sonnet-5-5) (`claude-sonnet-5-5`)       | `1M` / `128K`         | `$1.40` / `$7.00` default (`$1.00` / `$5.00` on `:claude-0.5`; direct `$2.00` / `$10.00`)<sup><a href="#ref-17">\[17]</a></sup>   | Fast everyday coding, tool calls, and vision with native Anthropic Messages support<sup><a href="#ref-17">\[17]</a></sup>                                      |
| [Kimi K3.1 Pro](/models/kimi-k3-1-pro) (`kimi-k3.1-pro`)                   | `1,048,576` / `128K+` | `$2.00` / `$10.00` (`$0.10` cache read)<sup><a href="#ref-18">\[18]</a></sup>                                                     | Artificial Analysis Index `55`; forced tool choice (`required`/named) and strong coding<sup><a href="#ref-18">\[18]</a></sup>                                  |
| [DeepSeek V4.1 Flash](/models/deepseek-v4-1-flash) (`deepseek-v4.1-flash`) | `1M` / `384K`         | `$0.40` / `$1.30` (`$0.015` cache read)<sup><a href="#ref-19">\[19]</a></sup>                                                     | MIT open weights, `384K` single-pass output ceiling, high-volume Flash alternative<sup><a href="#ref-19">\[19]</a></sup>                                       |

Source: Live December 1, 2026 reAPI model documentation and rate disclosures<sup><a href="#ref-17">\[17]</a></sup><sup><a href="#ref-18">\[18]</a></sup><sup><a href="#ref-19">\[19]</a></sup>.

Teams building automated workflows can ship on [Claude Opus 5.5](/models/claude-opus-5-5), [Claude Sonnet 5.5](/models/claude-sonnet-5-5), or [Kimi K3.1 Pro](/models/kimi-k3-1-pro) now while holding a frozen 20-task repository benchmark suite ready to score **GLM 5.4** the day Z.ai finally publishes its pay-as-you-go API, per-token rate card, and open weights. Until those three items land, treat **GLM 5.4** as a compelling Loop Transformer preview strictly scoped to interactive Coding Plan seats, not a drop-in production API dependency.

***

<ol className="text-sm text-muted-foreground space-y-1">
  <li id="ref-1">
    <a href="https://z.ai/blog/glm-5.4" target="_blank" rel="noopener noreferrer">Z.ai Blog: GLM-5.4</a>

     (Nov 23).
  </li>

  <li id="ref-2">
    <a href="https://docs.z.ai/guides/llm/glm-5.4" target="_blank" rel="noopener noreferrer">Z.ai GLM-5.4 Docs</a>

     (Dec 1).
  </li>

  <li id="ref-3">
    <a href="https://docs.z.ai/guides/overview/pricing" target="_blank" rel="noopener noreferrer">Z.ai API Pricing</a>

     (Dec 1).
  </li>

  <li id="ref-4">
    <a href="https://z.ai/subscribe" target="_blank" rel="noopener noreferrer">Z.ai Coding Plan</a>

     (Dec 1).
  </li>

  <li id="ref-5">
    <a href="https://docs.z.ai/devpack/overview" target="_blank" rel="noopener noreferrer">Z.ai Credit Formula</a>

     (Dec 1).
  </li>

  <li id="ref-6">
    <a href="https://docs.z.ai/devpack/teamplan" target="_blank" rel="noopener noreferrer">Z.ai Team Plan</a>

     (Dec 1).
  </li>

  <li id="ref-7">
    <a href="https://raw.githubusercontent.com/BerriAI/litellm/main/model_prices_and_context_window.json" target="_blank" rel="noopener noreferrer">LiteLLM Registry</a>

     (Dec 1).
  </li>

  <li id="ref-8">
    OpenRouter Catalog (Dec 1).
  </li>

  <li id="ref-9">
    <a href="https://huggingface.co/zai-org" target="_blank" rel="noopener noreferrer">HF zai-org</a>

     (Dec 1).
  </li>

  <li id="ref-10">
    <a href="https://artificialanalysis.ai/providers/zai" target="_blank" rel="noopener noreferrer">Artificial Analysis Z.ai</a>

     (Dec 1).
  </li>

  <li id="ref-11">
    <a href="https://projedefteri.com/en/blog/glm-5-4-price-free/" target="_blank" rel="noopener noreferrer">Proje Defteri Ablation</a>

     (Nov 23).
  </li>

  <li id="ref-12">
    <a href="https://docs.z.ai/devpack/latest-model" target="_blank" rel="noopener noreferrer">Z.ai Switching Models</a>

     (Dec 1).
  </li>

  <li id="ref-13">
    <a href="https://docs.z.ai/devpack/usage-policy" target="_blank" rel="noopener noreferrer">Z.ai Usage Policy</a>

     (Dec 1).
  </li>

  <li id="ref-14">
    <a href="https://docs.z.ai/devpack/faq" target="_blank" rel="noopener noreferrer">Z.ai Devpack FAQ</a>

     (Dec 1).
  </li>

  <li id="ref-15">
    <a href="https://simonwillison.net/2026/Nov/23/glm-54/" target="_blank" rel="noopener noreferrer">Simon Willison Note</a>

     (Nov 23).
  </li>

  <li id="ref-16">
    <a href="https://www.reddit.com/r/ZaiGLM/comments/1y94bts/made_a_glm54_bench/" target="_blank" rel="noopener noreferrer">r/ZaiGLM Field Test</a>

     (Nov 30).
  </li>

  <li id="ref-17">
    <a href="https://reapi.ai/resources/claude-opus-5-6-release-date" target="_blank" rel="noopener noreferrer">reAPI Claude Rates</a>

     (Dec 1).
  </li>

  <li id="ref-18">
    <a href="https://reapi.ai/models/kimi-k3-1-pro" target="_blank" rel="noopener noreferrer">reAPI Kimi K3.1 Pro</a>

     (Dec 1).
  </li>

  <li id="ref-19">
    <a href="https://reapi.ai/models/deepseek-v4-1-flash" target="_blank" rel="noopener noreferrer">reAPI DeepSeek V4.1 Flash</a>

     (Dec 1).
  </li>
</ol>
