Llama Guard 3 8B pricing & specs

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

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 70% of the 184 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 13 in Cheapest Llama Models.

// price history ($/1M tokens)

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

// cheaper or similar alternatives

modelinoutctxvs Llama Guard 3 8B
Llama 3.2 1B Instruct (instruct)$0.02$0.02131K−94.6%
Gemma 4 E2B IT$0.04$0.08131.1K−86.5%
Qwen3.7 Flash$0.03$0.131M−85.2%
GPT OSS 20B$0.03$0.14131.1K−84.5%
AutoGLM Phone 9B Multilingual$0.035$0.13865.5K−83.6%

// 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 (instruct) ($0.02 in / $0.02 out), Gemma 4 E2B IT ($0.04 in / $0.08 out), Qwen3.7 Flash ($0.03 in / $0.13 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 (instruct)$0.02$0.02$1.20
Gemma 4 E2B IT$0.04$0.08$2.80
Qwen3.7 Flash$0.03$0.13$2.80
Llama Guard 3 8B$0.484$0.03$24.50

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