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...
- 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
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
Llama Guard 4 12B price by host
- DeepInfra$0.18 in · $0.18 out · 164K ctx · 100.0% uptime 24h
Where to buy Meta credits for less
Disclosure: this site is run by the team behind smaaart, one of the options compared. Tables are ranked by price only, from live quotes and published fees, including when smaaart isn't first. How we compare
Llama Guard 4 12B cost calculator
Cheaper alternatives to Llama Guard 4 12B
| Model | Input / 1M | Output / 1M |
|---|---|---|
| DeepSeek: DeepSeek V4.1 Flash | $0.03 | $0.5 |
| Qwen: Qwen3.7 Flash | $0.03 | $0.13 |
| DeepSeek: DeepSeek V4 Flash 0423 | $0.042 | $0.084 |
| Google: Gemma 4 26B A4B | $0.09 | $0.3 |
| Google: Gemma 4 31B | $0.09 | $0.34 |
| Qwen: Qwen3.5-9B | $0.1 | $0.15 |
Other Meta models
| Model | Input / 1M | Output / 1M |
|---|---|---|
| Llama 4 Maverick | $0.188 | $0.652 |
| Llama 4 Scout | $0.1 | $0.3 |
| Llama 3.3 70B Instruct | $0.1 | $0.32 |
| Llama 3.2 1B Instruct | $0.027 | $0.201 |
| Llama 3.2 3B Instruct | $0.05 | $0.33 |
| Llama 3.1 70B Instruct | $0.4 | $0.4 |