Glm-4.7-Flash needs about 19.7 GB of memory at Q4_K_M (a 18.3 GB file) with an 8K context window, so it fits on a 24 GB GPU. This repository has 28 quants, from 8.3 GB (TQ1_0) to 59.9 GB (BF16). Longer context needs more: at 32K tokens the KV cache alone adds about 3.4 GB.
30B‑A3B MoE model for lightweight deployment
GLM‑4.7‑Flash is a 30B‑A3B mixture‑of‑experts model. It offers a balance between performance and efficiency for local inference. The model supports a 202,752‑token context window and is released under the MIT license.
Good at
- Large context reasoning
- Efficient inference on modest GPUs
- Versatile tool‑calling
Limits
- Requires 8‑k context for memory estimates
- No vision support
- Mixture‑of‑experts increases memory usage
Best for
- Chatbots needing long context
- Code generation with tool‑calling
- Research prototyping on local hardware
Who it’s for. Developers and researchers who need a 30B‑class model that can run on consumer‑grade GPUs. The model is suitable for local deployment using llama.cpp, vLLM, or SGLang.
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| TQ1_0 | 8.3 GB | 9.7 GB | Too big | Get file → | |
| IQ1_S | 9.2 GB | 10.6 GB | Too big | Get file → | |
| IQ1_M | 9.8 GB | 11.1 GB | Too big | Get file → | |
| IQ2_XXS | 10.5 GB | 11.9 GB | Too big | Get file → | |
| IQ2_M | 11.0 GB | 12.3 GB | Too big | Get file → | |
| Q2_K | 11.3 GB | 12.7 GB | Too big | Get file → | |
| Q2_K_L | 11.4 GB | 12.8 GB | Too big | Get file → | |
| Q2_K_XL | 11.9 GB | 13.2 GB | Too big | Get file → | |
| IQ3_XXS | 12.9 GB | 14.2 GB | Too big | Get file → | |
| Q3_K_S | 13.3 GB | 14.6 GB | Too big | Get file → | |
| Q3_K_XL | 13.8 GB | 15.1 GB | Too big | Get file → | |
| Q3_K_M | 14.6 GB | 16.0 GB | Too big | Get file → | |
| IQ4_XS | 16.3 GB | 17.6 GB | Too big | Get file → | |
| MXFP4_MOE | 17.0 GB | 18.3 GB | Too big | Get file → | |
| IQ4_NL | 17.2 GB | 18.5 GB | Too big | Get file → | |
| Q4_0 | 17.2 GB | 18.6 GB | Too big | Get file → | |
| Q4_K_S | 17.3 GB | 18.6 GB | Too big | Get file → | |
| Q4_K_XL | 17.5 GB | 18.9 GB | Too big | Get file → | |
| Q4_K_M | 18.3 GB | 19.7 GB | Too big | Get file → | |
| Q4_1 | 19.0 GB | 20.3 GB | Too big | Get file → | |
| Q5_K_S | 20.8 GB | 22.2 GB | Too big | Get file → | |
| Q5_K_M | 21.4 GB | 22.7 GB | Too big | Get file → | |
| Q5_K_XL | 21.7 GB | 23.0 GB | Too big | Get file → | |
| Q6_K | 24.7 GB | 26.0 GB | Too big | Get file → | |
| Q6_K_XL | 26.2 GB | 27.5 GB | Too big | Get file → | |
| Q8_0 | 31.8 GB | 33.2 GB | Too big | Get file → | |
| Q8_K_XL | 35.6 GB | 37.0 GB | Too big | Get file → | |
| BF16 | 59.9 GB (2 parts) | 61.2 GB | Too big | Get file → |
For 8 GB VRAM, use Q4_0 (17.22 GB file, ~18.6 GB memory at 8k context). For 12 GB VRAM, Q4_K_M (18.31 GB file, ~19.7 GB memory). For 16 GB VRAM, Q5_K_S (20.82 GB file, ~22.2 GB memory). Estimates are approximate.
What GPU do you need for Glm-4.7-Flash?
These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.
- 4 GB VRAM: no quant fits at an 8K context.
- 6 GB VRAM: no quant fits at an 8K context.
- 8 GB VRAM: no quant fits at an 8K context.
- 12 GB VRAM: the best quant that fits is IQ2_XXS (10.5 GB file, about 11.9 GB in use).
- 16 GB VRAM: the best quant that fits is Q3_K_M (14.6 GB file, about 16.0 GB in use).
- 24 GB VRAM: the best quant that fits is Q5_K_XL (21.7 GB file, about 23.0 GB in use).
- 32 GB VRAM: the best quant that fits is Q6_K_XL (26.2 GB file, about 27.5 GB in use).
- 48 GB VRAM: the best quant that fits is Q8_K_XL (35.6 GB file, about 37.0 GB in use).
Which Glm-4.7-Flash quant should you choose?
Q4_K_M is the usual starting point for Glm-4.7-Flash: it balances file size and quality well. Here it is a 18.3 GB file.
The Q8_0 file is 31.8 GB, about 1.7 times the size of Q4_K_M. It keeps the weights closer to the original, which only matters if you have the memory to spare.
If memory is tight, the smallest file is TQ1_0 at 8.3 GB, with the quality trade-offs that come with fewer bits. Lower bit counts mean smaller files and more quality loss.
New to quant names? Read GGUF quantization explained.
Specifications
Architecture from the GGUF header
Source
Frequently asked questions about Glm-4.7-Flash
How much VRAM does Glm-4.7-Flash need?
About 19.7 GB at Q4_K_M with an 8K context window. That is the 18.3 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.
Can I run Glm-4.7-Flash on an 8 GB GPU?
Not at an 8K context. The smallest file needs about 9.7 GB, so you would need a larger GPU or CPU offloading.
What is the file size of Glm-4.7-Flash GGUF?
It depends on the quant: TQ1_0 is 8.3 GB, IQ1_S is 9.2 GB, IQ1_M is 9.8 GB, IQ2_XXS is 10.5 GB, IQ2_M is 11.0 GB, Q2_K is 11.3 GB and 22 more.
What context length does Glm-4.7-Flash support?
The GGUF header lists a trained context length of 202,752 tokens (198K). The KV cache grows with the context you use: about 0.8 GB at 8K and 3.4 GB at 32K.
Where can I download Glm-4.7-Flash GGUF?
The files are on Hugging Face in the unsloth/GLM-4.7-Flash-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.
What license does Glm-4.7-Flash use?
Hugging Face lists the license as mit. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.
Can I run GLM-4.7-Flash on 8 GB VRAM?
Yes, using the Q4_0 quantization which requires about 18.6 GB of VRAM at 8k context.
Does GLM-4.7-Flash support vision tasks?
No, the model does not include vision capabilities.
What is the maximum context length for this model?
The model supports up to 202,752 tokens in its context window.