Skip to content

Llama Guard 4 12B

meta/llama-guard-4-12b

Vision · 164K context · Apr 2025 · 4 upstreams

Llama Guard 4 12B is Meta's natively multimodal safety classifier with 12B parameters. It labels LLM prompts and responses as safe or unsafe and lists violated categories from the MLCommons hazards taxonomy. Text and image go in, text comes out.

Needs your own keyTo use Llama Guard 4 12B, add a key from DeepInfra, OpenRouter, Fluence or 1 more. AnyRouter adds no fee.
context
164K
input / 1M (list)
$0.20
output / 1M (list)
$0.20
routes
4
speed, 24h
No data yet

Upstreams

4
  1. 1DeepInfraYour keynot addedBilled to your key
  2. 2OpenRouterYour keynot addedBilled to your key
  3. 3FluenceYour keynot addedBilled to your key
  4. 4Hugging FaceYour keynot addedBilled to your key

Quick start

curl
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."
    }
  ]
}'

Details

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