LLM Reference
OpenRouter

Llama Guard 4 12B on OpenRouter

Llama Guard · AI at Meta

Serverless

Last refreshed 2026-05-22. 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.

FAQ

What does Llama Guard 4 12B cost on OpenRouter?

On OpenRouter, Llama Guard 4 12B costs $0.18 per 1M input tokens and $0.18 per 1M output tokens.

What is the context window for Llama Guard 4 12B on OpenRouter?

Llama Guard 4 12B supports a 164k token context window on OpenRouter.

How does OpenRouter compare to other Llama Guard 4 12B providers?

Llama Guard 4 12B is available from 3 providers. The cheapest input pricing is $0.18/1M tokens from OpenRouter.

What API model ID do I use for Llama Guard 4 12B on OpenRouter?

Use the model ID meta-llama/llama-guard-4-12b when calling OpenRouter's API.

Who created Llama Guard 4 12B?

Llama Guard 4 12B was created by AI at Meta as part of the Llama Guard model family.

Is Llama Guard 4 12B open source?

Llama Guard 4 12B is not open source; the seed data lists it as proprietary.

Get Started

Model Specs

Released2025-04-05
Parameters12B
Context164k
ArchitectureDecoder Only
Knowledge cutoff2024-08

GPU-Hour Providers(1)

Related Models on OpenRouter