Meta: Llama Guard 4 12B API Pricing — $0.180 Input / $0.180 Output per 1M Tokens

Meta: Llama Guard 4 12B by Meta — $0.180 input / $0.180 output per 1M tokens via OpenRouter. Context: 163K tokens. Pricing last updated Oct 29, 2026.

Input / 1M tokens
$0.180
Output / 1M tokens
$0.180
Provider
Meta
Context window
163K tokens
Via
OpenRouter

Cost at common usage volumes

Usage Daily Monthly
Chatbot (100/day)$0.032$0.95
Small app (1K/day)$0.270$8.10
Mid-scale (10K/day)$4.50$135.00
Large scale (100K/day)$108.00$3240.00
Model ID: meta-llama/llama-guard-4-12b
Data source: OpenRouter public API — updated Oct 29, 2026.

About Meta: Llama Guard 4 12B

Meta: Llama Guard 4 12B is an LLM developed by Meta. Input costs $0.180 per million tokens and output costs $0.180 per million tokens via OpenRouter. It supports a context window of 163K tokens.

Pricing Details

Via the OpenRouter API:

  • Input tokens: $0.180 per 1 million tokens
  • Output tokens: $0.180 per 1 million tokens

A token is roughly 0.75 words. For context: a typical user message of 100 words is approximately 133 tokens; a 500-word system prompt is about 650 tokens.

How Much Does Meta: Llama Guard 4 12B Cost?

For a typical chatbot application (1,000 requests/day, 1,000 prompt tokens and 500 output tokens per request):

  • Daily cost: $0.2700
  • Monthly cost: $8.100

Accessing Meta: Llama Guard 4 12B via OpenRouter

OpenRouter provides a unified API for 200+ LLMs including Meta: Llama Guard 4 12B. You can use it with any OpenAI-compatible SDK by setting the base URL to https://openrouter.ai/api/v1 and using your OpenRouter API key. The model ID is meta-llama/llama-guard-4-12b.

Compare Meta: Llama Guard 4 12B with Other Models

Use the AI Model Cost Comparison tool to compare Meta: Llama Guard 4 12B against GPT-4o, Claude 3.5 Sonnet, Gemini 1.5 Pro, or any other model side by side. Or use the LLM API Cost Calculator to browse all 456+ models sorted by cost for your specific usage.

Frequently Asked Questions