Llama Guard 3 8B
Llama Guard 3 is a Llama-3.1-8B pretrained model, fine-tuned for content safety classification. Similar to previous versions, it can be used to classify content in both LLM inputs (prompt classification) and in LLM responses (response classification). It acts as an LLM – it generates text in its output that indicates whether a given prompt or response is safe or unsafe, and if unsafe, it also lists the content categories violated. Llama Guard 3 was aligned to safeguard against the MLCommons standardized hazards taxonomy and designed to support Llama 3.1 capabilities. Specifically, it provides content moderation in 8 languages, and was optimized to support safety and security for search and code interpreter tool calls.
Pricing per 1M Tokens
| Input (Prompt) | $0.02 |
| Output (Completion) | $0.06 |
| Cache Read | Free |
| Cache Write | Free |
| Image | N/A |
Specifications
| Context Length | 131K |
| Max Output Tokens | N/A |
| Input Modalities | Text |
| Output Modalities | Text |
| Tokenizer | Llama3 |
| Instruct Type | none |
| Top Provider Context | 131K |
| Top Provider Max Output | N/A |
| Moderated | No |
Compare this model
See how Llama Guard 3 8B stacks up against other models.
More from Meta
Last updated: March 23, 2026
First tracked: March 23, 2026