Llama Guard
About
The Llama Guard family of LLMs, developed by Meta AI, offers content safety classification capabilities for managing human-AI interactions. These models work by scrutinizing both inputs (prompts) and outputs (responses) to flag potentially unsafe content, utilizing a comprehensive safety risk taxonomy 14. Initially focused on text, the Llama Guard 3 Vision model extended this functionality to multimodal inputs, including image analysis 2. These models are known for their performance, which equals or surpasses current content moderation solutions on renowned benchmarks 1. Moreover, they are instruction-tuned, offering adaptability to various use cases and safety frameworks 14. Llama Guard models, including version 3-8B and its variants, are accessible via Hugging Face 4.
Specifications(6 models)
| Model | Released | Context | Parameters | Vision | Structured Outputs |
|---|---|---|---|---|---|
| Llama Guard 4 12B | 2025-04 | 164K | — | No | Yes |
| Llama Guard 3 1B | 2024-09 | — | 1B | No | No |
| Llama Guard 3 11B Vision | 2024-09 | — | 1B | Yes | No |
| Llama Guard 3 8B | 2024-07 | 8K | 8B | No | Yes |
| Llama Guard 2 8B | 2024-04 | 8K | 8B | No | No |
| Llama Guard 7B | 2023-12 | 2K | 7B | No | Yes |
Available From(8 providers)
Pricing
| Model | Provider | Input / 1M | Output / 1M | Type |
|---|---|---|---|---|
| Llama Guard 2 8B | Replicate API | $0.05 | $0.25 | Serverless |
| Llama Guard 3 1B | Fireworks AI | $0.1 | $0.1 | Serverless |
| Llama Guard 2 8B | OctoAI API | $0.15 | $0.15 | Serverless |
| Llama Guard 4 12B | OpenRouter | $0.18 | $0.18 | Serverless |
| Llama Guard 2 8B | Fireworks AI | $0.2 | $0.2 | Provisioned |
| Llama Guard 7B | Together AI | $0.2 | $0.2 | Serverless |
| Llama Guard 7B | Fireworks AI | $0.2 | $0.2 | Provisioned |
| Llama Guard 3 8B | Fireworks AI | $0.2 | $0.2 | Serverless |
| Llama Guard 4 12B | Replicate API | $0.2 | $0.2 | Serverless |
| Llama Guard 3 8B | Replicate API | $0.3 | $0.3 | Serverless |
| Llama Guard 3 8B | Microsoft Foundry | $0.37 | $1.1 | Provisioned |
| Llama Guard 3 8B | OpenRouter | $0.48 | $0.03 | Serverless |
Frequently Asked Questions
- What is Llama Guard?
- The Llama Guard family of LLMs, developed by Meta AI, offers content safety classification capabilities for managing human-AI interactions. These models work by scrutinizing both inputs (prompts) and outputs (responses) to flag potentially unsafe content, utilizing a comprehensive safety risk taxonomy 14. Initially focused on text, the Llama Guard 3 Vision model extended this functionality to multimodal inputs, including image analysis 2. These models are known for their performance, which equals or surpasses current content moderation solutions on renowned benchmarks 1. Moreover, they are instruction-tuned, offering adaptability to various use cases and safety frameworks 14. Llama Guard models, including version 3-8B and its variants, are accessible via Hugging Face 4.
- How many models are in the Llama Guard family?
- The Llama Guard family contains 6 models.
- What is the latest Llama Guard model?
- The latest model is Llama Guard 4 12B, released in 2025-04.
- How much does Llama Guard cost?
- Llama Guard models range from $0.05/1M to $0.48/1M input tokens depending on the model and provider.






