Skip to content
Meta

Llama Guard 4 12B

Llama Guard 4 12B is a large language model made by Meta, added to the catalog on 30 Apr 2025. It has a context window of 163,840 tokens and costs $0.18 per 1M input tokens and $0.18 per 1M output tokens. It accepts text and images and produces text. Typical uses: classify content safety in multilingual settings, moderate mixed text and image content and enhance content safety in digital platforms.

Price checked ยท source: OpenRouter

What Llama Guard 4 12B is

Meta's Llama Guard 4 12B, released on April 30, 2025, is a versatile multimodal model designed for content safety classification. It is derived from Llama 4 Scout, offering a broad context window of 163,840 tokens. This model can process both text and images, generating text outputs that assess the safety of prompts and responses. Llama Guard 4 is aligned with the MLCommons hazards taxonomy and supports multiple languages, making it a robust tool for moderating diverse content types. Integrated with the Llama Moderations API, it effectively manages mixed text-and-image inputs, ensuring comprehensive content moderation.

Key features

  • Multimodal content classification
  • Supports text and image inputs
  • Aligned with MLCommons hazards taxonomy
  • Handles mixed text-and-image prompts
  • Integrated with Llama Moderations API

Typical uses

  • Classify content safety in multilingual settings
  • Moderate mixed text and image content
  • Enhance content safety in digital platforms
  • Identify unsafe content categories

Llama Guard 4 12B pricing

US dollars, list price through OpenRouter.

Checked
Llama Guard 4 12B price list
ItemStandard
Input, per 1M tokens$0.18
Output, per 1M tokens$0.18

No price change since it was added on 30 Apr 2025.

What typical tasks cost with Llama Guard 4 12B
What a task costsCost
Answer a short question500 in / 300 out$0.0001
Summarise a 50-page PDF25,000 in / 800 out$0.0046
Review a 2,000-line source file30,000 in / 2,000 out$0.0058
Read a 300-page contract set150,000 in / 1,500 out$0.027
Check the provider's pageToken counts are estimates. A maker's direct price and its monthly plans can differ from the per-token price shown here.

Llama Guard 4 12B specifications

Llama Guard 4 12B limits and identity
Model idmeta-llama/llama-guard-4-12b
Versionllama-guard-4-12b
Context window163,840 tokensAbout 122,880 English words
Max output16,384 tokens
Knowledge cutoff2024-08-31
Added to catalog30 Apr 2025
Llama Guard 4 12B capabilities
Input typesimage, text
Output typestext
Tool callingNo
Structured outputsNo
Reasoning effort controlNo
Content moderationNot applied by provider

Sample outputs

The same prompts are given to every model, and the unedited output is shown with the date it was produced. Upend does not publish leaderboard scores it did not run.

Write a short essay

RUN20 Nov 2026
Prompt

Write 150 words on how AI might positively upend work, leisure and creativity

Output

safe

Compare Llama Guard 4 12B

Side by side with other models: prices, context window, what each accepts and supports, and the same four tasks priced on both.

Llama Guard 4 12B questions

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 OpenRouter, as checked on 22 Nov 2026. Summarising a 50-page PDF costs about $0.0046.

What is the context window of Llama Guard 4 12B?

163,840 tokens, or roughly 122,880 English words. It can write up to 16,384 tokens in one response.

Can Llama Guard 4 12B read images and PDFs?

It accepts text and images as input. It produces text, so it cannot generate images.

How do I try Llama Guard 4 12B?

Use the "Try Llama Guard 4 12B" button on this page. It opens the chat with Llama Guard 4 12B selected; you type the question and press send.

Try Llama Guard 4 12B on your own question.

It opens in the chat with this model already selected.

Sign in to Upend

Use an account you already have, or get a one-time code by email.

Use a password instead

For accounts that already have a password. Forgotten it? An emailed code signs you in just the same.