Meta: Llama Guard 4 12B
Meta (United States) · Multimodal
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
- Open the model's page on OpenRouter: openrouter.ai/meta-llama/llama-guard-4-12b
- Sign in (with Google or email) and press Chat; you can talk to the model right there.
- 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:
- Llama 3.1 8B InstructQ4 5.4 GB
- Llama-3.1-8B-InstructQ4 5.4 GB
- Meta-Llama-3-8B-InstructQ4 5.4 GB
🧑💻 For developers
vLLM
vllm serve meta-llama/Llama-Guard-4-12BTransformers (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 GB | Won't run | |
|---|---|---|
| RTX 4090 · 24 GB | Great | Q8 · ≈ 30–50 tokens/s |
| RTX 5090 · 32 GB | Great | FP16 · ≈ 27–45 tokens/s |
| Mac M4 Max · 128 GB | Usable | FP16 · ≈ 8–14 tokens/s |
| H100 · 80 GB | Great | FP16 · ≈ 50–84 tokens/s |
| 8× H100 · 640 GB | Great | FP16 · ≈ 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: