O

LangMart: Meta: Llama Guard 4 12B

Openrouter
Vision
164K
Context
$0.1800
Input /1M
$0.1800
Output /1M
N/A
Max Output

LangMart: Meta: Llama Guard 4 12B

Model Overview

Property Value
Model ID openrouter/meta-llama/llama-guard-4-12b
Name Meta: Llama Guard 4 12B
Provider meta-llama
Released 2025-04-30

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.

Description

LangMart: Meta: Llama Guard 4 12B is a language model provided by meta-llama. This model offers advanced capabilities for natural language processing tasks.

Provider

meta-llama

Specifications

Spec Value
Context Window 163,840 tokens
Modalities text+image->text
Input Modalities image, text
Output Modalities text

Pricing

Type Price
Input $0.18 per 1M tokens
Output $0.18 per 1M tokens

Capabilities

  • Frequency penalty
  • Logit bias
  • Max tokens
  • Min p
  • Presence penalty
  • Repetition penalty
  • Response format
  • Seed
  • Stop
  • Temperature
  • Top k
  • Top p

Detailed Analysis

Meta Llama Guard 4 12B represents the pinnacle of the Llama Guard series, unifying text and multimodal content safety in a single dense 12B model. Pruned from the Llama 4 Scout architecture, this model combines all capabilities of previous Llama Guard versions while adding groundbreaking multi-image safety classification.