LLMs ·

GLM-4.7 Flash (30B-A3B)

Parameters
31B (3.0B active)
Architecture
Mixture of experts
Max context
198K tokens
License
mit
Released
2026-01

How to run it

Quickest · Ollama

One command downloads a ready-to-run version and starts a chat.

ollama run glm-4.7-flash

Get Ollama at ollama.com/download (opens in a new tab) · model page (opens in a new tab)

Quantized files · GGUF

Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.

huggingface.co/unsloth/GLM-4.7-Flash-GGUF (opens in a new tab)

ollama run hf.co/unsloth/GLM-4.7-Flash-GGUF

Original weights · Hugging Face

Full-precision files from Zhipu AI, for fine-tuning, vLLM, Transformers.

huggingface.co/zai-org/GLM-4.7-Flash (opens in a new tab)

No sign-in needed.

Official repo · GitHub

Reference code, inference scripts and docs from Zhipu AI. The weights themselves download from Hugging Face.

github.com/zai-org/GLM-4.5 (opens in a new tab)

git clone https://github.com/zai-org/GLM-4.5

Memory needed

Weights plus KV cache and runtime overhead. Leave a little extra free for the operating system and other apps.

KV cache: latent (MLA) KV cache.

Quantization Quality Weights Total at 8K context Total at 32K context Download
Q2_K Low 12.5 GB 13.5 GB 14.9 GB GGUF (opens in a new tab)
Q3_K_M Low 15.3 GB 16.3 GB 17.7 GB GGUF (opens in a new tab)
Q4_K_M Good 19.0 GB 20.1 GB 21.4 GB GGUF (opens in a new tab)
Q5_K_M High 22.2 GB 23.2 GB 24.5 GB GGUF (opens in a new tab)
Q6_K High 25.6 GB 26.6 GB 28.0 GB GGUF (opens in a new tab)
Q8_0 Very high 33.1 GB 34.1 GB 35.5 GB GGUF (opens in a new tab)
F16 Full 62.4 GB 63.5 GB 64.8 GB GGUF · folder (opens in a new tab) Original weights (opens in a new tab)

Best hardware for GLM-4.7 Flash (30B-A3B)

The least expensive GPU in our catalog that runs it without offloading is the AMD Radeon RX 7600 XT (launch price $329) at Q2_K.

Grade · points Hardware Quant Memory Speed Fit
94 ptsExcellent (S) · 94 of 100 points: Model quality 39.6/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 15.0/15 Apple M4 Max (64 GB) Q8_0 38.0 GB / 48.0 GB 49.0 tok/s Runs well
94 ptsExcellent (S) · 94 of 100 points: Model quality 39.6/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 15.0/15 NVIDIA RTX PRO 6000 Blackwell F16 68.3 GB / 96.0 GB 86.0 tok/s Runs well
93 ptsExcellent (S) · 93 of 100 points: Model quality 39.2/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 14.7/15 Apple M1 Max (64 GB) Q6_K 30.5 GB / 48.0 GB 48.9 tok/s Runs well
93 ptsExcellent (S) · 93 of 100 points: Model quality 38.4/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 15.0/15 NVIDIA GeForce RTX 5090 Q5_K_M 24.8 GB / 32.0 GB 303 tok/s Runs well
93 ptsExcellent (S) · 93 of 100 points: Model quality 38.4/45, Memory fit 25.0/25, Speed 14.9/15, Memory use 15.0/15 Apple M4 Pro (48 GB) Q5_K_M 26.1 GB / 36.0 GB 39.7 tok/s Runs well
91 ptsExcellent (S) · 91 of 100 points: Model quality 37.6/45, Memory fit 24.0/25, Speed 15.0/15, Memory use 15.0/15 AMD Radeon RX 7900 XTX Q4_K_M 21.3 GB / 24.0 GB 169 tok/s Tight fit
91 ptsExcellent (S) · 91 of 100 points: Model quality 37.6/45, Memory fit 24.0/25, Speed 15.0/15, Memory use 15.0/15 NVIDIA GeForce RTX 3090 Q4_K_M 21.3 GB / 24.0 GB 191 tok/s Tight fit
91 ptsExcellent (S) · 91 of 100 points: Model quality 37.6/45, Memory fit 24.0/25, Speed 15.0/15, Memory use 15.0/15 NVIDIA GeForce RTX 4090 Q4_K_M 21.3 GB / 24.0 GB 206 tok/s Tight fit
89 ptsExcellent (S) · 89 of 100 points: Model quality 39.6/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 10.1/15 Apple M4 Max (128 GB) Q8_0 41.8 GB / 96.0 GB 49.0 tok/s Runs well
86 ptsExcellent (S) · 86 of 100 points: Model quality 39.6/45, Memory fit 25.0/25, Speed 15.0/15, Memory use 7.3/15 Apple M2 Ultra (192 GB) Q8_0 45.7 GB / 144 GB 71.7 tok/s Runs well

Check it on your own hardware

Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.