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 Llama 4 Scout at MLX 4-bit. Adjust the paths for your filesystem; the structure holds.
pip install mlx-lm mlx_lm.generate \ --model mlx-community/llama-4-scout-4bit \ --max-tokens 1024 \ --prompt "Hello"
MLX 4-bit — Apple-native 4-bit. Best price/performance on M-series.
Expect to need around 64 GB of VRAM to hold the weights at this precision. This is a mixture-of-experts model: all 109B params load into memory, but only about 17B 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 Single H100 or A100 80 GB — Datacenter-class card, single GPU.