How to Deploy GLM 4.5 Air Locally
GLM 4.5 Air is a MoE model with 106B total parameters and 12B active per token. At Q4 it needs 62GB of VRAM to sit entirely on the GPU; with experts offloaded to system RAM it needs only 7GB of VRAM plus 56GB of RAM. The cheapest card that runs it today is the Ryzen AI Max+ 395 128GB at about $3,913, at roughly 15.9 tokens/s. In offload mode the cheapest card that runs it is the Tesla V100 16GB, at roughly 12 tokens/s.
GLM 4.5 Air details
How much VRAM does GLM 4.5 Air need for local deployment?
MoE: all 106B parameters must stay resident in memory, while speed is set by the 12B active per token.
| Quantization | WeightsGB | Total at 8KGB | Total at 32KGB | Total at 128KGB |
|---|---|---|---|---|
| 1-bit | 40.1GGUF | 27.3 | 31.6 | 48.9 |
| 2-bit | 47.4GGUF | 41.8 | 46.1 | 63.4 |
| 3-bit | 54.8GGUF | 53.2 | 57.5 | 74.8 |
| 4-bit | 73GGUF | 61.5 | 65.8 | 83.1 |
| 5-bit | 83.5GGUF | 74 | 78.3 | 95.5 |
| 8-bit | 117.5GGUF | 112.3 | 116.6 | 133.9 |
| FP16 | 221GGUF | 209.7 | 214.1 | 231.3 |
Total = weights + KV cache (FP16) + 1GB runtime overhead. Weights marked GGUF are measured file sizes from the repository; the rest are estimated from bytes per parameter. Contexts beyond this model's 128K limit show a dash. Each tier takes whichever file of that bit width the repository has, preferring unsloth dynamic quants, so the exact file name varies by model.
Which GPUs can run GLM 4.5 Air?
AmazonJP
| Device | VRAMGB | Price | Est. t/s | Suggested context |
|---|---|---|---|---|
| 128 | $3,9136 listings | 15.9 | 128K | |
| 128 | $8,2233 listings | 23 | 128K | |
| 64 | —No listings | 89 | 8K | |
| 64 | —No listings | 75.6 | 8K | |
| 72 | —No listings | 83.1 | 32K | |
| 84 | —No listings | 91.9 | 128K | |
| 96 | —No listings | 99.7 | 128K | |
| Mac Studio M4 Max 128GB | 128 | —No listings | 34.3 | 128K |
| Mac Studio M5 Max 128GB | 128 | —No listings | 37.9 | 128K |
| MacBook Pro M4 Max 128GB | 128 | —No listings | 34.3 | 128K |
| MacBook Pro M5 Max 128GB | 128 | —No listings | 37.9 | 128K |
| Mac Studio M3 Ultra 512GB | 512 | —No listings | 48.1 | 128K |
Fits when weights + KV cache + runtime overhead is at or below usable memory, single card. "Offload" on MoE models means it runs with expert weights in system RAM (only attention layers and KV cache stay in VRAM); that speed assumes 70 GB/s RAM bandwidth. The context column is the largest tier that fits.
Recommended GPUs for GLM 4.5 Air with CPU/GPU offloading
AmazonJP
Expert weights live in system RAM (needs at least 56 GB); VRAM holds only attention layers, shared experts and the KV cache, at least 7 GB at Q4. Speed is bound by RAM bandwidth (estimated at 70 GB/s) and is far slower than a full-VRAM setup.
| Device | VRAMGB | Price | RAM neededGB | Est. t/s |
|---|---|---|---|---|
| 16 | $659 | 56 | 12 | |
| 16 | $884 | 56 | 11.2 | |
| 16 | $924 | 56 | 11.2 | |
| 12 | $956 | 56 | 11.7 | |
| 16 | $966 | 56 | 11.2 | |
| 32 | $1,141 | 56 | 12 | |
| 24 | $1,164 | 56 | 10.4 | |
| 20 | $1,244 | 56 | 11.5 | |
| 16 | $1,404 | 56 | 11 | |
| 16 | $1,576 | 56 | 12 | |
| 24 | $1,738 | 56 | 11.7 | |
| 16 | $1,868 | 56 | 12.1 | |
| 32 | $2,074 | 56 | 10.9 | |
| 16 | $2,187 | 56 | 11.8 | |
| 32 | $2,244 | 56 | 11.2 | |
| 24 | $2,520 | 56 | 12.1 | |
| 24 | $3,956 | 56 | 11.7 | |
| 24 | $4,905 | 56 | 12.1 | |
| 32 | $7,489 | 56 | 12.5 | |
| 22 | — | 56 | 11.6 | |
| 24 | — | 56 | 12.3 | |
| 32 | — | 56 | 10.9 | |
| 32 | — | 56 | 11.8 | |
| 32 | — | 56 | 12.5 | |
| 32 | — | 56 | 12 | |
| 32 | — | 56 | 11.8 | |
| 32 | — | 56 | 11 | |
| 32 | — | 56 | 12 | |
| 40 | — | 56 | 12.4 | |
| 40 | — | 56 | 12.4 | |
| 48 | — | 56 | 12.1 | |
| 48 | — | 56 | 11.6 | |
| 48 | — | 56 | 12.3 |
Deploy GLM 4.5 Air locally with Ollama, llama.cpp or vLLM
Ollama pulls and runs it in one command; the quantization comes from the official tag.
ollama run glm4.5:air
llama.cpp pulls the GGUF straight from Hugging Face; -c sets the context length.
llama-server -hf unsloth/GLM-4.5-Air-GGUF:Q4_K_M -c 8192
vLLM serves the original-precision weights, which needs far more memory than GGUF and usually more than one GPU.
vllm serve zai-org/GLM-4.5-Air
File names follow that week's model-library snapshot; the definitions are in the methodology. Methodology
FAQ
How much VRAM does GLM 4.5 Air need?
At Q4_K_M with an 8K context GLM 4.5 Air needs about 62GB of VRAM; 76GB leaves comfortable headroom.
What is the cheapest GPU that runs GLM 4.5 Air?
The Ryzen AI Max+ 395 128GB: 128GB of VRAM, currently about $3,913, at roughly 15.9 tokens/s.
Can you run GLM 4.5 Air with Ollama?
Yes: ollama run glm4.5:air.