Ways to buy 1
| Way to buy | Input | Output | In / out per 1M | Cached | Vs cheapest |
|---|---|---|---|---|---|
bf16 | $0.18 | $0.18 | $0.18 / $0.18Cheapest | n/a | Cheapest |
USD per 1M tokens. Regions are separate routes.
Through a gateway
Your own numbers100M input and 20M output tokens a month: $21.60 direct.
Helicone$21.60+0%
Kong AI Gateway$21.60+0%
LiteLLM$21.60+0%
Vercel AI Gateway$21.60+0%
Cloudflare AI Gateway$22.68+5%
Requesty$22.68+5%
Eden AI$22.79+5.5%
OpenRouter$22.79+5.5%
No published token fee: Martian Gateway, Portkey, TrueFoundry AI Gateway.
Related models
| In / out per 1M | Cheapest route | ||||||
|---|---|---|---|---|---|---|---|
Meta · 1M | $1.25 | $4.25 | $1.25 / $4.25 | $2 | 1M | Lab list price | · |
Meta · 1M | $0.1 | $0.2 | $0.1 / $0.2 | $0.125 | 1M | Lab list price | · |
Meta · 1M | $0.1 | $0.2 | $0.1 / $0.2 | $0.125 | 1M | Lab list price | · |
Meta · 131K | $0.3 | $1.1 | $0.3 / $1.1 | $0.5 | 131K | on Phala | · |
DeepSeek · 1MCheapest: $0.131 on Morph | $0.15 | $0.6 | $0.15 / $0.6 | $0.262 | 1M | $0.131 on Morph | · |
OpenAI · 1.05MCheapest: $0.1 on OpenAI (flex) | $0.1 | $0.5 | $0.1 / $0.5 | $0.2 | 1.05M | $0.1 on OpenAI (flex) | · |
OpenAI · 1.05MCheapest: $0.1 on OpenAI (flex) | $0.1 | $0.5 | $0.1 / $0.5 | $0.2 | 1.05M | $0.1 on OpenAI (flex) | · |
Qwen (Alibaba) · 1M | $0.15 | $0.47 | $0.15 / $0.47 | $0.23 | 1M | Lab list price | · |
About Llama Guard 4 12B
Llama Guard 4 is a Llama 4 Scout-derived multimodal pretrained model, fine-tuned for content safety classification.
Takes image, text in and returns text. First listed Sep 23, 2026. Up to 16K output tokens. Blended price $0.18 per 1M tokens at 3 input to 1 output. Model id llama-guard-4-12b.
Price history
No list-price history: this model is sold by hosts rather than its lab.
Questions
How much does Llama Guard 4 12B cost?
$0.18 per million input tokens and $0.18 per million output tokens.
What is the context window of Llama Guard 4 12B?
164K tokens, with up to 16K tokens of output.
Sources: OpenRouter's public model catalog and each provider's own pricing page, read every morning at 05:00 UTC; gateway fees re-read every Monday. List prices: your contract may differ. Logos via logo.dev; trademarks belong to their owners.