Meta, released Apr 30, 2025
Llama Guard 4 12B
Llama Guard 4 12B is Meta's content safety model, built from Llama 4 Scout and tuned to flag unsafe stuff instead of chatting with users. It came out on April 30, 2025, right after Llama 4 Scout and Maverick, taking the moderation slot in the Llama 4 lineup. And it handles both text and images, all at a low price.
Already paying for ChatGPT or Claude?
Llama Guard 4 12B costs $0.18 per 1M output tokens. Use GPT-6 and Claude through your plan instead, $0 per token.
Updated
Llama Guard 4 12B pricing and specs
- Input
- $0.18per 1M tokens
- Output
- $0.18per 1M tokens
- Context window
- 164K163,840 tokens
- Max output
- 16K16,384 tokens
- Released
- Apr 30, 2025
- Knowledge cutoff
- Aug 2024
- Accepts
- ImagesText
- Features
- Open weights
What Llama Guard 4 12B is good at
- Screening user prompts before they reach your main model, since it's cheap enough to run on every turn and the big context window lets you pass in a long conversation without slicing it up first.
- Checking LLM outputs on the way back out. It's built to classify LLM content, so pairing it with a bigger model like Llama 4 Maverick or Llama 3.3 70B Instruct is straightforward.
- Moderating text and image uploads in one pass (no need to wire up a separate vision model just to check pictures).
Good to know
- This isn't a general-purpose assistant. It's not meant for regular chat or general tasks, so if you want a small everyday model from Meta, look at Llama 4 Scout or Llama 3.1 8B Instruct instead.
- Its knowledge cutoff is August 2024. Anything newer than that isn't in the model.
- Input and output tokens cost the same, which keeps it cheap overall, though Llama 4 Scout and Llama 3.1 8B Instruct are still cheaper on input if you're only looking at raw input cost.
Llama Guard 4 12B vs similar models
| Model | Input | Output | Plan2API | Context |
|---|---|---|---|---|
| Llama Guard 4 12B | $0.18 | $0.18 | Not available | 164K |
| Muse Ember | $0.10 | $0.50 | Not available | 1M |
| Muse Spark Open | $1.25 | $4.25 | Not available | 1M |
| Muse Wonder | $4 | $20 | Not available | 1M |
| gpt-oss-120b | $0.03 | $0.187 | $0 on Gemini | 131K |
| LingSante 3.1 Air VL | $0.06 | $0.18 | Not available | 131K |
Llama Guard 4 12B cost per month
| Workload | API price |
|---|---|
| Side project2M in, 500K out | $0.45 |
| Production app25M in, 5M out | $5.40 |
| Agents at scale250M in, 50M out | $54.00 |
FAQ
How much does the Llama Guard 4 12B API cost?
Llama Guard 4 12B costs $0.18 per 1M input tokens and $0.18 per 1M output tokens.
What is the Llama Guard 4 12B context window?
Llama Guard 4 12B takes 163,840 tokens of context, with up to 16,384 output tokens per request.
When was Llama Guard 4 12B released?
Meta released Llama Guard 4 12B on Apr 30, 2025.
Can I use Llama Guard 4 12B with my subscription?
Plan2API turns Claude, ChatGPT, Gemini and Kimi subscriptions into one OpenAI-compatible API. GPT-6 and Claude models run through your ChatGPT or Claude plan at $0 per token instead.
How is it different from Llama 4 Scout?
Llama Guard 4 12B is built on top of Llama 4 Scout, then tuned specifically to flag unsafe content. Scout is the one you use to generate answers, while Guard is just there to check whether inputs and outputs are safe.
Can I self-host it instead of using an API?
Yes. Meta released it with open weights on Hugging Face as meta-llama/Llama-Guard-4-12B, so you can pull it down and run it yourself whenever you want.
More Meta models
Already paying for ChatGPT or Claude? Use GPT-6 and Claude through your plan, $0 per token.
- Free: 1 subscription, no daily cap, no card
- Pro: $12 a month