Run GLM 5.3 Locally: VRAM & GPU Requirements
GLM 5.3 is Zhipu's 744B flagship MoE released in late August 2026, needing about 467 GB at 4-bit. The 512GB Mac Studio is the only single machine with the capacity to hold it. Running it locally with GPUs takes eight cards with 64GB or more each, four DGX Sparks, or a 12-channel DDR5 server with one large card and the experts offloaded to system RAM. It shares a base model with GLM 5.2, and post-training made it a notch stronger at coding and long tasks. The license is also no longer plain MIT, adding a safety review for large API providers.
GLM 5.3 details
- Min VRAM at 4-bit (8K context)470 GB
- Parameters744B
- Active params40B
- Max context1M
- Architecture
- MoE
- Experts offloaded
- 14 GB VRAM + 457 GB RAM
- License
- GLM-5.3 License
- Launch date
- Aug 28, 2026
- Vendor
- Z.ai / Zhipu AI
- Hugging Face repo
- zai-org/GLM-5.3
- GGUF repo
- unsloth/GLM-5.3-GGUF
- NVFP4 repo (Blackwell)
- nvidia/GLM-5.3-NVFP4
- MLX repo (Apple)
- mlx-community/GLM-5.3-4bit
- Layers
- 78
- Hidden size
- 6,144
- KV heads
- 64
- Head dim
- 192
How much VRAM does GLM 5.3 need?
The table below assumes all experts stay in VRAM with no RAM offloading. If you are short on VRAM, you can offload experts to RAM; see the complete builds below.
| Quantization | WeightsGB | 32K contextGB | 128K contextGB | 256K contextGB | 1M context (max)GB |
|---|---|---|---|---|---|
| 1-bit | 228.5GGUF | 232.5 | 241.4 | 253.1 | 323.8 |
| 2-bit | 253.9GGUF | 257.9 | 266.8 | 278.5 | 349.2 |
| 3-bit | 343GGUF | 347 | 355.9 | 367.6 | 438.3 |
| 4-bit | 467.3GGUF | 471.3 | 480.2 | 491.9 | 562.6 |
| 5-bit | 562.5GGUF | 566.5 | 575.4 | 587.1 | 657.8 |
| 8-bit | 801.4GGUF | 805.4 | 814.3 | 826 | 896.7 |
| BF16/FP16 | 1,508GGUF | 1,512 | 1,520.9 | 1,532.6 | 1,603.3 |
Full calculation rules are on the Methodology page.
Can a single GPU run GLM 5.3?
GLM 5.3 cannot run on a single GPU, since even 2-bit needs about 254 GB of VRAM, more than two and a half times the largest 96GB card. The closest single machine is the 512GB Mac Studio M3 Ultra, where 2-bit and 3-bit fit as is, and 4-bit fits once you raise the memory limit macOS places on the GPU. Leave headroom for context too, as it only partly compresses context in memory and the full 1M window takes a little over 90 GB more than 32K. Thinking also can't be switched off and defaults to the deepest level, so on a Mac in the 20s and 30s of tokens/s, answers take a while. With GPUs, you need multiple cards or expert offload to a big-memory server.
The table below assumes all experts stay in VRAM with no RAM offloading. If you are short on VRAM, you can offload experts to RAM; see the complete builds below.
| Device | Price | Speed t/s | Max context |
|---|---|---|---|
| Mac Studio M3 Ultra 512GBWhole system · 512 GB | $19,95017 listings | 37 | 1M |
| Device | Price | Speed t/s | Max context |
|---|---|---|---|
| Mac Studio M3 Ultra 512GBWhole system · 512 GB | $19,95017 listings | 22.1 | 884K |
Only common GPUs and systems are listed, from cheapest to most expensive.
How many GPUs do you need to run GLM 5.3?
The usual local build for GLM 5.3 is eight 96GB RTX PRO 6000 cards on 4-bit, at about 42 tokens/s. Because 4-bit plus 32K of context needs about 471 GB of VRAM, four cards can't cover it. Dropping to 2-bit gets it onto four cards, while the 48GB RTX A6000 needs eight even for 2-bit. Four DGX Spark units can hold 4-bit too, but manage only around 8 tokens/s, and linking four of them takes a network switch. For perspective, the official vLLM recipe starts at eight H200s, since this model was planned for the data center.
| Device | Cards | Total price | Total VRAM | Speed t/s | Total power |
|---|---|---|---|---|---|
| 4 units | $31,600 | 512 GB | 13 | 960 W | |
| 8 cards | $39,192 | 384 GB | 33 | 2,400 W | |
| 4 cards | $39,500 | 288 GB | 51.7 | 1,200 W | |
| Instinct MI21064 GB per card | 8 cards | $40,312 | 512 GB | 59.8 | 2,400 W |
| 4 cards | $74,400 | 384 GB | 63.8 | 2,400 W | |
| 4 cards | $79,596 | 320 GB | 67.2 | 1,200 W | |
| 8 cards | No price | 384 GB | 41.3 | 3,600 W |
| Device | Cards | Total price | Total VRAM | Speed t/s | Total power |
|---|---|---|---|---|---|
| 4 units | $31,600 | 512 GB | 7.6 | 960 W | |
| Instinct MI21064 GB per card | 8 cards | $40,312 | 512 GB | 38.7 | 2,400 W |
| 8 cards | $79,000 | 576 GB | 32.8 | 2,400 W | |
| 8 cards | $148,800 | 768 GB | 41.6 | 4,800 W | |
| 8 cards | $159,192 | 640 GB | 44.2 | 2,400 W |
| Device | Cards | Total price | Total VRAM | Speed t/s | Total power |
|---|---|---|---|---|---|
| Mac Studio M3 Ultra 512GB512 GB per unit | 2 units | $39,900 | 1,024 GB | 13.2 | 960 W |
Mac Studios link up over Thunderbolt 5 and run with MLX or exo; vLLM doesn't support them. Full calculation rules are on the Methodology page.
What PC or server build do you need to run GLM 5.3 locally?
For a model as big as GLM 5.3, the most realistic single-machine route is a 12-channel DDR5 server with one RTX PRO 6000 and the experts in system RAM: 4-bit does about 23 tokens/s with 384GB of RAM installed, 8-bit about 13 with every slot filled for 768GB, and 2-bit about 42. At 2-bit you can also step down to a used 8-channel DDR4 server with an RTX 3090, at about 14 tokens/s. KTransformers, listed on the model card, is built for this kind of hybrid CPU-plus-GPU inference, and you can follow its GLM 5.2 guide.
GeForce RTX 3090 + Dual EPYC DDR4
Best valueGeForce RTX 5090 + Dual EPYC DDR5
Flagship2 × RTX PRO 6000 + Dual EPYC DDR5
Giant modelsTesla V100 32GB + Dual Xeon E5 DDR4
BudgetGeForce RTX 3090 + Dual EPYC DDR4
Best valueGeForce RTX 5090 + Dual EPYC DDR5
Flagship4 × RTX PRO 6000 + Dual EPYC DDR5
Giant models4 × Tesla V100 32GB + Dual Xeon E5 8-GPU server
Budget- PSU
- Built-in 4 × 1,600 W
- Included
4 × GeForce RTX 5090 + Dual EPYC DDR5
Flagship4 × RTX PRO 6000 + Dual EPYC DDR5
Giant modelsDetailed calculation rules are on the Methodology page.
As an eBay Partner, VRAMGlass may be compensated if you buy through the eBay links on this page. The price you pay stays the same.
What to know before running GLM 5.3 locally
Thinking can be tuned but not turned off
Set thinking strength with
reasoning_effort, choosing among low, high and max; the default is max, and unlike 5.2 it can't be turned off completely. For chat, setclear_thinkingto true, or thinking from earlier turns will keep taking up context. Sampling parameters:temperature1.0 andtop_p0.95 for general tasks; for long-running agent tasks, changetop_pto 1.0.The extra license clause
The new clause applies only to “model as a service”: API providers with very large revenue must pass Zhipu's safety review before commercial use. Building the model's capabilities into a feature of your own product, or simply forwarding requests, doesn't count as model as a service; individuals and ordinary companies deploying it themselves are unaffected.
Framework versions
The body of the vLLM recipe says 0.28.0 and up, but the page lists 0.29.0 as the minimum, so installing 0.29 or later is the safest bet. The official main repository has switched to FP8 weights, with BF16 in a separate GLM-5.3-BF16 repository. For llama.cpp with Unsloth's GGUFs, you need a build from July 24, 2026 onward (with the sparse-attention indexer). The glm-5.3 entry in the Ollama library only has a :cloud tag; it's a cloud version that doesn't run locally.
Quantization
Unsloth recommends UD-IQ2_M among the 2-bit quants. By its tests, the dynamic 1-bit version picks the same top token as the original about 76% of the time, and 2-bit about 81%; the closest to the original are the 4-bit and 5-bit dynamic quants (UD-Q4_K_XL, UD-Q5_K_XL), with 4-bit at about 467 GB.
A chat template gotcha
GLM's chat template uses a .{id}. syntax that many inference engines don't recognize. Unsloth changed it to [id] in its own version; if you hit template errors with weights from other sources, you can make the same change.
Launch commands
llama.cpp
- NVIDIA
- AMD
- Mac
- CPU
llama-server -hf unsloth/GLM-5.3-GGUF:UD-Q4_K_XL -c 8192Short on VRAM? Add --cpu-moe to keep the routed experts in system RAM (about 457 GB needed).
llama-server -hf unsloth/GLM-5.3-GGUF:UD-Q4_K_XL -c 8192 -ngl 99 \ --cpu-moe
vLLM
- Linux
- NVIDIA
Follow the deployment guide to prepare the required runtime and hardware.
vllm serve zai-org/GLM-5.3 \ --kv-cache-dtype fp8 \ --tensor-parallel-size 8 \ --speculative-config.method mtp \ --speculative-config.num_speculative_tokens 5 \ --tool-call-parser glm47 \ --reasoning-parser glm47 \ --enable-auto-tool-choice \ --served-model-name glm-5.3
MLX
- Apple Silicon
On a Mac, pip install mlx-lm first; this command downloads the MLX weights from Hugging Face and starts an OpenAI-compatible server.
mlx_lm.server --model mlx-community/GLM-5.3-4bitOllama
- Windows
- macOS
- Linux
Ollama only has a cloud version, glm-5.3:cloud, which runs on Ollama's servers rather than on your machine.
File names follow that week's model-library snapshot; the definitions are in the methodology. Methodology
Other models in the GLM family
| Model | Total params | Active params | 4-bit size |
|---|---|---|---|
| 30B | 3B | 18.3 GB | |
| 106B | 12B | 73 GB | |
| 320B | 18B | 199.7 GB | |
| 744B | 40B | 465.8 GB |