Llama Guard 4 12B
Llama Guard 4 12B is worth evaluating for rag, long context, and classification when its provider route and context window match the workload.
Use it for
- Teams evaluating rag, long context, and classification
- Workloads that can use a 164k context window
- Buyers comparing 3 tracked provider routes
Do not use it for
- Vision or document-understanding workloads
- Family
- Llama Guard
- Released
- 2025-04-05
- Context
- 164k
- Parameters
- 12B
- Architecture
- Decoder Only
- Knowledge cutoff
- 2024-08
- Specialization
- safety
- Openness
- Open weights
- License
- Llama 2 CommunityCommercial use: conditional
Large-scale open-source AI for social technologies.
Cheapest of 3 routes · OpenRouter
About
Meta: Llama Guard 4 12B available via OpenRouter. Pricing: $0.18/1M input, $0.18/1M output.
Llama Guard 4 12B is an open-weight model in the Llama Guard family. The structured metadata tracks a 164k-token context window and structured outputs. This page tracks provider routes through NVIDIA NIM, Replicate API, and OpenRouter, with the cheapest tracked route listed at $0.18 input and $0.18 output per 1M tokens. No headline benchmark score is tracked for Llama Guard 4 12B yet.
Top use-case fit
RAG
Included by capability and metadata signals in the decision map.
Long context
Included by capability and metadata signals in the decision map.
Classification
Included by capability and metadata signals in the decision map.
Provider price ladder
Compare all 3Compare API pricing across 3 providers for input and output tokens, batch, and cached reads when available.
| Provider | Input / 1M | Output / 1M | Route |
|---|---|---|---|
| OpenRouter | $0.180 | $0.180 | Serverless |
| Replicate API | $0.200 | $0.200 | Serverless |
| NVIDIA NIM | - | - | ServerlessPartial |
Available via routers & gateways(1)
Capabilities
Benchmark peer barsfor RAG
No task-mapped benchmark peers are available for this model yet.
Migration checks
No linked migration route is available for this model yet.
Compare Llama Guard 4 12B with other models
- Llama Guard 4 12B vs ShieldGemma 9B46
- Llama Guard 4 12B vs Nemotron 4 340B32
- Llama Guard 4 12B vs Kimi K2.618
- Llama Guard 4 12B vs Qwen3.5-9B14
- Llama Guard 4 12B vs Claude Sonnet 4.612
- Llama Guard 4 12B vs Claude Opus 4.611
- Llama Guard 4 12B vs Marin 8B Instruct11
- Llama Guard 4 12B vs Phi-4 Reasoning Vision 15B9
Comparison and alternatives
Browse all comparisons →Show all 2 popular comparisonssorted by 7-day search impressions
Frequently asked questions
What is the context window of Llama Guard 4 12B?
Llama Guard 4 12B has a context window of 164k tokens.
How much does Llama Guard 4 12B cost?
Llama Guard 4 12B pricing ranges from $0.18/1M to $0.2/1M input tokens depending on the provider.
When was Llama Guard 4 12B released?
Llama Guard 4 12B was released on 2025-04-05.
Which providers offer Llama Guard 4 12B?
Llama Guard 4 12B is available from 3 providers: NVIDIA NIM, Replicate API, OpenRouter.
Large-scale open-source AI for social technologies.
Cheapest of 3 routes · OpenRouter