Last refreshed 2026-11-18. Next refresh: weekly.
Why use Llama Guard 4 12B on FlexAI?
FlexAI offers Llama Guard 4 12B with pay-as-you-go pricing at $0.18/1M input tokens. FlexAI operates Token Factory, an OpenAI-compatible inference API for open models, plus dedicated GPU endpoints, fine-tuning, training, and private-cloud AI Factory deployments.
Compare Llama Guard 4 12B across 4 providers to find the best fit for your use caseInput / 1M
$0.18
Output / 1M
$0.18
Cache
read $0.027
Batch
Not sourced
Setup recipe
Docs fallbackInstall
Use the provider REST API or SDKAuth
Create a provider API keyCall
model: Llama-Guard-4-12BModel ID
Llama-Guard-4-12BRequest example
Curated snippets for this provider are not sourced yet. Use FlexAI documentation with model ID
Llama-Guard-4-12B.Gotchas
- Use provider model ID "Llama-Guard-4-12B", not the LLMReference slug "llama-guard-4-12b".
Compare Llama Guard 4 12B Across Providers
| Provider | Input (per 1M) | Output (per 1M) |
|---|---|---|
| NVIDIA NIM | — | — |
| Replicate API | $0.20 | $0.20 |
| OpenRouter | $0.18 | $0.18 |
| FlexAI | $0.18 | $0.18 |
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.18 |
| Output tokens | $0.18 |
Capabilities
Structured Outputs
About Llama Guard 4 12B
Meta: Llama Guard 4 12B available via OpenRouter. Pricing: $0.18/1M input, $0.18/1M output.
Get Started
Model Specs
Released2025-04-05
Parameters12B
Context16K
ArchitectureDecoder Only
Knowledge cutoff2024-08