
Llama Guard 4 12B
meta-llama/llama-guard-4-12bLlama Guard 4 is a Llama 4 Scout-derived multimodal pretrained model, fine-tuned for content safety classification.
Cheap mode · 20% off ↓Cheap mode · 20% off
Fast mode prioritizes response speed. Cheap mode uses lower-cost capacity and may be a little slower. Both run Llama Guard 4 12B.
Per 1M tokens, including your 5% fee. Your selection carries into the playground and API example.
| Per 1 million tokens | Fast mode | Cheap mode | You save |
|---|---|---|---|
| Input | $0.189 | $0.1512 | 20.0% |
| Output | $0.189 | $0.1512 | 20.0% |
All displayed prices include the 5% Free-plan fee. Standard rates are OpenRouter’s published routing ceilings; the actual standard bill may be lower. Cheapest quote: DeepInfra. Savings compare uncached token rates; other provider charges and your usage mix can change the total. Availability is not guaranteed.
Quote checked 11/8/2026, 8:18:04 PM UTC.
Choose how to use Llama Guard 4 12B
Playground
Try prompts in your browser, create an agent, and see the cost of each reply. Your selected model carries into setup.
Model capabilities below describe the underlying model. Available playground features depend on its provider.
API
Connect your app with a Gizmo API key. Choose fastest or cheapest, stream text responses, and inspect timing, tokens, and charges in request logs.
A current API route is listed for this exact model. Gateway configuration is required for live calls.
Provider price + a transparent platform fee
| Rate | Provider baseline | Free plan · 5% fee | Paid plan · 4% fee |
|---|---|---|---|
| Input / 1M tokens | $0.18 | $0.189 | $0.1872 |
| Output / 1M tokens | $0.18 | $0.189 | $0.1872 |
| API input / 1M tokens | $0.18 | $0.189 | $0.1872 |
| API output / 1M tokens | $0.18 | $0.189 | $0.1872 |
Legacy chat image rates use the catalog baseline. The dedicated image playground shows separate estimates and settles the provider’s metered usage. API rates are current routing ceilings; final API charges use provider-reported cost plus your fee. Cheapest routing compares eligible OpenRouter and Cheaper Inference rates for the same model; savings are not guaranteed. Cached input or other provider charges may differ. Compare all model rates and verified discounts →
How your plan pays for usage
API and playground share one included allowance. Usage including the fee draws from that allowance first, then your prepaid credits. Plans bill monthly; included usage resets weekly: Free $1, Starter $5, Growth $25, Scale $50.
A $1 provider charge becomes $1.05 on Free or $1.04 on a paid plan before included usage is applied. Plan eligibility still applies in the playground.
Free models and limits
Zero-cost models stay $0, including the fee, and do not consume your dollar allowance. Free accounts can make 1,000 free-model API requests per calendar month, resetting in UTC. Admitted requests count even if the provider fails.
Free includes 20 API requests/minute and 6 playground messages/minute. Paid plans raise these limits. See plan limits.
Before a text API request, Gizmo temporarily reserves included usage and, if necessary, prepaid credit for the model’s full context plus your maximum output. Image jobs reserve twice their displayed estimate. Unused funds return after metering. This hold can exceed the final charge; unconfirmed usage remains marked pending.
Overview
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.
Capabilities
Sampling controls: temperature, top_p, top_k, min_p, max_tokens, frequency_penalty, presence_penalty, repetition_penalty.
Pricing on Gizmo
These are provider baseline rates before Gizmo’s 5% Free-plan or 4% paid-plan fee. Your included usage covers charges first; overage uses prepaid credits. See the fee-inclusive comparison above.
Provider baseline rates
- Input
- $0.18 / 1M
- Output
- $0.18 / 1M
Examples before the platform fee
- Typical chat turn
- $0.00045 2k in · 500 out
- $1 of input
- ≈ 5.56M tokens
- $1 of output
- ≈ 5.56M tokens
- Full context, once
- $0.0295
Providers and pricing
2 ways to run Llama Guard 4 12B on Gizmo, cheapest first. Requests follow your routing choice and fall back down this list if a provider fails.
| Provider | Route | Input / 1M | Output / 1M | Context | Uptime 24h |
|---|---|---|---|---|---|
| DeepInfra · bf16Lowest priceFlex tier: slower, discounted | OpenRouter | $0.14 | $0.14 | 164k | 100% |
| DeepInfra · bf16 | OpenRouter | $0.18 | $0.18 | 164k | 96.8% |
Rates are each provider’s, per million tokens, before Gizmo’s 5% (Free) or 4% (paid) fee. “Cheapest” routing starts at the top of this list; “Fastest” starts with the model’s maker.
Run Llama Guard 4 12B in under a minute
Create your account
Sign up with just an email. Start on the free tier with no card, or pick a paid plan for a bigger weekly allowance and $25 in bonus credits.
Your agent is ready
Llama Guard 4 12B is preselected as the brain of your first agent. Give it a name and a system prompt, or keep the defaults.
Chat, research, create
Live web research and image generation are built in. Every reply shows what it cost, and you can switch models anytime.


