Meta logo

LlamaGuard 2 8B: Pricing, Context Window & Benchmarks

8B

by Meta

This safeguard model has 8B parameters and is based on the Llama 3 family. Just like is predecessor, [LlamaGuard 1](https://huggingface.co/meta-llama/LlamaGuard-7b), it can do both prompt and response classification. LlamaGuard 2 acts as a normal LLM would, generating text that indicates whether the given input/output is safe/unsafe. If deemed unsafe, it will also share the content categories violated. For best results, please use raw prompt input or the `/completions` endpoint, instead of the chat API. It has demonstrated strong performance compared to leading closed-source models in human evaluations. To read more about the model release, [click here](https://ai.meta.com/blog/meta-llama-3/). Usage of this model is subject to [Meta's Acceptable Use Policy](https://llama.meta.com/llama3/use-policy/).

Chat with LlamaGuard 2 8B
Input Price
$0.20/1M tokens
Output Price
$0.20/1M tokens
Context Window
8,192 tokens
Modalities
text

What you can do with LlamaGuard 2 8B

Everyday Q&A and clear explanations

Writing help (emails, posts, summaries)

Idea generation and brainstorming

Learning support with step-by-step guidance

Benchmarks not available

This model isn't listed on Artificial Analysis yet. Showing OpenRouter specs below.

Metric Value
Provider Meta
Context Window 8,192 tokens
Input Price $0.20/1M tokens
Output Price $0.20/1M tokens
Release Date May 13, 2024
Modalities text
Capabilities N/A

Compare LlamaGuard 2 8B to other models

See how it stacks up on price, quality, and overall performance.

Frequently asked questions

What is LlamaGuard 2 8B good for?

Use LlamaGuard 2 8B for everyday tasks like writing, summarizing, brainstorming, and getting clear explanations.

How much does LlamaGuard 2 8B cost?

Pricing is based on usage. Current rates are $0.20/1M tokens for input and $0.20/1M tokens for output.

Can I try LlamaGuard 2 8B for free?

Yes. You can start a chat instantly and test the model before deciding on a plan.

Does LlamaGuard 2 8B support images or audio?

LlamaGuard 2 8B focuses on text-based tasks.

Pricing, context, and capability data are sourced from OpenRouter.