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.
| Item | Standard |
|---|---|
| Input, per 1M tokens | $0.18 |
| Output, per 1M tokens | $0.18 |
No price change since it was added on 30 Apr 2025.
| What a task costs | Cost |
|---|---|
| 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 |
Llama Guard 4 12B specifications
| Model id | meta-llama/llama-guard-4-12b |
|---|---|
| Version | llama-guard-4-12b |
| Context window | 163,840 tokensAbout 122,880 English words |
| Max output | 16,384 tokens |
| Knowledge cutoff | 2024-08-31 |
| Added to catalog | 30 Apr 2025 |
| Input types | image, text |
|---|---|
| Output types | text |
| Tool calling | No |
| Structured outputs | No |
| Reasoning effort control | No |
| Content moderation | Not 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 2026Write 150 words on how AI might positively upend work, leisure and creativity
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.