Llama Guard 4 12B
meta-llama/llama-guard-4-12bAn open-weight Meta model for classifying text and images for content safety.
164K tokens of context — about 122,880 words, on a scale that ends at 2M.
What it can do
- Vision
- Open weights
- Takes image
- Takes text
- Gives text
Released 30 Apr 2025 · checked 3 Oct 2026.
About it
Llama Guard 4 12B is Meta’s open-weight safety model, based on Llama 4 Scout and fine-tuned to classify content. It accepts text and images, then returns text. Its 163,840-token context window supports large inputs, while pricing is $0.18 per million input tokens and $0.18 per million output tokens.
Review
In a line
Llama Guard 4 12B is a Meta model made for content-safety classification. It is derived from Llama 4 Scout and has open weights.
It accepts text and images as input and produces text output.
What it's good at
Its main job is checking content for safety classifications. Because it accepts both text and images, it can handle multimodal checks rather than text alone.
The model belongs to Meta’s meta-llama family and is identified as meta-llama/Llama-Guard-4-12B.
Price in plain terms
Input costs $0.18 per million tokens, and output costs $0.18 per million tokens. Both sides use the same rate.
At the rough usage levels given, reading a 500-word page costs about 0.012 cents. One chat turn with about 1,000 input tokens and 500 output tokens costs about 0.027 cents; 1,000 such turns cost about $0.27.
Context and limits
The context window is 163,840 tokens, meaning it can take that much text or other input in one request. A single answer can contain up to 16,384 output tokens.
It is fine-tuned for content-safety classification, so its stated role is narrower than a general-purpose assistant. Its output is text, even when the input includes an image.
Ways to use it
Use it in a workflow that needs to classify the safety of text or images, such as content checks in an app or chat tool. Its open weights also make it an option for projects that use open-weight models.
The facts do not specify a built-in consumer app, named provider, or public API.
Verdict
Choose Llama Guard 4 12B if you need a Meta safety-classification model that handles both text and images, offers open weights, and keeps token costs low.
Skip it if you need a general chat model, non-text answers, or a documented app and provider integration.
Verdict
Llama Guard 4 12B fits teams and developers who need to screen text or images for content safety and prefer Meta’s open-weight approach. Its large context limit and equal, low per-million-token rates suit high-volume checks. It is not a general assistant: the stated purpose is safety classification, and responses are text.
- Accepts both text and images
- Open weights are available
- 163,840-token context window
- $0.18 per million input and output tokens
- Up to 16,384 output tokens
- Focused on content-safety classification
- Outputs text only
- No named app, provider, or public API in the facts
- Pick it ifSafety checks for text and images; Projects using open-weight Meta models; High-volume classification at low token rates
- Skip it ifYou need a general-purpose chat assistant; You require a named consumer app or provider integration; You need non-text output
Pricing
The model charges $0.18 per million tokens read and $0.18 per million tokens generated. The rough examples put 1,000 typical chat turns at about $0.27.
Questions
What is Llama Guard 4 12B?
It is Meta’s open-weight model for content-safety classification, derived from Llama 4 Scout.
Can it process images?
Yes. Its listed inputs are images and text.
What does it return?
It returns text output.
How much does it cost?
Input is $0.18 per million tokens, and output is $0.18 per million tokens.
How much context can it handle?
Its context window is 163,840 tokens.
What is the maximum answer length?
A response can contain up to 16,384 output tokens.
Is it a general chat model?
The stated purpose is content-safety classification, not general conversation.
On these boards
More from Meta
- Muse Spark 1.3$1.25 in
- Muse Spark 1.3 Contributor$0.10 in
- Muse Spark 1.2 Contributor$0.10 in
- Muse Glimmer 30B$0.35 in
- Muse Spark 1.2$1.25 in
- Muse Spark 1.1$1.25 in
- Llama 4 Maverick$0.19 in
- Llama 4 Scout$0.10 in
- Llama 3.3 70B Instruct$0.10 in
- Llama 3.2 1B Instruct$0.027 in
- Llama 3.2 3B Instruct$0.050 in
- Llama 3.1 70B Instruct$0.40 in
- Llama 3.1 8B Instruct$0.050 in