Llama Guard 4 12B
Llama Guard 4 12B (Meta, 2025) is an image-generation model. 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...
by Meta · 164K token context window
Best for
- image generation from text
- creative design and ideation
Ways to use Llama Guard 4 12B in osFoundry
Connect with your own key (BYOK)
Open the key dialog and paste your Meta API key. osFoundry discovers Llama Guard 4 12B automatically — assign it to a Maestro role (router, direct, orchestrator, or fallback) in the Pipeline tab and it is live in every chat. Your key, your provider account — no token markup.
Use it in a Room App
Room Apps declare AI features in their manifest, then call them with invokeAI:
import { invokeAI } from '@osfoundry/app-sdk'
// 'summarize' is an AI feature declared in your app manifest.
const result = await invokeAI('summarize', userText)
Call it from your own apps
Once a model is wired into your workspace you can host it as an API and reach it from your own services, scripts, or CI — outside osFoundry.
Run Llama Guard 4 12B yourself
Llama Guard 4 12B is also available as open weights — self-host it for full data control and no per-token cost. See that page for GPU requirements and a cost comparison against API pricing.
Llama Guard 4 12B vs similar models
Licence
Hosted — usage subject to provider terms — Hosted-only model — usage governed by the provider's API terms. Bring your own provider key.
No weights distributed; usage subject to provider terms.
Frequently asked about Llama Guard 4 12B
How much does Llama Guard 4 12B cost?
Llama Guard 4 12B is metered at $ 0.180 /1M for input, and $ 0.180 /1M for output. Bring your own Meta API key — osFoundry passes through provider pricing without markup.
Can I use Llama Guard 4 12B commercially?
Commercial use is allowed with conditions. Hosted-only model — usage governed by the provider's API terms. Bring your own provider key. No weights distributed; usage subject to provider terms.
What is the context window of Llama Guard 4 12B?
Llama Guard 4 12B supports a 164K token context window.
Can I run Llama Guard 4 12B locally?
No — Llama Guard 4 12B is hosted only and accessed via the Meta API. An open-weights equivalent is available to self-host — see the cross-link above.
What is Llama Guard 4 12B best at?
Llama Guard 4 12B is well-suited to image generation from text, creative design and ideation.
How do I use Llama Guard 4 12B in osFoundry?
Paste your Meta API key in the key dialog (or deploy the open weights for self-hostable models), assign Llama Guard 4 12B to a Maestro role in the Pipeline tab, then use it in chat, Room Apps via invokeAI, or your own apps.
Published by Meta on April 30, 2025. Source: https://openrouter.ai/meta-llama/llama-guard-4-12b