Skip to content

Llama Guard 4 12B

Llama Guard 4 is a Llama 4 Scout-derived multimodal pretrained model, fine-tuned for content safety classification.

Per 1M tokens
$0.189 · $0.189
Context
164Ktokens
Supports
  • Reads images
opencode.json
{
  "provider": {
    "deference": {
      "npm": "@ai-sdk/openai-compatible",
      "options": { "baseURL": "https://deference.si/v1", "apiKey": "{env:DEFERENCE_API_KEY}" },
      "models": { "meta-llama/llama-guard-4-12b": { "limit": { "context": 163840, "output": 16384 } } }
    }
  }
}
Needs an API keyGet one

Pricing and limits

  • Max output16,384tokens

OpenRouter's price plus OpenRouter's 5% platform fee. Deference adds no markup.