Llama Guard
ai.meta.com
Spec sheet
- Purpose
- Llama Guard classifies content in LLM inputs and responses as safe or unsafe.Read 4 Oct 2026 · github.com
- Customization
- Llama Recipes documentation explains how to configure and customize Llama Guard 3.Read 4 Oct 2026 · github.com
- Evaluation caveat
- The model card notes that some categories, including defamation, intellectual property, and elections, may require factual, up-to-date knowledge for accurate evaluation.Read 4 Oct 2026 · github.com
- Hazard categories
- Llama Guard 3-8B covers 14 categories, including the 13 MLCommons hazard categories and Code Interpreter Abuse.Read 4 Oct 2026 · github.com
- Integration example
- Meta’s Llama Cookbook demonstrates using Llama Guard as an inference safety checker for both user prompts and model outputs with Hugging Face Transformers.Read 4 Oct 2026 · github.com
- Languages
- It supports content safety classification in English, French, German, Hindi, Italian, Portuguese, Spanish, and Thai.Read 4 Oct 2026 · github.com
- Limitations
- The model card says performance can be limited by pretraining data and that the model may be vulnerable to adversarial or prompt injection attacks.Read 4 Oct 2026 · github.com
- Model
- Llama Guard 3-8B is a Llama 3.1 8B pretrained model fine-tuned for content safety classification.Read 4 Oct 2026 · github.com
- Quantization
- An int8 quantized version reduces checkpoint size by about 40% with very small impact on model performance, according to the model card.Read 4 Oct 2026 · github.com
- Recommended use
- Meta recommends deploying Llama Guard 3 alongside Llama 3.1, and says it may increase refusals of benign prompts.Read 4 Oct 2026 · github.com
- Tool use
- It was optimized for safety and security classification of search and code interpreter tool calls.Read 4 Oct 2026 · github.com
- Weights access
- The Cookbook demo lists access to Llama Guard model weights on Hugging Face as a requirement.Read 4 Oct 2026 · github.com
Plans and prices
Llama Guard 3-8B Free 8B parameters · model weights required Read 4 Oct 2026 · github.com
Where Specifiction places it
- AI Content Moderation Software#22 of 277.3