Meta

Llama Guard 4 12B

Generally availableOpen weights164K context

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

DeveloperMeta
Release date30 Apr 2025 [OpenRouter]
StatusGenerally available
WeightsOpen weights [Hugging Face]
Licensellama4 [Hugging Face]
Parameters12B [Hugging Face]
Context window164K (163,840 tokens) [OpenRouter]
Max output16K tokens [OpenRouter]
Knowledge cutoff31 Aug 2024 [OpenRouter]
InputImages and text [OpenRouter]
OutputText [OpenRouter]
Reasoning modeNo [OpenRouter]
Tool callingNo [OpenRouter]
Structured outputNo [OpenRouter]
Hugging Facemeta-llama/Llama-Guard-4-12B [Hugging Face]

Llama Guard 4 12B API pricing by provider

USD per million tokens. Sorted by input price.

ProviderInputOutputCached inputContextSource
OpenRouter
meta-llama/llama-guard-4-12b
$0.18$0.18–164KOpenRouter, 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.

Sources