on

Can the Apple M2 (8 GB) run GLM-4 9B Chat 1M?

49 ptsUsable (C) · 49 of 100 points: Model quality 15.1/45, Memory fit 10.0/25, Speed 9.4/15, Memory use 15.0/15

Yes, with part of the model in system RAM

Runs with offload. At Q2_K it needs about 5.5 GB of 5.4 GB usable, with an estimated speed of 15.6 tok/s.

Best quant
Q2_K
Generation speed
15.6 tok/s
Prompt processing
235 tok/s
First token (1K prompt)
4.3 s
Largest safe context
6K

Download GLM-4 9B Chat 1M

Recommended for the Apple M2 (8 GB): Q2_K. Every other quantization has its own download link in the table below.

Quantized files · GGUF

Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.

Download the Q2_K file (opens in a new tab)

huggingface.co/bartowski/glm-4-9b-chat-1m-GGUF (opens in a new tab)

ollama run hf.co/bartowski/glm-4-9b-chat-1m-GGUF:Q2_K

Original weights · Hugging Face

Full-precision files from Zhipu AI, for fine-tuning, vLLM, Transformers.

huggingface.co/zai-org/glm-4-9b-chat-1m (opens in a new tab)

No sign-in needed.

How the C grade is scored

Every result gets up to 100 points from four parts. The points decide the letter grade.

Model qualityEditorial quality tier of the model, scaled by the quantization or precision used.15.1 / 45
Memory fitFull marks when everything sits in GPU or unified memory; fewer when part spills to system RAM.10.0 / 25
SpeedGeneration speed against a 40 tokens/s target for LLMs, or render time against a target for image and video.9.4 / 15
Memory useRewards using the memory you have, so a bigger, better variant beats a tiny one that leaves most memory idle.15.0 / 15
Total49.5 / 10049 ptsUsable (C) · 49 of 100 points: Model quality 15.1/45, Memory fit 10.0/25, Speed 9.4/15, Memory use 15.0/15

Grade scale: S 85+ · A 72+ · B 58+ · C 42+ · D 25+ · F under 25 points.

Every quantization on the Apple M2 (8 GB)

Quant Memory needed Available Speed Fit Grade · points Download
Q2_K 5.5 GB 5.4 GB 15.6 tok/s Runs with offload 49 ptsUsable (C) · 49 of 100 points: Model quality 15.1/45, Memory fit 10.0/25, Speed 9.4/15, Memory use 15.0/15 GGUF (opens in a new tab)
Q3_K_M 6.3 GB 5.4 GB 12.3 tok/s Heavy offload 45 ptsUsable (C) · 45 of 100 points: Model quality 18.1/45, Memory fit 4.0/25, Speed 8.3/15, Memory use 15.0/15 GGUF (opens in a new tab)
Q4_K_M 7.5 GB 5.4 GB — Won't run 6 ptsWon't run (F) · 6 of 100 points: Model quality 6.2/45, Memory fit 0.0/25, Speed 0.0/15, Memory use 0.0/15 GGUF (opens in a new tab)
Q5_K_M 8.4 GB 5.4 GB — Won't run 6 ptsWon't run (F) · 6 of 100 points: Model quality 6.3/45, Memory fit 0.0/25, Speed 0.0/15, Memory use 0.0/15 GGUF (opens in a new tab)
Q6_K 9.5 GB 5.4 GB — Won't run 6 ptsWon't run (F) · 6 of 100 points: Model quality 6.4/45, Memory fit 0.0/25, Speed 0.0/15, Memory use 0.0/15 GGUF (opens in a new tab)
Q8_0 11.7 GB 5.4 GB — Won't run 6 ptsWon't run (F) · 6 of 100 points: Model quality 6.5/45, Memory fit 0.0/25, Speed 0.0/15, Memory use 0.0/15 GGUF (opens in a new tab)
F16 20.7 GB 5.4 GB — Won't run 6 ptsWon't run (F) · 6 of 100 points: Model quality 6.5/45, Memory fit 0.0/25, Speed 0.0/15, Memory use 0.0/15 GGUF (opens in a new tab) Original weights (opens in a new tab)

Memory figures assume 8K of context. Longer conversations or documents grow the KV cache.

Other hardware that runs it

Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.