Enter opens the highlighted result. Esc closes.

Llama Guard 4 12B API pricing

As of October 22, 2026, Meta Llama Guard 4 12B costs $0.18 per million input tokens and $0.18 per million output tokens, the median of 1 providers on OpenRouter.

Llama Guard 4 12B benchmarks and specs · Every Meta Llama model's price

  • Input, per million tokens$0.18
  • Output, per million tokens$0.18
  • Cached input, per millionNo cache price listed
  • Context window164K tokens
  • Max output16K tokens
  • Output speedNot measured

What a request costs

Three fixed token mixes at the list price, without cache or batch discounts. For a whole month, use the calculator.

Cost of three workloads on Llama Guard 4 12B
WorkloadTokensOne request1,000 requestsFits the context window
Chat turn 1K input + 500 output tokens $0.0003 $0.270 Yes
Repository review 50K input + 3K output tokens $0.0095 $9.54 Yes
Agent loop 200K input + 10K output tokens $0.038 $37.80 No, it would need splitting
Solved coding task One SWE-bench Verified attempt, divided by the share that succeed Not computable Not computable

Price history

The price of Llama Guard 4 12B here is the median across 1 providers on OpenRouter, so we do not track price changes for it.

Cheaper models as good as Llama Guard 4 12B

Llama Guard 4 12B has no overall or coding score, so we make no quality claim against it.

Llama Guard 4 12B pricing questions

How much does Llama Guard 4 12B cost per million tokens?
$0.18 per million input tokens and $0.18 per million output tokens, as listed on OpenRouter on October 22, 2026.
Does Llama Guard 4 12B support prompt caching?
OpenRouter lists no cached input price for this model, so assume every input token is billed at the full rate.
Has the price of Llama Guard 4 12B changed?
The price of Llama Guard 4 12B here is the median across 1 providers on OpenRouter, so we do not track price changes for it.