How to Deploy GLM 4.5 Air Locally
GLM 4.5 Air is a 106B MoE that Zhipu released in July 2025, and it uses 12B parameters per token. It can switch between thinking and non-thinking modes and is MIT licensed. The 4-bit weights are about 73 GB, so holding it on a single machine takes a high-memory card such as the A100 80GB or RTX PRO 6000, or a unified-memory system with 96GB or more; with 24GB cards you usually need four. Its context is fairly heavy on VRAM: at 4-bit, going from 8K to 128K adds about 23 GB.
GLM 4.5 Air details
- Min VRAM at 4-bit76 GB · 8K
- Parameters106B
- Active params12B
- Max context128K
- Architecture
- MoE
- Experts offloaded
- 8 GB VRAM + 70 GB RAM
- License
- MIT
- Launch date
- Jul 28, 2025
- Vendor
- Z.ai / Zhipu AI
- Hugging Face repo
- zai-org/GLM-4.5-Air
- GGUF repo
- unsloth/GLM-4.5-Air-GGUF
- MLX repo (Apple)
- mlx-community/GLM-4.5-Air-4bit
- Layers
- 46
- Hidden size
- 4,096
- KV heads
- 8
- Head dim
- 128
How much VRAM does GLM 4.5 Air need for local deployment?
| Quantization | WeightsGB | 8K contextGB | 32K contextGB | 128K context (max)GB |
|---|---|---|---|---|
| 1-bit | 40.1GGUF | 42.7 | 47.3 | 65.9 |
| 2-bit | 47.4GGUF | 50 | 54.6 | 73.2 |
| 3-bit | 54.8GGUF | 57.4 | 62 | 80.6 |
| 4-bit | 73GGUF | 75.6 | 80.2 | 98.8 |
| 5-bit | 83.5GGUF | 86.1 | 90.7 | 109.3 |
| 8-bit | 117.5GGUF | 120.1 | 124.7 | 143.3 |
| BF16/FP16 | 221GGUF | 223.6 | 228.2 | 246.8 |
Full calculation rules are on the Methodology page.
Can a single GPU run GLM 4.5 Air?
Yes, but only on a high-memory card in the class of the A100 80GB or RTX PRO 6000. The 4-bit file won't fit any 24GB or 32GB consumer card, and even the 48GB RTX A6000 only takes the 2-bit file. The best single card is the RTX PRO 6000: about 89 tokens/s at 4-bit, with the full context available. The 80GB A100 is about as fast but only has room for around 60K of context, and the 72GB RTX PRO 5000 squeezes it in with just 16K. The 128GB unified-memory boxes, the DGX Spark and Ryzen AI Max+ 395, can hold even 8-bit, yet manage only around 20 tokens/s at 4-bit. It's an MoE, but every token still pulls 12B parameters from memory, and their memory bandwidth is a fraction of a workstation GPU's; the 96GB Mac Studio M5 Ultra, with far more bandwidth, reaches about 70.
| Device | Price | Speed t/s | Max context |
|---|---|---|---|
| Ryzen AI Max+ 395 128GBWhole system · 128 GB | $4,46420 listings | 27.9 | 128K |
| Instinct MI21064 GB | $4,99411 listings | 104.5 | 104K |
| Mac Studio M5 Ultra 96GBWhole system · 96 GB | $7,27412 listings | 89.3 | 128K |
| MacBook Pro M5 Max 128GBWhole system · 128 GB | $7,54920 listings | 56.5 | 128K |
| $8,24022 listings | 29.5 | 128K | |
| $10,7223 listings | 94 | 128K | |
| $18,99912 listings | 113.3 | 128K | |
| $22,50011 listings | 109.2 | 128K | |
| Mac Studio M3 Ultra 512GBWhole system · 512 GB | $22,90013 listings | 69.2 | 128K |
| Device | Price | Speed t/s | Max context |
|---|---|---|---|
| Ryzen AI Max+ 395 128GBWhole system · 128 GB | $4,46420 listings | 19.7 | 128K |
| Mac Studio M5 Ultra 96GBWhole system · 96 GB | $7,27412 listings | 70.1 | 128K |
| MacBook Pro M5 Max 128GBWhole system · 128 GB | $7,54920 listings | 41.9 | 128K |
| $8,24022 listings | 20.9 | 128K | |
| $10,7223 listings | 74.3 | 16K | |
| $18,99912 listings | 92.8 | 61K | |
| $22,50011 listings | 88.8 | 128K | |
| Mac Studio M3 Ultra 512GBWhole system · 512 GB | $22,90013 listings | 52.4 | 128K |
| Device | Price | Speed t/s | Max context |
|---|---|---|---|
| Ryzen AI Max+ 395 128GBWhole system · 128 GB | $4,46420 listings | 13.1 | 97K |
| MacBook Pro M5 Max 128GBWhole system · 128 GB | $7,54920 listings | 28.9 | 97K |
| $8,24022 listings | 13.9 | 97K | |
| Mac Studio M3 Ultra 512GBWhole system · 512 GB | $22,90013 listings | 36.9 | 128K |
Only common GPUs and systems are listed, one set for models under 50B and another for larger ones, sorted by price from low to high.
How many GPUs do you need to run GLM 4.5 Air?
If you'd rather skip a 96GB card, two 48GB RTX A6000 cards are the simplest route, at about 42 tokens/s on 4-bit. With 24GB cards (RTX 3090, 4090, RX 7900 XTX) you need four: 4-bit plus 32K of context comes to about 80 GB, so a pair of them falls well short. Four of them run at about 50 tokens/s, slightly ahead of the A6000 pair because each card has more memory bandwidth. Two 32GB RTX 5090 cards only fit 2-bit, which is quick but noticeably weaker in answer quality; 4-bit takes four of them as well.
| Device | Cards | Total price | Total VRAM | Speed t/s | Total power |
|---|---|---|---|---|---|
| 2 cards | $1,790 | 64 GB | 59.3 | 500 W | |
| 2 cards | $3,700 | 64 GB | 44.1 | 460 W | |
| Radeon RX 7900 XTX24 GB per card | 4 cards | $5,000 | 96 GB | 62.1 | 1,420 W |
| 4 cards | $7,196 | 96 GB | 61 | 1,400 W | |
| 2 cards | $9,798 | 96 GB | 52.8 | 600 W | |
| 4 cards | $15,032 | 96 GB | 64.3 | 1,800 W | |
| 2 cards | $16,790 | 64 GB | 92.6 | 1,150 W | |
| 2 cards | No price | 96 GB | 64.3 | 900 W |
| Device | Cards | Total price | Total VRAM | Speed t/s | Total power |
|---|---|---|---|---|---|
| 4 cards | $3,580 | 128 GB | 47.5 | 1,000 W | |
| Radeon RX 7900 XTX24 GB per card | 4 cards | $5,000 | 96 GB | 49.9 | 1,420 W |
| 4 cards | $7,196 | 96 GB | 49 | 1,400 W | |
| 4 cards | $7,400 | 128 GB | 34.6 | 920 W | |
| 2 cards | $9,798 | 96 GB | 41.9 | 600 W | |
| Instinct MI21064 GB per card | 2 cards | $9,988 | 128 GB | 73.1 | 600 W |
| 4 cards | $15,032 | 96 GB | 51.8 | 1,800 W | |
| 2 cards | $21,444 | 144 GB | 63.9 | 600 W | |
| 4 cards | $33,580 | 128 GB | 77.4 | 2,300 W | |
| 2 cards | $37,998 | 160 GB | 81.3 | 600 W | |
| 2 cards | No price | 96 GB | 51.8 | 900 W |
| Device | Cards | Total price | Total VRAM | Speed t/s | Total power |
|---|---|---|---|---|---|
| 8 cards | $7,160 | 256 GB | 35.3 | 2,000 W | |
| Radeon RX 7900 XTX24 GB per card | 8 cards | $10,000 | 192 GB | 37.2 | 2,840 W |
| 8 cards | $14,392 | 192 GB | 36.4 | 2,800 W | |
| 8 cards | $14,800 | 256 GB | 25.2 | 1,840 W | |
| 2 units | $16,480 | 256 GB | 12.1 | 480 W | |
| 4 cards | $19,596 | 192 GB | 30.8 | 1,200 W | |
| Instinct MI21064 GB per card | 4 cards | $19,976 | 256 GB | 56.5 | 1,200 W |
| 2 cards | $21,444 | 144 GB | 48.7 | 600 W | |
| 8 cards | $30,064 | 192 GB | 38.7 | 3,600 W | |
| 2 cards | $37,998 | 160 GB | 63.7 | 600 W | |
| 2 cards | $45,000 | 192 GB | 60.3 | 1,200 W | |
| 8 cards | $67,160 | 256 GB | 60.3 | 4,600 W | |
| 4 cards | No price | 192 GB | 38.7 | 1,800 W |
Full calculation rules are on the Methodology page.
What PC or server build do you need to run GLM 4.5 Air locally?
If you only have one 16GB to 24GB card, keep the experts in system RAM; speed then depends on memory bandwidth. At 4-bit, a DDR4 desktop with a 16GB Tesla V100 does about 9 tokens/s, about 15 with DDR5, and a used 8-channel DDR4 server with an RTX 3090 about 26. At 2-bit, the same three machines do about 15, 25 and 42 tokens/s.
Tesla V100 32GB + Dual Xeon E5 DDR4
Budget2 × GeForce RTX 3090 + Single EPYC DDR4
Best valueGeForce RTX 5090 + Single EPYC DDR5
Flagship2 × GeForce RTX 5070 + Desktop DDR5
Home PC2 × Tesla V100 32GB + Dual Xeon E5 DDR4
BudgetGeForce RTX 3090 + Dual EPYC DDR4
Best valueGeForce RTX 5090 + Single EPYC DDR5
FlagshipGeForce RTX 5070 + Desktop DDR5
Home PCTesla V100 32GB + Dual Xeon E5 DDR4
BudgetGeForce RTX 3090 + Dual EPYC DDR4
Best valueGeForce RTX 5090 + Single EPYC DDR5
FlagshipDetailed 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 4.5 Air locally
Which quantization to pick
4-bit, at about 73 GB, is where most setups land; 5-bit, at about 84 GB, also fits a 96GB card or a 128GB machine. 2-bit is about 47 GB and squeezes onto a single 48GB card, but with very short context. 8-bit is about 118 GB, leaving only about 97K of context on a 128GB machine.
Thinking mode is on by default
It can run with or without thinking. When deployed with vLLM or SGLang, requests use thinking by default; to turn it off, add
enable_thinking: falseunderchat_template_kwargsin the request. For simple Q&A, turning thinking off spares you a long wait through the reasoning.llama.cpp supports MTP speculative decoding
llama.cpp merged MTP support for GLM 4.5 Air in August 2026 (PR #26534): a small layer built into the model guesses the next token first, and every correct guess saves a step. The PR author tested 4-bit on four RTX 3090s and saw about a 1.2x speedup with a draft length of 1. GGUFs converted earlier without the MTP layer can load a separate MTP file.
Official server requirements
Zhipu's recommended configurations are meant for data centers: the FP8 version needs at least two H100s, and four to run the full 128K context; the BF16 version needs twice as many. For local use with GGUF quants, go by the table above.
Long context eats VRAM
Native context is 128K, but its attention design doesn't compress context, so VRAM keeps climbing as context grows: at 4-bit, going from 32K to 128K adds about 19 GB, and a 96GB card has just enough for the full 128K. The later GLM 4.7 Flash from the same family switched to a leaner design that adds only about 7 GB from 8K to 128K.
Launch commands
llama.cpp
- NVIDIA
- AMD
- Mac
- CPU
llama-server -hf unsloth/GLM-4.5-Air-GGUF:Q4_K_M -c 8192Short on VRAM? Add --cpu-moe to keep the routed experts in system RAM (about 70 GB needed).
llama-server -hf unsloth/GLM-4.5-Air-GGUF:Q4_K_M -c 8192 -ngl 99 \ --cpu-moe
vLLM
- Linux
- NVIDIA
- AMD
vllm serve zai-org/GLM-4.5-AirMLX
- 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-4.5-Air-4bitOllama
- Windows
- macOS
- Linux
The Ollama library has no official tag for it yet.
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 | |
| 320B | 18B | 199.7 GB | |
| 744B | 40B | 465.8 GB | |
| 744B | 40B | 467.3 GB |