llmrun
MetaLlama

Meta Llama Guard 2 8B — Hardware Requirements & GPU Compatibility

Chat

Meta 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.

8.0B params · denseLlama 3 Community8.3K downloads307 likes
A

Runs well on a 24 GB GPU

Runs on24 GB BF16 · ~46 tok/s · 32KMacs from24 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
one command · needs vLLM installed
$vllm serve meta-llama/Meta-Llama-Guard-2-8B --max-model-len 16384

vLLM repo with its own quantisation

Download: Weights on Hugging Face

install, OS, other quants

Ways to runOther ways

each opens step-by-step

Run 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.

QuantizationVRAM+32KOn RTX 4090 (reference)
17.7 GB23.2 GB16-bit · bfloat — Brain floating point 16 — preferred for trainingFits: 32K context · ~46 tok/s
est.calculated, no published file yet

Selected BF16

Brain floating point 16

20.2GBat 16K context

Weights
17.0 GB
KV cache
2.9 GB
Overhead
0.3 GB

Fits RTX 4090 (reference) · 3.8 GB free · ~46 tok/s

≥50 tok/s needs ≥1.10 TB/s · RTX 5090 ~81, M5 Ultra ~54

Which Hardware Can Run Meta Llama Guard 2 8B?

BF16 · 17.7 GB

Meta 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).

By VRAM tier · typical GPUs and Macs at BF16
8–16 GB · RTX 4060, RTX 3060 12GB, RTX 5060 Ti 16GBDoesn't fit — smallest quant needs 20.2 GB8 GB tier →12 GB tier →16 GB tier →
24 GB · RTX 4090referenceBF16 · 20.2 GB · ~46 tok/s · 32K24 GB tier →
Mac 32 GB · Mac Mini M4BF16 · 20.2 GB · ~6 tok/s · 32KMacs →
Mac 64 GB · Mac Studio M4 MaxBF16 · 20.2 GB · ~27 tok/s · 32KMacs →

Alternatives to Meta Llama Guard 2 8B

Llama family · 22 models →

Similar models

6
ModelScoreVRAMtok/sWhy it is similar
Medgemma 2 E4B ITGoogle—7.9 GB~153same size
ALoDLM 8BAmazon—7.6 GB~146same size
Llm Jp 4.1 8B Thinkingllm-jp—7.6 GB~141same size
Ling 3.0 TinyInclusion AI—5.5 GB~313same size
LFM2.5 8B A1BLiquid AI—5.6 GB~295same size
BitCPM CANN 8BOpenBMB—5.6 GB~156same 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

17.7 GB

Learn more about VRAM estimation →

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)

~362 tok/s
~46 tok/s
~362 tok/s
~362 tok/s

Real-world results typically within ±20%. Speed depends on batch size, quantization kernel, and software stack.

Learn more about tok/s estimation →

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.