Llama Guard 3 8B pricing & specs

Meta · released 2024-07-23 · ● verified 2026-11-29

input / 1M$0.484via Cloudflare Workers AI
output / 1M$0.03via Cloudflare Workers AI
context131.1K
max output131.1K

Llama Guard 3 8B is a Meta model released on 2024-07-23. At $0.484 per million input tokens and $0.03 per million output tokens, its blended price of $0.3705 per 1M tokens is lower than 66% of the 178 models we track. It offers text input, a 131.1K-token context window. Its weights are open, and it is available from 1 tracked hosting providers.

Ranked #8 of 14 in Cheapest Llama Models.

// price history ($/1M tokens)

$0.5566
input $/1Moutput $/1M2024-07-23 → 2026-11-29

Tracks the selected provider’s quote, which may change providers over time.

// cheaper or similar alternatives

modelinoutctxvs Llama Guard 3 8B
Llama 3.2 1B Instruct$0.02$0.02131K−94.6%
Llama-3.1-8B-Instruct$0.02$0.04131.1K−93.3%
Mistral Nemo$0.029$0.03131.1K−92.1%
Gemma 4 E2B IT$0.04$0.08131.1K−86.5%
Qwen3.7 Flash$0.03$0.131M−85.2%

// price by host

hostin $/1Mout $/1M
Cloudflare Workers AI$0.484$0.03

// embed this price badge

Show the live price of Llama Guard 3 8B in your README or docs (updated daily):

Llama Guard 3 8B API price badge
[![Llama Guard 3 8B price](https://aisignals.dev/badge/meta/llama-guard-3-8b.svg)](https://aisignals.dev/models/meta/llama-guard-3-8b)

// faq

How much does Llama Guard 3 8B cost?

Llama Guard 3 8B costs $0.484 per million input tokens and $0.03 per million output tokens (cheapest tracked host: Cloudflare Workers AI). At 50M input and 10M output tokens per month that is about $24.50.

What is the context window of Llama Guard 3 8B?

131.1K tokens, with up to 131.1K output tokens per request.

What are cheaper alternatives to Llama Guard 3 8B?

Llama 3.2 1B Instruct ($0.02 in / $0.02 out), Llama-3.1-8B-Instruct ($0.02 in / $0.04 out), Mistral Nemo ($0.029 in / $0.03 out) offer the same input types and capabilities for less.

Is Llama Guard 3 8B open weights?

Yes. It is available from 1 tracked hosts; the cheapest is Cloudflare Workers AI at $0.484 input and $0.03 output per million tokens.

// spec sheet

input / 1M
$0.484
output / 1M
$0.03
blended (3:1)
$0.3705
context
131.1K
max output
131.1K
input types
text
reasoning
no
tool calling
no
structured output
no
open weights
yes
knowledge cutoff
2023-12
price source
Cloudflare Workers AI

report a data error

// cost calculator

modelin $/1Mout $/1M= monthly
Llama 3.2 1B Instruct$0.02$0.02$1.20
Llama-3.1-8B-Instruct$0.02$0.04$1.40
Mistral Nemo$0.029$0.03$1.75
Llama Guard 3 8B$0.484$0.03$24.50

Base-tier list prices. Long-context tiers, caching and batch discounts are not included.