Ship a Full-Stack App with One Prompt

Copy this prompt into your AI coding agent, or open it in one below.

Give this to your AI Create a to-do list app using Puter.js

Coding manually? see the guide

Meta Llama

Meta Llama: Llama Guard 4 12B

meta-llama/llama-guard-4-12b

Try Llama Guard 4 12B for free in your browser, and add it to your app for free with Puter.js AI API.

Try it free Add to your app
// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';

puter.ai.chat("Explain quantum computing in simple terms", {
    model: "meta-llama/llama-guard-4-12b"
}).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", {
            model: "meta-llama/llama-guard-4-12b"
        }).then(response => {
            document.body.innerHTML = response.message.content;
        });
    </script>
</body>
</html>

Model 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

 

Try Llama Guard 4 12B for free

Try Llama Guard 4 12B instantly in your browser.
This playground uses the Puter.js AI API — no API keys or setup required.

Chat meta-llama/llama-guard-4-12b
Meta Llama
Chat with Llama Guard 4 12B
Powered by Puter.js

More AI Models From Meta Llama

Find other Meta Llama models →

Chat

Muse Ember

Muse Ember is Meta's smallest and most efficient model, released on November 9, 2026. It has a 1,048,576-token context window, accepts text, image, audio, and video input, and returns text. Meta built it for repetitive agent work such as tool calls, coding subtasks, routing, document extraction, and operating a computer from screenshots. Meta reports 37.8% on AutomationBench-AA (Claude Haiku 5.5 scores 13.9%, GPT-6 Luna 20.2%) and 40.9% on Terminal-Bench 4.0. Haiku 5.5 scores higher on FrontierCode 2.0-AA. Artificial Analysis gives it an Intelligence Index score of 36, against 37 for Muse Spark 1.3. These results are vendor-reported. It suits developers who run high-volume agent subtasks at low cost, with a larger model such as Muse Wonder handling planning.

Chat

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.

Chat

Muse 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.

Frequently Asked Questions

How do I use Llama Guard 4 12B?

You can access Llama Guard 4 12B by Meta Llama through Puter.js AI API. Include the library in your web app or Node.js project and start making calls with just a few lines of JavaScript — no backend and no configuration required. You can also use it with Python or cURL via Puter's OpenAI-compatible API.

Can I try Llama Guard 4 12B for free?

Llama Guard 4 12B is free to try with a Puter account. Every account includes a free AI allowance, and you can chat with it in the playground on this page. You can upgrade your account anytime for a larger allowance.

Is the Llama Guard 4 12B API free for developers?

Llama Guard 4 12B is free to integrate using the Puter.js AI API. With the User-Pays Model, you can add AI to your app for $0, since users cover their own AI usage through their Puter account.

What is the pricing for Llama Guard 4 12B?
Llama Guard 4 12B costs $0.18 per 1M input tokens and $0.18 per 1M output tokens.
Price per 1M tokens
Input$0.18
Output$0.18
Who created Llama Guard 4 12B?

Llama Guard 4 12B was created by Meta Llama and released on Apr 30, 2025.

What is the context window of Llama Guard 4 12B?

Llama Guard 4 12B supports a context window of 164K tokens. For reference, that is roughly equivalent to 328 pages of text.

What is the max output length of Llama Guard 4 12B?

Llama Guard 4 12B can generate up to 16K tokens in a single response.

What types of input can Llama Guard 4 12B process?

Llama Guard 4 12B accepts the following input types: text, image. It produces: text.

Does Llama Guard 4 12B support tool use (function calling)?

No, Llama Guard 4 12B does not currently support tool use (function calling).

Does it work with React / Vue / Vanilla JS / Node / etc.?

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.

Add Llama Guard 4 12B to your app for free

Developers can integrate Llama Guard 4 12B for free using the Puter.js AI API.
With the User-Pays Model, each user covers their own AI usage instead of the developer.

Get started How pricing works