Llama Guard 4 12B: API pricing, providers and specs
Llama Guard 4 12B is a moderation model by Meta. 6 providers serve it, from $0.18 to $0.21 /1M; the lowest price is at Hugging Face.
How Llama Guard 4 12B compares
Against the 10 moderation models on the site priced the same way.
- Mid-priced: its lowest price is $0.18 /1M against a median of $0.18; 45% of comparable models cost less.
- 6 providers serve it; 91% of comparable models have fewer.
- Its weights are open under the llama4 license: commercial use under the maker's terms.
Llama Guard 4 12B prices by provider
Every provider's list price, read from its own price page or API. A price marked “from” changes with context length, resolution or mode.
| Provider | Input | Output | Prompt caching | Context |
|---|---|---|---|---|
| Free/1M | Free/1M | — | — | |
| $0.18/1M | From$0.18/1M | — | — | |
| $0.18/1M | From$0.18/1M | — | — | |
| OpenRouter | $0.18/1M | From$0.18/1M | — | 164K |
| Replicate | $0.20/1M | $0.20/1M | — | — |
| $0.21/1M | From$0.21/1M | — | — |
- Hugging FaceFrom$0.18
- Deep InfraFrom$0.18
- OpenRouterFrom$0.18
- Replicate$0.20
- HeliconeFrom$0.21
Specs
- Type
- Moderation
- Maker
- Meta
- Inputs
- Text, Image
- Outputs
- Text
- Context
- 164K≈ 250 pages of text
- Max output
- 16K
- Capabilities
- Vision
- Released
- Apr 23, 2025
- License
- llama4commercial use under the maker's terms
- Open weights
- Yes, downloadable
- Parameters
- 12B
Alternatives to Llama Guard 4 12B
Same kind of model from other makers, at a similar price.
| Model | Lowest price | Context | Arena | Providers |
|---|---|---|---|---|
| $0.18/1M | 164K | — | 6 | |
| $0.20/1M | 131K | — | 3 | |
| $0.20/1M | — | — | 1 | |
| GPT OSS Safeguard 20B | $0.20/1M | 131K | — | 5 |
| OpenAI omni-moderation | $0.16/1M | — | — | 4 |
| OpenAI text-moderation (legacy) | $0.16/1M | — | — | 1 |
More from Meta
Llama Guard 4 12B FAQ
The lowest price for Llama Guard 4 12B is $0.18 /1M, at Hugging Face.
Hugging Face, at $0.18 /1M. 6 providers serve Llama Guard 4 12B; the table above lists every one with its price.
Llama Guard 4 12B reads up to 164K tokens per request and writes up to 16K.
Yes. Llama Guard 4 12B's weights can be downloaded from its maker's Hugging Face page, under the llama4 license.
About 12B, as the safetensors metadata of its official Hugging Face repo states.
6 API providers serve Llama Guard 4 12B. Compare their prices above, or open a provider to see everything it offers.
Can't find what you're looking for? Contact us