GL

Glm 4 9b Hf

GLMGGUF by WusulUpdated 2025-04-21
Download on Hugging Face
Parameters9.4B
Context4K
Layers40
Architecturechatglm
Smallest quant7.0 GB
Quick answer

Glm 4 9b Hf needs about 7.9 GB of memory at Q5_K_M (a 7.0 GB file) with an 8K context window, so it fits on a 8 GB GPU.

Glm 4 9b Hf is a 9.4B-parameter GLM model in GGUF format, quantized by Wusul. Its trained context length is 4K tokens. The repository has 1 quant file, from 7.0 GB (Q5_K_M) to 7.0 GB (Q5_K_M).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q5_K_M7.0 GB 7.7 GB
Tight Get file →

What GPU do you need for Glm 4 9b Hf?

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: the best quant that fits is Q5_K_M (7.0 GB file, about 7.9 GB in use).

Which Glm 4 9b Hf quant should you choose?

Q5_K_M (7.0 GB) is the middle option in this repository. Closer to the original model than 4-bit, for a moderate increase in size. A good pick when you have memory to spare.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturechatglm
Parameters9.4B
Layers40
Trained context4,096 tokens
KV cache (fp16)40 KB per token

Source

Quantized byWusul
FamilyGLM
Licenseother
Downloads (HF)26
Last updated2025-04-21

Frequently asked questions about Glm 4 9b Hf

How much VRAM does Glm 4 9b Hf need?

About 7.9 GB at Q5_K_M with an 8K context window. That is the 7.0 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 9b Hf on an 8 GB GPU?

Yes, with Q5_K_M: the 7.0 GB file needs about 7.9 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of Glm 4 9b Hf GGUF?

It depends on the quant: Q5_K_M is 7.0 GB.

What context length does Glm 4 9b Hf support?

The GGUF header lists a trained context length of 4,096 tokens (4K). The KV cache grows with the context you use: about 0.3 GB at 8K and 0.2 GB at 4K.

Where can I download Glm 4 9b Hf GGUF?

The files are on Hugging Face in the Wusul/glm-4-9b-hf-Q5_K_M-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 9b Hf use?

Hugging Face lists the license as other. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.

Other GGUFs of glm-4-9b-hf

Similar models

Browse all →

More from Wusul

All by Wusul →

More GLM models

All GLM →

Other small models

All small models →