Meta: Llama Guard 4 12B

Meta (United States) · Multimodal

🧠 12.0B📄 160K context💲 $0.180 / $0.180 per 1M tokens in / out🔓 Open weights (downloadable)⚖️ llama4

Llama Guard 4 is a Llama 4 Scout-derived multimodal pretrained model, fine-tuned for content safety classification. Similar to previous versions, it can be used to classify content in both LLM...

Which way is for me?

🌐 Online, right now

  1. Open the model's page on OpenRouter: openrouter.ai/meta-llama/llama-guard-4-12b
  2. Sign in (with Google or email) and press Chat; you can talk to the model right there.
  3. Cost: a short exchange (about a page in and a page out) costs about $0.00018, so $1 buys about 5,555 messages.

💻 On my own computer

No ready LM Studio version (GGUF) of this model has been published yet. Use the online way for now; this page is checked again every night and the steps will appear here when one comes out.

Similar models you can run on your computer right now:

🧑‍💻 For developers

vLLM

vllm serve meta-llama/Llama-Guard-4-12B

Transformers (Python)

from transformers import pipeline
pipe = pipeline("image-text-to-text", model="meta-llama/Llama-Guard-4-12B")
Words used here
GGUF
The file format LM Studio, Ollama and llama.cpp use to run a model.
Quantization (Q4, Q8)
Shrinking a model by storing numbers less precisely: Q4 smallest and slightly weaker, Q8 almost full, FP16 full.
VRAM
The graphics card's memory (or shared memory on a Mac); the model has to fit in it.
Context
The most text the model can see at once in a conversation (questions, answers and files).
Tokens per second
How fast the answer is written; 20 is about reading speed, 5 is slow.

Hardware and running it

Cloud and local Available through an API, and its weights are published to run on your own hardware.

Minimum Q4
8.1 GB
Recommended Q8
14.4 GB
Full quality FP16
28.8 GB

On common hardware

RTX 4060 · 8 GBWon't run
RTX 4090 · 24 GBGreatQ8 · ≈ 30–50 tokens/s
RTX 5090 · 32 GBGreatFP16 · ≈ 27–45 tokens/s
Mac M4 Max · 128 GBUsableFP16 · ≈ 8–14 tokens/s
H100 · 80 GBGreatFP16 · ≈ 50–84 tokens/s
8× H100 · 640 GBGreatFP16 · ≈ 400–670 tokens/s

Speeds are estimates. estimated speed for one user, from memory bandwidth

Links come from the vendor's official site and the model card the vendor published · Updated: