GLM 4 9B 0414

9.4B parameters · 32k context · MIT · released 2025-04-07

chatcodingagentic

In short

GLM 4 9B 0414 is an open model from Z.ai with 9.4B parameters. At mlx-4bit, GLM 4 9B 0414 needs about 8 GB of memory at 8k context and 8 GB at 8k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in the US that runs GLM 4 9B 0414 fully in memory at 8k context is the Intel Arc B570, $304 at eBay, at about 22 tok/s (estimated).

Updated . Speeds are estimates; how they are worked out.

Cheapest way to run it in the US today

Intel Arc B570, new at eBay

Runs GLM 4 9B 0414 at mlx-5bit fully in memory at 8k context, about 22 tok/sest.

$304

In stock, checked

What to run it on in the US

Fully in memory at 8k context, priced at retailers today.

All hardware that runs it

Everything we price, best value first. Two cards split the model by layers.

HardwareQuantFitsDecodePricetok/s per 1,000
Intel Arc B570mlx-5bitfits22 tok/s$30472.7
NVIDIA RTX PRO 4000 Blackwellmlx-5bitfits49 tok/s$339143.1
NVIDIA GeForce RTX 3060 12GBmlx-5bitfits26 tok/s$38867.0
Intel Arc B580mlx-5bitfits27 tok/s$42562.6
NVIDIA Tesla P40mlx-5bitfits25 tok/s$44955.7
Mac mini M4 16GBmlx-5bitfits9 tok/s$49018.6
NVIDIA GeForce RTX 3080 10GBmlx-5bitfits55 tok/s$500109.8
NVIDIA GeForce RTX 4070mlx-5bitfits36 tok/s$57063.9
Intel Arc Pro B50mlx-5bitfits13 tok/s$60021.7
NVIDIA GeForce RTX 5060 Ti 16GBmlx-5bitfits32 tok/s$61852.4
AMD Radeon RX 9060 XT 16GBmlx-5bitfits21 tok/s$72028.5
Intel Arc A770 16GBmlx-5bitfits33 tok/s$74543.8
AMD Radeon RX 7800 XTmlx-5bitfits40 tok/s$75752.8
NVIDIA RTX PRO 2000 Blackwellmlx-5bitfits21 tok/s$79526.2
NVIDIA GeForce RTX 4070 Supermlx-5bitfits36 tok/s$80045.5
AMD Radeon RX 9070 XTmlx-5bitfits41 tok/s$81050.6
AMD Radeon RX 9070mlx-5bitfits41 tok/s$86047.7
AMD Radeon RX 7900 XTmlx-5bitfits51 tok/s$88058.3
Intel Arc Pro B60mlx-5bitfits27 tok/s$89929.6
NVIDIA GeForce RTX 5070mlx-5bitfits49 tok/s$90053.9
NVIDIA GeForce RTX 4060 Ti 16GBmlx-5bitfits21 tok/s$91822.7
AMD Radeon RX 7600 XTmlx-5bitfits19 tok/s$95919.3
NVIDIA GeForce RTX 4070 Ti Supermlx-5bitfits49 tok/s$1,14042.5
Mac mini M4 32GBmlx-5bitfits9 tok/s$1,1997.6
NVIDIA GeForce RTX 5070 Timlx-5bitfits65 tok/s$1,30049.8
AMD Radeon RX 7900 XTXmlx-5bitfits62 tok/s$1,40043.9
NVIDIA GeForce RTX 4080 Supermlx-5bitfits53 tok/s$1,46936.2
AMD Radeon AI PRO R9700mlx-5bitfits41 tok/s$1,70024.1
Intel Arc Pro B70mlx-5bitfits35 tok/s$1,80019.7
NVIDIA GeForce RTX 5080mlx-5bitfits69 tok/s$1,90036.5
NVIDIA GeForce RTX 3090mlx-5bitfits68 tok/s$1,97934.2
Mac mini M4 Pro 48GBmlx-5bitfits21 tok/s$2,02510.2
NVIDIA GeForce RTX 3090 Timlx-5bitfits73 tok/s$2,03335.8
NVIDIA GeForce RTX 4090mlx-5bitfits73 tok/s$2,07335.1
Mac mini M4 Pro 64GBmlx-5bitfits21 tok/s$2,3998.6
NVIDIA RTX PRO 4000 Blackwell SFF Editionmlx-5bitfits31 tok/s$2,98010.5
GMKtec EVO-X2 Ryzen AI Max+ 395 128GBmlx-5bitfits16 tok/s$3,5004.7
Mac Studio M4 Max 64GBmlx-5bitfits41 tok/s$3,50011.8
Beelink GTR9 Pro Ryzen AI Max+ 395 128GBmlx-5bitfits16 tok/s$3,8004.3
Minisforum MS-S1 Max Ryzen AI Max+ 395 128GBmlx-5bitfits16 tok/s$3,9594.1
NVIDIA RTX PRO 4500 Blackwellmlx-5bitfits65 tok/s$4,00016.2
AMD Radeon PRO W7900mlx-5bitfits55 tok/s$4,00013.9
Mac Studio M3 Ultra 96GBmlx-5bitfits62 tok/s$4,75813.0
Mac Studio M4 Max 128GBmlx-5bitfits41 tok/s$5,4007.6
NVIDIA RTX A6000mlx-5bitfits56 tok/s$5,9899.3
ASUS Ascent GX10 128GBmlx-5bitfits20 tok/s$6,1003.2
NVIDIA GeForce RTX 5090mlx-5bitfits129 tok/s$6,49519.9
NVIDIA RTX PRO 5000 Blackwell 48GBmlx-5bitfits97 tok/s$6,99913.9
NVIDIA DGX Spark 128GBmlx-5bitfits20 tok/s$7,8002.5
NVIDIA RTX 6000 Ada Generationmlx-5bitfits69 tok/s$8,4958.2
NVIDIA RTX PRO 5000 Blackwell 72GBmlx-5bitfits97 tok/s$8,49911.4
Mac Studio M3 Ultra 256GBmlx-5bitfits62 tok/s$9,5006.5
NVIDIA RTX PRO 6000 Blackwellmlx-5bitfits129 tok/s$16,0008.1
Mac Studio M3 Ultra 512GBmlx-5bitfits62 tok/s$30,0002.1
Framework Desktop Ryzen AI Max+ 395 128GBmlx-5bitfits16 tok/s––
Framework Desktop Ryzen AI Max+ 395 64GBmlx-5bitfits16 tok/s––
Lenovo ThinkStation PGX GB10 128GBmlx-5bitfits20 tok/s––
Dell Pro Max with GB10 128GBmlx-5bitfits20 tok/s––
NVIDIA GeForce RTX 5050mlx-4bitoffload24 tok/s$35968.0
NVIDIA GeForce RTX 4060mlx-4bitoffload21 tok/s$40052.8
NVIDIA GeForce RTX 5060mlx-4bitoffload33 tok/s$43574.9
NVIDIA GeForce RTX 5060 Ti 8GBmlx-4bitoffload33 tok/s$51163.7
NVIDIA GeForce RTX 4060 Ti 8GBmlx-4bitoffload22 tok/s$53641.4

