Meta: Llama Guard 4 12B API Pricing
Meta: Llama Guard 4 12B costs $0.180 per 1M input tokens and $0.180 per 1M output tokens. Context window: 164K. Prices verified 2026-10-21 · source
Alternatives to consider
Cheapest meta-llama model — 68% less per month
Rebuilt daily from our snapshot archive — the chart appears once a model has 5+ snapshots of history.
High adoption means battle-tested weights, more fine-tunes/quants, and faster bug fixes. View on HuggingFace →
From our own daily snapshot archive — independent of provider announcements.
Training data ends here — newer events require retrieval or web search.
What would Meta: Llama Guard 4 12B cost you per month?
| Workload | Requests/mo | Avg tokens (in/out) | Est. monthly cost |
|---|---|---|---|
| Light chatbot | 10,000 | 800 / 400 | $2.16 |
| Coding agent | 5,000 | 8,000 / 2,000 | $9.00 |
| RAG pipeline | 30,000 | 4,000 / 500 | $24.30 |
| Doc summarizer | 2,000 | 20,000 / 1,000 | $7.56 |
Estimates use list prices without prompt caching. Caching can cut input cost by up to 90% on repeated context.
About Meta: Llama Guard 4 12B
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...
Compare Meta: Llama Guard 4 12B with
- 4 12B vs OpenAI: GPT-5.6 Terra Pro
- 4 12B vs Anthropic: Claude Fable 5
- 4 12B vs Anthropic: Claude Opus 5
- 4 12B vs OpenAI: GPT-5.6 Sol
Popular head-to-heads — see all on the comparisons index.
Frequently asked questions
How much does Meta: Llama Guard 4 12B cost?
Meta: Llama Guard 4 12B costs $0.180 per 1M input tokens and $0.180 per 1M output tokens. Verified 2026-10-21 — provider source.
What is the context window?
164K tokens, with up to 16K output tokens per response. That's roughly 205 pages of text in a single request.
Does it support prompt caching?
Prompt-caching pricing is not published for this model via OpenRouter.
What's a cheaper alternative?
ScaleDown: Summarize saves about 84% on a typical workload with comparable quality.
Official resources
- Meta: Llama Guard 4 12B on OpenRouter — live endpoint, pricing source of record.
- Artificial Analysis leaderboard → — independent intelligence and performance rankings.
- Llama models → — first-party model and license information.
- LMArena leaderboard → — independent human-preference rankings.
- Shred your current bill — paste a CSV and see if switching saves money.