LLM Reference

Llama Guard 2 8B

Released
2024-04-18
Last refreshed
2026-05-02
Status
Researched 154d ago
Open SourceClassification

Llama Guard 2 8B is worth evaluating for classification when its provider route and context window match the workload.

Use it for

  • Teams evaluating classification
  • Workloads that can use a 8k context window
  • Buyers comparing 3 tracked provider routes

Do not use it for

  • Vision or document-understanding workloads
  • Strict JSON or tool-calling flows
Specifications
Released
2024-04-18
Context
8k
Parameters
8B
Architecture
Decoder Only
Knowledge cutoff
2023-03
Specialization
safety
Training
finetuned
Created by

Large-scale open-source AI for social technologies.

Menlo Park, California, United States
Founded 2013
Website
Pricing
Output / 1M
$0.150
Input / 1M
$0.150

Cheapest of 3 routes · OctoAI API (Deprecated)

About

Llama Guard 2 is an 8B-parameter LLM built on the Llama 3 architecture, specifically designed for content moderation tasks. Released by Meta on April 18, 2024, it excels in classifying both inputs and outputs of LLMs across 11 safety categories. The model generates text outputs indicating whether content is safe or unsafe, providing detailed feedback on violations. It aims to enhance user experience by minimizing false positives while maintaining high accuracy in content moderation, supporting developers in creating safer AI applications .

Llama Guard 2 8B is an open-source model in the Llama Guard family. The structured metadata tracks a 8k-token context window. This page tracks provider routes through Fireworks AI, OctoAI API (Deprecated), and Replicate API, with the cheapest tracked route listed at $0.05 input and $0.25 output per 1M tokens. No headline benchmark score is tracked for Llama Guard 2 8B yet.

Top use-case fit

Classification

Included by capability and metadata signals in the decision map.

Provider price ladder

Compare all 3

Compare API pricing across 3 providers for input and output tokens, batch, and cached reads when available.

ProviderInput / 1MOutput / 1MRoute
OctoAI API (Deprecated)$0.150$0.150
Serverless
Fireworks AI$0.200$0.200
Provisioned
Replicate API$0.050$0.250
Serverless

Capabilities

No model capability flags are currently sourced.

Benchmark peer barsfor Classification

No task-mapped benchmark peers are available for this model yet.

Migration checks

No linked migration route is available for this model yet.

Rankings & picks(6)

Comparison and alternatives

Browse all comparisons →
Show all 34 popular comparisonssorted by 7-day search impressions