Llama Guard 4 12B
Llama Guard 4 12B is an open-weight model by Meta, released 30 Apr 2025. It reads image, text and writes text, with a context window of 164K tokens and up to 16K tokens out. Through OpenRouter it costs $0.18 per million input tokens and $0.18 per million output tokens.
Facts from OpenRouter and Hugging Face · updated 24 Nov 2026
What it costs in practice
1,000 requests with 2,000 tokens in and 500 tokens out each cost about $0.45 through OpenRouter.
Use it
curl https://openrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-d '{"model": "meta-llama/llama-guard-4-12b", "messages": [{"role": "user", "content": "Hello"}]}'More from Meta
- Muse Ember9 Nov 2026
- Muse Spark Open15 Oct 2026
- Muse Wonder12 Oct 2026
- Muse Spark 1.3 Contributor2 Sept 2026
- Muse Spark 1.32 Sept 2026
- Muse Spark 1.2 Contributor21 Aug 2026
- Muse Glimmer 30B9 Aug 2026
- Muse Spark 1.25 Aug 2026
FAQ
What is the context window of Llama Guard 4 12B?
Llama Guard 4 12B has a context window of 163,840 tokens, about 246 pages of text, and can write up to 16,384 tokens in one reply.
How much does Llama Guard 4 12B cost?
Through OpenRouter, $0.18 per million input tokens and $0.18 per million output tokens. The maker's own price can differ.
Is Llama Guard 4 12B open source?
Yes, its weights are published on Hugging Face as meta-llama/Llama-Guard-4-12B.
When was Llama Guard 4 12B released?
It became available on 30 Apr 2025.
Something wrong? Email hello@capylaunch.com. All AI models