Skip to content

GLM 5

MoE

Z.aiZ.ai · 753.9B (40B active) · Mixture of experts

GLM 5 is a 753.9B model from Z.ai with a 198K-token context. At Q4_K_M with an 8K context it needs about 425.7 GB; 534 GB leaves room for longer chats.

Hugging Face GGUF

Mixture of experts

Parameters: 753.9B · Active: 40B

All 753.9B parameters load into memory, but only 40B work on each token, so it runs at the speed of a much smaller model.

Quantization options

QuantMemoryOn your hardware
Q2_K—…
Q3_K_M—…
Q4_K_M—…
Q5_K_M—…
Q6_K—…
Q8_0—…
F16—…

Memory by context length

At Q4_K_M. The context cache grows with every token the model keeps in mind.

ContextContext cacheTotal
4K0.4 GB425.3 GB
8K0.8 GB425.7 GB
32K3.4 GB428.2 GB
128K13.4 GB438.3 GB

Share a measured speed

Run one of these and paste the whole output below (or just the tokens per second):

llama-bench -m model.gguf
ollama run model --verbose

Published anonymously and kept. We store no account or address, only a daily-changing hash for a limit of ten submissions a day.

Next steps

Least hardware that runs it well

Desktop devices with the least memory that give GLM 5 grade A or S at Q4_K_M.

No desktop device in our catalog runs it at grade A or better.

Can I run GLM 5 locally?

Can I run GLM 5 locally?

Yes, if your GPU or Mac has about 425.7 GB free for it at Q4_K_M. Open this page on that computer to see the grade for your exact hardware, then start it with llama.cpp, Ollama or LM Studio.

How much memory does GLM 5 need?

About 425.7 GB at Q4_K_M with an 8K context and 747.4 GB at Q8_0. Lower quantizations fit smaller cards with some loss in quality; longer contexts add to the total.