All Models

Llama-Guard-3-8B

Open Weights Structured Output

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) and in LLM responses (response classification). It acts as an LLM – it generates text in its output that indicates whether a given prompt or response is safe or unsafe, and if unsafe, it also lists the content categories violated. Llama Guard 3 was aligned to safeguard against the MLCommons standardized hazards taxonomy and designed to support Llama 3.1 capabilities. Specifically, it provides content moderation in 8 languages, and was optimized to support safety and security for search and code interpreter tool calls.

Providers 5
Released Apr 18, 2024
Input Modalities text
Output Modalities text

Available Providers (5)

Provider Model ID Input Cost Output Cost Context Max Output Docs
Nebius Token Factory meta-llama/Llama-Guard-3-8B $0.02/MTok $0.06/MTok 8.2K 1.0K
Kilo Gateway meta-llama/llama-guard-3-8b $0.02/MTok $0.06/MTok 131.1K 26.2K
Groq llama-guard-3-8b $0.20/MTok $0.20/MTok 8.2K 8.2K
Cloudflare AI Gateway workers-ai/@cf/meta/llama-guard-3-8b $0.48/MTok $0.03/MTok 128K 16.4K
Cloudflare Workers AI @cf/meta/llama-guard-3-8b $0.48/MTok $0.03/MTok 128K 16.4K

Capabilities

Reasoning
Tool Calling
Attachments
Open Weights
Structured Output