# Llama Guard 4 12B

> 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.

Source page: https://www.aimodel.directory/models/llama-guard-4-12b
Last verified: 4 Oct 2026

## Specifications

- **Developer:** Meta
- **Release date:** 30 Apr 2025 (source: OpenRouter, https://openrouter.ai/meta-llama/llama-guard-4-12b)
- **Status:** Generally available
- **Weights:** Open weights (source: Hugging Face, https://huggingface.co/meta-llama/Llama-Guard-4-12B)
- **License:** llama4 (source: Hugging Face, https://huggingface.co/meta-llama/Llama-Guard-4-12B)
- **Parameters:** 12B (source: Hugging Face, https://huggingface.co/meta-llama/Llama-Guard-4-12B)
- **Context window:** 164K (163,840 tokens) (source: OpenRouter, https://openrouter.ai/meta-llama/llama-guard-4-12b)
- **Max output:** 16K tokens (source: OpenRouter, https://openrouter.ai/meta-llama/llama-guard-4-12b)
- **Knowledge cutoff:** 31 Aug 2024 (source: OpenRouter, https://openrouter.ai/meta-llama/llama-guard-4-12b)
- **Input:** Images and text (source: OpenRouter, https://openrouter.ai/meta-llama/llama-guard-4-12b)
- **Output:** Text (source: OpenRouter, https://openrouter.ai/meta-llama/llama-guard-4-12b)
- **Reasoning mode:** No (source: OpenRouter, https://openrouter.ai/meta-llama/llama-guard-4-12b)
- **Tool calling:** No (source: OpenRouter, https://openrouter.ai/meta-llama/llama-guard-4-12b)
- **Structured output:** No (source: OpenRouter, https://openrouter.ai/meta-llama/llama-guard-4-12b)
- **Hugging Face:** meta-llama/Llama-Guard-4-12B (source: Hugging Face, https://huggingface.co/meta-llama/Llama-Guard-4-12B)

## API pricing (USD per 1M tokens)

| Provider | Input | Output | Cached input | Context |
|---|---|---|---|---|
| OpenRouter | $0.18 | $0.18 | – | 164K |

## FAQ

### 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.

---
Data licensed CC BY 4.0. Cite as: AI Model Directory, "Llama Guard 4 12B", https://www.aimodel.directory/models/llama-guard-4-12b