Skip to main content
Model: Llama Guard 3 8B · Text Safety Moderation

Content Safety Checker With Llama Guard

Evaluate user prompts or assistant outputs for safety risks using Meta Llama Guard 3 8B. Inspect the safe or unsafe verdict alongside parsed MLCommons hazard category codes, estimate token cost, and export ready-to-use API snippets.

Selected Model

Llama Guard 3 8B

Meta · 8B Parameters

Cloudflare Workers AI

Transport: Stateless proxy · Key setup guide

Not Set
96 chars
Press Ctrl + Enter to run
Idle

Raw Llama Guard 3 8B verdict (safe or unsafe + MLCommons hazard code) appears here.

API Call Cost Estimator

Published RatePre-Run Char Estimate

Input (24 tok)

$0.000012

$0.484 / 1M

Output (0 tok)

$0.00

$0.030 / 1M

Approx. Call Cost

$0.000012

Est. ~4 chars/tok

Total Tokens

24

Estimated count


How to Screen Text With Llama Guard

Follow these steps to execute verified API requests directly from your browser.

  1. Select a confirmed provider above and save your browser-stored API credentials.
  2. Paste a user prompt or model response into the screening editor.
  3. Run Llama Guard 3 8B to receive a binary safe/unsafe verdict and MLCommons hazard category codes.
  4. Copy the generated API snippet to deploy pre-flight or post-generation guardrails in your application.

Understanding Safe and Unsafe Verdicts

Practical guidance on parameters, outputs, and production usage.

Prompt Input Moderation Checks

Screening user input before calling a larger generation model helps catch policy violations early and avoids wasting output tokens on disallowed requests.

Assistant Output Safety Verification

Running Llama Guard 3 8B as a post-generation check validates assistant replies before rendering them to end users in production chat or publishing workflows.

Frequently Asked Questions

Which Model Powers the Content Safety Checker?

This tool runs Meta Llama Guard 3 8B via your selected supported provider using your browser-stored API credentials.

Is Checked Text Logged on TextGeneration.dev?

No. Requests pass through the stateless proxy directly to your chosen provider endpoint without server-side logging or storage.

Related Moderation and Classification Tools