Meta Llama: Llama Guard 4 12B
This model is no longer available.Add AI to your application with Puter.js.
Explore Other ModelsModel Card
Llama Guard 4 12B is Meta's 12 billion parameter multimodal safety model that moderates both text and image inputs across 12 languages. It was built from Llama 4 Scout and detects violations based on the MLCommons hazard taxonomy.
Context Window 164K
tokens
Max Output 16K
tokens
Input Cost $0.18
per million tokens
Output Cost $0.18
per million tokens
Input text, image
modalities
Tool Use No
Release Date Apr 30, 2025
Code Example
Add AI to your app with the Puter.js AI API, no API keys or setup required.
// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';
puter.ai.chat("Explain quantum computing in simple terms").then(response => {
document.body.innerHTML = response.message.content;
});
<html>
<body>
<script src="https://js.puter.com/v2/"></script>
<script>
puter.ai.chat("Explain quantum computing in simple terms").then(response => {
document.body.innerHTML = response.message.content;
});
</script>
</body>
</html>
More AI Models From Meta Llama
Find other Meta Llama models →
Muse Spark Open
Muse Spark Open is an open-weight multimodal model from Meta, released on October 15, 2026. It is a mixture-of-experts model with 816B total and 42B active parameters and a 1,048,576-token context window. It accepts text, image, video, and audio input and returns text. It is aimed at agentic and tool-use work. Meta reports that it leads the open models it compared against on the agentic benchmarks MCP-Atlas and JobBench, and that it trails some closed Chinese models such as Kimi K3 and GLM 5.3 on the coding benchmark Terminal-Bench 2.1. These results are vendor-reported. It supports tool calling, structured output, and configurable reasoning effort. It suits developers who want an agent-capable model with open weights from a US lab.
ChatMuse Wonder
Muse Wonder is a multimodal agent model from Meta Superintelligence Labs, built on Muse Spark and released on October 12, 2026. It accepts text, images, video, audio, and PDF input, returns text, and has a 1,048,576-token context window. It is designed for long, multi-step agent work such as coding, legal and financial documents, and tasks across several apps. It supports tool calling, structured output, and configurable reasoning effort. Meta reports 78.8 on DeepSWE 1.1 and 53.1 on SWE-Marathon, and Artificial Analysis gives it an Intelligence Index score of 52, up from 48 for Muse Spark 1.3. Its per-token price is below Claude Fable 5.1 ($10 input, $50 output), though Claude Opus 5.5 scores higher on the index and on OSWorld.
ChatMuse Spark 1.3
Muse Spark 1.3 is Meta Superintelligence Labs' follow-up to the coding-focused Muse Spark 1.2, released on September 2, 2026. It targets long-horizon agentic work, multi-agent orchestration, and extended multi-step coding tasks. On Meta's own harness it scored 88.8% on Terminal-Bench 2.1, level with OpenAI's GPT-5.6 Sol, and 75.4% on DeepSWE 1.1, up from 59.3% for 1.2. These are vendor-reported numbers, not yet independently verified. Artificial Analysis gives it an Intelligence Index score of 48, up from 40 for Muse Spark 1.2, and Anthropic's Opus 5 still leads it on several agent benchmarks. It keeps the 1,048,576-token context window, text, image, video, and PDF input, and tool calling from earlier versions, at the same $1.25 per million input and $4.25 per million output token pricing.
Frequently Asked Questions
Llama Guard 4 12B is no longer available through Puter.js. Explore other AI models for alternatives.
| Price per 1M tokens | |
|---|---|
| Input | $0.18 |
| Output | $0.18 |
Llama Guard 4 12B was created by Meta Llama and released on Apr 30, 2025.
Llama Guard 4 12B supports a context window of 164K tokens. For reference, that is roughly equivalent to 328 pages of text.
Llama Guard 4 12B can generate up to 16K tokens in a single response.
Llama Guard 4 12B accepts the following input types: text, image. It produces: text.
No, Llama Guard 4 12B does not currently support tool use (function calling).
Yes — the Llama Guard 4 12B API works with any JavaScript framework, Node.js, or plain HTML through Puter.js. Just include the library and start building. See the documentation for more details.
Get started with Puter.js
Add AI to your application without worrying about API keys or setup.
Explore Models View Tutorials