Llama Guard 4 12B
Metameta/llama-guard-4-12bOpen WeightsMultimodal Llama 4-based safety classifier for moderating prompts and responses
TECHNICAL SPECIFICATIONS
MODEL CONTEXT PROTOCOL (MCP) READINESS
⚠ Llama Guard 4 12B does not natively advertise tool-calling capabilities. When connecting to MCP servers, function calling must be handled via structured prompt injection.
MCP Context Window Recommendations
With a context capacity of 163,840 tokens, this model can handle moderately large MCP tool definitions and multi-turn conversation logs comfortably.
API CALL INVOCATION EXAMPLE
// Example: Calling Llama Guard 4 12B via OpenAI SDK
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.META_API_KEY,
});
const response = await client.chat.completions.create({
model: "meta/llama-guard-4-12b",
messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});
console.log(response.choices[0].message.content);PRICING BY PROVIDER
Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.
MODEL RESOURCES
More Models by Meta
Alternative and family models from the same lab
Open Llama with long-context vision for efficient multimodal agents
Muse Wonder is a frontier multimodal reasoning model from Meta for personal and professional agents, long-horizon coding, and computer use. It combines Active Memory, which carries relevant context across conversations, with Active Focus, which keeps it working through blockers toward a goal.
Muse Spark 1.3 is a multimodal reasoning model from Meta for long-running agentic, multi-agent, and coding workflows. It improves long-horizon agent collaboration, instruction following, and coding efficiency relative to Muse Spark 1.2.