Skip to content
llmmodels
Chat LLMOpen weights

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

ProviderInput $/1MOutput $/1MCached inputContext
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

Alternatives to Llama Guard 3 8B
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
Gemma 7BopenGoogle DeepMindFeb 20248.5B———103.2
Gemma 2 9BopenGoogle DeepMindJun 20249.2B———112.4
Yi-9Bopen01.AIMar 20248.8B———102.2
Qwen/Qwen2.5-7B-InstructopenAlibaba (Qwen)Sep 20247.6B33K$0.05$0.05—
Qwen2.5-7BopenAlibaba (Qwen)Sep 20247.6B————
Hermes-3-Llama-3.1-8BopenNous ResearchJul 20248B————
Meta-Llama-3-8B-InstructopenNous ResearchApr 20248B————
DeepSeek-VL-7BopenDeepSeekMar 20247.3B————

More models from Meta

All Meta models →
ModelReleasedParamsContextInput $/1MOutput $/1M
Muse Spark 1.3 ContributorSep 2026—1M$0.1$0.2
Llama-3.3-70B-InstructopenDec 202471B128K$0.71$0.71
Muse Spark OpenopenOct 2026816B1M$1.25$4.25
Muse Spark 1.2Aug 2026—1M$0.1$0.2
Muse WonderOct 2026—1M$4$20
Muse Spark 1.1Apr 2026—1M$1.25$4.25
Llama 4 MaverickopenApr 2025402B512K$0.35$1
Llama 4 ScoutopenApr 2025109B320K$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.