Llama Guard 4 12B pricing and routing

Llama Guard 4 12B from Meta lists at $0.18 per million input tokens and $0.18 per million output tokens, with a 163,840-token context window. Prices from OpenRouter's catalogue on 2026-09-28.

Input, per 1M tokens$0.18
Output, per 1M tokens$0.18
Context window164K
Confidence signalnot exposed

Cost

Cost per 1,000 requests

Llama Guard 4 12B cost per 1,000 requests
Request shapeList cost
Classification or routing (600 tokens in, 10 out)$0.11
Chat reply (2,000 in, 400 out)$0.432
Retrieval-augmented answer (8,000 in, 500 out)$1.53

Before prompt caching. Try your own numbers in the cost calculator.

Routing

Can a cheaper model answer before it?

Not through OpenRouter: no host there reports how sure Llama Guard 4 12B is of each word. It can still be the model Gimbix hands unsure requests to.

Alternatives

Cheaper models that can answer first

Models priced below Llama Guard 4 12B that expose a confidence signal. Whether they answer your traffic as well is what a Gimbix pilot measures.

Cost per 1,000 chat replies, to scale
Llama Guard 4 12B$0.432

Similar price

Models that cost about the same

Cost per 1,000 chat replies, to scale
Llama Guard 4 12B$0.432
Qwen3 8B$0.416
Hy3$0.475

Questions

Questions about Llama Guard 4 12B

How much does Llama Guard 4 12B cost?

Llama Guard 4 12B lists at $0.18 per million input tokens and $0.18 per million output tokens on OpenRouter as of 2026-09-28. A typical chat reply of 2,000 input and 400 output tokens costs about $0.432 per 1,000 requests.

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

163,840 tokens.

Can a cheaper model replace Llama Guard 4 12B?

Sometimes. Gimbix checks on your own traffic before routing. First, on one set of your requests, the cheaper route must get at least as many right as the model you use today. Then comes a second set it has never seen. There it may get at most 3 wrong that your model got right, and at most 1 more wrong than it fixes.

See whether a cheaper model can carry your Llama Guard 4 12B traffic

A pilot answers that on your own requests, with a receipt for every saving.

Request an AI cost review