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 9 GB at 32k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in Canada that runs GLM 4 9B 0414 fully in memory at 32k context is the NVIDIA GeForce RTX 3060 12GB, $563 at Amazon, at about 23 tok/s (estimated).

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

Cheapest way to run it in Canada today

NVIDIA GeForce RTX 3060 12GB, used at eBay

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

$499

In stock, checked

What to run it on in Canada

Fully in memory at 32k 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
NVIDIA GeForce RTX 3060 12GBmlx-5bitfits23 tok/s$56341.4
Intel Arc B570mlx-4bitfits23 tok/s$80128.2
NVIDIA GeForce RTX 3080 10GBmlx-4bitfits56 tok/s$86065.1
AMD Radeon RX 9060 XT 16GBmlx-5bitfits18 tok/s$87021.1
Mac mini M4 16GBmlx-5bitfits8 tok/s$1,0008.1
NVIDIA GeForce RTX 5060 Ti 16GBmlx-5bitfits29 tok/s$1,13025.7
NVIDIA RTX PRO 2000 Blackwellmlx-5bitfits19 tok/s$1,14916.2
AMD Radeon RX 9070mlx-5bitfits37 tok/s$1,20030.6
NVIDIA GeForce RTX 5070mlx-5bitfits43 tok/s$1,20636.0
AMD Radeon RX 9070 XTmlx-5bitfits37 tok/s$1,28528.6
NVIDIA GeForce RTX 4070mlx-5bitfits33 tok/s$1,30025.1
AMD Radeon RX 7800 XTmlx-5bitfits36 tok/s$1,42225.2
AMD Radeon RX 7900 XTmlx-5bitfits46 tok/s$1,43731.9
AMD Radeon RX 7600 XTmlx-5bitfits17 tok/s$1,44511.4
NVIDIA GeForce RTX 5070 Timlx-5bitfits58 tok/s$1,89030.6
AMD Radeon RX 7900 XTXmlx-5bitfits55 tok/s$2,04127.0
Intel Arc Pro B60mlx-5bitfits24 tok/s$2,07911.4
NVIDIA GeForce RTX 4070 Supermlx-5bitfits33 tok/s$2,09615.6
NVIDIA GeForce RTX 3090 Timlx-5bitfits65 tok/s$2,50026.1
NVIDIA GeForce RTX 4080 Supermlx-5bitfits48 tok/s$2,50019.0
NVIDIA RTX PRO 4000 Blackwellmlx-5bitfits43 tok/s$2,81015.4
AMD Radeon AI PRO R9700mlx-5bitfits37 tok/s$2,86912.8
NVIDIA GeForce RTX 5080mlx-5bitfits62 tok/s$2,99920.7
NVIDIA GeForce RTX 3090mlx-5bitfits61 tok/s$3,30018.3
Intel Arc Pro B70mlx-5bitfits32 tok/s$4,0887.8
AMD Radeon PRO W7900mlx-5bitfits50 tok/s$4,90010.1
GMKtec EVO-X2 Ryzen AI Max+ 395 128GBmlx-5bitfits15 tok/s$5,2892.8
NVIDIA RTX PRO 4500 Blackwellmlx-5bitfits58 tok/s$6,5998.8
ASUS Ascent GX10 128GBmlx-5bitfits18 tok/s$8,5002.1
NVIDIA GeForce RTX 4090mlx-5bitfits65 tok/s$9,1607.1
NVIDIA DGX Spark 128GBmlx-5bitfits18 tok/s$11,1501.6
NVIDIA RTX A6000mlx-5bitfits50 tok/s$11,4784.3
NVIDIA GeForce RTX 5090mlx-5bitfits116 tok/s$12,3009.4
NVIDIA RTX PRO 5000 Blackwell 48GBmlx-5bitfits87 tok/s$13,4376.5
NVIDIA RTX 6000 Ada Generationmlx-5bitfits62 tok/s$15,1364.1
NVIDIA RTX PRO 5000 Blackwell 72GBmlx-5bitfits87 tok/s$20,6504.2
Mac Studio M3 Ultra 512GBmlx-5bitfits56 tok/s$28,0002.0
Mac Studio M4 Max 128GBmlx-5bitfits37 tok/s––
Mac mini M4 Pro 64GBmlx-5bitfits19 tok/s––
Framework Desktop Ryzen AI Max+ 395 128GBmlx-5bitfits15 tok/s––
Mac Studio M3 Ultra 256GBmlx-5bitfits56 tok/s––
Mac mini M4 Pro 48GBmlx-5bitfits19 tok/s––
NVIDIA GeForce RTX 4060 Ti 16GBmlx-5bitfits19 tok/s––
Mac Studio M4 Max 64GBmlx-5bitfits37 tok/s––
NVIDIA GeForce RTX 4070 Ti Supermlx-5bitfits43 tok/s––
Mac Studio M3 Ultra 96GBmlx-5bitfits56 tok/s––
NVIDIA RTX PRO 6000 Blackwellmlx-5bitfits116 tok/s––
Framework Desktop Ryzen AI Max+ 395 64GBmlx-5bitfits15 tok/s––
Intel Arc B580mlx-5bitfits24 tok/s––
Mac mini M4 32GBmlx-5bitfits8 tok/s––
NVIDIA Tesla P40mlx-5bitfits22 tok/s––
Intel Arc A770 16GBmlx-5bitfits29 tok/s––
NVIDIA RTX PRO 4000 Blackwell SFF Editionmlx-5bitfits28 tok/s––
Intel Arc Pro B50mlx-5bitfits12 tok/s––
Minisforum MS-S1 Max Ryzen AI Max+ 395 128GBmlx-5bitfits15 tok/s––
Lenovo ThinkStation PGX GB10 128GBmlx-5bitfits18 tok/s––
Dell Pro Max with GB10 128GBmlx-5bitfits18 tok/s––
Beelink GTR9 Pro Ryzen AI Max+ 395 128GBmlx-5bitfits15 tok/s––
NVIDIA GeForce RTX 5050mlx-4bitoffload16 tok/s$57028.4
NVIDIA GeForce RTX 5060 Ti 8GBmlx-4bitoffload19 tok/s$59032.9
NVIDIA GeForce RTX 5060mlx-4bitoffload19 tok/s$60831.9
NVIDIA GeForce RTX 4060mlx-4bitoffload15 tok/s$67521.8
NVIDIA GeForce RTX 4060 Ti 8GBmlx-4bitoffload15 tok/s$86417.6

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 9 GB at 32k, 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 Canada that runs GLM 4 9B 0414 fully in memory at 32k context is the NVIDIA GeForce RTX 3060 12GB, $563 at Amazon, at about 23 tok/s (estimated). The best value is the NVIDIA GeForce RTX 3080 10GB (about 56 tok/s for $860). The fastest we price is the NVIDIA GeForce RTX 5090, at about 116 tok/s.
What is the cheapest way to run GLM 4 9B 0414 in Canada today?
The NVIDIA GeForce RTX 3060 12GB, $499 used at eBay, in stock: it runs GLM 4 9B 0414 at mlx-5bit fully in memory at 32k context, at about 23 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 32k context. On the NVIDIA GeForce RTX 5080 it runs at about 62 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 32k context. On the NVIDIA GeForce RTX 3090 Ti it runs at about 65 tok/s (estimated).
What licence is GLM 4 9B 0414 released under?
MIT, which allows commercial use.

More hardware for local AI