LLM Reference

Llama Guard 4 12B

Released
2025-04-05
Last refreshed
2026-06-15
Status
Researched 41d ago
Open weightsCommercial use: conditionalRAGLong contextClassificationJSON / Tool use

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
Specifications
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
Created by

Large-scale open-source AI for social technologies.

Menlo Park, California, United States
Founded 2013
Website
Pricing
Output / 1M
$0.180
Input / 1M
$0.180

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 3

Compare API pricing across 3 providers for input and output tokens, batch, and cached reads when available.

ProviderInput / 1MOutput / 1MRoute
OpenRouter$0.180$0.180
Serverless
Replicate API$0.200$0.200
Serverless
NVIDIA NIM--
ServerlessPartial

Available via routers & gateways(1)

Capabilities

Structured Outputs

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

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.