Llama Guard 7B
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
- Family
- Llama Guard
- Released
- 2023-12-07
- Context
- 2k
- Parameters
- 7B
- Architecture
- Decoder Only
- Knowledge cutoff
- 2022-09
- Specialization
- safety
- Training
- finetuned
Large-scale open-source AI for social technologies.
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. This makes it an invaluable tool for AI engineers focused on deploying safe and responsible AI systems. For more information, visit the model's page on Hugging Face .
Llama Guard 7B is an open-source model in the Llama Guard family. The structured metadata tracks a 2k-token context window and structured outputs. This page tracks provider routes through Together AI and Fireworks AI, with the cheapest tracked route listed at $0.2 input and $0.2 output per 1M tokens. No headline benchmark score is tracked for Llama Guard 7B yet.
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 2Compare API pricing across 2 providers for input and output tokens, batch, and cached reads when available.
| Provider | Input / 1M | Output / 1M | Route |
|---|---|---|---|
| Fireworks AI | $0.200 | $0.200 | Provisioned |
| Together AI | $0.200 | $0.200 | Serverless |
Capabilities
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.