LLMCost
meta-llama

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

🔔 Price alerts coming soon

Alternatives to consider

🏠 Same provider
Meta: Llama 3.1 8B Instruct
$0.050 in / $0.080 out
Quality score: 6.9

Cheapest meta-llama model — 68% less per month

Price history
2026-08-23 → 2026-10-21 · 59 daily snapshots
inputoutput

Rebuilt daily from our snapshot archive — the chart appears once a model has 5+ snapshots of history.

Community adoption
47K
HF downloads
133
Likes

High adoption means battle-tested weights, more fine-tunes/quants, and faster bug fixes. View on HuggingFace →

Pricing behavior
Stable — no price moves across our 59 daily snapshots (2026-08-23 → 2026-10-21).

From our own daily snapshot archive — independent of provider announcements.

Input / 1M tokens
$0.180
Output / 1M tokens
$0.180
Context window
164K
Max output
16K
Knowledge cutoff
2024-08-31

Training data ends here — newer events require retrieval or web search.

What would Meta: Llama Guard 4 12B cost you per month?

WorkloadRequests/moAvg tokens (in/out)Est. monthly cost
Light chatbot10,000800 / 400$2.16
Coding agent5,0008,000 / 2,000$9.00
RAG pipeline30,0004,000 / 500$24.30
Doc summarizer2,00020,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

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