What GPU do I need to run zai-org/glm-4-9b?

9.4B parameters, published in BF16. View on Hugging Face

9.4B
Parameters
BF16
Native precision
ChatGLMModel
Architecture
text-generation
Pipeline

glm-4-9b is published by zai-org on Hugging Face, with 11,868 downloads and 144 likes to date. It's a ChatGLMModel model built for text-generation, published natively in BF16.

VRAM required & cheapest live GPU fit

Required VRAM = weight size at each precision times a flat 1.2 overhead for activations and fragmentation. The KV-cache grows with context and is not in that factor; it is listed per model below where the architecture is published. Full formula and assumptions: methodology.

PrecisionWeight sizeRequired VRAMCheapest live fitGPUs neededEst. $/hr (full fit)
BF1617.5 GB21.0 GBRTX A50001$0.176/hr
FP8 (quantized)8.8 GB10.5 GBRTX 40801$0.173/hr
INT4 (quantized)4.4 GB5.3 GBRTX 30601$0.110/hr

A GPU is only matched to a row if its hardware supports that precision, and the primary recommendation is always a single-GPU fit when one exists.

INT4 requires a quantized checkpoint actually published for this model, check its Hugging Face page before relying on this row.

Cheapest way to run glm-4-9b at its published (BF16) precision: 1× RTX A5000, at $0.176/hr per GPU ($0.176/hr total). Quantizing to FP8 or INT4 (rows above) can cost less, but requires a compatible quantized checkpoint to exist for this model.

glm-4-9b: KV cache by context length

The KV cache is the memory the attention layers hold for every token of context, on top of the weights. It is not part of the flat 1.2x overhead in the table above, grows with context length and with every concurrent request, and is why a long-context deployment needs more VRAM than the table shows.

KV-cache size for glm-4-9b is not published for this architecture, so no figure is shown.

glm-4-9b: common questions

Does glm-4-9b fit on a 24 GB GPU?

Yes. At BF16 it needs 21.0 GB of VRAM, so a 24 GB card holds it with 3.0 GB to spare. A 16 GB card is not enough for it at BF16.

What is the least VRAM glm-4-9b can run in?

5.3 GB, at INT4 (quantized), which fits a 6 GB card, against 21.0 GB at BF16. That row assumes an INT4 checkpoint has actually been published for this model, so check its Hugging Face page before planning around it.

Does quantizing glm-4-9b lower the GPU bill?

Yes. At BF16 the cheapest live fit is one RTX A5000 at $0.176/hr. At INT4 (quantized) it drops to one RTX 3060 at $0.110/hr, provided a quantized checkpoint exists for it.

Weight-to-VRAM math, the fit rules, and how live prices are normalized: full methodology.

More GLM-4 models

All 6 GLM-4 models: VRAM and GPU requirements

Alternatives at this size

Other models for text-generation within about a third of glm-4-9b's 9.4B parameters, from other model lines.

More on glm-4-9b

Related reading: RTX A5000 pricing and specs, How much VRAM you need for LLMs, Serving LLMs with vLLM, vLLM vs TensorRT-LLM vs SGLang, and Best GPU for LLM inference.

Submit the job. Everything after that is ours.

Sign up in 60 seconds. Pay for the GPU minutes you actually use.

© 2026 Aquanode. All rights reserved.

All trademarks, logos and brand names are the property of their respective owners.