# Llama-Guard-3-8B Usage, Cost & Rank | OpenCode Data

Llama 3.1-based safety classifier for moderating prompts and model responses

- Page: https://opencode.ai/data/meta/llama-guard-3-8b
- JSON: https://opencode.ai/data/meta/llama-guard-3-8b.json
- Model ID: meta/llama-guard-3-8b
- Lab: Meta

## Model facts

| Fact | Value |
| --- | --- |
| Context window | 128K |
| Max output | 4.1K |
| Knowledge cutoff | 2023-12 |
| Release date | 2024-07-23 |
| Input modalities | text |
| Output modalities | text |
| Reasoning | No |
| Tool calling | No |
| Open weights | Yes |
| Weights | [Hugging Face](https://huggingface.co/meta-llama/Llama-Guard-3-8B) |

## Methodology

- Updates: Aggregated every hour. Days and weeks use UTC.
- Tokens: Input, output, reasoning, and cached tokens for each request.
- Users and sessions: Approximate counts of distinct users and OpenCode sessions.
- Cost: Session cost is the average cost per OpenCode session. Token prices are list prices from the OpenCode model catalog.
- Retention: The share of a model's users in one week who use it again the next week.
- Citation: Cite OpenCode Data (opencode.ai/data) with the update time shown at the top of the page.
