Available now
Meta

llama-guard-3-8b

Llama Guard 3 is a Llama-3.1-8B pretrained model, fine-tuned for content safety classification. Similar to previous versions, it can be used to classify content in both LLM inputs (prompt classification)...

TextOpen Weights8.2K
InputFree
OutputFree
Context8.2K
Endpointsopenai

Modalities

Input
text
Output
text

Quick stats

Context window8.2K
Max output131.1K
Modechat
TokenizerLlama3
Knowledge cutoff2023

Performance

Loading performance data...

Supported parameters

ParameterAlwaysDefault
frequency_penalty-
logit_bias-
max_tokens-
min_p-
presence_penalty-
repetition_penalty-
seed-
stop-
temperature-
top_k-
top_p-
§ 01

Pricing

Input price$0.00 · 1M tokens
Output price$0.00 · 1M tokens
Context window8.2K tokens
Compatible endpointsopenai
VendorMeta
§ 02

Call llama-guard-3-8b from your code

Point any OpenAI-compatible SDK at UnoRouter and request the model by name. Replace YOUR_API_KEY with a real key from your dashboard.

bash
curl https://api.unorouter.ai/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "llama-guard-3-8b",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Sign in to auto-fill your API key

§ 03

Frequently asked questions

How much does llama-guard-3-8b cost per 1M tokens?

Input is priced at $0.00 per 1M tokens, output at $0.00 per 1M tokens. Billing is per token, no rounding to batch sizes.

How do I access llama-guard-3-8b via API?

Send requests to the UnoRouter /v1/chat/completions endpoint with model=llama-guard-3-8b. Any OpenAI-compatible client library works. Authentication uses a standard Bearer token.

What is the context window of llama-guard-3-8b?

llama-guard-3-8b supports a context window of 8.2K tokens, shared between your prompt and the model's response.

§ 04

Similar models

Try llama-guard-3-8b now

Create an API key and start making requests in under a minute.

View all models