Skip to content

Llama Guard 4 12B

meta/llama-guard-4-12b

164K context · Apr 2025 · 2 upstreams

Llama Guard 4 is a 12B natively multimodal safety classifier for content safety classification on LLM inputs and responses. It acts as an LLM itself: it generates text indicating whether a prompt or response is safe or unsafe and, if unsafe, lists the violated categories (MLCommons hazards taxonomy S1–S14). Use it as a guardrail/judge hop in front of or behind chat models.

Bring your own keyAnyRouter has no platform route for Llama Guard 4 12B. Requests use your key and bill your provider account. AnyRouter adds no fee.
context
164K
input / 1M (list)
$0.18
output / 1M (list)
$0.18
routes
2
speed, 24h
—

Upstreams

2
  1. 1DeepInfraYour key · not addedyour planTPS —TTFT ——
  2. 2OpenRouterYour key · not addedyour planTPS —TTFT ——
  • Up
  • No traffic
  • Down

Try it

Send a prompt

Details

Owner
Meta
Kind
Vision
Released
Apr 2025
Context
164K
Data policy
Zero retention
Endpoint
/api/v1/chat/completions

Quick start

curl https://anyrouter.dev/api/v1/chat/completions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "meta/llama-guard-4-12b",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'