Home › Providers › meta-llama › Meta: Llama Guard 4 12B

Meta: Llama Guard 4 12B API Pricing

Meta: Llama Guard 4 12B is an API model from meta-llama. It costs $0.18 per 1M input tokens and $0.18 per 1M output tokens. Its context window is 163,840 tokens with up to 16,384 output tokens. A workload of 10M input + 2M output tokens costs about $2.16 per month.
Input
$0.18
per 1M tokens
Output
$0.18
per 1M tokens
Cached input
—
per 1M tokens
Context window
163K
163,840 tokens
Blended (80/20)
$0.18
per 1M tokens

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

How much does Meta: Llama Guard 4 12B cost for a real workload?

At 10M input + 2M output tokens per month, Meta: Llama Guard 4 12B costs about $2.16 ($1.8 input + $0.36 output). Try your own volumes in the cost calculator.

What are cheaper alternatives to Meta: Llama Guard 4 12B?

Where to run Meta: Llama Guard 4 12B

AI/ML API: one API key for 400+ models, including most models tracked here · Novita AI: pay-as-you-go APIs for open models (DeepSeek, Qwen, Llama and more) plus GPU cloud. Prices there follow each platform's own catalog and can differ from the list prices tracked here.

Run it on AI/ML API →Run it on Novita AI →

Disclosure: links to these platforms may be affiliate links — if you sign up or buy through them, LLMPrices may earn a commission at no extra cost to you.

Compare Meta: Llama Guard 4 12B with other models

Meta: Llama Guard 4 12B vs Meta: Llama 3.1 8B InstructMeta: Llama Guard 4 12B vs Meta: Llama 3.2 1B InstructMeta: Llama Guard 4 12B vs Meta: Llama 3.2 3B InstructMeta: Llama Guard 4 12B vs Meta: Llama 4 ScoutMeta: Llama Guard 4 12B vs Meta: Llama 3.3 70B InstructMeta: Llama Guard 4 12B vs Meta: Llama 3.1 70B Instruct

Frequently asked questions

How much does Meta: Llama Guard 4 12B cost?

Meta: Llama Guard 4 12B costs $0.18 per 1M input tokens and $0.18 per 1M output tokens (list price, snapshot October 22, 2026). At 10M input + 2M output tokens per month that is about $2.16.

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

Meta: Llama Guard 4 12B has a context window of 163,840 tokens and can return up to 16,384 output tokens per response.

What are cheaper alternatives to Meta: Llama Guard 4 12B?

Cheaper models include Xiaomi: MiMo-V2.5 ($0.119 in / $0.238 out), Qwen: Qwen3 Coder 30B A3B Instruct ($0.07 in / $0.28 out), Mistral: Mistral Small 3.2 24B ($0.09375 in / $0.25 out). See the full list on this page.

Is Meta: Llama Guard 4 12B free to use?

No. Meta: Llama Guard 4 12B is a paid model at $0.18 input / $0.18 output per 1M tokens. 21 free models are listed on the free models page.

Provider: meta-llama · Model ID: meta-llama/llama-guard-4-12b · Modality: text+image->text · Price snapshot October 22, 2026, refreshed daily. How we collect prices