Skip to content
inference.academy

at-home/run-on/m4-mini-16

What can I run on a Mac mini M4 with 16 GB?

Of its 16 GB, about 11 GB is left for a model's weights and cache, because macOS caps how much memory the GPU may pin and the engine needs some for itself. The largest model below that runs with room for a 8K conversation is Qwen3 14B at Q4_K_M, decoding at up to 11 tokens a second.


ModelBest fitDownloadLongest contextDecode, up to
Llama 3.2 3BQ8_03.4 GB66K tokens28 tok/s
Qwen3.5 4BQ8_04.3 GB207K tokens23 tok/s
Llama 3.1 8BQ8_08.5 GB20K tokens11 tok/s
Qwen3 8BQ8_08.7 GB16K tokens11 tok/s
Qwen3.5 9BQ8_09.6 GB49K tokens10 tok/s
Qwen3 14BQ4_K_M9.0 GB13K tokens11 tok/s
gpt-oss 20Bdoes not fit
Qwen3 32Bdoes not fit
Llama 3.3 70Bdoes not fit

Best fit is the highest-quality quantisation that still leaves room for a 8K context. It stops at Q8 rather than FP16, because Q8 is indistinguishable from FP16 in practice and reads half the bytes, so it decodes about twice as fast on a machine like this.

Decode is a ceiling: 80% of this machine’s 120 GB/s divided by the bytes a token reads, at the start of a conversation. On a measured 16 GB MacBook Air that arithmetic predicted 35.6 tokens a second and MLX delivered 31.4; llama.cpp delivered 17 on the same model. Expect your engine to land at or below it.

Longest context assumes an unquantised KV cache. Quantising the cache to Q8 roughly doubles it. Reading a long prompt also needs working memory the table does not count, so leave a margin.


Read next