Skip to content
llmmodels
Chat LLMOpen weightsVisionFree tier

Llama Guard 4 12B

by Meta · Apr 29, 2025

Llama Guard 4 12B is an open-weight chat llm from Meta, released Apr 29, 2025. It has 12B parameters, a 160K-token context window and accepts text, image input. API pricing starts at $0.18 per million input tokens and $0.18 per million output tokens. It is available from 6 API providers.

Provider
Meta
Released
Apr 29, 2025
Type
Chat LLM
Parameters
12B
Context window
163,840 tokens
Max output
16,384 tokens
Input
text, image
Output
text
Weights
Open weights
License
other
Knowledge cutoff
—
Status
Available via API
HF downloads (30d)
194.5K

About Llama Guard 4 12B

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

Where to run Llama Guard 4 12B — API providers & pricing

ProviderInput $/1MOutput $/1MCached inputContext
NvidiaFreeFree—160K
OpenRouter$0.18$0.18—160K
Hugging Face$0.18$0.18—160K
Deep Infra$0.18$0.18—160K
Kilo Gateway$0.144$0.144—160K
Eden AI$0.18$0.18—160K

Open weights: you can also run Llama Guard 4 12B locally with Ollama, LM Studio, llama.cpp or vLLM, from Hugging Face.

Llama Guard 4 12B vs alternatives

Alternatives to Llama Guard 4 12B
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
gemma-3-12b-ptopenGoogle DeepMindMar 202512B————
DeepSeek V3 0324openDeepSeekMar 2025—160K$0.2$0.8—
granitelib-core-r1.0openIBMDec 2025—————
Hermes-4-14BopenNous ResearchAug 2025—————
NVIDIA-Nemotron-Nano-12B-v2-BaseopenNVIDIAAug 202512B————
Qwen2.5-14B-Instruct-1MopenAlibaba (Qwen)Jan 202515B————
Qwen3-14B-BaseopenAlibaba (Qwen)Apr 202515B————
RealVideoopenZhipu AI (Z.ai)Dec 2025—————

More models from Meta

All Meta models →
ModelReleasedParamsContextInput $/1MOutput $/1M
Muse Spark 1.3 ContributorSep 2026—1M$0.1$0.2
Llama-3.3-70B-InstructopenDec 202471B128K$0.71$0.71
Muse Spark OpenopenOct 2026816B1M$1.25$4.25
Muse Spark 1.2Aug 2026—1M$0.1$0.2
Muse WonderOct 2026—1M$4$20
Muse Spark 1.1Apr 2026—1M$1.25$4.25
Llama 4 MaverickopenApr 2025402B512K$0.35$1
Llama 4 ScoutopenApr 2025109B320K$0.1$0.3

Frequently asked questions

Who made Llama Guard 4 12B?

Llama Guard 4 12B was developed by Meta (United States). It was released on Apr 29, 2025.

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

Llama Guard 4 12B supports a context window of 163,840 tokens (160K) and can generate up to 16,384 output tokens per response.

How much does Llama Guard 4 12B cost?

Llama Guard 4 12B costs $0.18 per 1M input tokens and $0.18 per 1M output tokens. Prices vary across the 6 providers that serve it.

Is Llama Guard 4 12B open source?

Yes. Llama Guard 4 12B's weights are publicly available under the other license on Hugging Face (meta-llama/Llama-Guard-4-12B), so you can download and run it yourself.

How many parameters does Llama Guard 4 12B have?

Llama Guard 4 12B has 12B parameters.

Where can I use Llama Guard 4 12B?

Llama Guard 4 12B is available via 6 API providers, and you can also self-host it with tools like vLLM, Ollama or LM Studio.

Sources: huggingface, models.dev, openrouter · huggingface · openrouter. Last updated 2026-11-22.