BroadRouter

Llama-Guard-4-12B API pricing

Updated

DeepInfra is the only provider we checked (prices read 2026-11-14) that lists a standard price for Llama-Guard-4-12B: USD 0.18 per 1M input tokens and USD 0.18 per 1M output tokens. Meta sells no API of its own for it. Each price is read from the provider's own pricing page.

Meta · slug llama-guard-4-12b · up to 163,840 tokens of context · 1 provider with a standard price. Every price is read from the provider's own pricing page and linked in its row, checked 2026-11-14. No aggregator feed. Download all prices (every provider and model, with sources, CSV or JSON). How it compares with the market: the LLM API price index. Archived list prices since 2025-06-03 (9 archived price points, 0 list-price changes): LLM API price history.

Does Meta sell Llama-Guard-4-12B directly?

No. Meta does not sell Llama models through an API of its own: llama.com now redirects to Meta's developer site, whose Model API lists only Meta's Muse models. Llama is available only from third-party hosts. Checked 2026-11-14.

Llama-Guard-4-12B price per provider

USD per 1M tokens. Standard prices are ranked on a blend of 3 input tokens to 1 output token, cheapest first. Free rows, the maker's serving version and other service tiers follow, tagged and unranked.

Llama-Guard-4-12B API prices by provider
#ProviderInputCached inputOutputBlended 3:1ContextPrecisionSource
1DeepInfra cheapest
meta-llama/Llama-Guard-4-12B
Notes and source quote
“$0.18 / 1M tokens”
USD 0.18not publishedUSD 0.18USD 0.18163,840BFLOAT16DeepInfra page
checked 2026-11-14
re-checked 2026-11-16
—DeepInfra flex / spot
meta-llama/Llama-Guard-4-12B
Notes and source quote

Flex service tier (0.8× standard).

“Flex (0.8×) $0.144 $0.144”
USD 0.144not publishedUSD 0.144USD 0.144163,840BFLOAT16DeepInfra page
checked 2026-11-14
re-checked 2026-11-16
—DeepInfra priority
meta-llama/Llama-Guard-4-12B
Notes and source quote

Priority service tier (1.5× standard).

“Priority (1.5×) $0.27 $0.27”
USD 0.27not publishedUSD 0.27USD 0.27163,840BFLOAT16DeepInfra page
checked 2026-11-14
re-checked 2026-11-16

Report a wrong price or number (email to info@broadnet.ai, with this page's link filled in).

What does Llama-Guard-4-12B cost for a real workload?

Monthly cost over 30 days at each standard price, using the presets of the LLM API cost calculator. Providers without a cached price bill cached input at the input price.

  • Support chatbot: 2,000 requests a day, 1,500 input tokens (60% cached), 300 output.
  • RAG over documents: 1,000 requests a day, 8,000 input tokens (30% cached), 500 output.
  • Coding agent (one developer): 1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning.
Monthly cost of three workloads on Llama-Guard-4-12B, by provider
ProviderSupport chatbotRAG over documentsCoding agent (one developer)
DeepInfraUSD 19.44USD 45.90USD 340.20

Estimate your own bill

The Meta models whose cheapest standard price is closest to Llama-Guard-4-12B's (USD 0.18 blended):

Meta models priced closest to Llama-Guard-4-12B
ModelCheapest inputCheapest outputMax contextProviders
Llama 3.2 11B Vision InstructUSD 0.16USD 0.16—3
Llama 3.3 70BUSD 0.10USD 0.32131,07214
Llama 4 Scout 17B 16E InstructUSD 0.10USD 0.301,048,5766
Llama 3.2 3B InstructUSD 0.0509USD 0.335128,0004
Llama 3 8B InstructUSD 0.0925USD 0.0958,1923
Llama 4 Maverick 17B 128E Instruct FP8USD 0.25USD 0.801,048,5767

Priced closest from other makers: Qwen3.8 Flash (Qwen, USD 0.1803) · Gemini 2.5 Flash-Lite (Google, USD 0.175) · MiMo v2.5 (Xiaomi, USD 0.175).

All 429 models: API prices compared · Cheapest LLM APIs right now · LLM API price index (open data) · Download all prices (CSV, JSON) · Price change log

Questions

How much does the Llama-Guard-4-12B API cost per token?

From USD 0.18 per 1M input tokens (USD 0.00000018 per token) and USD 0.18 per 1M output tokens (USD 0.00000018 per token) at the lowest standard prices we found. Each price was read from the provider's own pricing page; the source is linked in its row.

Which provider is cheapest for Llama-Guard-4-12B?

DeepInfra is the only provider we checked (prices read 2026-11-14) with a paid standard price, USD 0.18 input and USD 0.18 output per 1M tokens, so there is nothing to rank yet.

Does Meta sell Llama-Guard-4-12B on its own API?

Meta does not sell Llama models through an API of its own: llama.com now redirects to Meta's developer site, whose Model API lists only Meta's Muse models. Llama is available only from third-party hosts. The lowest-priced host we checked is DeepInfra at USD 0.18 / USD 0.18 per 1M tokens.

Does Llama-Guard-4-12B have cached input pricing?

The only standard price has no cached-input price, so budget repeated prompts at the full input price.

What is the Llama-Guard-4-12B context window?

163,840 tokens on every provider that states it.

How much does a coding agent cost per month on Llama-Guard-4-12B?

For 1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning, over 30 days: USD 340.20 a month at DeepInfra. Most of the input is cached, so the cache price matters as much as the input price. Try your own numbers.

Is there a batch, flex or priority price for Llama-Guard-4-12B?

Yes: flex / spot from DeepInfra at USD 0.144 / USD 0.144; priority from DeepInfra at USD 0.27 / USD 0.27 per 1M input / output tokens. These tiers trade speed or availability for price (batch runs within hours, flex and spot can be slow or refused at capacity, priority and fast cost more for speed or reliability), so they are shown but not ranked.

Is Llama-Guard-4-12B free to use through an API?

No provider in our data lists a free price for Llama-Guard-4-12B as of 2026-11-14. Free tiers and credits by provider (checked 2026-11-14) lists general offers that do not name a model; all free LLM API models are on one page.

Read as MarkdownAsk ChatGPTAsk ClaudeAsk Perplexity