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.
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"
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.