Llama Guard 3 8B

Text input Text output
Author's Description

Llama Guard 3 is a Llama-3.1-8B pretrained model, fine-tuned for content safety classification. Similar to previous versions, it can be used to classify content in both LLM inputs (prompt classification)...

Key Specifications
Cost
$$
Context
131K
Parameters
8B
Released
Feb 12, 2025
Speed
Ability
Reliability
Supported Parameters

This model supports the following parameters:

Max Tokens
Performance Summary

Llama Guard 3 8B, a Llama-3.1-8B model fine-tuned for content safety classification, demonstrates exceptional performance in terms of speed and cost efficiency. It consistently ranks among the fastest models and offers among the most competitive pricing across all evaluated benchmarks. However, its performance on general knowledge, ethics, mathematics, email classification, instruction following, and coding benchmarks is notably low, with accuracy scores ranging from 0.0% to 5.3%. This indicates that while Llama Guard 3 excels in its specialized function of content safety classification (as implied by its description and purpose), it is not designed for or capable of general-purpose reasoning, problem-solving, or knowledge-based tasks. Its strengths lie purely in its intended application of content moderation, particularly in supporting Llama 3.1 capabilities, multi-language support, and safety for search and code interpreter tool calls. Its low accuracy across diverse academic and practical benchmarks highlights its highly specialized nature.

Model Pricing

Current Pricing

Feature Price (per 1M tokens)
Prompt $0.02
Completion $0.06

Price History

Available Endpoints
Provider Endpoint Name Context Length Pricing (Input) Pricing (Output)
Nebius
Nebius | meta-llama/llama-guard-3-8b 131K $0.02 / 1M tokens $0.06 / 1M tokens
DeepInfra
DeepInfra | meta-llama/llama-guard-3-8b 131K $0.02 / 1M tokens $0.06 / 1M tokens
Fireworks
Fireworks | meta-llama/llama-guard-3-8b 131K $0.02 / 1M tokens $0.06 / 1M tokens
Together
Together | meta-llama/llama-guard-3-8b 8K $0.02 / 1M tokens $0.06 / 1M tokens
Groq
Groq | meta-llama/llama-guard-3-8b 8K $0.02 / 1M tokens $0.06 / 1M tokens
SambaNova
SambaNova | meta-llama/llama-guard-3-8b 16K $0.02 / 1M tokens $0.06 / 1M tokens
Cloudflare
Cloudflare | meta-llama/llama-guard-3-8b 131K $0.48 / 1M tokens $0.03 / 1M tokens
Benchmark Results
Benchmark Category Reasoning Strategy Free Executions Accuracy Cost Duration
Other Models by meta-llama