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 inputs (prompt classification) and in LLM responses (response classification). It acts as an LLM—generating text in its output that indicates whether a given prompt or response is safe or unsafe, and if unsafe, it also lists the content categories violated. Llama Guard 4 was aligned to safeguard against the standardized MLCommons hazards taxonomy and designed to support multimodal Llama 4 capabilities. Specifically, it combines features from previous Llama Guard models, providing content moderation for English and multiple supported languages, along with enhanced capabilities to handle mixed text-and-image prompts, including multiple images. Additionally, Llama Guard 4 is integrated into the Llama Moderations API, extending robust safety classification to text and images.
- Input / output price
- $0.18 / $0.18 per 1M
- Context
- 164K tokens
- Released
- Apr 29, 2025
Paste into Claude Code, Cursor, or Codex
Help me set up the Respan gateway: fetch and follow https:/
Providers
One provider serves this model, priced per 1M tokens after gateway discounts.
| Provider | Input | Output |
|---|---|---|
OpenRouter openrouter/llama-guard-4-12b | $0.18/M | $0.18/M |
Is a provider down? OpenRouter status
Pricing
USD per 1M tokens on OpenRouter, after gateway discounts.
- Input
- $0.18 per 1M
- Output
- $0.18 per 1M
Cost by volume
Total cost from 0 to 1T tokens.
Throughput and latency
30-day averages from requests through the Respan gateway. Under each figure, every model on the gateway by its average, this one in blue.
Output speed
Higher is better11tokens/sacross providers
Time to first token
Lower is better0.3sacross providers
Response latency
Lower is better0.2sacross providers
Apps
Use Llama Guard 4 12B in the tools you already run. Each guide points the app at the Respan gateway.
Setup guides for more apps are in the integration docs.
Llama Guard 4 12B FAQ
Short answers, built from the data on this page.
Llama Guard 4 12B is a model from Meta, released on Apr 29, 2025. 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 inputs (prompt classification) and in LLM responses (response classification). It acts as an LLM—generating text in its output that indicates whether a given prompt or response is safe or unsafe, and if unsafe, it also lists the content categories violated. Llama Guard 4 was aligned to safeguard against the standardized MLCommons hazards taxonomy and designed to support multimodal Llama 4 capabilities. Specifically, it combines features from previous Llama Guard models, providing content moderation for English and multiple supported languages, along with enhanced capabilities to handle mixed text-and-image prompts, including multiple images. Additionally, Llama Guard 4 is integrated into the Llama Moderations API, extending robust safety classification to text and images.
On the Respan gateway, Llama Guard 4 12B costs $0.18 per 1M input tokens and $0.18 per 1M output tokens on OpenRouter, after gateway discounts.
Llama Guard 4 12B is served by OpenRouter.
Llama Guard 4 12B accepts up to 164K tokens of context.
Point any OpenAI-compatible SDK at https://gateway.respan.ai/v1 with your Respan API key and set the model to "llama-guard-4-12b". To set it up with a coding agent, copy the agent setup prompt at the top of this page.
Certified where it counts.
Built to meet the security and privacy standards that enterprise and healthcare teams require.
ISO 27001
The internationally recognized standard for information security management.
SOC 2
Secure, compliant management of your data across all of our systems.
GDPR
Operated under GDPR, the world's strictest standard for data privacy.
HIPAA
HIPAA compliant, with a BAA available for healthcare teams.