Skip to content

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

What Llama 3.1 8B on Mac mini M4 32 GB was checked against
CheckTargetResultStatus
Fits in GPU memory21.3 GB usable19.6 GB neededPass
Headroom5% free1.8 GB free (8%)Pass
Context for chat16K or more88KPass
Writing speed15 tok/s or more12 tok/sCheck
First replyunder 3 s, 2K prompt9.9 sFails

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 22, 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

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.