Models / Meta
Meta
Llama Guard 4 12B
meta-llama/llama-guard-4-12b
Llama Guard 4 is a Llama 4 Scout-derived multimodal pretrained model, fine-tuned for content safety classification. Similar to previous versions, it can be used to classify content in both LLM...
Input
$0.234 / 1M tokens
Output
$0.234 / 1M tokens
Context
164K tokens
Capabilities
✓ Streaming○ Tool / function calling✓ JSON / structured output✓ Vision (image input)
Call this model
Pass meta-llama/llama-guard-4-12b as the model. Change only the base URL from your existing OpenAI SDK setup.
quickstart.sh
curl https://modeldatabase.com/v1/chat/completions \
-H "Authorization: Bearer $MDB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "meta-llama/llama-guard-4-12b",
"messages": [{"role":"user","content":"Hello!"}]
}'
Prices are final — the routing margin is already included. See the full pricing table or the API docs.