LongCite glm4 9b needs about 11.6 GB of memory at Q4_K_M (a 10.7 GB file) with an 8K context window, so it fits on a 12 GB GPU. This repository has 5 quants, from 8.5 GB (Q2_K) to 12.7 GB (Q6_K). Longer context needs more: at 32K tokens the KV cache alone adds about 1.3 GB.
LongCite glm4 9b is a 10.5B-parameter GLM model in GGUF format, quantized by DevQuasar-3. Its trained context length is 128K tokens. The repository has 5 quant files, from 8.5 GB (Q2_K) to 12.7 GB (Q6_K).
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| Q2_K | 8.5 GB | 9.3 GB | Too big | Get file → | |
| Q3_K_M | 9.6 GB | 10.4 GB | Too big | Get file → | |
| Q4_K_M | 10.7 GB | 11.6 GB | Too big | Get file → | |
| Q5_K_M | 11.6 GB | 12.5 GB | Too big | Get file → | |
| Q6_K | 12.7 GB | 13.6 GB | Too big | Get file → |
What GPU do you need for LongCite glm4 9b?
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 Q4_K_M (10.7 GB file, about 11.6 GB in use).
- 16 GB VRAM: the best quant that fits is Q6_K (12.7 GB file, about 13.6 GB in use).
Which LongCite glm4 9b quant should you choose?
Q4_K_M is the usual starting point for LongCite glm4 9b: it balances file size and quality well. Here it is a 10.7 GB file.
If memory is tight, the smallest file is Q2_K at 8.5 GB, with the quality trade-offs that come with fewer bits. Use it only when memory is very tight. Expect a clear drop in quality, which is usually worse on small models and easier to live with on large ones.
New to quant names? Read GGUF quantization explained.
Specifications
Architecture from the GGUF header
Source
Frequently asked questions about LongCite glm4 9b
How much VRAM does LongCite glm4 9b need?
About 11.6 GB at Q4_K_M with an 8K context window. That is the 10.7 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 LongCite glm4 9b on an 8 GB GPU?
Not at an 8K context. The smallest file needs about 9.3 GB, so you would need a larger GPU or CPU offloading.
What is the file size of LongCite glm4 9b GGUF?
It depends on the quant: Q2_K is 8.5 GB, Q3_K_M is 9.6 GB, Q4_K_M is 10.7 GB, Q5_K_M is 11.6 GB, Q6_K is 12.7 GB.
What context length does LongCite glm4 9b support?
The GGUF header lists a trained context length of 131,072 tokens (128K). The KV cache grows with the context you use: about 0.3 GB at 8K and 1.3 GB at 32K.
Where can I download LongCite glm4 9b GGUF?
The files are on Hugging Face in the DevQuasar-3/LongCite-glm4-9b-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.