LLM Reference

Llama Guard 2 8B

Released
2024-04-18
Last refreshed
2026-07-11
Status
Researched 198d ago
Open weightsCommercial use: conditionalClassification

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 2 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
Openness
Open weights
License
Llama 2 CommunityCommercial use: conditional
Weights
Available
Code
Unknown
Training
Fine-tuned
Created by

Large-scale open-source AI for social technologies.

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

Cheapest of 3 routes · Fireworks AI

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-weight 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 2 providers for input and output tokens, batch, and cached reads when available.

ProviderInput / 1MOutput / 1MRoute
Fireworks AI$0.200$0.200
Provisioned
Replicate API$0.050$0.250
Serverless

Available via routers & gateways(1)

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.

Compare Llama Guard 2 8B with other models

Show all 34 popular comparisonssorted by 7-day search impressions

Frequently asked questions

What is the context window of Llama Guard 2 8B?

Llama Guard 2 8B has a context window of 8k tokens.

How much does Llama Guard 2 8B cost?

Llama Guard 2 8B pricing ranges from $0.05/1M to $0.20/1M input tokens depending on the provider.

When was Llama Guard 2 8B released?

Llama Guard 2 8B was released on 2024-04-18.

Which providers offer Llama Guard 2 8B?

Llama Guard 2 8B is available from 3 providers: Fireworks AI, OctoAI API (Deprecated), Replicate API.