Llama Guard 4 12B
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.
meta-llama/llama-guard-4-12b
- Contexto
- 1M tokens
- Máx. completion
- 16,384
- Tools
- No
- JSON
- Sí
- Lanzamiento
- 2025-04-30
Llámalo desde Geek Hub
El mismo SDK de OpenAI. Cambia el base URL y el id del modelo.
curl https://api.geekhub.mx/v1/chat/completions \
-H "Authorization: Bearer $GEEKHUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "meta-llama/llama-guard-4-12b",
"messages": [{"role": "user", "content": "Hola"}]
}'Consigue tu API keyPreguntas frecuentes
- ¿Qué es Llama Guard 4 12B?
- 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. Llama Guard 4 12B corre en el API de Geek Hub (compatible con OpenAI). Id: meta-llama/llama-guard-4-12b.
- ¿Llama Guard 4 12B es gratis?
- No. El input cuesta $0.1962 / 1M tokens y el output $0.1962 / 1M tokens en Geek Hub (markup incluido).
- ¿Cuál es el contexto de Llama Guard 4 12B?
- Llama Guard 4 12B tiene una ventana de 1M tokens. Soporta hasta 16,384 tokens de completion.
- ¿Llama Guard 4 12B soporta tool calling y structured outputs?
- Llama Guard 4 12B no publica tool calling en este endpoint. También soporta structured outputs con un JSON schema en response_format.
- ¿Cuándo se lanzó Llama Guard 4 12B?
- Llama Guard 4 12B se lanzó el 30 de abril de 2025.
Más modelos de Meta
Llama 3.1 70B InstructMeta's latest class of model (Llama 3.1) launched with a variety of sizes & flavors. This 70B instruct-tuned version is optimized for high quality dialogue usecases. It has demonst
Llama 3.1 8B InstructMeta's latest class of model (Llama 3.1) launched with a variety of sizes & flavors. This 8B instruct-tuned version is fast and efficient. It has demonstrated strong performance co
Llama 3.2 1B InstructLlama 3.2 1B is a 1-billion-parameter language model focused on efficiently performing natural language tasks, such as summarization, dialogue, and multilingual text analysis. Its
Llama 3.2 3B InstructLlama 3.2 3B is a 3-billion-parameter multilingual large language model, optimized for advanced natural language processing tasks like dialogue generation, reasoning, and summariza
Llama 3.3 70B InstructThe 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 on
Llama 4 MaverickLlama 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