The calculator
Pick a model from our list or enter your own, choose how much context you need, and see which Macs have room for it.
- Weights
- 20.0 GB
- Context
- 1.9 GB
- Overhead
- 0.5 GB
| Mac | For models | Fits? | Est. speed |
|---|---|---|---|
| Mac mini M6 16GB | ~12 GB | Short 10.4 GB | — |
| Mac mini M6 32GB | ~28 GB | Fits · 5.6 GB spare | ~6.4 tok/s |
| Mac mini M5 Pro 48GB | ~44 GB | Fits · 21.6 GB spare | ~11.5 tok/s |
| Mac mini M5 Pro 64GB | ~60 GB | Fits · 37.6 GB spare | ~11.5 tok/s |
| Mac Studio M5 Max 128GB | ~124 GB | Fits · 102 GB spare | ~23.0 tok/s |
| Mac Studio M5 Ultra 256GB | ~252 GB | Fits · 230 GB spare | ~45.0 tok/s |
| Mac Studio M5 Ultra 512GB | ~508 GB | Fits · 486 GB spare | ~45.0 tok/s |
| Mac mini M1 16GB (used) | ~12 GB | Short 10.4 GB | — |
Estimates. Context memory assumes grouped-query attention and a 16-bit cache; speed is memory bandwidth ÷ weights read per token, scaled to typical runtime efficiency. Green ≥ 15 tok/s, amber 5–15, red below. macOS keeps ~4 GB.
Weights: parameters × bits
A model's weights are its parameters stored at some precision. At 16-bit, each parameter takes 2 bytes, so an 8B model is about 16 GB. Quantization stores them in fewer bits: a 4-bit file is roughly a quarter of that. Real 4-bit formats keep some tensors at higher precision, so files come out slightly larger than the simple sum.
| Model size | 16-bit | 8-bit | 4-bit |
|---|---|---|---|
| 8B parameters | ~16 GB | ~8 GB | ~4 GB |
| 32B parameters | ~64 GB | ~34 GB | ~18 GB |
| 70B parameters | ~140 GB | ~74 GB | ~39 GB |
For mixture-of-experts models (like gpt-oss 120B or Qwen3 30B-A3B), all parameters still have to be in memory, even though only a few are used per token. Memory follows total parameters; speed follows active ones.
Context: the KV cache
While it works, a model keeps a cache of the conversation so far, called the KV cache. It grows with every token of context, so a model that fits comfortably for a short chat can run out of room when you paste in a long document.
| Model size | 8K tokens | 32K tokens | 128K tokens |
|---|---|---|---|
| 8B | ~1.0 GB | ~4.1 GB | ~16.3 GB |
| 32B | ~1.9 GB | ~7.6 GB | ~30.4 GB |
| 70B | ~2.7 GB | ~10.8 GB | ~43.3 GB |
How much of a Mac's memory you can use
We assume macOS keeps about 4 GB and the rest is available. By default, macOS limits how much memory the GPU can use, so running a model close to the total usually means raising that limit. Our unified memory guide explains this. Leave headroom if you'd rather not change system settings.
FAQ
How much memory does an LLM need?
How do I calculate LLM memory requirements?
Does context length affect memory?
See any model on the exact Mac you're considering.
Speeds come from published measurements (with source links) or labeled estimates. How we measure