Llama Guard 4 12B
Summary
Llama Guard 4 12B is an open-weight language model from Meta, released on 30 Apr 2025. It accepts images and text and generates text, with a 164K-token context window and up to 16K output tokens per response. As of 4 Oct 2026, the lowest listed API price is $0.18 per million input tokens and $0.18 per million output tokens (OpenRouter), across 1 provider we track.
Llama Guard 4 is a Llama 4 Scout-derived multimodal pretrained model, fine-tuned for content safety classification. Similar to previous versions, it can be used to classify content in both LLM...
Last verified 4 Oct 2026. Every figure on this page links to its source.
Specifications
| Developer | Meta |
|---|---|
| Release date | 30 Apr 2025 [OpenRouter] |
| Status | Generally available |
| Weights | Open weights [Hugging Face] |
| License | llama4 [Hugging Face] |
| Parameters | 12B [Hugging Face] |
| Context window | 164K (163,840 tokens) [OpenRouter] |
| Max output | 16K tokens [OpenRouter] |
| Knowledge cutoff | 31 Aug 2024 [OpenRouter] |
| Input | Images and text [OpenRouter] |
| Output | Text [OpenRouter] |
| Reasoning mode | No [OpenRouter] |
| Tool calling | No [OpenRouter] |
| Structured output | No [OpenRouter] |
| Hugging Face | meta-llama/Llama-Guard-4-12B [Hugging Face] |
Llama Guard 4 12B API pricing by provider
USD per million tokens. Sorted by input price.
| Provider | Input | Output | Cached input | Context | Source |
|---|---|---|---|---|---|
| OpenRouter meta-llama/llama-guard-4-12b | $0.18 | $0.18 | – | 164K | OpenRouter, 4 Oct 2026 |
Frequently asked questions
What is the context window of Llama Guard 4 12B?
Llama Guard 4 12B has a context window of 163,840 tokens (164K) and can generate up to 16,384 tokens in a single response, according to OpenRouter.
How much does the Llama Guard 4 12B API cost?
Llama Guard 4 12B is listed from $0.18 per million input tokens and $0.18 per million output tokens (OpenRouter). Prices last verified 4 Oct 2026.
Is Llama Guard 4 12B open source?
Llama Guard 4 12B is an open-weight model: its weights are published on Hugging Face as meta-llama/Llama-Guard-4-12B under the llama4 license. Check the license terms before commercial use.
When was Llama Guard 4 12B released?
Meta released Llama Guard 4 12B on 30 Apr 2025, according to OpenRouter.
Change history
No changes detected since we started tracking this model. We re-check every source daily.