GL

Glm 4 9b Chat Hf

GLMGGUF by kkioikkUpdated 2025-03-08
Download on Hugging Face
Parameters9.4B
Context4K
Layers40
Architecturechatglm
Smallest quant10.0 GB
Quick answer

Glm 4 9b Chat Hf needs about 10.8 GB of memory at Q8_0 (a 10.0 GB file) with an 8K context window, so it fits on a 12 GB GPU.

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

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q8_010.0 GB 10.7 GB
Too big Get file →

What GPU do you need for Glm 4 9b Chat 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: no quant fits at an 8K context.
  • 12 GB VRAM: the best quant that fits is Q8_0 (10.0 GB file, about 10.8 GB in use).

Which Glm 4 9b Chat Hf quant should you choose?

Q8_0 (10.0 GB) is the middle option in this repository. Close to lossless. It costs roughly twice the memory of a 4-bit file, so it suits cases where you have plenty of VRAM.

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 bykkioikk
FamilyGLM
Licenseother
Downloads (HF)26
Last updated2025-03-08

Frequently asked questions about Glm 4 9b Chat Hf

How much VRAM does Glm 4 9b Chat Hf need?

About 10.8 GB at Q8_0 with an 8K context window. That is the 10.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 Chat Hf on an 8 GB GPU?

Not at an 8K context. The smallest file needs about 10.8 GB, so you would need a larger GPU or CPU offloading.

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

It depends on the quant: Q8_0 is 10.0 GB.

What context length does Glm 4 9b Chat 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 Chat Hf GGUF?

The files are on Hugging Face in the kkioikk/glm-4-9b-chat-hf-Q8_0-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 Chat 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-chat-hf

Similar models

Browse all →

More from kkioikk

All by kkioikk →

More GLM models

All GLM →

Other small models

All small models →