Meta model
Llama Guard 4 12B API cost calculator
Llama Guard 4 12B costs $0.18 per 1M input tokens and $0.18 per 1M output tokens on the Meta API, with a 1.0M-token context window. A typical request (2K input, 500 output tokens) costs $0.0004 — about $13.50/month at 1,000 requests per day. Use the calculator below to model your exact workload.
Find me a cheaper modelWhat real workloads cost on Llama Guard 4 12B
| Workload | Tokens (in / out) | Per request | Per 1K requests |
|---|---|---|---|
| Chatbot message | 500 / 300 | $0.0001 | $0.14 |
| RAG query with context | 4,000 / 500 | $0.0008 | $0.81 |
| Document summarization | 20,000 / 1,000 | $0.0038 | $3.78 |
| Agent coding session | 100,000 / 5,000 | $0.02 | $18.90 |
Llama Guard 4 12B vs other Meta models
| Model | Input /1M | Output /1M | Context |
|---|---|---|---|
| Llama Guard 4 12B | $0.18 | $0.18 | 1.0M |
| Llama 4 Maverick | $0.20 | $0.80 | 1.0M |
| Llama 4 Scout | $0.10 | $0.30 | 1.3M |
| Llama 3.3 70B Instruct | $0.10 | $0.32 | 131K |
| Llama 3.2 1B Instruct | $0.03 | $0.20 |
Frequently asked questions
How much does Llama Guard 4 12B cost per 1M tokens?
According to current pricing data, Llama Guard 4 12B costs $0.18 per 1M input tokens and $0.18 per 1M output tokens. Processing 1M tokens each way costs $0.36.
What does a typical API request to Llama Guard 4 12B cost?
A typical request with 2,000 input tokens and 500 output tokens costs $0.0004. At 1,000 requests per day that is $0.45 daily, or about $13.50 per month.
What is Llama Guard 4 12B's context window?
Llama Guard 4 12B supports a 1.0M-token context window (1,048,576 tokens).
Does Llama Guard 4 12B support prompt caching?
No cache-read pricing is published for Llama Guard 4 12B, so every input token is billed at the full $0.18 per 1M rate.
What is a cheaper alternative to Llama Guard 4 12B?
Ling-2.6-flash from Inclusionai is currently the cheapest comparable option at $0.01 per 1M input tokens versus $0.18 for Llama Guard 4 12B — roughly 18x cheaper on input.
Compare all current prices on the live model pricing dashboard, see Llama Guard 4 12B vs Ling-2.6-flash pricing, or run Llama Guard 4 12B head-to-head against other models in the side-by-side comparison playground.
Pricing data via the OpenRouter models API.