Meta · live price
Llama Guard 4 12B API pricing
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...
Small and cheap (under $1 per 1M)image input
- Input
- $0.18
- per 1M tokens
- Output
- $0.18
- per 1M tokens
- Cached input
- –
- per 1M tokens
- Context
- 164K
- 16K max output
List price from OpenRouter, which passes Meta's price through without markup. Refreshed hourly. Released April 30, 2025. Model id meta-llama/llama-guard-4-12b.
What Llama Guard 4 12B costs in practice
At list price, before any batch or caching discount.
1,000 chat messages
$0.27
1,000 input + 500 output tokens each
1,000 RAG questions
$1.53
8,000 input + 500 output tokens each
100 coding-agent steps
$0.58
30,000 input + 2,000 output tokens each, no caching
Llama Guard 4 12B price history
No price change since we started tracking on 2026-10-01. We record prices daily; changes will show here.
Llama Guard 4 12B price by host
One host serves this model through OpenRouter.
- DeepInfra$0.144 in · $0.144 out · 164K ctx
Where to buy Meta credits for less
Llama Guard 4 12B costs the same per token everywhere it's sold through OpenRouter. What changes is the price of the credits. Live quotes for $100 of usage:
Llama Guard 4 12B cost calculator
Enter your monthly tokens to price your own usage.
Usage at list price$10.80/ month(quotes below are for $11.00: purchases run from $5.00 to $10,000.00)
Cheaper alternatives to Llama Guard 4 12B
Other labs' models in the same price range or the one below, cheaper per token.
| Model | Input / 1M | Output / 1M |
|---|---|---|
| MiniMax: MiniMax M3.1 Flash | $0.075 | $0.3 |
| DeepSeek: DeepSeek V4.1 Flash | $0.05 | $0.199 |
| Z.ai: GLM 5.3 Flash | $0.04 | $0.078 |
| DeepSeek: DeepSeek V4 Flash 0731 | $0.044 | $0.3 |
| Qwen: Qwen3.7 Flash | $0.03 | $0.13 |
| DeepSeek: DeepSeek V4 Flash 0423 | $0.09 | $0.18 |
Other Meta models
| Model | Input / 1M | Output / 1M |
|---|---|---|
| Llama 4 Maverick | $0.35 | $1 |
| Llama 4 Scout | $0.1 | $0.3 |
| Llama 3.3 70B Instruct | $0.71 | $0.71 |
| Llama 3.2 3B Instruct | $0.05 | $0.33 |
| Llama 3.1 70B Instruct | $0.72 | $0.72 |
| Llama 3.1 8B Instruct | $0.02 | $0.04 |