LLM Reference
OpenRouter

Llama Guard 4 12B on OpenRouter

Llama Guard · AI at Meta

ServerlessOpen Weights

Last refreshed 2026-07-09. Next refresh: weekly.

Why use Llama Guard 4 12B on OpenRouter?

OpenRouter offers Llama Guard 4 12B with pay-as-you-go pricing at $0.18/1M input tokens. OpenRouter is a multi-provider LLM aggregator offering unified API access to 300+ models from all major labs and emerging providers, with automatic failover for reliability.

Compare Llama Guard 4 12B across 3 providers to find the best fit for your use case
Input / 1M
$0.18
Output / 1M
$0.18
Cache
Not sourced
Batch
Not sourced

Setup recipe

Docs fallback
Install
Use the provider REST API or SDK
Auth
Create a provider API key
Call
model: meta-llama/llama-guard-4-12b
Model ID
meta-llama/llama-guard-4-12b

Request example

Curated snippets for this provider are not sourced yet. Use OpenRouter documentation with model ID meta-llama/llama-guard-4-12b.

Gotchas

  • Use provider model ID "meta-llama/llama-guard-4-12b", not the LLMReference slug "llama-guard-4-12b".

Compare Llama Guard 4 12B Across Providers

ProviderInput (per 1M)Output (per 1M)
NVIDIA NIM
Replicate API$0.20$0.20
OpenRouter$0.18$0.18

Pricing

TypePrice (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
Context164k
ArchitectureDecoder Only
Knowledge cutoff2024-08

Related Models on OpenRouter