Memory needed

Weights, KV cache and runtime buffers at each context length (KV cache at fp16).

QuantFile@8k@32k
mlx-4bitmlx6.6 GB7.6 GB8.7 GB
mlx-5bitmlx7.7 GB8.7 GB9.8 GB

Run it

Copy a command for the runtime you use.

  • mlx-4bit
    • LM Studiolms get mlx-community/GLM-4.1V-9B-Thinking-4bit
    • MLXmlx_lm.server --model mlx-community/GLM-4.1V-9B-Thinking-4bit
  • mlx-5bit
    • LM Studiolms get mlx-community/GLM-4.1V-9B-Thinking-5bit
    • MLXmlx_lm.server --model mlx-community/GLM-4.1V-9B-Thinking-5bit

Notes

Supports JSON-format tool calling via HuggingFace Transformers, vLLM, or sgLang. Most showcased benchmarks and demos are for the 32B sibling, not this 9B model.

Questions

How much VRAM does GLM 4 9B 0414 need?
At mlx-4bit, GLM 4 9B 0414 needs about 8 GB of memory at 8k context and 8 GB at 8k, counting the weights, the KV cache and runtime buffers.
What is the best GPU for running GLM 4 9B 0414 locally?
The cheapest hardware in the US that runs GLM 4 9B 0414 fully in memory at 8k context is the Intel Arc B570, $304 at eBay, at about 22 tok/s (estimated). The best value is the NVIDIA RTX PRO 4000 Blackwell (about 49 tok/s for $339). The fastest we price is the NVIDIA GeForce RTX 5090, at about 129 tok/s.
What is the cheapest way to run GLM 4 9B 0414 in the US today?
The Intel Arc B570, $304 new at eBay, in stock: it runs GLM 4 9B 0414 at mlx-5bit fully in memory at 8k context, at about 22 tok/s (estimated).
Can I run GLM 4 9B 0414 on a 16 GB GPU?
Yes: at mlx-5bit it fits fully in 16 GB at 8k context. On the NVIDIA GeForce RTX 5080 it runs at about 69 tok/s (estimated).
Can I run GLM 4 9B 0414 on a 24 GB GPU?
Yes: at mlx-5bit it fits fully in 24 GB at 8k context. On the NVIDIA GeForce RTX 3090 Ti it runs at about 73 tok/s (estimated).
What licence is GLM 4 9B 0414 released under?
MIT, which allows commercial use.

More hardware for local AI