Mixtral 8x7B on a Mac
Mistral AI · 46.7B parameters (12.9B active — mixture of experts) · Apache 2.0 · released 2023-12
Weights @ Q4_K_M
26.6 GiB
the usual download size
KV cache
128 KB
per token, FP16
Max context
32K
tokens
Smallest Mac
36 GB
M3 Max
Short answerA M3 Max 36GB is the smallest Apple Silicon machine that loads Mixtral 8x7B at Q4_K_M with an 8K context, at roughly 19 tokens/sec. MacBook Pro 14" (M3 Max) is the cheapest way to get that configuration.
Every Mac, ranked
| Mac | Memory | Needs | Tok/s | Verdict |
|---|---|---|---|---|
| M1 8GB | 8 GB | 29.8 GiB | 4 | No |
| M1 16GB | 16 GB | 29.8 GiB | 4 | No |
| M2 16GB | 16 GB | 29.8 GiB | 6 | No |
| M4 16GB | 16 GB | 29.8 GiB | 8 | No |
| M1 Pro 16GB | 16 GB | 29.8 GiB | 13 | No |
| M3 Pro 18GB | 18 GB | 29.8 GiB | 9 | No |
| M2 24GB | 24 GB | 29.8 GiB | 6 | No |
| M4 24GB | 24 GB | 29.8 GiB | 8 | No |
| M4 Pro 24GB | 24 GB | 29.8 GiB | 17 | No |
| M4 32GB | 32 GB | 29.8 GiB | 8 | No |
| M1 Max 32GB | 32 GB | 29.8 GiB | 25 | No |
| M2 Max 32GB | 32 GB | 29.8 GiB | 25 | No |
| M3 Max 36GB | 36 GB | 29.8 GiB | 19 | Yes, but tight |
| M4 Max 36GB | 36 GB | 29.8 GiB | 26 | Yes, but tight |
| M4 Pro 48GB | 48 GB | 29.8 GiB | 17 | Yes, comfortably |
| M4 Max 48GB | 48 GB | 29.8 GiB | 35 | Yes, comfortably |
| M4 Pro 64GB | 64 GB | 29.8 GiB | 17 | Yes, comfortably |
| M1 Max 64GB | 64 GB | 29.8 GiB | 25 | Yes, comfortably |
| M4 Max 64GB | 64 GB | 29.8 GiB | 35 | Yes, comfortably |
| M2 Ultra 64GB | 64 GB | 29.8 GiB | 51 | Yes, comfortably |
| M2 Max 96GB | 96 GB | 29.8 GiB | 25 | Yes, comfortably |
| M3 Ultra 96GB | 96 GB | 29.8 GiB | 52 | Yes, comfortably |
| M3 Max 128GB | 128 GB | 29.8 GiB | 25 | Yes, comfortably |
| M4 Max 128GB | 128 GB | 29.8 GiB | 35 | Yes, comfortably |
| M2 Ultra 192GB | 192 GB | 29.8 GiB | 51 | Yes, comfortably |
| M3 Ultra 256GB | 256 GB | 29.8 GiB | 52 | Yes, comfortably |
| M3 Ultra 512GB | 512 GB | 29.8 GiB | 52 | Yes, comfortably |
Download size by quantisation
Weight memory scales linearly with bits per parameter. Everything below assumes an 8K context on top.
| Quantisation | Weights | Total @ 8K | Notes |
|---|---|---|---|
| FP16 | 87.0 GiB | 93.1 GiB | Full precision. Reference quality, twice the memory of Q8. |
| Q8_0 | 46.2 GiB | 50.3 GiB | Indistinguishable from FP16 in practice, at half the size. |
| Q6_K | 35.9 GiB | 39.5 GiB | Near-lossless. A good stop when you have memory to spare. |
| Q5_K_M | 31.0 GiB | 34.3 GiB | Slightly better than Q4_K_M, noticeably bigger. |
| Q4_K_M | 26.6 GiB | 29.8 GiB | The default. Best quality-per-gigabyte for most people. |
| Q3_K_M | 21.2 GiB | 24.1 GiB | Visible quality loss. Use to squeeze one size class up. |
| Q2_K | 16.3 GiB | 18.9 GiB | Last resort. Often worse than a smaller model at Q4. |
Mixture of expertsMixtral 8x7B holds 46.7B parameters in memory but only reads about 12.9B per token. You pay the full memory cost of a 46.7B model and get roughly the speed of a 12.9B one — an excellent trade if you have the RAM.