API pricing per million tokens
llama-guard-4-12b Open weightsChecked 8h ago
- Input
- $0.18
- per 1M, DeepInfra (bf16)
- Output
- $0.18
- per 1M tokens
- Cached input
- n/a
- no batch tier listed
- Context
- 164K
- 16K max output
Where to buy it (1)
DeepInfrabf16, bf16$0.18 / $0.18$0.18 blended
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%
AWS Bedrock$21.60+0%
Azure AI Foundry$21.60+0%
Google Vertex AI$21.60+0%
Databricks Mosaic AI$21.60+0%
Hugging Face Inference$21.60+0%
Cloudflare AI Gateway$22.68+5%
Requesty$22.68+5%
Eden AI$22.79+5.5%
OpenRouter$22.79+5.5%
Snowflake Cortex AI$25.92+20%
Martian Gatewayn/a
Portkeyn/a
TrueFoundry AI Gatewayn/a
IBM watsonx.ain/a
OCI Generative AIn/a
BigQuery MLn/a
Cloudflare Workers AIn/a
NVIDIA NIMn/a
Related models
ModelInputOutputCachedContextReleased
Muse Spark 1.3Meta · 1M$1.25 / $4.25in / out per 1M$1.25$4.25$0.151MSep 2, 2026
Muse Spark 1.3 ContributorMeta · 1M$0.1 / $0.2in / out per 1M$0.1$0.2$0.0021MSep 2, 2026
Muse Spark 1.2 ContributorMeta · 1M$0.1 / $0.2in / out per 1M$0.1$0.2$0.0021MAug 21, 2026
Muse Glimmer 30BMeta · via Phala · 131K$0.3 / $1.1in / out per 1M$0.3$1.1$0.04131KAug 9, 2026
DeepSeek V4.1 FlashDeepSeek · 1M$0.15 / $0.6in / out per 1M$0.15$0.6$0.0031MSep 10, 2026
GPT-6 LunaOpenAI · 1.05M$0.1 / $0.5in / out per 1M$0.1$0.5$0.011.05MSep 22, 2026
GPT-6 Luna ProOpenAI · 1.05M$0.1 / $0.5in / out per 1M$0.1$0.5$0.011.05MSep 22, 2026
Qwen3.8 Omni FlashQwen (Alibaba) · 1M$0.15 / $0.47in / out per 1M$0.15$0.47$0.0161MSep 21, 2026
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. Blended price $0.18 per 1M tokens at 3 input to 1 output.
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.
List prices from providers' pages on the date shown; your contract may differ. Logos via logo.dev; trademarks belong to their owners.