Context
164K
Max output
164K
Serving providers
2
Cheapest input
$0.18 /1M
Prices are on-demand list rates. Enterprise commitments (committed-use discounts, provisioned throughput, negotiated rates) can be materially lower.

Pricing by serving provider

standard tier · per 1M tokens · click a provider to expand

Input pricing runs from $0.18 to $0.20 per 1M tokens across 2 providers, so the dearest route costs 11% more than the cheapest for the same model.

Serving providerInput /1MOutput /1MEndpoints
DeepInfraCheapest$0.18$0.181
ComponentUnitStandardBatchCached
Text input/1M tok$0.1800
Text output/1M tok$0.1800
Groq$0.20$0.201

Price history

input + output $/1M since we started tracking
Input Output
$0.000$0.020$0.040$0.060Jul 30Aug 22Dec 16Jun 22$0.050$0.050

Cost calculator

estimate your monthly spend on this model
$50
estimated / month

Model IDs

copy the exact identifier for your platform
deepinfra/meta-llama/Llama-Guard-4-12Bgroq/meta-llama/llama-guard-4-12b

Frequently asked questions

Llama Guard 4 12B pricing, context and availability

How much does Llama Guard 4 12B cost?

Llama Guard 4 12B costs $0.18 per 1M input tokens and $0.18 per 1M output tokens at its cheapest provider via DeepInfra. Across 2 serving providers, input prices range from $0.18 to $0.20 per 1M tokens.

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

Llama Guard 4 12B accepts up to 164K tokens of context and can return up to 164K output tokens.

Which providers serve Llama Guard 4 12B?

Llama Guard 4 12B is available from 2 serving providers, each with its own pricing and model ID. DeepInfra is currently the cheapest.

Other Meta models

compare pricing across the Meta lineup
Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI