Skip to content

How much VRAM does GLM-4.7 Flash need?

GLM-4.7 Flash needs 17.6 GB for its weights at 4-bit, 18.8 GB with an 8K context and 20.1 GB with 32K. At 8-bit, 32.1 GB.

Parameters
31.2B
Active per token
3B
Longest context
198K
Released
Jan 2026
License
MIT
Strongest at
Chat, Coding, Agents

Memory at each precision

Memory GLM-4.7 Flash needs at each precision and context length
PrecisionWeightsWith 8KWith 32KWith 128K
16-bit58.2 GB59.4 GB60.6 GB65.6 GB
8-bit30.9 GB32.1 GB33.4 GB38.3 GB
6-bit23.8 GB25.1 GB26.3 GB31.3 GB
5-bit20.7 GB21.9 GB23.1 GB28.1 GB
4-bit17.6 GB18.8 GB20.1 GB25.0 GB
3-bit14.2 GB15.4 GB16.7 GB21.6 GB
2-bit10.9 GB12.1 GB13.4 GB18.3 GB
1.6-bit6.0 GB7.2 GB8.5 GB13.4 GB

One conversation, 16-bit context cache, runtime overhead included.

What runs it

The best way GLM-4.7 Flash runs on common GPUs, Macs and AI boxes
MachineBest fitContextSpeedFirst reply
RTX 3060 12 GBToo big
RTX 4060 Ti 16 GBToo big
RTX 30905-bit24K165 tok/s0.5 s
RTX 40905-bit24K171 tok/s0.2 s
RTX 50906-bit104K209 tok/s0.2 s
2× RTX 30908-bit198K130 tok/s0.3 s
RTX PRO 6000 Blackwell8-bit198K187 tok/s0.1 s
M4 Max 128 GB8-bit198K64 tok/s2.9 s
M5 Max 128 GB8-bit198K69 tok/s0.8 s
Ryzen AI Max+ 395 128 GB8-bit198K40 tok/s1.7 s
DGX Spark 128 GB8-bit198K51 tok/s0.7 s
M3 Ultra 256 GB8-bit198K80 tok/s1.6 s
M5 Ultra 512 GB8-bit198K94 tok/s0.5 s
H100 SXM8-bit198K239 tok/s0.1 s
DGX Station GB3008-bit198K289 tok/s0.1 s
8× H200 NVL8-bit198K265 tok/s0.1 s

Best fit is the highest quality, up to 8-bit, that leaves 16K of context. First reply is the wait for a 2K prompt. Speeds are rough, plus or minus 25%.

How to run it

Ollama
ollama run glm-4.7-flash:latest
llama.cpp
llama-server -hf unsloth/GLM-4.7-Flash-GGUF
vLLM
vllm serve zai-org/GLM-4.7-Flash
MLX (Mac)
mlx_lm.chat --model mlx-community/GLM-4.7-Flash-4bit

Questions

How much VRAM does GLM-4.7 Flash need?

GLM-4.7 Flash needs 17.6 GB for its weights at 4-bit, 18.8 GB with an 8K context and 20.1 GB with 32K. At 8-bit, 32.1 GB.

Can GLM-4.7 Flash run on an RTX 4090?

Yes. At 5-bit it holds 24K of context and writes about 171 tokens a second.

More models