GLM-4 9B

GLM-4

Zhipu AI · 9B · Dense

Multilingual model supporting 26 languages with 128K context Check if your GPU or Mac can run GLM-4 9B locally — 5 GB min, 8.4 GB recommended.

2024-06128K context

Quantization Options

QuantBitsVRAMQualityStatus
Q2_K23.4 GBlow—
Q3_K_M34.5 GBmoderate—
Q4_K_M45.1 GBgood—
Q5_K_M56.3 GBgood—
Q6_K67.4 GBexcellent—
Q8_089.7 GBexcellent—
F161618.9 GBlossless—

About this model

Note: this model requires Ollama 0.2 or later.

In the evaluation of data sets in semantics, mathematics, reasoning, code, and knowledge, this model has shown superior performance beyond even Llama 3 8B.

This generation of models includes multi-language support, supporting 26 languages including Japanese, Korean, and German.

References

GitHub

Hugging Face

Can I run GLM-4 9B locally?

Can I run GLM-4 9B locally?
GLM-4 9B needs about 5 GB of memory at a minimum and 8.4 GB recommended. Open this page to grade it against your GPU or Mac, then run it with runai, Ollama or LM Studio.
How much VRAM does GLM-4 9B need?
At Q4_K_M, GLM-4 9B uses about 5.1 GB of VRAM. Higher quants need more memory; lower quants fit tighter cards with a quality tradeoff.