LLM Reference
Cloudflare Workers AI

Llama Guard 3 8B on Cloudflare Workers AI

Llama Guard · AI at Meta

ServerlessOpen Weights

Last refreshed 2026-07-09. Next refresh: weekly.

Why use Llama Guard 3 8B on Cloudflare Workers AI?

Cloudflare Workers AI offers Llama Guard 3 8B with pay-as-you-go pricing at $0.48/1M input tokens. Cloudflare is a leading connectivity cloud company that provides a comprehensive suite of cloud-native products and developer tools to enhance web performance, security, and reliability.

Compare Llama Guard 3 8B across 5 providers to find the best fit for your use case
Input / 1M
$0.484
Output / 1M
$0.030
Cache
Not sourced
Batch
Not sourced

Setup recipe

Docs fallback
Install
Use the provider REST API or SDK
Auth
Create a provider API key
Call
model: @cf/meta/llama-guard-3-8b
Model ID
@cf/meta/llama-guard-3-8b

Request example

Curated snippets for this provider are not sourced yet. Use Cloudflare Workers AI documentation with model ID @cf/meta/llama-guard-3-8b.

Gotchas

  • Use provider model ID "@cf/meta/llama-guard-3-8b", not the LLMReference slug "llama-guard-3-8b".

Compare Llama Guard 3 8B Across Providers

ProviderInput (per 1M)Output (per 1M)
Cloudflare Workers AI$0.48$0.03
Microsoft Foundry$0.37$1.10
OpenRouter$0.48$0.03
Fireworks AI$0.20$0.20
Replicate API$0.30$0.30

Pricing

TypePrice (per 1M)
Input tokens$0.48
Output tokens$0.03

Capabilities

Structured Outputs

About Llama Guard 3 8B

Llama Guard 3 8B is a specialized large language model developed by Meta for content safety classification. Fine-tuned from Llama 3.1, this 8-billion parameter model excels in moderation tasks, classifying both inputs and outputs across 14 hazard categories based on the MLCommons taxonomy. It supports multiple languages, including English, French, German, Hindi, Italian, Portuguese, Spanish, and Thai. Designed for AI engineers focusing on safe and responsible AI systems, Llama Guard 3 offers improved accuracy and reduced false positive rates in identifying unsafe content, making it a valuable tool for developing robust content moderation systems in conversational AI applications .

Get Started

Model Specs

Released2024-07-23
Parameters8B
Context8k
ArchitectureDecoder Only
Knowledge cutoff2023-12