LlamaGuard 2 8B Check detailed information and pricing for AI models

Context Length 8,192 tokens, meta-llama from provided

8,192
Context Tokens
$0.20
Prompt Price
$0.20
Output Price
6/16
Feature Support

Model Overview

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/).

Basic Information

Developer
meta-llama
Model Series
Llama3
Release Date
2024-05-13
Context Length
8,192 tokens
Variant
standard

Pricing Information

Prompt Tokens
$0.20 / 1M tokens
Completion Tokens
$0.20 / 1M tokens

Supported Features

Supported (6)

Top K
Frequency Penalty
Presence Penalty
Repetition Penalty
Min P
Logit Bias

Unsupported (10)

Image Input
Seed
Response Format
Tool Usage
Logprobs
Top Logprobs
Structured Outputs
Reasoning
Web Search Options
Top A

Actual Usage Statistics

#312
Out of 353 total models
20.95M
Total Tokens Last 30 Days
698.35K
Daily Average Usage
33%
Weekly Usage Change

Usage Trend for the Last 30 Days

Models by Same Author (meta-llama)

Llama 3.3 8B Instruct (free)
128,000 tokens
Free
Llama 3.3 8B Instruct
128,000 tokens
$0.00 / $0.00
Llama Guard 4 12B
163,840 tokens
$0.18 / $0.18
Llama 4 Maverick (free)
128,000 tokens
Free
Llama 4 Maverick
1,048,576 tokens
$0.15 / $0.60

Similar Price Range Models

Aion-RP 1.0 (8B)
aion-labs
32,768 tokens
$0.20 / $0.20
QwQ 32B Preview
qwen
32,768 tokens
$0.20 / $0.20
Qwen2.5-VL 7B Instruct
qwen
32,768 tokens
$0.20 / $0.20
Spotlight
arcee-ai
131,072 tokens
$0.18 / $0.18
Llama Guard 4 12B
meta-llama
163,840 tokens
$0.18 / $0.18