Llama Guard 4 12B
$0.18 per 1M input tokens and $0.18 per 1M output tokens · 164K context · vision, open weights.
Prices checked Dec 6, 2026 · tracked by LLM Cost Index since Oct 21, 2026
What Llama Guard 4 12B costs per month
Estimated monthly bill for typical workloads. Try your own numbers in the cost calculator.
| Workload | Per month |
|---|---|
| Customer chatbot 1,000 conversations a day, 8 turns each | $79.92 |
| Document Q&A (RAG) 500 questions a day over retrieved documents | $17.55 |
| Coding / tool-using agent 200 tasks a day, long tool-heavy contexts | $69.12 |
| Content generation 30 long articles a day | $0.891 |
| Classification / extraction 100,000 short items a day | $170 |
Price history
No input price change since Oct 21, 2026. See all recent price changes.
Where to run Llama Guard 4 12B: 3 providers
DeepInfra is the cheapest at $0.144 input / $0.144 output per 1M tokens. Uptime is the average over the last 30 days as reported by OpenRouter; see provider reliability.
Cheaper alternatives to Llama Guard 4 12B
Models with the same image input for at least 20% less (3:1 input/output mix), most capable first.
| Model | Input / 1M | Output / 1M | Context | Capabilities |
|---|---|---|---|---|
| DeepSeek V4.1 Flash 1017 DeepSeek | $0.02 | $0.20 | 1.05M | visiontoolsreasoningJSONopen weights |
| Qwen4 35B A3B Qwen | $0.06 | $0.36 | 1.05M | visiontoolsreasoningJSONopen weights |
| Hy4 flash Tencent | $0.07 | $0.281 | 1.05M | visiontoolsreasoningJSONopen weights |
| Inkling 2 Mini Thinkingmachines | $0.06 | $0.24 | 1.05M | visiontoolsreasoningJSONopen weights |
| Gemma 4 26B A4B | $0.068 | $0.225 | 262K | visiontoolsreasoningJSONopen weights |
How to pay less for Llama Guard 4 12B
For a customer chatbot (1,000 conversations a day, 8 turns each) that costs $79.92 a month at list price without caching:
| Option | Per month | You save |
|---|---|---|
| Move to DeepSeek V4.1 Flash 1017 (similar capabilities) | $19.90 | $60.02 (75%) |
| Route to DeepInfra (flex tier) | $63.94 | $15.98 (20%) |
Other workloads: cut-your-bill tool for Llama Guard 4 12B.
Specifications
| Model ID | meta-llama/llama-guard-4-12b |
| Input | image, text |
| Output | text |
| Tool calling | No |
| Structured output | No |
| Reasoning mode | No |
| Open weights | Yes — meta-llama/Llama-Guard-4-12B |
| Knowledge cutoff | 2024-08-31 |
| Released | Apr 30, 2025 |
FAQ
- How much does Llama Guard 4 12B cost?
- $0.18 per million input tokens and $0.18 per million output tokens. Prices as of Dec 6, 2026.
- What is the context window of Llama Guard 4 12B?
- 164K tokens, with up to 16K output tokens per response.
- Does Llama Guard 4 12B support images, tools and structured output?
- Images as input: yes. Tool calling: no. Structured (JSON) output: no. Reasoning mode: no.
- What are cheaper alternatives to Llama Guard 4 12B?
- Models with the same key capabilities for at least 20% less include DeepSeek V4.1 Flash 1017 ($0.02 / $0.20), Qwen4 35B A3B ($0.06 / $0.36), Hy4 flash ($0.07 / $0.281).
More from Meta Llama: all Meta Llama models · how we collect prices