What Models?

Pick the right model for your GPU — in seconds.

GLM-4.6 VRAM requirements: which GPUs can run it locally?

357B params 200K max context ReasoningTool use

The smallest GPU memory that runs GLM-4.6 well is 256 GB (Q4_K_M, e.g. M3 Ultra). 2 of 132 GPUs run it well. It's a mixture-of-experts model, so all weights must fit in memory but speed depends only on the active experts.

MMLU 87 SWE-bench Verified 68.2

VRAM needed per quantization

QuantizationWeights16K context32K contextFull 200K
Q4_K_M200.8 GB201.9 GB202.9 GB214.2 GB
Q8_0353.3 GB354.3 GB355.4 GB366.7 GB

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

Run it locally

Each command downloads the GGUF from Hugging Face, then Ollama starts a chat and llama.cpp starts an OpenAI-compatible server with a web UI on port 8080.

Q4_K_M 200.8 GB unsloth/GLM-4.6-GGUF
llama.cpp llama-server -hf unsloth/GLM-4.6-GGUF:Q4_K_M

Split into 5 files, which Ollama can't pull from Hugging Face yet; llama.cpp downloads the whole set.

Q8_0 353.3 GB unsloth/GLM-4.6-GGUF
llama.cpp llama-server -hf unsloth/GLM-4.6-GGUF:Q8_0

Split into 8 files, which Ollama can't pull from Hugging Face yet; llama.cpp downloads the whole set.

GPUs that can run GLM-4.6

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 256 GB Q4_K_M 200K context · ~26 tok/s
  • M5 Ultra 256 GB Q4_K_M 200K context · ~37 tok/s
Check your exact setup in the full tool →