Input / output, USD per 1M tokens. Arrow keys move, Enter opens.

Llama-Guard-3-8B from Meta: $0.48 input and $0.03 output per 1M tokens, 128,000 context. Llama 3.1-based safety classifier for moderating prompts and model responses Data last refreshed Nov 30, 2026, 07:15 AM UTC.

Models / Meta / Llama-Guard-3-8B

Meta · llama-guard

Llama-Guard-3-8B

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

$0.48 in · $0.03 out

per 1M tokens · provider rate closest to the median. No first-party Meta price was listed. The reference price is Cloudflare Workers AI's rate, the provider closest to the median.

Provider input prices run from $0.055 to $0.48 per 1M tokens. Output prices run from $0.03 to $0.055.

Context
128,000
Max output
4,096
Cache read
—
Cache write
—
Reasoning
No
Tool calls
No
Structured output
Unknown
Vision
No
Open weights
Yes
License
—
Released
Jul 23, 2024
Updated in source
Jul 23, 2024
Knowledge
2023-12
Providers
2

Hugging Face weights

What this model costs per month

Prices are USD per 1M tokens. A month is 30 days. Cache hits use the cache-read rate when the model has one; otherwise the cache field is ignored.

Estimated monthly cost

Llama-Guard-3-8B

$2.95

Cache hit is ignored because this model has no cache-read price.

monthly = requests/day × 30 × (input tokens × (1 − cache hit) × input price + input tokens × cache hit × cache-read price + output tokens × output price) ÷ 1,000,000

Providers

Base rates from Models.dev. One row per provider.
ProviderInputOutputCache readCache writeStatus
Eden AI$0.055$0.055———
Cloudflare Workers AIreference$0.48$0.03———