Back to Modelsby Meta
M
Llama Guard 4 12B
Llama GuardMulti-modal model to classify safety for input prompts as well output responses.
Free EndpointJun 30, 2025llama license222K API calls / 30d
Specifications
Context Length
131K
131,072 tokens
Input Price
Free
per 1M tokens
Output Price
Free
per 1M tokens
Modalities
2
text→text, image+text→text
Capabilities
safetycontent moderationvision
Tags
llm-multimodal-safetycontent-moderation
API Usage
1Router is fully OpenAI-compatible. Just set the base URL and use this model ID:
meta/llama-guard-4-12bcURL
curl https://api.1router.com/v1/chat/completions \
-H "Authorization: Bearer $ROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "meta/llama-guard-4-12b",
"messages": [{"role": "user", "content": "Hello!"}]
}'