Meta Llama Guard 2 8B — Hardware Requirements & GPU Compatibility
ChatMeta Llama Guard 2 8B is a 8.0B-parameter open language model from Meta in the Llama family. At BF16 it needs about 17.67 GB of VRAM — see which GPUs and Macs can run it below.
Runs well on a 24 GB GPU
Runs on 24 GB (BF16 · ~46 tok/s · 32K)Macs from 24 GB (BF16 · ~16 tok/s)
Llama 3 Community
Reference GPU · RTX 4090 24 GB
Estimates, ±20% · how we estimate
Run Meta Llama Guard 2 8B
One recommended way. Every other method, OS and quant is in the step-by-step guide.Each way opens a step-by-step guide for your OS and quant.
Recommended
vllm serve meta-llama/Meta-Llama-Guard-2-8B --max-model-len 16384vLLM repo with its own quantisation
Download: Weights on Hugging Face
Ways to runOther ways
each opens step-by-stepRun in cloud
Runs on RTX 5090 (32 GB) (11 GB headroom) · BF16
- Generation speed
- ~81 tok/s
- generation speed
- Cost per 1M output tokens
- $1.62
- per 1M output tokens
How Much VRAM Does Meta Llama Guard 2 8B Need?
Select a quantization level; the listed hardware adheres to it.
| Quantization | VRAM | +32K | On RTX 4090 (reference) | |
|---|---|---|---|---|
| 17.7 GB | 23.2 GB | 16-bit · bfloat — Brain floating point 16 — preferred for training | Fits: 32K context · ~46 tok/s |
Selected BF16
Brain floating point 1620.2GBat 16K context
- Weights
- 17.0 GB
- KV cache
- 2.9 GB
- Overhead
- 0.3 GB
Which Hardware Can Run Meta Llama Guard 2 8B?
BF16 · 17.7 GBMeta Llama Guard 2 8B (BF16) requires 17.7 GB of VRAM to load the model weights. For comfortable inference with headroom for KV cache and system overhead, 23+ GB is recommended. 8 GPUs can run it, including NVIDIA GeForce RTX 5090, NVIDIA GeForce RTX 3090 Ti. 137 devices with unified memory can run Meta Llama Guard 2 8B, including Mac Studio M5 Ultra (256 GB), Mac Studio M5 Ultra (512 GB), Mac Mini M5 Pro (24 GB).
20 GB
tight · up to 8K ctx
1 GPU
RX 7900 XT~36Simulate output on RX 7900 XT32–40 GB
fits · 11.8 GB free · up to 32K ctx
1 GPU · 3 Mac classes · 9 device families
RTX 5090~81Simulate output on RTX 5090M5 Max*36 GB~23Simulate output on Mac Studio M5 Max (36 GB)M632 GB~9Simulate output on iMac 24" M6 (32 GB)RTX Spark N1X~14Simulate output on NVIDIA RTX Spark N1X Laptop (32 GB)Orin~9Simulate output on NVIDIA Jetson AGX Orin 32GB
By VRAM tier · typical GPUs and Macs at BF16
Alternatives to Meta Llama Guard 2 8B
Llama family · 22 models →Similar models
6| Model | Score | VRAM | tok/s | Why it is similar |
|---|---|---|---|---|
| Medgemma 2 E4B ITGoogle | — | 7.9 GB | ~153 | same size |
| ALoDLM 8BAmazon | — | 7.6 GB | ~146 | same size |
| Llm Jp 4.1 8B Thinkingllm-jp | — | 7.6 GB | ~141 | same size |
| Ling 3.0 TinyInclusion AI | — | 5.5 GB | ~313 | same size |
| LFM2.5 8B A1BLiquid AI | — | 5.6 GB | ~295 | same size |
| BitCPM CANN 8BOpenBMB | — | 5.6 GB | ~156 | same size |
Specifications
- Publisher
- Meta
- Family
- Llama
- Parameters
- 8.0B
- Release Date
- 2024-04-17
- License
- Llama 3 Community
Frequently Asked Questions
How much VRAM does Meta Llama Guard 2 8B need?
Meta Llama Guard 2 8B requires 17.7 GB of VRAM at BF16.
VRAM = Weights + KV Cache + Overhead
Weights = 8.0B × 16 bits ÷ 8 = 16.1 GB
KV Cache + Overhead ≈ 1.6 GB (at 2K context + ~0.3 GB framework)
Fit ratings and hardware model lists check this model with room for a 16K-token context, which needs a little more memory.
VRAM usage by quantization
Can I run Meta Llama Guard 2 8B on a Mac?
Yes — Mac Mini M5 Pro (24 GB) and 115 other Macs can run Meta Llama Guard 2 8B. Apple Silicon uses unified memory, so the model shares RAM with the system. At BF16 you need at least 17.7 GB of usable unified memory (RAM minus macOS overhead).
Can I run Meta Llama Guard 2 8B locally?
Yes — Meta Llama Guard 2 8B can run locally on consumer hardware. Popular tools include Ollama, LM Studio, and llama.cpp.
How fast is Meta Llama Guard 2 8B?
At BF16, Meta Llama Guard 2 8B can reach ~362 tok/s on AMD Instinct MI350X. On NVIDIA GeForce RTX 4090: ~46 tok/s. Speed depends mainly on GPU memory bandwidth. Real-world results typically within ±20%.
tok/s = (bandwidth GB/s ÷ model GB) × efficiency
Example: AMD Instinct MI350X → 8000 ÷ 17.7 × 0.80 = ~362 tok/s
Estimated speed at BF16 (17.7 GB)
Real-world results typically within ±20%. Speed depends on batch size, quantization kernel, and software stack.
What's the download size of Meta Llama Guard 2 8B?
At BF16, the download is about 16.06 GB.
Which GPUs can run Meta Llama Guard 2 8B?
8 consumer GPUs can run Meta Llama Guard 2 8B at BF16. Top options include NVIDIA GeForce RTX 5090, AMD Radeon RX 7900 XT, AMD Radeon RX 7900 XTX. 1 GPU has plenty of headroom for comfortable inference.
Which devices can run Meta Llama Guard 2 8B?
137 devices with unified memory can run Meta Llama Guard 2 8B at BF16 (17.7 GB), including AMD Ryzen 7 8845HS (Hawk Point) Laptop, AMD Ryzen AI 7 350 (Krackan Point) Laptop, AMD Ryzen AI 9 HX 370 (Strix Point) Laptop, ASUS Ascent GX10. Apple Silicon Macs use unified memory shared between CPU and GPU, making them well-suited for local LLM inference.