LLM Reference

Llama Guard 7B

Released
2023-12-07
Last refreshed
2026-07-09
Status
Researched 136d ago
Open weightsCommercial use: conditionalClassificationJSON / Tool use

Llama Guard 7B is worth evaluating for classification and json / tool use when its provider route and context window match the workload.

Use it for

  • Teams evaluating classification and json / tool use
  • Workloads that can use a 2k context window
  • Buyers comparing 2 tracked provider routes

Do not use it for

  • Vision or document-understanding workloads
Specifications
Released
2023-12-07
Context
2k
Parameters
7B
Architecture
Decoder Only
Knowledge cutoff
2022-09
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 2 routes · Fireworks AI

About

Llama Guard 7B is a specialized content moderation model based on the Llama 2 architecture, designed to safeguard AI interactions. With 7 billion parameters, it excels in classifying and moderating both input prompts and output responses from large language models. The model employs a comprehensive risk taxonomy to identify various categories of harmful content, including violence, hate speech, and sexual content. Trained on diverse datasets, including prompts from the Anthropic dataset and in-house generated responses, Llama Guard 7B has demonstrated superior performance compared to industry-standard content moderation APIs.

Top use-case fit

Classification

Included by capability and metadata signals in the decision map.

JSON / Tool use

Included by capability and metadata signals in the decision map.

Provider price ladder

Compare all 2

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
Together AI$0.200$0.200
Serverless

Available via routers & gateways(1)

Capabilities

Structured Outputs

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 7B with other models

Show all 35 popular comparisonssorted by 7-day search impressions