Multimodal Llama 4-based safety classifier for moderating prompts and responsesLlama Guard 4 12B by meta is offered by 6 providers on this page. Public prices are shown for 5 of them. No official API price is listed for it; the prices below come from third-party channels. The lowest paid channel is Kilo Gateway at $0.144 / $0.144 per 1M. That channel is a third-party gateway, so confirm its availability and rate limits before depending on it. Prices vary about 1.3× across the providers that host it. It also has 1 free ($0) channel; free tiers usually carry rate limits, and subscription-covered access bills $0 per token only after the subscription fee.
The context window is 163,840 tokens, with an output limit of 163,840 tokens. Accepted input modalities are Text and Image. The weights are open, so it can also be self-hosted or served through a gateway of your choice.
| Provider | Tier | Input | Output | Cache read | Cache write | Context | Output limit | Status |
|---|---|---|---|---|---|---|---|---|
| Nvidia | Cloud | Free | — | — | 163,840 | 16,384 | ||
| Kilo Gateway | Gateway | $0.14 | $0.14 | — | — | 163,840 | 16,384 | |
| OpenRouter | Gateway | $0.18 | $0.18 | — | — | 163,840 | 16,384 | |
| Eden AI deepinfra/meta-llama/Llama-Guard-4-12B | Gateway | $0.18 | $0.18 | — | — | 163,840 | 163,840 | |
| Hugging Face meta-llama/Llama-Guard-4-12B | Cloud | $0.18 | $0.18 | — | — | 163,840 | 163,840 | |
| Deep Infra meta-llama/Llama-Guard-4-12B | Cloud | $0.18 | $0.18 | — | — | 163,840 | 163,840 |
Sorted by blended price (input×0.75 + output×0.25) asc. The official channel always shows regardless of rank. Whether a gateway's low price is actually usable can't be verified.
1 more channels offer $0 (Nvidia); free tiers usually have rate limits and no SLA, excluded from ranking.