- input
- $0.18
- output
- $0.18
- Context
- 164Ktokens
- Released
- 1y ago
- Size
- 12Bparameters
Cost/1M tokens
Llama Guard 4 12B is a safeguard model from Meta, introduced as an update to the company's Llama Guard protection tool and designed to work with the Llama 4 line of models such as Scout and Maverick. Meta's launch announcement presents it as a single safeguard that covers both text and image inputs. It is built for safety moderation, screening user prompts and model responses for unsafe content against customizable safety categories.
How it compares
Small12BAn open-weight model of 5 to 25 billion parameters, the size that runs on a single consumer GPU.
Open models of a similar size from other labs
Add the models you use to see how this one compares.
Sign inAdditional source evidence
- Source model
- meta/llama-guard-4-12b
- Source family
- llama-guard
- Last updated
- 2025-04-29
- Model context
- 164K
- Model output limit
- 164K
- Open weights
- Yes
- File attachments
- Yes
- Reasoning
- No
- Tool calling
- No
- Temperature control
- Yes
Downloadable weights
Complete source record (JSON)
{
"id": "meta/llama-guard-4-12b",
"name": "Llama Guard 4 12B",
"description": "Multimodal Llama 4-based safety classifier for moderating prompts and responses",
"family": "llama-guard",
"last_updated": "2025-04-29",
"attachment": true,
"reasoning": false,
"tool_call": false,
"temperature": true,
"modalities": {
"input": [
"text",
"image"
],
"output": [
"text"
]
},
"limit": {
"context": 163840,
"output": 163840
},
"release_date": "2025-04-29",
"open_weights": true,
"license": "Llama 4 Community License",
"weights": [
{
"label": "Hugging Face",
"url": "https://huggingface.co/meta-llama/Llama-Guard-4-12B"
}
]
}Frequently asked questions
Running locally
By our estimate, Llama Guard 4 12B needs about 8.9 GB at Q4, 15.2 GB at Q8 and 28.1 GB at FP16 of VRAM. That covers the weights plus headroom for a short context, and longer contexts need more.
Yes, by our estimates Llama Guard 4 12B fits on a 12 GB GPU at Q4 (about 8.9 GB) and at higher precision on larger cards. It does not fit fully on 8 GB GPUs.
Yes, a Mac with at least 16 GB of unified memory should run Llama Guard 4 12B at Q4, which needs an estimated 8.9 GB. This assumes macOS gives the GPU about 75% of unified memory.
API and pricing
Llama Guard 4 12B is listed at $0.18 per 1M input tokens and $0.18 per 1M output tokens. Input prices across 3 providers range from $0.144 to $0.27 per 1M tokens.
DeepInfra has the lowest blended price for Llama Guard 4 12B (3:1 input to output), at $0.144 per 1M input tokens and $0.144 per 1M output tokens.
A request with 10,000 input tokens and 1,000 output tokens costs about $0.001584 with Llama Guard 4 12B at the cheapest provider, DeepInfra.
2 of 2 tracked Llama Guard 4 12B endpoints had 99% uptime or better over the last day. The best was DeepInfra at 99.9%.
Privacy and data
DeepInfra offers zero data retention for Llama Guard 4 12B, so prompts are not stored after the request.
Yes, Llama Guard 4 12B has open weights, so you can run it on your own hardware and keep prompts on your own machines.
Capabilities and specs
Llama Guard 4 12B has a 164K token context window. It can write up to 16K output tokens per response.
Yes, Llama Guard 4 12B accepts images as input alongside text.
No, Llama Guard 4 12B is not listed with tool calling support.
No, Llama Guard 4 12B is not listed with a reasoning mode.
Llama Guard 4 12B has a knowledge cutoff of 2024-08-31, so it does not know about later events unless you provide them.
Quality and benchmarks
Similar models from other labs include Qwen3 32B (Qwen), Qwen3 30B A3B (Qwen) and UI-TARS 7B (ByteDance). They are the closest matches by kind, price and release date.
Qwen3 32BLlama Guard 4 12B vs Qwen3 32BQwen3 30B A3BLlama Guard 4 12B vs Qwen3 30B A3BUI-TARS 7BLlama Guard 4 12B vs UI-TARS 7B
Versions and lineage
Llama Guard 4 12B costs $0.18 input and $0.18 output per 1M tokens, versus $0.35 and $1.00 for Llama 4 Maverick. Llama Guard 4 12B has a 164K token context window, versus 524K for Llama 4 Maverick.
Licensing and access
Llama Guard 4 12B has open weights under the Llama 4 Community License license, so you can download and run it yourself.
The Llama Guard 4 12B weights are on Hugging Face at meta-llama/Llama-Guard-4-12B.
Basics
Llama Guard 4 12B was made by Meta. It was released on April 29, 2025.
Yes, Llama Guard 4 12B has open weights, so you can run it on your own hardware without API fees. Paid API access is listed at $0.18 per 1M input tokens and $0.18 per 1M output tokens.
Generated from Vertical Tabs data, updated November 29, 2026.


Discussion
No comments yet
Be the first to share your thoughts.