meta-llamaListed Apr 23, 2025

Llama-Guard-4-12B

Llama Guard 4 is a natively multimodal safety classifier with 12 billion parameters trained jointly on text and multiple images. Llama Guard 4 is a dense architecture pruned from the Llama 4 Scout…

Read full description

Llama Guard 4 is a Llama 4 Scout-derived multimodal pretrained model, fine-tuned for content safety classification. Similar to previous versions, it can be used to classify content in both LLM inputs (prompt classification) and in LLM responses (response classification). It acts as an LLM—generating text in its output that indicates whether a given prompt or response is safe or unsafe, and if unsafe, it also lists the content categories violated. Llama Guard 4 was aligned to safeguard against the standardized MLCommons hazards taxonomy and designed to support multimodal Llama 4 capabilities. Specifically, it combines features from previous Llama Guard models, providing content moderation for English and multiple supported languages, along with enhanced capabilities to handle mixed text-and-image prompts, including multiple images. Additionally, Llama Guard 4 is integrated into the Llama Moderations API, extending robust safety classification to text and images.

Source description ↗Checked
Context window163.8K
Max output16.4K
Parameters12B
Provider endpoints6
Benchmark results0

Model overview

Llama-Guard-4-12B is a language model from meta-llama. Listed capabilities include image input and open weights. The listed context window is 163,840 tokens.

Provider options and prices

Current standard quotes use 1M tokens. 4 listed provider options. Provider details and conditions →

  • DeepInfra ↗$0.18 input · $0.18 output / 1M tokens · USDCurrent standard quote
    Endpoint and conditionsmeta-llama/Llama-Guard-4-12B

    Configuration not reported.

    Quote source ↗ · Checked

  • deepinfra · via Hugging Face ↗$0.18 input · $0.18 output / 1M tokens · USDCurrent standard quote
    Endpoint and conditionsmeta-llama/Llama-Guard-4-12B

    Configuration not reported.

    Quote source ↗ · Checked

  • DeepInfra · via OpenRouter ↗$0.18 input · $0.18 output / 1M tokens · USDCurrent standard quote
    Endpoint and conditionsmeta-llama/llama-guard-4-12b::deepinfra/bf16

    deepinfra/bf16 · quantization=bf16

    Quote source ↗ · Checked

Benchmark coverage

No published model benchmark result is linked to this exact identity in the catalog.

Measured performance

Benchmark results

All leaderboards ↗
—

No published results in this index yet

Scores appear here when an evaluation matches this exact model.

Access & cost

Prices across providers

6 quotes

Your token mix

USD · listed token rates

$0.225
DeepInfra · via OpenRouterdeepinfra/bf16/flex · tier=flex · quantization=bf16
$0.18
DeepInfra · via OpenRouterdeepinfra/bf16 · quantization=bf16
$0.225
DeepInfra · via OpenRouterdeepinfra/bf16/priority · tier=priority · quantization=bf16
$0.3375

deepinfra

via Hugging Face
Input
$0.18
Output
$0.18
USD / 1M tokens
163.8K contextPrice source ↗Checked Dec 4, 2026
Endpoint IDmeta-llama/Llama-Guard-4-12B
Input
$0.18
Output
$0.18
USD / 1M tokens
163.8K contextPrice source ↗Checked Dec 4, 2026
Endpoint IDmeta-llama/Llama-Guard-4-12B

OpenRouter

Catalog quote
Input
$0.18
Output
$0.18
USD / 1M tokens
163.8K context16.4K max outputPrice source ↗Checked Dec 4, 2026
Endpoint IDmeta-llama/llama-guard-4-12b

DeepInfra

via OpenRouter

deepinfra/bf16/flex · tier=flex · quantization=bf16

Input
$0.144
Output
$0.144
USD / 1M tokens
163.8K context147.5K max outputPrice source ↗Checked Dec 3, 2026
Endpoint IDmeta-llama/llama-guard-4-12b::deepinfra/bf16/flex

DeepInfra

via OpenRouter

deepinfra/bf16 · quantization=bf16

Input
$0.18
Output
$0.18
USD / 1M tokens
163.8K context16.4K max outputPrice source ↗Checked Dec 3, 2026
Endpoint IDmeta-llama/llama-guard-4-12b::deepinfra/bf16

DeepInfra

via OpenRouter

deepinfra/bf16/priority · tier=priority · quantization=bf16

Input
$0.27
Output
$0.27
USD / 1M tokens
163.8K context147.5K max outputPrice source ↗Checked Dec 3, 2026
Endpoint IDmeta-llama/llama-guard-4-12b::deepinfra/bf16/priority

Model specifications

Developer
meta-llama
Modality
Language
Context
163,840 tokens
Maximum output
16,384 tokens
Weights
Open weights
Provider listed
Apr 23, 2025
First discovered
Oct 16, 2026

Exact identities

  • huggingfacemeta-llama/Llama-Guard-4-12B
  • deepinframeta-llama/Llama-Guard-4-12B
  • openroutermeta-llama/llama-guard-4-12b

Sources

Updated Dec 4, 2026

More from meta-llama

View all ↗
meta-llamaListed Apr 2

Llama-4-Scout-17B-16E-Instruct

The Llama 4 collection of models are natively multimodal AI models that enable text and multimodal experiences. These models leverage a mixture-of-experts architecture to offer industry-leading performance…

1.3M context17BImage inputOpen weightsNo reported score
No reported score
$0.08in$0.24out/ 1M tokens · USDDeepInfra · via OpenRouter · 6 endpointsdeepinfra/fp8/flex · tier=flex · quantization=fp8
meta-llamaListed Apr 1

Meta: Llama 4 Maverick

Llama 4 Maverick 17B Instruct (128E) is a high-capacity multimodal language model from Meta, built on a mixture-of-experts (MoE) architecture with 128 experts and 17 billion active parameters per forward...

524.3K contextImage inputOpen weightsNo reported score
No reported score
$0.35in$1.00out/ 1M tokens · USDparasail · via Hugging Face · 3 endpoints
meta-llamaListed Dec 6

Llama-3.3-70B-Instruct-Turbo

Llama 3.3-70B Turbo is a highly optimized version of the Llama 3.3-70B model, utilizing FP8 quantization to deliver significantly faster inference speeds with a minor trade-off in accuracy. The model is…

131.1K context70BNo reported score
No reported score
$0.10in$0.32out/ 1M tokens · USDDeepInfra
meta-llamaListed Nov 26

Meta: Llama 3.3 70B Instruct

The Meta Llama 3.3 multilingual large language model (LLM) is a pretrained and instruction tuned generative model in 70B (text in/text out). The Llama 3.3 instruction tuned text only model...

131.1K context70BOpen weightsTool callingNo reported score
No reported score
$0.10in$0.32out/ 1M tokens · USDdeepinfra · via Hugging Face · 15 endpoints