Skip to content

How to run GLM-4 9B locally

GLM-4 9B is a 9.4B GLM model with a 128K context and GLM license. Here's the VRAM it needs, which GPUs run it, and how fast.

At a glance

Parameters
9.4B
Min VRAM (Q4)
~8GB
Context
128K
License
GLM

Memory needed per quantization

QuantQualityWeightsMin VRAM
IQ3_M90.0%4.3 GB~7 GB
Q4_K_M97.5%5.7 GB~8 GB
Q5_K_M99.0%6.7 GB~9 GB
Q6_K99.7%7.7 GB~10 GB
Q8_099.9%10.0 GB~12 GB
FP16 / BF16100.0%19 GB~21 GB

Which GPUs run GLM-4 9B

GPUFitQuantSpeed
GeForce RTX 4060
8GB · 272 GB/s
PerfectQ3_K_M41.8 tok/s
GeForce RTX 3060 12GB
12GB · 360 GB/s
PerfectQ4_K_M46 tok/s
GeForce RTX 4070
12GB · 504 GB/s
PerfectQ6_K48.9 tok/s
Intel Arc B580
12GB · 456 GB/s
PerfectQ6_K44.3 tok/s
GeForce RTX 4070 Ti SUPER
16GB · 672 GB/s
PerfectQ8_051.4 tok/s
GeForce RTX 5070
12GB · 672 GB/s
PerfectQ6_K65.2 tok/s
GeForce RTX 4080 SUPER
16GB · 736 GB/s
PerfectQ8_056.3 tok/s
Radeon RX 7900 XTX
24GB · 960 GB/s
PerfectFP16 / BF1640.3 tok/s
GeForce RTX 3090
24GB · 936 GB/s
PerfectQ8_071.6 tok/s
GeForce RTX 4090
24GB · 1008 GB/s
PerfectFP16 / BF1642.3 tok/s
GeForce RTX 5090
32GB · 1792 GB/s
PerfectFP16 / BF1675.2 tok/s
Apple M4
16GB · 120 GB/s
RecommendedIQ3_M19.5 tok/s
Apple M4 Pro
24GB · 273 GB/s
PerfectQ3_K_M42 tok/s
Apple M3 Max (16c)
48GB · 400 GB/s
PerfectQ5_K_M44.3 tok/s
Apple M2 Ultra
64GB · 800 GB/s
PerfectQ8_061.2 tok/s

Frequently asked

How much VRAM does GLM-4 9B need?

At the recommended Q4_K_M quantization, GLM-4 9B needs about 5.7GB for weights plus KV cache and overhead — roughly 8GB of VRAM total for a usable context. Drop to a 3-bit quant to squeeze it smaller, or go FP16 (19GB) for full quality.

What GPU do I need to run GLM-4 9B?

The most affordable GPU that runs it well is the Intel Arc B580 (12GB) at Q6_K, delivering about 44.3 tokens/sec. Anything with 8GB+ of VRAM will run it comfortably.

Which quantization should I use for GLM-4 9B?

Q4_K_M is the default sweet spot (~97.5% of full quality). If it fits, Q5_K_M or Q6_K give near-lossless output; only drop below Q4 when you must fit it into limited VRAM.

Is GLM-4 9B good for multilingual?

Yes — GLM-4 9B scores 84/100 for multilingual, one of its strongest areas. License: GLM.

Other models

Popular GPUs

Best models by need

Run the interactive advisor
Auto-detect your exact hardware and get personalised picks, speed & memory.