What Models?

Pick the right model for your GPU — in seconds.

What GPU do you need to run GLM 5.1?

754B params 198K max context Tool use

The smallest GPU memory that runs GLM 5.1 well is 512 GB (Q4_K_M, e.g. M3 Ultra). 2 of 132 GPUs run it well.

MMLU 86.9

VRAM needed per quantization

QuantizationWeights16K context32K contextFull 198K
Q4_K_M459.7 GB461.0 GB462.4 GB476.3 GB
Q8_0801.3 GB802.7 GB804.0 GB818.0 GB

Weights plus fp16 KV cache. Leave ~1 GB headroom for the inference engine.

GPUs that can run GLM 5.1

Best quantization that fits on each GPU, with the context and speed it gets. For chips with several memory sizes, the smallest that works is shown.

Apple

  • M3 Ultra 512 GB Q4_K_M 198K context · ~2 tok/s
  • M5 Ultra 512 GB Q4_K_M 198K context · ~3 tok/s
Check your exact setup in the full tool →