Llama Guard 4 12B
by Meta · Apr 29, 2025
Llama Guard 4 12B is an open-weight chat llm from Meta, released Apr 29, 2025. It has 12B parameters, a 160K-token context window and accepts text, image input. API pricing starts at $0.18 per million input tokens and $0.18 per million output tokens. It is available from 6 API providers.
- Provider
- Meta
- Released
- Apr 29, 2025
- Type
- Chat LLM
- Parameters
- 12B
- Context window
- 163,840 tokens
- Max output
- 16,384 tokens
- Input
- text, image
- Output
- text
- Weights
- Open weights
- License
- other
- Knowledge cutoff
- —
- Status
- Available via API
- HF downloads (30d)
- 194.5K
About Llama Guard 4 12B
Llama Guard 4 is a Llama 4 Scout-derived multimodal pretrained model, fine-tuned for content safety classification. Similar to previous versions, it can be used to classify content in both LLM...
Where to run Llama Guard 4 12B — API providers & pricing
| Provider | Input $/1M | Output $/1M | Cached input | Context |
|---|---|---|---|---|
| Nvidia | Free | Free | — | 160K |
| OpenRouter | $0.18 | $0.18 | — | 160K |
| Hugging Face | $0.18 | $0.18 | — | 160K |
| Deep Infra | $0.18 | $0.18 | — | 160K |
| Kilo Gateway | $0.144 | $0.144 | — | 160K |
| Eden AI | $0.18 | $0.18 | — | 160K |
Open weights: you can also run Llama Guard 4 12B locally with Ollama, LM Studio, llama.cpp or vLLM, from Hugging Face.
Llama Guard 4 12B vs alternatives
- Llama Guard 4 12B vs gemma-3-12b-pt
- Llama Guard 4 12B vs DeepSeek V3 0324
- Llama Guard 4 12B vs granitelib-core-r1.0
- Llama Guard 4 12B vs Hermes-4-14B
- Llama Guard 4 12B vs NVIDIA-Nemotron-Nano-12B-v2-Base
- Llama Guard 4 12B vs Qwen2.5-14B-Instruct-1M
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| gemma-3-12b-ptopen | Google DeepMind | Mar 2025 | 12B | — | — | — | — |
| DeepSeek V3 0324open | DeepSeek | Mar 2025 | — | 160K | $0.2 | $0.8 | — |
| granitelib-core-r1.0open | IBM | Dec 2025 | — | — | — | — | — |
| Hermes-4-14Bopen | Nous Research | Aug 2025 | — | — | — | — | — |
| NVIDIA-Nemotron-Nano-12B-v2-Baseopen | NVIDIA | Aug 2025 | 12B | — | — | — | — |
| Qwen2.5-14B-Instruct-1Mopen | Alibaba (Qwen) | Jan 2025 | 15B | — | — | — | — |
| Qwen3-14B-Baseopen | Alibaba (Qwen) | Apr 2025 | 15B | — | — | — | — |
| RealVideoopen | Zhipu AI (Z.ai) | Dec 2025 | — | — | — | — | — |
More models from Meta
All Meta models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| Muse Spark 1.3 Contributor | Sep 2026 | — | 1M | $0.1 | $0.2 |
| Llama-3.3-70B-Instructopen | Dec 2024 | 71B | 128K | $0.71 | $0.71 |
| Muse Spark Openopen | Oct 2026 | 816B | 1M | $1.25 | $4.25 |
| Muse Spark 1.2 | Aug 2026 | — | 1M | $0.1 | $0.2 |
| Muse Wonder | Oct 2026 | — | 1M | $4 | $20 |
| Muse Spark 1.1 | Apr 2026 | — | 1M | $1.25 | $4.25 |
| Llama 4 Maverickopen | Apr 2025 | 402B | 512K | $0.35 | $1 |
| Llama 4 Scoutopen | Apr 2025 | 109B | 320K | $0.1 | $0.3 |
Frequently asked questions
Who made Llama Guard 4 12B?
Llama Guard 4 12B was developed by Meta (United States). It was released on Apr 29, 2025.
What is the context window of Llama Guard 4 12B?
Llama Guard 4 12B supports a context window of 163,840 tokens (160K) and can generate up to 16,384 output tokens per response.
How much does Llama Guard 4 12B cost?
Llama Guard 4 12B costs $0.18 per 1M input tokens and $0.18 per 1M output tokens. Prices vary across the 6 providers that serve it.
Is Llama Guard 4 12B open source?
Yes. Llama Guard 4 12B's weights are publicly available under the other license on Hugging Face (meta-llama/Llama-Guard-4-12B), so you can download and run it yourself.
How many parameters does Llama Guard 4 12B have?
Llama Guard 4 12B has 12B parameters.
Where can I use Llama Guard 4 12B?
Llama Guard 4 12B is available via 6 API providers, and you can also self-host it with tools like vLLM, Ollama or LM Studio.
Sources: huggingface, models.dev, openrouter · huggingface · openrouter. Last updated 2026-11-22.