Llama Guard 4 12B on Mac mini M4 24 GB: VRAM, speed and fit
Llama Guard 4 12B at 6-bit runs on the M4 24 GB with 24K of context at about 11 tokens a second.
Text generation · Chat · Ollama / LM Studio
Runs comfortably · on M4 24 GB · 6-bit (Q6_K) · Ollama / LM Studio · Chat
- GPU memory
- 22.5 GB
- of 24.0 GB
- Context
- 24K
- auto
- Speed
- 11 tok/s
- 6.9 when full
- First reply
- 14 s
- 2K prompt
Where the memory goes
- Model
- 9.2 GB
- Context
- 4.5 GB
- Overhead
- 811 MB
- OS
- 8.0 GB
- Free
- 1.5 GB
- Memory
- 22.5 GB of 24.0 GB
- Context
- 24K tokens · auto
- Speed
- 11 tok/s · 6.9 when full
- First reply
- 14 s for a 2K prompt
- Running cost
- $0.85/mo at home · $29/mo on a cloud RTX 2000 Ada
Validation: Not validated
| Check | Target | Result | Status |
|---|---|---|---|
| Fits in GPU memory | 16.0 GB usable | 14.5 GB needed | Pass |
| Headroom | 5% free | 1.5 GB free (10%) | Pass |
| Context for chat | 16K or more | 24K | Pass |
| Writing speed | 15 tok/s or more | 11 tok/s | Check |
| First reply | under 3 s, 2K prompt | 14 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 Guard 4 12B
- Parameters
- 12B
- Precision
- 6-bit (Q6_K)
- Context
- 24K, auto
- Chats at once
- 1
- Use
- Chat
- Runs in
- Ollama / LM Studio
- Hardware
- M4 24 GB
- GPU can use
- 16.0 GB of 24.0 GB
Worth trying
- 8-bit cache: Room for 52K context
Running cost
- At home
- $0.85/mo
- 39 W at the wall
- Renting instead
- $29/mo
- RTX 2000 Ada at $0.24/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
- llama.cpp
llama-server -hf DevQuasar/meta-llama.Llama-Guard-4-12B-GGUF- vLLM
vllm serve meta-llama/Llama-Guard-4-12B
Llama Guard 4 12B on similar machines
- 2× RTX 5090Runs
- 4× RTX 3090Runs
- RTX PRO 6000 BlackwellRuns
- Mac mini M4 16 GBRuns
- Mac mini M4 32 GBRuns
- Mac mini M4 Pro 24 GBRuns
- Mac mini M4 Pro 48 GBRuns
- Mac mini M4 Pro 64 GBRuns
All machines: Llama Guard 4 12B VRAM requirements. Everything that runs here: what can the Mac mini M4 24 GB run?
Other models that run on Mac mini M4 24 GB
Questions
Can Llama Guard 4 12B run on Mac mini M4 24 GB?
Llama Guard 4 12B at 6-bit runs on the M4 24 GB with 24K of context at about 11 tokens a second.
Report VR-0IWDR39, calculated Nov 22, 2026 from published specs, not benchmarked.