Freedom251 › AI Content Moderation Software
Llama Guard

What Llama Guard is
Llama Guard classifies content in large language model prompts and responses as safe or unsafe. The Llama Guard 3-8B version is a pretrained Llama 3.1 8B model fine-tuned for safety classification, with coverage of 14 hazard categories, including Code Interpreter Abuse and the 13 MLCommons categories. It supports English, French, German, Hindi, Italian, Portuguese, Spanish, and Thai, and is optimized to assess search and code interpreter tool calls. The model is free and open source for self-hosted deployment. Llama Recipes documentation describes configuration and customization, while a Llama Cookbook example uses Hugging Face Transformers to check prompts and outputs; that example requires access to the model weights on Hugging Face. An int8 version reduces checkpoint size by about 40%, with very small performance impact according to the model card. Meta recommends pairing it with Llama 3.1, but notes it may refuse benign prompts. Its model card also warns about limits tied to pretraining data and possible vulnerability to adversarial or prompt injection attacks.
Who it suits
It suits teams seeking a self-hosted safety classifier for LLM inputs, outputs, and search or code interpreter tool calls. Its language coverage and customization documentation may be useful for deployments across those supported languages.
What it does well
- Free and open source for self-hosted use
- Classifies across 14 hazard categories
- Supports eight listed languages
- Optimized for search and code interpreter calls
- Int8 version reduces checkpoint size about 40%
What to know first
- Requires self-hosted deployment
- Cookbook example requires access to model weights
- May refuse benign prompts
- May be vulnerable to adversarial or prompt injection attacks
Limits
The free Llama Guard 3-8B plan requires model weights. Meta notes that the model may refuse benign prompts, and that its performance can be limited by pretraining data or adversarial and prompt injection attacks.
Plans
| Plan | Billed and limits | Price |
|---|---|---|
| Llama Guard 3-8B | 8B parameters · model weights required | Free |
As ai.meta.com lists them, read 4 Oct 2026. The maker's own page has the final word.
Getting started
- Visit the Llama Guard website.
- Choose the Llama Guard 3-8B plan, listed as free.
- Arrange access to the model weights on Hugging Face for the Cookbook example.
- Use the Llama Recipes documentation to configure or customize Llama Guard 3.
- Deploy it on your own infrastructure, alongside Llama 3.1 as Meta recommends.
Verdict
Llama Guard provides a configurable safety classification model for self-hosted LLM workflows, with coverage across multiple languages and hazard categories. Its warnings about false refusals and adversarial vulnerabilities are important considerations when deciding how to use its classifications.
Questions
How much does Llama Guard cost?
The Llama Guard 3-8B plan is listed as free. The pricing model is free, with open-source software.
Can I use Llama Guard without hosting it myself?
The listed platform and deployment option are self-hosted.
What content can it classify?
It classifies content in language model inputs and responses, and is optimized for search and code interpreter tool calls. Text and image moderation are listed.
Which languages does it support?
It supports English, French, German, Hindi, Italian, Portuguese, Spanish, and Thai.
Can I customize its policies?
Custom policies are listed, and Llama Recipes documentation explains how to configure and customize Llama Guard 3.
What are the model’s stated limitations?
Meta says it may increase refusals of benign prompts. The model card notes limits related to pretraining data and vulnerability to adversarial or prompt injection attacks.
Facts from Llama Guard's own pages
- Customization
- Llama Recipes documentation explains how to configure and customize Llama Guard 3. · github.com, 4 Oct 2026
- 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. · github.com, 4 Oct 2026
- Hazard categories
- Llama Guard 3-8B covers 14 categories, including the 13 MLCommons hazard categories and Code Interpreter Abuse. · github.com, 4 Oct 2026
- 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. · github.com, 4 Oct 2026
- Languages
- It supports content safety classification in English, French, German, Hindi, Italian, Portuguese, Spanish, and Thai. · github.com, 4 Oct 2026
- 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. · github.com, 4 Oct 2026
- Model
- Llama Guard 3-8B is a Llama 3.1 8B pretrained model fine-tuned for content safety classification. · github.com, 4 Oct 2026
- Purpose
- Llama Guard classifies content in LLM inputs and responses as safe or unsafe. · github.com, 4 Oct 2026
- Quantization
- An int8 quantized version reduces checkpoint size by about 40% with very small impact on model performance, according to the model card. · github.com, 4 Oct 2026
- Recommended use
- Meta recommends deploying Llama Guard 3 alongside Llama 3.1, and says it may increase refusals of benign prompts. · github.com, 4 Oct 2026
- Tool use
- It was optimized for safety and security classification of search and code interpreter tool calls. · github.com, 4 Oct 2026
- Weights access
- The Cookbook demo lists access to Llama Guard model weights on Hugging Face as a requirement. · github.com, 4 Oct 2026
Where Llama Guard stands on Freedom251
- AI Content Moderation Software#9 of 27