Can GLM 5.1 run on the H100 SXM?
No. Even at 2-bit with 8K context, GLM 5.1 needs about 265 GB, more than the 76.0 GB usable on the H100 SXM.
Even with llama.cpp CPU offload (-ngl, --n-cpu-moe) and 128 GB of system RAM, this model does not fit at 2-bit, or the card cannot hold a useful share of it. See the offload method.
Memory by quant and context
| Quant | 4K ctx | 8K ctx | 32K ctx | 128K ctx | Max tok/s (est., 8K) |
|---|---|---|---|---|---|
| 2-bit (Q2_K) | 264 GB No | 265 GB No | 267 GB No | 277 GB No | — |
| 3-bit (Q3_K_M) • | 316 GB No | 317 GB No | 319 GB No | 329 GB No | — |
| 4-bit (Q4_K_M) • | 434 GB No | 434 GB No | 437 GB No | 447 GB No | — |
| 5-bit (Q5_K_M) • | 521 GB No | 522 GB No | 524 GB No | 534 GB No | — |
| 6-bit (Q6_K) • | 580 GB No | 580 GB No | 583 GB No | 593 GB No | — |
| 8-bit (Q8_0) • | 747 GB No | 748 GB No | 750 GB No | 760 GB No | — |
| 16-bit (F16/BF16) • | 1406 GB No | 1406 GB No | 1408 GB No | 1419 GB No | — |
• real GGUF file size from unsloth/GLM-5.1-GGUF. Speed is a bandwidth ceiling (3350 GB/s), not a benchmark. Methodology.
Hardware that does fit it
What fits instead
- No listed GPU with a list price runs GLM 5.1 fully in memory. The smallest listed hardware that does is the Mac M3 Ultra 512GB (512 GB).
- Largest popular model that fits the H100 SXM: DeepSeek V4 Flash 0731 (304B, MoE) at F16, about 11.9 GB at 8K context.
"Runs" and "fits" mean the whole model in GPU memory at 8K context (4-bit or better for the model pick). Prices are US launch MSRPs, not today's street prices. "Popular" means the 60 most-downloaded models we track.
More
GLM 5.1 on every GPU and Mac · Every model that runs on the H100 SXM · Other models that fit 64 GB VRAM · Try other settings in the calculator
Guides: Best GPU for local LLMs by budget · Can I run gpt-oss, Llama 70B or Qwen3? · Mac vs PC for local LLMs
Data: Hugging Face Hub (zai-org/GLM-5.1), NVIDIA specs. Model data last checked 2026-11-17; refreshed hourly.