GLM-5.3 Prime is not a new model. It runs the same GLM-5.3 weights in a faster serving mode: Alibaba Cloud Model Studio's Prime mode, which promises 1.5 to 2 times the output speed of the standard API. The answers should be the same quality. What you pay extra for is tokens per second.
On AIHubMix, glm-5.3-prime costs $2.35 per million input tokens and $8.23 per million output tokens, about 2.1× what GLM-5.3 costs today. The short answer:
- Worth it when a person or an agent loop sits waiting on long outputs: interactive coding, streaming code generation, multi-step agents.
- Not worth it for batch jobs, short replies, or cost-sensitive pipelines. Base GLM-5.3 does the same work for half the price.
- Measure first. Every independent number so far shows a smaller speed-up than the 1.5–2× claim, and the first token does not arrive any sooner.
- Pair it with lower effort. In AIHubMix's test, Prime alone answered no faster than GLM-5.3. Prime at
reasoning_effort: "low"did: about 71 seconds per answer against about 100.
What GLM-5.3 Prime is, and what it isn't
Alibaba Cloud's documentation describes Prime mode in three lines: higher TPS for output-speed-sensitive work, billing that follows the standard API's logic, and "no additional parameters": you switch by changing the model ID. The same page says the Prime model's capabilities and usage limits are the same as the original model's. Prime mode also covers glm-5.2-fast-preview (GLM-5.2's fast mode, which kept its old name) and a video model.
Zhipu's own GLM-5.3 documentation lists only glm-5.3. There is no Prime model ID or price row on Z.ai, and Alibaba Cloud is the only upstream that serves Prime. Two similar-sounding models are easy to confuse with it:
| Model | Weights | Served by | Where to get it |
|---|---|---|---|
| GLM-5.3 | GLM-5.3 | Many providers | API |
| GLM-5.3 Prime | GLM-5.3 | Alibaba Cloud only | API |
| GLM-5.3-FlashX | GLM-5.3-Flash | Z.ai | API |
| GLM-5.3 HighSpeed | GLM-5.3 | Z.ai | ZCode beta only |
FlashX speeds up the smaller Flash model, accepts image and video input, and claims up to 200 tokens per second. HighSpeed is Zhipu's own fast mode for the flagship. It surfaced in a staged test inside ZCode, Zhipu's coding app, where one blogger reported more than 490 tokens per second (Zhidongxi, October 12, 2026). It has no public API or price yet.
Because the weights are unchanged, Prime inherits GLM-5.3's benchmark results rather than adding its own. Zhipu's self-reported numbers for GLM-5.3: Terminal-Bench 3.0 up from 4.6 to 28.3 over GLM-5.2, DeepSWE v1.1 from 46.2 to 66.9, and 84.5% on CyberGym. Nobody has published a Prime-specific benchmark.
Price: double, line by line
AIHubMix prices per million tokens, checked on October 21, 2026:
| Model | Input | Output | Cache read |
|---|---|---|---|
| GLM-5.3 Prime | $2.35 | $8.23 | $0.59 |
| GLM-5.3 | $1.1268 | $3.9438 | $0.2817 |
| GLM-5.3-FlashX | $0.282 | $0.987 | $0.0804 |
Every route prices Prime at roughly double. Alibaba Cloud lists glm-5.3-prime in its Beijing region at ¥16 input and ¥56 output per million tokens, exactly twice the standard glm-5.3 rate of ¥8 and ¥28. OpenRouter lists Prime at $2.80 and $8.80 against $1.40 and $4.40 for GLM-5.3. Cache reads double too, so a long, well-cached agent session doesn't escape the premium.
How much faster is it? The numbers so far
Figures in this section come from AIHubMix's model pages, AIHubMix's own test on October 21, 2026, OpenRouter, ZenMux, Artificial Analysis (as compiled by Codersera), and DataLLM Lab. None of the third-party numbers were taken under the same conditions, so read them as ranges, not a ranking.
| Measured by | GLM-5.3 | GLM-5.3 Prime | Prime vs GLM-5.3 |
|---|---|---|---|
| Alibaba Cloud (claim) | – | – | 1.5–2× |
| AIHubMix model pages | 33.4 tok/s | 48.6 tok/s | 1.46× |
| AIHubMix test | 84.7 tok/s | 98.2 tok/s | 1.16× |
| Third-party monitors | 61–72 tok/s | 60–80 tok/s | ranges overlap |
The AIHubMix test sent one coding prompt (a thread-safe token-bucket rate limiter plus five pytest tests) to each model three times, alternating between them, at reasoning_effort: "high" with streaming on. Tokens per second is output tokens divided by the time from the first streamed token to the last. The third-party row puts together figures from different services and days: GLM-5.3 at about 61 (OrcaRouter) and 71.9 (Artificial Analysis), Prime at 60 to 75 on OpenRouter and 72 to 80 on ZenMux.
In the AIHubMix test, Prime decoded about 16% faster, but its answers didn't arrive any sooner. A request averaged 102.1 seconds on Prime and 99.9 seconds on GLM-5.3, because Prime wrote more: 9,404 output tokens per answer against 8,147, nearly all of it reasoning. The first token wasn't faster either: the median was 3.2 seconds on Prime and 3.0 on GLM-5.3, and one Prime request waited 12 seconds. Three runs per model is a small sample, and AIHubMix spreads GLM-5.3 across several providers, so take it as one afternoon's snapshot.
DataLLM Lab ran nine Python coding tasks through OpenRouter and timed whole answers rather than tokens per second. Prime's mean time per answer was 14.2 seconds, exactly the same as base GLM-5.3, because Prime spent its extra speed on extra thinking: 1,215 reasoning tokens per call against 631. Prime also scored 7/9 against base GLM-5.3's 9/9. Those were single runs, measured on different dates, so they don't prove a quality gap. They do show that faster decoding doesn't automatically mean a faster answer.
The reason is simple arithmetic. The time you wait is roughly time to first token, plus (reasoning tokens + answer tokens) ÷ tokens per second, plus any tool time. Prime only changes the speed term. Reasoning effort changes the token count, and on long tasks it moves the result just as much. In Zhipu's internal Code Bench, GLM-5.3 at max used about 75K output tokens per task and scored 34.5%. At high it used about 50K and scored 31.4%. Dropping one level cuts output by a third, about the same time saving a 1.5× speed-up gives, and it lowers the bill instead of doubling it.
The effort setting has to reach the model, though. In AIHubMix's test it clearly did on Prime:
| Model and effort | Runs | Output tokens | Time per answer | Cost per answer |
|---|---|---|---|---|
| GLM-5.3, high | 3 | 8,147 | 99.9 s | $0.032 |
| Prime, high | 3 | 9,404 | 102.1 s | $0.078 |
| Prime, low | 2 | 5,832 | 70.7 s | $0.048 |
Averages per answer from the same prompt; cost uses AIHubMix list prices.
On Prime, low cut output by 38% and made it the only setup that answered faster than GLM-5.3, at 1.5× GLM-5.3's cost per answer rather than 2×. AIHubMix serves GLM-5.3 through several providers, and on some routes the effort setting and the old disabled-thinking flag may not behave as documented. Whichever model you use, check reasoning_tokens in the usage block, and that content holds only the answer.
One coding task, costed
A long agentic coding session on GLM-5.3, with stated assumptions:
- 75K output tokens, the per-task figure from Zhipu's Code Bench at
maxeffort; - 1.2M input tokens across the session (about 40 turns averaging 30K tokens of context), with 90% served from cache;
- decode speed from the two AIHubMix measurements above, counting decode time only (no tool time or first-token delay).
| Cost line | GLM-5.3 | GLM-5.3 Prime |
|---|---|---|
| Uncached input (0.12M) | $0.135 | $0.282 |
| Cached input (1.08M) | $0.304 | $0.637 |
| Output (75K) | $0.296 | $0.617 |
| Total per task | $0.735 | $1.536 |
| Decode time, test speed | 14.8 min | 12.7 min |
| Decode time, page speed | 37.4 min | 25.7 min |
Prime adds about $0.80 to this task. At the speeds AIHubMix measured, it saves about 2 minutes, roughly $0.40 per minute saved. At the model-page speeds, it saves about 12 minutes, roughly $0.07 per minute. If an engineer is watching the agent work, even the pessimistic figure costs less than their time. If nobody is watching, the $0.80 buys nothing. One more caveat from the test: Prime wrote about 15% more tokens for the same prompt, and if that holds on your tasks, it cancels most of the time saved.
Switching to Prime: what changes in your code
Only the model ID. On AIHubMix, Prime is served on the OpenAI Chat Completions endpoint; see the AIHubMix quick start for keys and base URLs.
import os
from openai import OpenAI
client = OpenAI(base_url="https://aihubmix.com/v1", api_key=os.environ["AIHUBMIX_API_KEY"])
stream = client.chat.completions.create(
model="glm-5.3-prime", # was "glm-5.3"
reasoning_effort="high", # low | high | max (default max)
messages=[{"role": "user", "content": "Refactor this function to remove the global state: ..."}],
stream=True,
)
for chunk in stream:
if chunk.choices and chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="")
What to check when you swap it in:
- Thinking is always on. GLM-5.3 can't run without reasoning, and Prime follows it. Zhipu's docs say a request that still sends
thinking.type: "disabled"fails on Z.ai's own API, and Alibaba Cloud saysenable_thinking=falsehas no effect. Through AIHubMix, Prime rejects the flag with HTTP 400:InternalError.Algo.InvalidParameter: The value of the enable_thinking parameter is restricted to True.Remove the flag and usereasoning_effort: "low"instead. - Three effort levels.
reasoning_efforttakeslow,high, ormax, and the default ismax, the most expensive. On Prime,lowcut output by 38% in AIHubMix's test. - Coming from glm-5.2-fast-preview? That model could switch thinking off and accepted seven effort levels, from
nonetomax. GLM-5.3 Prime keeps only three, so requests that sendnone,minimal,medium, orxhighneed updating; Alibaba Cloud returnsinvalid_parameter_errorfor unsupported values. - Context is slightly smaller. Prime lists 1,000,000 tokens of context, while GLM-5.3 on AIHubMix lists 1,048,576. A prompt that just fits GLM-5.3 can overflow Prime. Max output is the same 131,072 tokens.
- Parallel tool calls are worth testing. OpenRouter's Prime endpoint doesn't list
parallel_tool_callsamong its supported parameters, and Cursor users have reported GLM-5.3 tool calls arriving with empty arguments when several run in one step. If your agent fires tool calls in parallel, run a few through Prime before relying on it. - One upstream. Alibaba Cloud is Prime's only provider. GLM-5.3 has several on AIHubMix, so keep
glm-5.3as the fallback for work that can't stop. - Coding tools. AIHubMix lists Prime on Chat Completions only, so Claude Code (Anthropic Messages) and Codex (Responses API) can't use it directly. Tools that take an OpenAI-compatible endpoint can, for example OpenCode. For a quick check, give the same small bug fix to
glm-5.3andglm-5.3-primeat the same effort and compare wall-clock time and the diff.
Where Prime is the wrong choice
- Batch and overnight jobs. Nobody is waiting, so speed is worth nothing and the price still doubles.
- Short replies. On a 200-token answer, the first-token delay dominates, and Prime's first token was no faster in any measurement above.
- When long reasoning is the real problem and effort works on your route. A lower
reasoning_effortshortens the wait and cuts the bill. Readreasoning_tokensin the response to confirm it took effect. - When you need speed more than the flagship. GLM-5.3-FlashX claims up to 200 tokens per second for about one-eighth of Prime's output price. Its Flash base scored 41.8 against GLM-5.3's 44.8 on Artificial Analysis's index, so test it on your task before paying for Prime.
Who should switch
- Use Prime now if you run GLM-5.3 in an interactive coding tool or a live agent, outputs regularly run to thousands of tokens, and your own measurement shows the speed-up holds on your prompts. Start at
loweffort and raise it only where the quality needs it. - Test first if you run agents with parallel tool calls, or prompts close to the 1M-token limit.
- Stay on GLM-5.3 for batch work, short answers, and anything where a doubled bill matters more than a shorter wait.
- Watch for Zhipu's HighSpeed if raw speed is the goal. If it reaches the API near its reported speeds, it would be several times faster than either option here.
Both models run on the same AIHubMix key. The GLM-5.3 vs GLM-5.3 Prime comparison page shows them side by side, and switching is a one-line change.
FAQ
Is GLM-5.3 Prime a different model from GLM-5.3?
No. It runs the same weights through Alibaba Cloud's Prime serving mode, which aims for 1.5 to 2 times the output speed. Quality should match GLM-5.3, and no Prime-specific benchmark exists.
How much more does GLM-5.3 Prime cost?
On AIHubMix it is $2.35 input, $8.23 output, and $0.59 cache read per million tokens, about 2.1× GLM-5.3's price. Alibaba Cloud and OpenRouter also price it at roughly double.
Is Prime actually 2× faster?
Not in any measurement so far. AIHubMix's own test measured about 1.16 times GLM-5.3's tokens per second, and AIHubMix's model pages show about 1.46 times. In the test, answers didn't arrive sooner, because Prime wrote more tokens, and its first token was not faster.
Can I turn thinking off on GLM-5.3 Prime?
No. Like GLM-5.3, it always reasons, and a request that sets thinking type to disabled gets an HTTP 400 error. You can lower reasoning_effort to low or high; the default is max.
What's the difference between GLM-5.3 Prime and GLM-5.3-FlashX?
Prime serves the flagship GLM-5.3 weights faster. FlashX serves the smaller GLM-5.3-Flash weights faster, accepts images and video, and costs about one-eighth of Prime's output price.
Can I use GLM-5.3 Prime in Claude Code or Codex?
Not directly through AIHubMix. Prime is listed on the OpenAI Chat Completions endpoint only, while Claude Code uses Anthropic Messages and Codex uses the Responses API. Tools that accept an OpenAI-compatible endpoint, such as OpenCode or Cline, can use it.
What do I change in my code to switch?
Only the model name, from glm-5.3 to glm-5.3-prime. Remove any flag that disables thinking, since Prime rejects it, and keep the effort level to low, high, or max.
Sources
- Prime mode — Alibaba Cloud Model Studio (Alibaba Cloud)
- GLM-5.3 overview (Z.ai)
- GLM 5.3 Prime model page (AIHubMix)
- GLM-5.3 Prime Review: 7/9 at $11.52 per 1,000 Tasks (DataLLM Lab)
- GLM-5.3 Prime and FlashX: Speed Tiers, Not New Models (Codersera)



