Meta

Llama Guard 4 12B API pricing

Made by Meta

4 provider routes, checked 27 Nov 2026. For a sample chat workload, the cheapest is DeepInfra at $103.68 a month; the dearest costs $194.40, 1.9× as much.

Input from
$0.144
Output from
$0.144
Context up to
164K tokens
Batch rates
None listed

Every route, cheapest first

Prices per 1M tokens. Month is the sample workload: 300,000 requests, 2,000 tokens in and 400 out per request, half the input cached. Cache writes are not counted.

ProviderInputOutputCache readCache writeBatch in / outContextMonth
DeepInfrabf16 · OpenRouter$0.144$0.144———164K$103.68
DeepInfrabf16 · OpenRouter$0.18$0.18———164K$129.60
ReplicateLiteLLM$0.20$0.20————$144.00
DeepInfrabf16 · OpenRouter$0.27$0.27———164K$194.40

Other Llama models