GLM-5 9B — VRAM, Speed & Local Setup

作者: Jakub Rusinowski · 最后更新: 2026年4月10日

Model libraryGLM-5 / GLM-5.1 → GLM-5 9B

Entry-level GLM-5 with strong tool-use capabilities. Fits comfortably in 6 GB VRAM. Excellent for building agentic applications with function calling, web search integration, and multi-step task execution.

GLM-5 9B needs about 6 GB of VRAM at Q4_K_M — quantized weights plus framework overhead, before any KV cache. On Apple Silicon that figure comes out of unified memory.

Specifications

Parameters9 Billion
Context window128,000
ArchitectureGLM (General Language Model)
ProviderZhipu AI (Z.ai)
LicenceMIT
Specified atQ4_K_M
System RAM16 GB
Record updated2026-04-10

Licence

MITcommercial use permitted. Commercial use permitted. No usage restrictions beyond attribution.

VRAM and Speed by Quantization

Modelled on a reference NVIDIA RTX 4090 (24 GB), with no KV cache (this record has no published architecture). Speed figures are ESTIMATES from the memory-bandwidth roofline described on the methodology page, not benchmarks we ran — rows marked measured come from published or reader-submitted runs. VRAM here includes the KV cache, so it reads higher than the headline figure above, which does not.

QuantWeightsVRAM neededEst. speedFit on 24 GB
Q2_K3.0 GB3.8 GB~144 tok/s (est.)Fits comfortably
Q3_K_M3.8 GB4.6 GB~123 tok/s (est.)Fits comfortably
Q4_K_M5.4 GB6.2 GB~98 tok/s (est.)Fits comfortably
Q5_K_M6.4 GB7.2 GB~87 tok/s (est.)Fits comfortably
Q6_K7.4 GB8.2 GB~78 tok/s (est.)Fits comfortably
Q8_09.6 GB10.4 GB~64 tok/s (est.)Fits comfortably
F1618.0 GB18.8 GB~37 tok/s (est.)Fits comfortably

Want the memory numbers alone, at every quantization level and your own context length? Use the GLM-5 9B VRAM calculator.

Buy This HardwareIntel Arc B570 10GB — 10 GB VRAM · 150 W board powerDeploy in the Cloud NowRTX 4090 on RunPod — from $0.34/hr · rate checked 2026-07

or compare on Vast.ai from $0.35/hr (typical low · varies)

As an Amazon Associate we earn from qualifying purchases. Cloud GPU links are referral links — we may earn a commission at no extra cost to you.

Recommended GPU

The cheapest catalogued GPU that runs GLM-5 9B is the Intel Arc B570 (10 GB).

联盟营销声明: 本页部分链接为联盟推广链接——如果你通过它们购买,LLM Configurator 可能会获得佣金,而你无需支付任何额外费用。作为亚马逊联盟成员(Amazon Associate),LLM Configurator 会从符合条件的购买中获得收益。
Intel Arc B570 10GB
10 GB VRAM · 150 W board power
2026年价格波动较大——请以当前商品页价格为准。
在亚马逊查看价格

How to Run GLM-5 9B

Install Ollama, then run:

ollama run hf.co/THUDM/GLM-5-9B-Chat-Q4_K_M

Weights on Hugging Face: THUDM/GLM-5-9B-Chat.

Best for: agentic, tool use, chat, coding, function calling.

Can I Run GLM-5 9B on My GPU?

Other GLM-5 / GLM-5.1 Sizes

GLM-5 9B — Frequently Asked Questions

How much VRAM does GLM-5 9B need?
About 6 GB at Q4_K_M — quantized weights plus framework overhead, before any KV cache. The cache grows with context length and is added on top; the table above folds it in. Apple Silicon counts unified memory toward the same figure.
Does GLM-5 9B run on an RTX 4090 (24 GB)?
Yes. GLM-5 9B needs about 6 GB at Q4_K_M, inside a 24 GB card, at an estimated 98 tokens/sec.
How do I run GLM-5 9B locally?
Install Ollama and run `ollama run hf.co/THUDM/GLM-5-9B-Chat-Q4_K_M`. That pulls the weights and starts a local OpenAI-compatible endpoint; after the download nothing leaves the machine.
What other sizes does GLM-5 / GLM-5.1 come in?
GLM-5 9B (6 GB), GLM-5 32B (20 GB), GLM-5.1 72B (44 GB), GLM-5 744B (450 GB). Every size shares the family's training and licence; the larger ones score higher and need proportionally more memory.

← All GLM-5 / GLM-5.1 models | VRAM calculator | Check your own hardware