Which Mac runs which AI model?
Apps like LM Studio, Ollama and llama.cpp run open-weight AI models right on a Mac. What decides whether a model runs is mostly memory: the whole model has to fit in the Mac's unified memory, with room left for macOS and your other apps. Memory bandwidth then decides how fast it writes. Pick a Mac below, or type in your own, and see which models fit at each quantization.
Results: Mac mini, M6, 16GB (153GB/s)
14 of 29 models run on it (4 with room to spare for other apps). Context 8K.
As an Amazon Associate I earn from qualifying purchases. Amazon shows its own current price; check the listing names the same chip and memory.
| Model | Best fit | 3-bit Q3_K_M | 4-bit Q4_K_M | 6-bit Q6_K | 8-bit Q8_0 | 16-bit BF16 / F16 |
|---|---|---|---|---|---|---|
| Llama 3.2 3B InstructMeta · 3.2B · KV size unverified (gated file) | 4-bitwith room, about 51 tokens/s | Fits3.5 GB, 8.5 GB left | Fits3.9 GB, 8.1 GB left | Tight4.6 GB, 7.4 GB left | Tight5.4 GB, 6.6 GB left | Tight8.4 GB, 3.6 GB left |
| Phi-4-mini InstructMicrosoft · 3.8B | 3-bitwith room, about 52 tokens/s | Fits4 GB, 8 GB left | Tight4.4 GB, 7.6 GB left | Tight5.2 GB, 6.8 GB left | Tight6.2 GB, 5.8 GB left | Tight9.8 GB, 2.2 GB left |
| Qwen3.5 4BQwen (Alibaba) · 4.7B | 3-bitwith room, about 43 tokens/s | Fits3.6 GB, 8.4 GB left | Tight4.1 GB, 7.9 GB left | Tight5.1 GB, 6.9 GB left | Tight6.2 GB, 5.8 GB left | Tight10.6 GB, 1.4 GB left |
| Gemma 4 E2BGoogle · 5.1B | 3-bitwith room, about 39 tokens/s | Fits3.7 GB, 8.3 GB left | Tight4.2 GB, 7.8 GB left | Tight5.3 GB, 6.7 GB left | Tight6.6 GB, 5.4 GB left | Tight11.3 GB, 0.7 GB left |
| Gemma 4 E4BGoogle · 8B | 4-bittight, about 20 tokens/s | Tight5.3 GB, 6.7 GB left | Tight6.2 GB, 5.8 GB left | Tight7.8 GB, 4.2 GB left | Tight9.8 GB, 2.2 GB left | Won't fitneeds 17.3 GB |
| Llama 3.1 8B InstructMeta · 8B · KV size unverified (gated file) | 4-bittight, about 20 tokens/s | Tight6.1 GB, 5.9 GB left | Tight7 GB, 5 GB left | Tight8.7 GB, 3.3 GB left | Tight10.6 GB, 1.4 GB left | Won't fitneeds 18.1 GB |
| DeepSeek-R1-0528-Qwen3-8BDeepSeek · 8.2B | 4-bittight, about 20 tokens/s | Tight6.3 GB, 5.7 GB left | Tight7.2 GB, 4.8 GB left | Tight8.9 GB, 3.1 GB left | Tight10.9 GB, 1.1 GB left | Won't fitneeds 18.6 GB |
| Ministral 3 8B InstructMistral AI · 8.9B | 4-bittight, about 18 tokens/s | Tight6.6 GB, 5.4 GB left | Tight7.6 GB, 4.4 GB left | Tight9.5 GB, 2.5 GB left | Tight11.6 GB, 0.4 GB left | Won't fitneeds 20 GB |
| Qwen3.5 9BQwen (Alibaba) · 9.7B | 4-bittight, about 17 tokens/s | Tight6.1 GB, 5.9 GB left | Tight7.2 GB, 4.8 GB left | Tight9.2 GB, 2.8 GB left | Tight11.5 GB, 0.5 GB left | Won't fitneeds 20.6 GB |
| Gemma 4 12BGoogle · 12B | 4-bittight, about 14 tokens/s | Tight7.4 GB, 4.6 GB left | Tight8.8 GB, 3.2 GB left | Tight11.3 GB, 0.7 GB left | Won't fitneeds 14.2 GB | Won't fitneeds 25.4 GB |
| Ministral 3 14B InstructMistral AI · 14B | 4-bittight, about 12 tokens/s | Tight9.3 GB, 2.7 GB left | Tight10.9 GB, 1.1 GB left | Won't fitneeds 13.8 GB | Won't fitneeds 17.2 GB | Won't fitneeds 30.2 GB |
| Phi-4Microsoft · 15B | 4-bittight, about 11 tokens/s | Tight10 GB, 2 GB left | Tight11.6 GB, 0.4 GB left | Won't fitneeds 14.7 GB | Won't fitneeds 18.3 GB | Won't fitneeds 32 GB |
| DeepSeek-R1-Distill-Qwen-14BDeepSeek · 15B | 4-bittight, about 11 tokens/s | Tight10 GB, 2 GB left | Tight11.6 GB, 0.4 GB left | Won't fitneeds 14.7 GB | Won't fitneeds 18.3 GB | Won't fitneeds 32.2 GB |
| gpt-oss-20bOpenAI · 21B (3.6B active) | 3-bittight, about 34 tokens/s | Tight11.7 GB, 0.3 GB left | Won't fitneeds 14 GB | Won't fitneeds 18.4 GB | Won't fitneeds 23.5 GB | Won't fitneeds 43.2 GB |
| Mistral Small 3.2 24B InstructMistral AI · 24B | Too bigeven at 3-bit | Won't fitneeds 14.3 GB | Won't fitneeds 17 GB | Won't fitneeds 22 GB | Won't fitneeds 27.9 GB | Won't fitneeds 50.4 GB |
| Devstral Small 2 24B (coding)Mistral AI · 24B | Too bigeven at 3-bit | Won't fitneeds 14.3 GB | Won't fitneeds 17 GB | Won't fitneeds 22 GB | Won't fitneeds 27.9 GB | Won't fitneeds 50.4 GB |
| Gemma 4 26B A4BGoogle · 25B (3.8B active) | Too bigeven at 3-bit | Won't fitneeds 14 GB | Won't fitneeds 16.8 GB | Won't fitneeds 22 GB | Won't fitneeds 28.2 GB | Won't fitneeds 51.8 GB |
| Qwen3.8 27BQwen (Alibaba) · 28B | Too bigeven at 3-bit | Won't fitneeds 15.4 GB | Won't fitneeds 18.5 GB | Won't fitneeds 24.3 GB | Won't fitneeds 31.1 GB | Won't fitneeds 57.1 GB |
| Gemma 4 31BGoogle · 31B | Too bigeven at 3-bit | Won't fitneeds 17.9 GB | Won't fitneeds 21.3 GB | Won't fitneeds 27.7 GB | Won't fitneeds 35.1 GB | Won't fitneeds 63.9 GB |
| DeepSeek-R1-Distill-Qwen-32BDeepSeek · 33B | Too bigeven at 3-bit | Won't fitneeds 19.5 GB | Won't fitneeds 23.2 GB | Won't fitneeds 30 GB | Won't fitneeds 38 GB | Won't fitneeds 68.7 GB |
| Qwen3.6 35B A3BQwen (Alibaba) · 35B (3B active) | Too bigeven at 3-bit | Won't fitneeds 18.7 GB | Won't fitneeds 22.6 GB | Won't fitneeds 29.9 GB | Won't fitneeds 38.4 GB | Won't fitneeds 71.2 GB |
| Llama 3.3 70B InstructMeta · 71B · KV size unverified (gated file) | Too bigeven at 3-bit | Won't fitneeds 39 GB | Won't fitneeds 46.8 GB | Won't fitneeds 61.5 GB | Won't fitneeds 78.6 GB | Won't fitneeds 144.8 GB |
| DeepSeek-R1-Distill-Llama-70BDeepSeek · 71B | Too bigeven at 3-bit | Won't fitneeds 39 GB | Won't fitneeds 46.8 GB | Won't fitneeds 61.5 GB | Won't fitneeds 78.6 GB | Won't fitneeds 144.8 GB |
| gpt-oss-120bOpenAI · 117B (5.1B active) | Too bigeven at 3-bit | Won't fitneeds 59.8 GB | Won't fitneeds 72.8 GB | Won't fitneeds 97.2 GB | Won't fitneeds 125.6 GB | Won't fitneeds 235.3 GB |
| Mistral Small 4 119BMistral AI · 119B (6.5B active) | Too bigeven at 3-bit | Won't fitneeds 60.7 GB | Won't fitneeds 73.9 GB | Won't fitneeds 98.8 GB | Won't fitneeds 127.6 GB | Won't fitneeds 239.2 GB |
| Mistral Medium 3.5 128BMistral AI · 128B | Too bigeven at 3-bit | Won't fitneeds 68 GB | Won't fitneeds 82.2 GB | Won't fitneeds 108.9 GB | Won't fitneeds 140 GB | Won't fitneeds 260 GB |
| Qwen3.8 Flash NextQwen (Alibaba) · 180B (6B active) | Too bigeven at 3-bit | Won't fitneeds 91.2 GB | Won't fitneeds 111.2 GB | Won't fitneeds 148.8 GB | Won't fitneeds 192.5 GB | Won't fitneeds 361.2 GB |
| Qwen3 235B A22BQwen (Alibaba) · 235B (22B active) | Too bigeven at 3-bit | Won't fitneeds 120.1 GB | Won't fitneeds 146.2 GB | Won't fitneeds 195.3 GB | Won't fitneeds 252.3 GB | Won't fitneeds 472.6 GB |
| DeepSeek-V4-FlashDeepSeek · 284B (13B active) · KV size rough | Too bigeven at 3-bit | Won't fitneeds 143.1 GB | Won't fitneeds 174.7 GB | Won't fitneeds 234 GB | Won't fitneeds 302.8 GB | Won't fitneeds 569.1 GB |
Fits: leaves 8 GB or more for other apps. Tight: runs if you close other apps (or, on a big model, after raising macOS's GPU memory limit). Won't fit: needs more memory than the Mac has. Speeds are rough estimates for writing a reply, not measurements; real speed depends on the app, the prompt and the model's file. A link on a model's name opens its official model card.
Today's Macs for local AI
Every chip, memory size and bandwidth below is from Apple's own tech specs pages, checked Oct 23, 2026. Memory can't be upgraded later, so buy for the biggest model you expect to run.
Mac mini
The smallest and least expensive way into Apple silicon for AI. The M5 Pro model has twice the memory bandwidth of the M6.
| Chip | Memory | Bandwidth | Where to buy |
|---|---|---|---|
| M6 12-core CPU, 12-core GPU | 16GB | 153GB/s | Amazon search · Apple |
| M6 12-core CPU, 12-core GPU | 24GB | 170GB/s | Amazon search · Apple |
| M6 12-core CPU, 12-core GPU | 32GB | 170GB/s | Apple (build to order) |
| M5 Pro 15-core CPU, 16-core GPU | 24GB | 307GB/s | Amazon search · Apple |
| M5 Pro 18-core CPU, 20-core GPU | 48GB | 307GB/s | Apple (build to order) |
| M5 Pro 18-core CPU, 20-core GPU | 64GB | 307GB/s | Apple (build to order) |
Source: Apple, Mac mini tech specs (checked Oct 23, 2026). As an Amazon Associate I earn from qualifying purchases.
Mac Studio
The Mac for big models: up to 512GB of unified memory and 1.2TB/s of bandwidth with M5 Ultra.
| Chip | Memory | Bandwidth | Where to buy |
|---|---|---|---|
| M5 Max 18-core CPU, 32-core GPU | 36GB | 460GB/s | Amazon search · Apple |
| M5 Max 18-core CPU, 40-core GPU | 48GB | 614GB/s | Apple (build to order) |
| M5 Max 18-core CPU, 40-core GPU | 64GB | 614GB/s | Apple (build to order) |
| M5 Max 18-core CPU, 40-core GPU | 128GB | 614GB/s | Apple (build to order) |
| M5 Ultra 30-core CPU, 64-core GPU | 96GB | 1.2TB/s | Amazon search · Apple |
| M5 Ultra 30-core CPU, 64-core GPU | 256GB | 1.2TB/s | Apple (build to order) |
| M5 Ultra 36-core CPU, 80-core GPU | 512GB | 1.2TB/s | Apple (build to order) |
Source: Apple, Mac Studio tech specs (checked Oct 23, 2026). As an Amazon Associate I earn from qualifying purchases.
MacBook Air (13- and 15-inch)
Good for small models: on 16GB, models up to about 8B run at 4-bit if you close other apps; 32GB fits up to about 27B at 4-bit with room to spare. It has no fan, so long runs slow down as it warms up.
| Chip | Memory | Bandwidth | Where to buy |
|---|---|---|---|
| M5 10-core CPU, 8- or 10-core GPU | 16GB | 153GB/s | Amazon search · Apple |
| M5 10-core CPU, 10-core GPU | 24GB | 153GB/s | Amazon search · Apple |
| M5 10-core CPU, 10-core GPU | 32GB | 153GB/s | Apple (build to order) |
Source: Apple, MacBook Air tech specs (checked Oct 23, 2026). As an Amazon Associate I earn from qualifying purchases.
MacBook Pro (14- and 16-inch)
A laptop that runs mid-size models; with M5 Max and 128GB it fits 70B to 120B models at 4-bit.
| Chip | Memory | Bandwidth | Where to buy |
|---|---|---|---|
| M5 10-core CPU, 10-core GPU (14-inch only) | 16GB | 153GB/s | Amazon search · Apple |
| M5 10-core CPU, 10-core GPU (14-inch only) | 24GB | 153GB/s | Amazon search · Apple |
| M5 10-core CPU, 10-core GPU (14-inch only) | 32GB | 153GB/s | Amazon search · Apple |
| M5 Pro 15- or 18-core CPU, 16- or 20-core GPU | 24GB | 307GB/s | Amazon search · Apple |
| M5 Pro 18-core CPU, 20-core GPU (a 16-inch standard model) | 48GB | 307GB/s | Amazon search · Apple |
| M5 Pro 18-core CPU, 20-core GPU | 64GB | 307GB/s | Apple (build to order) |
| M5 Max 18-core CPU, 32-core GPU | 36GB | 460GB/s | Amazon search · Apple |
| M5 Max 18-core CPU, 40-core GPU (a 16-inch standard model) | 48GB | 614GB/s | Amazon search · Apple |
| M5 Max 18-core CPU, 40-core GPU | 64GB | 614GB/s | Apple (build to order) |
| M5 Max 18-core CPU, 40-core GPU | 128GB | 614GB/s | Apple (build to order) |
Source: Apple, MacBook Pro tech specs (checked Oct 23, 2026). As an Amazon Associate I earn from qualifying purchases.
iMac (24-inch)
Still on M4, with the lowest bandwidth of today's Macs: small models only.
| Chip | Memory | Bandwidth | Where to buy |
|---|---|---|---|
| M4 8- or 10-core CPU, 8- or 10-core GPU | 16GB | 120GB/s | Amazon search · Apple |
| M4 10-core CPU, 10-core GPU | 24GB | 120GB/s | Amazon search · Apple |
| M4 10-core CPU, 10-core GPU | 32GB | 120GB/s | Apple (build to order) |
Source: Apple, iMac tech specs (checked Oct 23, 2026). As an Amazon Associate I earn from qualifying purchases.
Which configurations Amazon has in stock changes; the Amazon links search for the chip and memory, so check the listing before you buy. We show no Amazon prices; Amazon shows its own.
How we work it out
Memory needed = parameters × bits per weight ÷ 8 + KV cache + about 1 GB for the app's working buffers.
Left for other apps = the Mac's memory − memory needed − about 4 GB for macOS itself.
An 8-billion-parameter model at 4-bit (Q4_K_M, 4.89 bits a weight) is 8 × 4.89 ÷ 8 ≈ 4.9 GB of weights. The KV cache is the model's short-term memory of the conversation: for each token of context, every attention layer stores 2 × KV heads × head size numbers, 2 bytes each (the apps' 16-bit default). We read each model's layer counts and head sizes from its config.json; layers with sliding-window attention stop growing at their window, and the newer hybrid models (Qwen3.5 and later) keep a cache in only some layers. Mixture-of-experts models (marked "active") must hold all their parameters in memory but read only the active ones for each token, which is why they're fast for their size.
GPU memory limit: by default macOS lets the GPU use only part of the memory, reportedly about two-thirds on Macs with 36GB or less and three-quarters on bigger ones (Apple doesn't publish the figure; this is what llama.cpp users report, unverified). A model above that share is marked Tight even with memory to spare; LM Studio and similar apps explain how to raise the limit.
Speed (rough): writing a reply reads the active weights once per token, so tokens a second ≈ memory bandwidth × 0.65 ÷ GB of weights (× 0.4 for mixture-of-experts models). It's a ballpark from bandwidth alone, not a benchmark; reading a long prompt first is a separate wait that depends on the GPU.
We count memory in GB of a billion bytes, and Apple's "16GB" is 16 GiB (about 17.2 GB), so the results err on the safe side. Bits per weight are llama.cpp's own figures (llama.cpp quantize README (bits per weight table), checked Oct 23, 2026); MLX's 4-bit and 8-bit files are close. Vision and audio parts of multimodal models are counted in the parameters when the model card counts them.
| Quantization | llama.cpp type | Bits per weight |
|---|---|---|
| 3-bit | Q3_K_M | 4.00 |
| 4-bit | Q4_K_M | 4.89 |
| 6-bit | Q6_K | 6.56 |
| 8-bit | Q8_0 | 8.50 |
| 16-bit | BF16 / F16 | 16.00 |
The models and where their sizes come from
Parameter counts are from each model's official model card on Hugging Face (or its file listing when the card gives only a rounded size), checked Oct 23, 2026. Licenses differ: check a model's license before using it for work.
| Model | Parameters | Longest context | License |
|---|---|---|---|
| Llama 3.2 3B Instruct Meta · Layer and head counts are the Llama 3 family's published ones; the file is gated, so not checked against it (unverified). |
3.21B | 128K | Llama 3.2 Community License |
| Phi-4-mini Instruct Microsoft |
3.84B | 128K | MIT |
| Qwen3.5 4B Qwen (Alibaba) · Hybrid attention: 8 of 32 layers keep a KV cache. |
4.66B | 256K | Apache 2.0 |
| Gemma 4 E2B Google · 2.3B effective; 5.1B with its per-layer embeddings, which we count. |
5.1B | 128K | Apache 2.0 |
| Gemma 4 E4B Google · 4.5B effective; 8B with its per-layer embeddings, which we count. |
8B | 128K | Apache 2.0 |
| Llama 3.1 8B Instruct Meta · Layer and head counts are the Llama 3 family's published ones; the file is gated, so not checked against it (unverified). |
8.03B | 128K | Llama 3.1 Community License |
| DeepSeek-R1-0528-Qwen3-8B DeepSeek · DeepSeek R1 reasoning distilled into Qwen3 8B. |
8.19B | 128K | MIT |
| Ministral 3 8B Instruct Mistral AI |
8.92B | 256K | Apache 2.0 |
| Qwen3.5 9B Qwen (Alibaba) · Hybrid attention: 8 of 32 layers keep a KV cache. |
9.65B | 256K | Apache 2.0 |
| Gemma 4 12B Google |
11.95B | 256K | Apache 2.0 |
| Ministral 3 14B Instruct Mistral AI |
13.95B | 256K | Apache 2.0 |
| Phi-4 Microsoft |
14.66B | 16K | MIT |
| DeepSeek-R1-Distill-Qwen-14B DeepSeek |
14.77B | 128K | MIT |
| gpt-oss-20b OpenAI · Released in MXFP4 (about 4.25 bits a weight), so its own download is close to the 4-bit column. |
21B 3.6B active | 128K | Apache 2.0 |
| Mistral Small 3.2 24B Instruct Mistral AI |
24.01B | 128K | Apache 2.0 |
| Devstral Small 2 24B (coding) Mistral AI |
24.01B | 384K | Apache 2.0 |
| Gemma 4 26B A4B Google |
25.2B 3.8B active | 256K | Apache 2.0 |
| Qwen3.8 27B Qwen (Alibaba) · Hybrid attention: 16 of 64 layers keep a KV cache. |
27.78B | 256K | Apache 2.0 |
| Gemma 4 31B Google |
30.7B | 256K | Apache 2.0 |
| DeepSeek-R1-Distill-Qwen-32B DeepSeek |
32.76B | 128K | MIT |
| Qwen3.6 35B A3B Qwen (Alibaba) · Hybrid attention: 10 of 40 layers keep a KV cache. |
35B 3B active | 256K | Apache 2.0 |
| Llama 3.3 70B Instruct Meta · Layer and head counts are the Llama 3 family's published ones; the file is gated, so not checked against it (unverified). |
70.55B | 128K | Llama 3.3 Community License |
| DeepSeek-R1-Distill-Llama-70B DeepSeek |
70.55B | 128K | MIT |
| gpt-oss-120b OpenAI · Released in MXFP4 (about 4.25 bits a weight), so its own download is close to the 4-bit column. |
117B 5.1B active | 128K | Apache 2.0 |
| Mistral Small 4 119B Mistral AI |
119B 6.5B active | 1024K | Apache 2.0 |
| Mistral Medium 3.5 128B Mistral AI |
128B | 256K | Modified MIT (limits for very large companies) |
| Qwen3.8 Flash Next Qwen (Alibaba) · 125B plus a 51B n-gram embedding and 4B for multi-token prediction; we count all 180B. Needs a recent app version. |
180B 6B active | 256K | Qwen Community License 1.0 |
| Qwen3 235B A22B Qwen (Alibaba) |
235B 22B active | 40K | Apache 2.0 |
| DeepSeek-V4-Flash DeepSeek · Its compressed attention keeps a much smaller cache than usual; our KV figure is a rough estimate. |
284B 13B active | 1024K | MIT |