Llama 3.1 8B on Mac mini M4 32 GB: VRAM, speed and fit
Llama 3.1 8B at 8-bit runs on the M4 32 GB with 88K of context at about 12 tokens a second.
Text generation · Chat · Ollama / LM Studio
Runs comfortably · on M4 32 GB · 8-bit (Q8_0) · Ollama / LM Studio · Chat
- GPU memory
- 30.2 GB
- of 32.0 GB
- Context
- 88K
- auto
- Speed
- 12 tok/s
- 4.9 when full
- First reply
- 9.9 s
- 2K prompt
Where the memory goes
- Model
- 7.9 GB
- Context
- 11.0 GB
- Overhead
- 635 MB
- OS
- 10.7 GB
- Free
- 1.8 GB
- Memory
- 30.2 GB of 32.0 GB
- Context
- 88K tokens · auto
- Speed
- 12 tok/s · 4.9 when full
- First reply
- 9.9 s for a 2K prompt
- Running cost
- $0.85/mo at home · $30/mo on a cloud RTX A4500
Validation: Not validated
| Check | Target | Result | Status |
|---|---|---|---|
| Fits in GPU memory | 21.3 GB usable | 19.6 GB needed | Pass |
| Headroom | 5% free | 1.8 GB free (8%) | Pass |
| Context for chat | 16K or more | 88K | Pass |
| Writing speed | 15 tok/s or more | 12 tok/s | Check |
| First reply | under 3 s, 2K prompt | 9.9 s | Fails |
Targets: a reply you can read along with, a first reply the use case tolerates, and 5% of memory left free. Calculated from published specs, not benchmarked.
The setup
- Model
- Llama 3.1 8B
- Parameters
- 8B
- Precision
- 8-bit (Q8_0)
- Context
- 88K, auto
- Chats at once
- 1
- Use
- Chat
- Runs in
- Ollama / LM Studio
- Hardware
- M4 32 GB
- GPU can use
- 21.3 GB of 32.0 GB
Running cost
- At home
- $0.85/mo
- 39 W at the wall
- Renting instead
- $30/mo
- RTX A4500 at $0.25/h
4 h a day, power at $0.18 per kWh, cloud at RunPod on-demand prices as of Nov 21, 2026.
How to run it
- Ollama
ollama run llama3.1:8b- llama.cpp
llama-server -hf unsloth/Llama-3.1-8B-Instruct-GGUF- vLLM
vllm serve meta-llama/Llama-3.1-8B-Instruct- MLX (Mac)
mlx_lm.chat --model mlx-community/Llama-3.1-8B-Instruct-4bit
Llama 3.1 8B on similar machines
- 4× RTX 3090Runs
- RTX PRO 6000 BlackwellRuns
- Mac mini M4 16 GBRuns
- Mac mini M4 24 GBRuns
- Mac mini M4 Pro 24 GBRuns
- Mac mini M4 Pro 48 GBRuns
- Mac mini M4 Pro 64 GBRuns
- M4 Max 128 GBRuns
All machines: Llama 3.1 8B VRAM requirements. Everything that runs here: what can the Mac mini M4 32 GB run?
Other models that run on Mac mini M4 32 GB
Questions
Can Llama 3.1 8B run on Mac mini M4 32 GB?
Llama 3.1 8B at 8-bit runs on the M4 32 GB with 88K of context at about 12 tokens a second.
Report VR-1RXHDXU, calculated Nov 22, 2026 from published specs, not benchmarked.