LLM Studio · how to run every open model, correctly Vol 01 · No 01 · 2026
Index/LLM Studio/Zhipu AI/GLM-4.5/MLX · MLX 4-bit
MLX · MLX 4-bit · Apple Silicon only · M1 and later

GLM-4.5 on MLX at MLX 4-bit

Built by Apple for M-series hardware. Uses the unified memory pool, so RAM is VRAM. mlx-community mirrors most open models with 4-bit quants ready. Apple-native 4-bit. Best price/performance on M-series.

At a glance The numbers

Model
Zhipu AI GLM-4.5
Family
GLM
Params
355B / 32B
License
MIT
Engine
MLX
Quantization
MLX 4-bit
Bytes per param
0.55
Platform
Apple Silicon only · M1 and later

The command Copy and run

What MLX expects you to type to serve GLM-4.5 at MLX 4-bit. Adjust the paths for your filesystem; the structure holds.

pip install mlx-lm

mlx_lm.generate \
  --model mlx-community/glm-4-5-4bit \
  --max-tokens 1024 \
  --prompt "Hello"

Why this quant The trade-off

MLX 4-bit — Apple-native 4-bit. Best price/performance on M-series.

Expect to need around 200 GB of VRAM to hold the weights at this precision. This is a mixture-of-experts model: all 355B params load into memory, but only about 32B are active per generated token. That means load VRAM is large but compute scales with the active count — tok/s on a serving stack like vLLM reflects the smaller number. Fits on 4× H100 — 320 GB — Half an 8-way HGX node.

Common failures What breaks, and the fix

Model not in mlx-community
Convert yourself with `mlx_lm.convert --hf-path ... --quantize`.
Swap thrashing
Model exceeds unified memory; try a smaller quant or a smaller model.
Slow first run
First invocation compiles Metal kernels; subsequent runs are fast.

Alternatives Other ways to run this model

About the model

Hybrid reasoning + non-reasoning mode in one checkpoint.

Open the full model page →