Llama Guard 3 8B
by Meta · Jul 23, 2024
Llama Guard 3 8B is an open-weight chat llm from Meta, released Jul 23, 2024. It has 8B parameters and a 128K-token context window. API pricing starts at $0.055 per million input tokens and $0.055 per million output tokens. It is available from 2 API providers.
- Provider
- Meta
- Released
- Jul 23, 2024
- Type
- Chat LLM
- Parameters
- 8B
- Context window
- 131,072 tokens
- Max output
- 131,072 tokens
- Input
- text
- Output
- text
- Weights
- Open weights
- License
- llama3.1
- Knowledge cutoff
- Dec 2023
- Status
- Available via API
- HF downloads (30d)
- 75.1K
About Llama Guard 3 8B
Safety model for policy screening, moderation, and risk-aware routing workflows
Where to run Llama Guard 3 8B — API providers & pricing
| Provider | Input $/1M | Output $/1M | Cached input | Context |
|---|---|---|---|---|
| Cloudflare Workers AI | $0.484 | $0.03 | — | 128K |
| Eden AI | $0.055 | $0.055 | — | 128K |
Open weights: you can also run Llama Guard 3 8B locally with Ollama, LM Studio, llama.cpp or vLLM, from Hugging Face.
Llama Guard 3 8B vs alternatives
- Llama Guard 3 8B vs Gemma 7B
- Llama Guard 3 8B vs Gemma 2 9B
- Llama Guard 3 8B vs Yi-9B
- Llama Guard 3 8B vs Qwen/Qwen2.5-7B-Instruct
- Llama Guard 3 8B vs Qwen2.5-7B
- Llama Guard 3 8B vs Hermes-3-Llama-3.1-8B
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| Gemma 7Bopen | Google DeepMind | Feb 2024 | 8.5B | — | — | — | 103.2 |
| Gemma 2 9Bopen | Google DeepMind | Jun 2024 | 9.2B | — | — | — | 112.4 |
| Yi-9Bopen | 01.AI | Mar 2024 | 8.8B | — | — | — | 102.2 |
| Qwen/Qwen2.5-7B-Instructopen | Alibaba (Qwen) | Sep 2024 | 7.6B | 33K | $0.05 | $0.05 | — |
| Qwen2.5-7Bopen | Alibaba (Qwen) | Sep 2024 | 7.6B | — | — | — | — |
| Hermes-3-Llama-3.1-8Bopen | Nous Research | Jul 2024 | 8B | — | — | — | — |
| Meta-Llama-3-8B-Instructopen | Nous Research | Apr 2024 | 8B | — | — | — | — |
| DeepSeek-VL-7Bopen | DeepSeek | Mar 2024 | 7.3B | — | — | — | — |
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 3 8B?
Llama Guard 3 8B was developed by Meta (United States). It was released on Jul 23, 2024.
What is the context window of Llama Guard 3 8B?
Llama Guard 3 8B supports a context window of 131,072 tokens (128K) and can generate up to 131,072 output tokens per response.
How much does Llama Guard 3 8B cost?
Llama Guard 3 8B costs $0.055 per 1M input tokens and $0.055 per 1M output tokens. Prices vary across the 2 providers that serve it.
Is Llama Guard 3 8B open source?
Yes. Llama Guard 3 8B's weights are publicly available under the llama3.1 license on Hugging Face (meta-llama/Llama-Guard-3-8B), so you can download and run it yourself.
How many parameters does Llama Guard 3 8B have?
Llama Guard 3 8B has 8B parameters.
Where can I use Llama Guard 3 8B?
Llama Guard 3 8B is available via 2 API providers, and you can also self-host it with tools like vLLM, Ollama or LM Studio.
Sources: huggingface, models.dev · huggingface. Last updated 2026-11-22.