M2
Economy

Meta: LlamaGuard 2 8B

by meta-llama

Meta: LlamaGuard 2 8B is an advanced 8-billion-parameter safeguard model, building upon the Llama 3 family architecture. Similar to its predecessor, LlamaGuard 1, this model excels at both prompt and response classification, ensuring content safety across various applications. Operating much like a standard Large Language Model (LLM), LlamaGuard 2 generates textual output indicating whether a given input or output is deemed safe or unsafe. Crucially, if content is classified as unsafe, the model further specifies the content categories that have been violated. For optimal performance, it is recommended to use raw prompt input or the `/completions` endpoint rather than the chat API. This model has demonstrated strong performance in human evaluations, rivaling leading closed-source alternatives. With a context window of 8K tokens and a max output of 4K tokens, LlamaGuard 2 offers efficient processing. It supports streaming capabilities and is available for free access on Multi AI, priced at $0.20 per 1M input tokens and $0.20 per 1M output tokens. Usage is subject to Meta's Acceptable Use Policy.

Content ModerationSafety AILlama 3Text ClassificationSafeguard Model
69%Quality
8KContext Window
74%Speed
Category
Economy
API access
Unified context
RAG + Knowledge Base
24/7 Support
Try This ModelCompare models

Best For

Content Moderation
Safety Filtering
Prompt Classification
Response Classification

🚀 Capabilities

Streaming

Limitations

No image generation

Specifications

Providermeta-llama
Context Window8,192 tokens
Max Output4,096 tokens
Minimum PlanEconomy

Pricing

Input Price$0.2000 / 1M tokens
Output Price$0.2000 / 1M tokens

💡 With PRO subscription, cost is reduced by 20%

Ready to try Meta: LlamaGuard 2 8B?

Get 1,000 tokens free on signup

Start for free