GLM-5.3-FLASH

Any Chip Will Do

chapter 7 of 8 · about 7 minutes

Serving a model is physical work. For every output token, a machine must read the weights needed for that step, update its record of the conversation, and calculate the next token. Whether a chip can serve a model therefore depends on what limits that work, not only on its peak specification. The General Language Model (GLM) technical report includes a section that most artificial intelligence (AI) papers do not have: “Adapting GLM-5 to Chinese Chip Infrastructure.” It names seven domestic platforms, Huawei Ascend, Moore Threads, Hygon, Cambricon, Kunlunxin, MetaX, and Enflame, and describes ports from custom kernels to serving engines. The GLM-5.3-Flash launch makes the deployment claim concrete:

“Before release, we tested GLM-5.3-Flash anonymously as ox-alpha … It quickly became the most popular model of the week, with all of this traffic served on Chinese AI chips.”
z.ai launch blog

Why memory bandwidth can be enough

Start with the three limits a serving machine faces. Memory capacity is how much of the model and its conversation state it can hold. Memory bandwidth is how many bytes it can move between memory and the processor each second. Compute is the rate at which it can perform arithmetic. A graphics processing unit (GPU) can be very strong at arithmetic and still wait on memory if each output token requires a large read. Z.ai describes its serving chips as primarily constrained by capacity and bandwidth. Flash shifts work toward that constraint: its Mixture-of-Experts (MoE) routing activates 18 billion of 320 billion parameters per token, 34 of 45 Kimi Delta Attention (KDA) layers keep fixed-size state, and sparse multi-head latent attention (MLA) reads 0.2% of a one-million-token context. Decoding, the token-by-token phase after a prompt has been read, therefore becomes more limited by moving the active weights than by doing arithmetic on them. An Ascend A3 card moves 3.2 terabytes per second, while the high-bandwidth NVIDIA H100 server module version moves 3.35 terabytes per second. Those cards are not identical, but a single decode stream limited mainly by memory bandwidth has nearly the same upper bound on both.

single-stream decode ceiling ≈ bandwidth ÷ bytes read for one token
                              (eight-bit floating point (FP8): 18 gigabytes of active weights per token)

Ascend A3 card       3.2 terabytes/second  →  ~178 tokens/second ceiling
NVIDIA H100 module   3.35 terabytes/second →  ~186 tokens/second ceiling
NVIDIA RTX 4090      1.0 terabytes/second  →  ~56 tokens/second
Mac M3 Ultra         0.8 terabytes/second  →  ~44 tokens/second

different levels of compute, nearly identical bandwidth ceilings
GLM-5.3-Flash weightsFP8 + INT4 expertsportable model formatquantized, kernel-readyHuawei AscendMoore ThreadsHygonCambriconKunlunxinMetaXEnflame+ AMD, AppleSilicon, CPUs…

What the serving stack has to coordinate

Bandwidth establishes a limit. The serving stack must still keep chips busy without spending that bandwidth on unnecessary copies. Z.ai says it built its dedicated inference engine on Structured Generation Language (SGLang), a framework for running language models. Its listed techniques divide the work in several ways: intra-node tensor parallelism splits the linear-attention and language-model (LM) output-head calculation across chips in one machine; ReplaySSM replays state-space-model inputs instead of keeping every full state; and quantization stores numbers in fewer bits where that loss of precision is acceptable. The launch names W8A8, eight-bit weights and eight-bit activations, plus a cache that mixes eight-bit integers (INT8), eight-bit floating point (FP8), and bfloat16 (BF16), a 16-bit floating-point format. It also names Layer Split without publishing its mechanics. At cluster scale, Encode, Prefill, Decode (EPD) separates multimodal encoding, prompt prefill, and token-by-token decoding into worker pools that can be scheduled and scaled independently. Z.ai reports a 3× end-to-end serving improvement over its initial baseline on the same hardware, reaching per-token cost comparable to mainstream NVIDIA GPUs by its own measurement.

One implementation detail is unusually specific: a GLM-5.3-powered coding agent assisted engineers as they developed and optimized the kernels, diagnosed bottlenecks, and improved the serving stack. The company calls this “a feedback loop in which the model helped optimize the system serving the model itself.” The report's separate flagship claim in §5 goes further: 744-billion-parameter GLM-5 at W4A8, four-bit weights and eight-bit activations, on a single Ascend node, was reported as comparable to international clusters with two graphics processing units at 50% lower long-sequence deployment cost.

Why lower data movement broadens hardware support

Arithmetic intensity is the amount of floating-point work a program performs for each byte it moves. When that ratio is low, a processor spends more time waiting for data than calculating, so memory bandwidth matters more than peak arithmetic throughput. Flash has that shape during decoding: sparse routing reduces the weights read for each token, and its attention design keeps long-context state small. This does not make every device equivalent. The weights still have to fit in memory, and the serving software still has to support the chip. It does explain the published paths across NVIDIA through virtual large language model (vLLM) and SGLang, Advanced Micro Devices (AMD) through Radeon Open Compute (ROCm) recipes, Apple Silicon through a third-party MLX port, and central processing unit (CPU) offload rigs through KTransformers. Support for llama.cpp remains a pull request (PR) in progress rather than a released route. Before speed becomes the question, the model file must fit. The fitting table measures storage in gigabytes (GB), includes GPT-Generated Unified Format (GGUF) local-model files, and labels a machine's random-access memory (RAM). Use it: pick a quantization level, then compare it with each machine to see which ones can hold the weights.

Compare model sizes

Click a format, then check which machines have enough memory.

Unsloth measured these sizes. “Keeps” is Top-1 accuracy retained versus BF16.

199.7 GBon disk. Retains 92% quality. Typical hardware: 256 GB Macs
RTX 4090 · 24 GB
no fit
Mac mini · 64 GB
no fit
Mac Studio · 128 GB
no fit
Mac Studio · 256 GB
fits
One Ascend node · 1 TB
fits
8×H100 server · 640 GB
fits
The main requirement is memory and bandwidth, not CUDA. The official checkpoint has vLLM/SGLang recipes for AMD ROCm, a third-party Apple MLX port, KTransformers CPU offload, and Z.ai served the stealth week on domestic Chinese accelerators. Only 18B parameters are active per token, while 34 of 45 layers keep a fixed 71 MB state.

Sizes use the Unsloth GGUF table and vLLM recipe, with FP8 at about 331 GB on disk. Quantization trades accuracy for a smaller model footprint.

Choose a city and trace one request

Estimate the network path

Click a city to estimate the network round trip to Beijing.

From San Francisco to Beijing: ≈9,504 km. This rough network estimate is ≈ 95067 ms round trip before model processing.

Low token prices and low latency can pull in different directions. OpenRouter adds a routing hop, while providers such as Z.ai can keep price per token low by batching requests on domestic hardware. The result depends on both batching and network distance.

Keep the evidence boundary clear. Z.ai names no vendor for the serving fleet and publishes no independent benchmark of the Chinese-silicon claims, so the “comparable to NVIDIA” line is self-reported. The deployment also has strategic significance: export controls shape which hardware China can buy, so an architecture that does not require NVIDIA affects deployment options as well as efficiency. The official application programming interface (API) serving region is mainland China. Network round trips from the United States or Europe are therefore real for a direct call, which is one reason many builders use an aggregator such as OpenRouter. The packet sketch estimates distance, not a published network trace.
receipts, every claim in this chapter, checked 2026-08-31