Llama Guard 4 12B
$0.18 per 1M input tokens and $0.18 per 1M output tokens · 164K context · vision, open weights.
Prices checked Oct 21, 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
We started tracking Llama Guard 4 12B on Oct 21, 2026; the chart appears as soon as there is a second data point. 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 |
|---|---|---|---|---|
| GLM 5.3 Flash Z.ai | $0.041 | $0.12 | 1.05M | visiontoolsreasoningJSONopen weights |
| DeepSeek V4.1 Flash DeepSeek | $0.049 | $0.375 | 1.05M | visiontoolsreasoningJSONopen weights |
| Ling 3.0 Flash VL inclusionAI | $0.06 | $0.18 | 131K | visiontoolsreasoningJSONopen weights |
| Gemma 4 26B A4B | $0.09 | $0.30 | 262K | visiontoolsreasoningJSONopen weights |
| Qwen3.5-9B Qwen | $0.08 | $0.13 | 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 GLM 5.3 Flash (similar capabilities) | $16.82 | $63.10 (79%) |
| 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 Oct 21, 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 GLM 5.3 Flash ($0.041 / $0.12), DeepSeek V4.1 Flash ($0.049 / $0.375), Ling 3.0 Flash VL ($0.06 / $0.18).
More from Meta Llama: all Meta Llama models · how we collect prices