Apple M4 (base) for local LLMs
Quick answer
How fast is the Apple M4 (base) for local LLMs?
The fastest plain-decode result we have is 41.31 tok/s on Llama 3.2 3B (, llama.cpp) in M4 Mac mini (10-core) 32GB. Speed depends heavily on the model, quant and engine, so compare like with like in the table. RigBase lists 15 measured results from 5 builds.
Last updated:
15 measured results from 5 builds, each linked to its source.
| Memory | unified memory (see builds for sizes) |
|---|---|
| Memory bandwidth | not listed |
| Typical EU price | not tracked yet |
Can it run? Gemma 4 12B on Apple M4 Qwen3.5 9B on Apple M4 Qwen3.8 27B on Apple M4 Qwen4 35B-A3B on Apple M4
All builds with the Apple M4 (base)
| Build | GPU(s) | Memory GB (total) | Results |
|---|---|---|---|
| M4 Mac mini (10-core) 32GB | Apple M4 (unified) | 32 | 1 |
| Apple M4 10-core 32GB (oMLX, NVFP4): Qwen3.8 27B runs at 6.6-6.8 tok/s plain, 12.5-12.8 with MTP, but prefill is only ~72 tok/s | Apple M4 (10-core GPU, unified) | 32 | 7 |
| Apple M4 10-core 32GB (oMLX, MLX 3-bit): Qwen4 35B-A3B at 44.4 tok/s (1K context) | Apple M4 (10-core GPU, unified) | 32 | 1 |
| Mac mini M4 (16 GB): Qwen3.5 9B Q4_K_M at 17.7 tok/s, Gemma 4 12B at 13.1 (llama.cpp Metal) | Apple M4 (unified) | 16 | 4 |
| Apple M4 10-core 16GB (oMLX, MLX 4-bit): Qwen3.5 9B at 20.7-21.2 tok/s in about 6 GB | Apple M4 (10-core GPU, unified) | 16 | 2 |
All measured results
(MTP, DFlash, DSpark and similar draft-and-verify methods give much higher tok/s on predictable text and are not comparable 1:1 with plain decode)
| Model | Build | Ran on | Quant | Engine | tok/s | Details |
|---|---|---|---|---|---|---|
| Gemma 4 12B | Mac mini M4 (16 GB): Qwen3.5 9B Q4_K_M at 17.7 tok/s, Gemma 4 12B at 13.1 (llama.cpp Metal) | Apple M4 | Q4_K_M | llama.cpp server (Metal) | 13.1 | context: 8,192 ctx, short fixed prompt📏 llama.cpp server, 8,192 ctx, 256 tokens at temperature 0; middle of three runs after a warm-up (runs agreed within ~1%) |
| Qwen3.5 9B | Apple M4 10-core 16GB (oMLX, MLX 4-bit): Qwen3.5 9B at 20.7-21.2 tok/s in about 6 GB | Apple M4 | MLX 4-bit (Qwen3.5-9B-MLX-4bit) | oMLX v0.8.4 | 21.2 | context: 1k tokens📏 Public oMLX session on a 10-core M4 with 16 GB: PP 234.9 tok/s, TG 21.2 tok/s, TTFT 4,360 ms, peak MLX memory 5.8 GB (https://omlx.ai/benchmarks/performance/x0k803hh). Retrieved 2026-11-28. |
| Qwen3.5 9B | Apple M4 10-core 16GB (oMLX, MLX 4-bit): Qwen3.5 9B at 20.7-21.2 tok/s in about 6 GB | Apple M4 | MLX 4-bit (Qwen3.5-9B-MLX-4bit) | oMLX v0.8.4 | 20.7 | context: 4k tokens📏 Public oMLX session on a 10-core M4 with 16 GB: PP 241.8 tok/s, TG 20.7 tok/s, TTFT 16,943 ms, peak MLX memory 6.2 GB (https://omlx.ai/benchmarks/performance/bmqtg047). Retrieved 2026-11-28. |
| Qwen3.5 9B | Mac mini M4 (16 GB): Qwen3.5 9B Q4_K_M at 17.7 tok/s, Gemma 4 12B at 13.1 (llama.cpp Metal) | Apple M4 | Q4_K_M | llama.cpp server (Metal) | 17.7 | context: 8,192 ctx, short fixed prompt📏 llama.cpp server, 8,192 ctx, 256 tokens at temperature 0; middle of three runs after a warm-up (runs agreed within ~1%) |
| Qwen3.8 27B | Apple M4 10-core 32GB (oMLX, NVFP4): Qwen3.8 27B runs at 6.6-6.8 tok/s plain, 12.5-12.8 with MTP, but prefill is only ~72 tok/s | Apple M4 | MLX NVFP4 (Qwen3.8-27B-nvfp4) | oMLX v0.8.4, VLM MTP | 12.8 | ⚡ spec-decode (VLM MTP)context: 1k tokens📏 Public oMLX session on a base 10-core M4 with 32 GB: PP 72.5 tok/s, TG 12.8 tok/s, TTFT 14,126 ms, peak MLX memory 16.8 GB (https://omlx.ai/benchmarks/performance/r8kc3731). Retrieved 2026-12-02. |
| Qwen3.8 27B | Apple M4 10-core 32GB (oMLX, NVFP4): Qwen3.8 27B runs at 6.6-6.8 tok/s plain, 12.5-12.8 with MTP, but prefill is only ~72 tok/s | Apple M4 | MLX NVFP4 (Qwen3.8-27B-nvfp4) | oMLX v0.8.4, VLM MTP | 12.5 | ⚡ spec-decode (VLM MTP)context: 4k tokens📏 Public oMLX session on a base 10-core M4 with 32 GB: PP 72.7 tok/s, TG 12.5 tok/s, TTFT 56,306 ms, peak MLX memory 18.1 GB (https://omlx.ai/benchmarks/performance/9q2qrpeh). Retrieved 2026-12-02. |
| Qwen3.8 27B | Apple M4 10-core 32GB (oMLX, NVFP4): Qwen3.8 27B runs at 6.6-6.8 tok/s plain, 12.5-12.8 with MTP, but prefill is only ~72 tok/s | Apple M4 | MLX NVFP4 (Qwen3.8-27B-nvfp4) | oMLX v0.8.4, VLM MTP | 11.9 | ⚡ spec-decode (VLM MTP)context: 32k tokens📏 Public oMLX session on a base 10-core M4 with 32 GB: PP 61.4 tok/s, TG 11.9 tok/s, TTFT 533,557 ms, peak MLX memory 21.1 GB (https://omlx.ai/benchmarks/performance/emd2w07n). Retrieved 2026-12-02. |
| Qwen3.8 27B | Apple M4 10-core 32GB (oMLX, NVFP4): Qwen3.8 27B runs at 6.6-6.8 tok/s plain, 12.5-12.8 with MTP, but prefill is only ~72 tok/s | Apple M4 | MLX NVFP4 (Qwen3.8-27B-nvfp4) | oMLX v0.8.4, VLM MTP | 10.7 | ⚡ spec-decode (VLM MTP)context: 64k tokens📏 Public oMLX session on a base 10-core M4 with 32 GB: PP 54.5 tok/s, TG 10.7 tok/s, TTFT 1,203,296 ms, peak MLX memory 23.7 GB (https://omlx.ai/benchmarks/performance/bw52gjj0). Retrieved 2026-12-02. |
| Qwen3.8 27B | Apple M4 10-core 32GB (oMLX, NVFP4): Qwen3.8 27B runs at 6.6-6.8 tok/s plain, 12.5-12.8 with MTP, but prefill is only ~72 tok/s | Apple M4 | MLX NVFP4 (Qwen3.8-27B-nvfp4) | oMLX v0.8.4 (no speculative decoding) | 6.8 | context: 1k tokens📏 Public oMLX session on a base 10-core M4 with 32 GB: PP 71.9 tok/s, TG 6.8 tok/s, TTFT 14,233 ms, peak MLX memory 15.7 GB (https://omlx.ai/benchmarks/performance/khm7qjhh). Retrieved 2026-12-02. |
| Qwen3.8 27B | Apple M4 10-core 32GB (oMLX, NVFP4): Qwen3.8 27B runs at 6.6-6.8 tok/s plain, 12.5-12.8 with MTP, but prefill is only ~72 tok/s | Apple M4 | MLX NVFP4 (Qwen3.8-27B-nvfp4) | oMLX v0.8.4 (no speculative decoding) | 6.6 | context: 4k tokens📏 Public oMLX session on a base 10-core M4 with 32 GB: PP 72.4 tok/s, TG 6.6 tok/s, TTFT 56,564 ms, peak MLX memory 17.0 GB (https://omlx.ai/benchmarks/performance/slhu1fko). Retrieved 2026-12-02. |
| Qwen3.8 27B | Apple M4 10-core 32GB (oMLX, NVFP4): Qwen3.8 27B runs at 6.6-6.8 tok/s plain, 12.5-12.8 with MTP, but prefill is only ~72 tok/s | Apple M4 | MLX NVFP4 (Qwen3.8-27B-nvfp4) | oMLX v0.8.4 (no speculative decoding) | 5.0 | context: 32k tokens📏 Public oMLX session on a base 10-core M4 with 32 GB: PP 61.4 tok/s, TG 5.0 tok/s, TTFT 533,593 ms, peak MLX memory 20.0 GB (https://omlx.ai/benchmarks/performance/o1xm1pk4). Retrieved 2026-12-02. |
| Qwen4 35B-A3B | Apple M4 10-core 32GB (oMLX, MLX 3-bit): Qwen4 35B-A3B at 44.4 tok/s (1K context) | Apple M4 | MLX 3-bit (mlx-community/Qwen4-35B-A3B-3bit), no MTP head | oMLX v0.8.5 | 44.4 | context: 1K (decode tok/s at 4K 37.2, 8K 38.2)📏 Public oMLX session on this Mac (https://omlx.ai/benchmarks/performance/uftnh2mn): peak MLX memory 16.2 GB at 1K to 16.4 GB at 8K. Benchmark context: Code (Python), temperature 1. Representative of 2 public uploads for this Mac and quant (widest context sweep; median decode if tied). Retrieved 2026-12-04.partly in system RAM |
| Llama 3.2 3B legacy | M4 Mac mini (10-core) 32GB | Apple M4 | llama.cpp | 41.31 | ||
| Nemotron 3.5 Bolt E4B legacy | Mac mini M4 (16 GB): Qwen3.5 9B Q4_K_M at 17.7 tok/s, Gemma 4 12B at 13.1 (llama.cpp Metal) | Apple M4 | Q4_K_M (NVIDIA official GGUF, 6.18 GB) | llama.cpp b11567 server (Metal) | 28.9 | context: 8,192 ctx📏 llama-server, 32-token warm-up, 3 x 256 tokens at temperature 0, median (28.81-28.88); prompt processing 214 tok/s; measured 7 Nov 2026 (source2) |
| Qwen3.5 4B legacy | Mac mini M4 (16 GB): Qwen3.5 9B Q4_K_M at 17.7 tok/s, Gemma 4 12B at 13.1 (llama.cpp Metal) | Apple M4 | Q4_K_M | llama.cpp server (Metal) | 29.7 | context: 8,192 ctx, short fixed prompt📏 llama.cpp server, 8,192 ctx, 256 tokens at temperature 0; middle of three runs after a warm-up (runs agreed within ~1%) |
All Apple M4 (base) builds: see also all GPUs · best LLMs by memory size · download the dataset.
FAQ
How fast is the Apple M4 (base) for local LLMs?
The fastest plain-decode result we have is 41.31 tok/s on Llama 3.2 3B (, llama.cpp) in M4 Mac mini (10-core) 32GB. Speed depends heavily on the model, quant and engine, so compare like with like in the table. RigBase lists 15 measured results from 5 builds.
How much memory does the Apple M4 (base) have?
unified memory (see builds for sizes).
Which models have been measured on the Apple M4 (base)?
Gemma 4 12B, Llama 3.2 3B, Nemotron 3.5 Bolt E4B, Qwen3.5 4B, Qwen3.5 9B, Qwen3.8 27B, Qwen4 35B-A3B.
Where do these numbers come from?
Every row links to a build page with its original public source (benchmark logs, READMEs, forum posts). RigBase does not re-run the benchmarks. Results marked ⚡ use speculative decoding and are not comparable 1:1 with plain decode.
Referral link: if you sign up with Google and add $10, Runpod gives you and RigBase bonus credit (terms). It never affects our data.