LlamaGuard
AI Security & Safety · Free
Meta's LLM-based input/output safeguard
At a glance
- Made by
- Meta
- Korean
- None (English and a few others only)
- Open source
- MIT
- GitHub
- 18,565 stars · MIT
What is LlamaGuard?
Llama Guard is an LLM-based input and output safeguard model for human-AI conversation use cases. It has a safety risk taxonomy, and it classifies LLM prompts (prompt classification) as well as the LLM responses to those prompts (response classification). It is a Llama2-7b model instruction-tuned on a collected dataset, and the paper states that it matched or outperformed existing content moderation tools on benchmarks such as OpenAI Moderation Evaluation and ToxicChat. It produces multi-class classification and binary decision scores, and the classification categories can be adapted to the use case, or other taxonomies can be used via zero-shot or few-shot prompting. Meta states that it releases the model weights (as of the paper page, 2023-12-07).
- Prompt classification (input check)
- Response classification (output check)
- Safety risk taxonomy
- Multi-class classification and binary decision scores
- Customizing classification categories
- Using other taxonomies via zero-shot or few-shot prompting
- Model weights released
Who uses LlamaGuard and for what
- Checking prompts and responses in human-AI conversations for safety risks (content moderation)
- For researchers to further develop and adapt the model for AI safety
Pricing
Open source + paid enterprise plans
Some open-source tools are free; enterprise security platforms are billed under separate contracts
Estimate based on AI knowledge - please verify on the official site
AI tools similar to LlamaGuard (alternatives)
LlamaGuard vs. alternatives at a glance
| AI | Pricing | Combos on the map | Connected tools | Free | Cheapest monthly | Korean |
|---|---|---|---|---|---|---|
| LlamaGuard | Free | 0 | 6 | — | — | No |
| NeMo Guardrails | Free + paid | 0 | 6 | — | — | No |
| Shieldstral | Free | 0 | 5 | Yes | — | No |
1 of these 3 tools have a free plan.
Combo and connection counts are based on the relationships recorded on AI Galaxy Map (2026-10-26); they are not a quality ranking.
LlamaGuard on AI Galaxy Map
- One of 21 AI tools in the AI Security & Safety field.
- Connected to 6 other tools — #1 in its field.
Frequently asked questions
Can I use LlamaGuard for free?
Open source + paid enterprise plans. Prices can change, so check the official site before paying.
What AI can I use instead of LlamaGuard?
Tools that do the same job, such as NeMo Guardrails, Shieldstral, Guardrails AI, Lakera Guard, are connected to it on the map.
Can I use LlamaGuard in Korean?
None (English and a few others only)
Sources (official pages)
- https://ai.meta.com/research/publications/llama-guard-llm-based-input-output-safeguard-for-human-ai-conversations/
- https://github.com/meta-llama/llama-cookbook
Checked on the official pages on 2026-10-14. Prices and features can change, so check the official site again before paying.