Skip to content

GLM 4.7

MoE

Z.aiZ.ai · 358.3B (32B active) · Mixture of experts

GLM 4.7 is a 358.3B model from Z.ai with a 198K-token context. At Q4_K_M with an 8K context it needs about 204.8 GB; 257 GB leaves room for longer chats.

Hugging Face GGUF

Mixture of experts

Parameters: 358.3B · Active: 32B

All 358.3B parameters load into memory, but only 32B 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
4K1.4 GB203.3 GB
8K2.9 GB204.8 GB
32K11.5 GB213.4 GB
128K46 GB247.9 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

Can I run GLM 4.7 locally?

Can I run GLM 4.7 locally?

Yes, if your GPU or Mac has about 204.8 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 4.7 need?

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