Llama Guard 4 12B
by Meta
Llama Guard 4 12B is a model from Meta, released on April 28, 2025. It has a 164K-token context window and can generate up to 164K output tokens. API pricing is $0.18 per 1M input tokens and $0.18 per 1M output tokens.
Llama Guard 4 is a natively multimodal safety classifier with 12 billion parameters trained jointly on text and multiple images. Llama Guard 4 is a dense architecture pruned from the Llama 4 Scout pre-trained model and 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 itself 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.
Key specs
| Provider | Meta |
|---|---|
| Release date | 2025-04-28 |
| License | open weights |
| Context window | 164K tokens |
| Max output | 164K tokens |
| Input price | $0.18 / 1M tokens |
| Output price | $0.18 / 1M tokens |
Quick answers
What is the context window of Llama Guard 4 12B?
Llama Guard 4 12B has a context window of 164K tokens, with a maximum output of 164K tokens per response.
How much does Llama Guard 4 12B cost?
Llama Guard 4 12B costs $0.18 per 1M input tokens and $0.18 per 1M output tokens through the API.
Is Llama Guard 4 12B open source?
Yes. Llama Guard 4 12B is an open model released under the open weights license.
When was Llama Guard 4 12B released?
Meta released Llama Guard 4 12B on April 28, 2025.
Compare on the AI leaderboard · All AI models
More models from Meta
- Muse Spark 1.3 (Reasoning) — Meta
- Muse Glimmer-30B (Reasoning) — Meta
- Llama 3.1 405B Instruct — Meta
- Llama 4 Maverick — Meta
- Llama 3.3 70B Instruct — Meta
- Llama 4 Scout — Meta