Llama-Guard-4-12B

llama12B

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 pre-trained model and 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 itself acts as an LLM: it generates text in its output that indicates whe...

Context
164K
Input price
$0.18/1M tokens
Output price
$0.18/1M tokens

Capabilities

Reasoning & Interaction
Tool Calling
Infrastructure
Streaming
Fine-tuning

Details

Model IDmeta-llama/Llama-Guard-4-12B
Provider DeepInfra
Licensellama
Statusactive
Typechat
Input modalitiestext, image
Output modalitiestext
Open weightYes
Parameters12B
Architecture—
Context window164K tokens
Max input—
Max output—
Reasoning tokens—
Knowledge cutoff—
Release date
Sourceofficial

Endpoints

Chat CompletionsPOST
Generate chat responses with messageshttps://api.deepinfra.com/v1/openai/v1/chat/completions

Pricing

Input
$0.18
Output
$0.18
Cache write
—
Cache read
—
Batch in
—
Batch out
—

API

GET/v1/models/deepinfra/meta-llama/Llama-Guard-4-12B

Llama-Guard-4-12B

meta-llama/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 pre-trained model and 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 itself acts as an LLM: it generates text in its output that indicates whe...

Changes · 1 entries
meta-llama/Llama-Guard-4-12Bcreate3e56cf1Apr 26, 2026, 07:23 PM