Home / meta-llama / Meta: Llama Guard 4 12B

Meta: Llama Guard 4 12B API Pricing & Cost Calculator

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

VisionOpen-Weight meta-llama/llama-guard-4-12b
Input / 1M
$0.180
Output / 1M
$0.180
Cache Read / 1M
—
Blended 3:1 / 1M
$0.180
Agent Cached / 1M
$0.180
Context Window
163.8K

Monthly Workload Cost Calculator

Daily
$0.990
Monthly
$29.70
Cache Saved
$0.00
Annual
$361.35

Benchmarks & Capabilities

Intelligence Index—
Coding / Engineering— / —
Agentic Index—
Design Arena Avg ELO—
Value Score—
Modalitytext+image->text
Max Output16.4K

5 Cheaper Alternatives to Meta: Llama Guard 4 12B

Alternative ModelBlended / 1MInput / 1MOutput / 1MIntelSide-by-Side
Anthropic: Claude Haiku 5.5 (batch)
anthropic/claude-haiku-5.5:batch
$0.100 $0.050 $0.250 37 Compare →
DeepSeek: DeepSeek V4.1 Flash 1017 (batch)
deepseek/deepseek-v4.1-flash-1017:batch
$0.064 $0.035 $0.149 32 Compare →
DeepSeek: DeepSeek V4.1 Flash 1017
deepseek/deepseek-v4.1-flash-1017
$0.065 $0.020 $0.200 32 Compare →
Z.ai: GLM 5.3 Flash (batch)
z-ai/glm-5.3-flash:batch
$0.034 $0.023 $0.068 28 Compare →
OpenAI: GPT-6 Luna (batch)
openai/gpt-6-luna:batch
$0.100 $0.050 $0.250 28 Compare →

Frequently Asked Questions

How much does Meta: Llama Guard 4 12B API cost per 1M tokens?

Meta: Llama Guard 4 12B (meta-llama/llama-guard-4-12b) costs $0.180 per 1M input tokens and $0.180 per 1M output tokens (3:1 blended price: $0.180 per 1M tokens).

Does Meta: Llama Guard 4 12B support prompt caching and how much does it save?

No separate cache_read_per_1m discount is listed on OpenRouter for Meta: Llama Guard 4 12B, so repeated prompt tokens are billed at $0.180 per 1M tokens.

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

Meta: Llama Guard 4 12B supports a 163.8K token context window (163,840 tokens) and up to 16.4K output tokens per completion.

Fetch Live JSON via API

curl -s "https://llm.lhblabs.com/api/v1/models/meta-llama-llama-guard-4-12b"
Recommended Stack: DigitalOcean

Predictable Droplets, managed databases, and GPU nodes for production AI workloads.

Try DigitalOcean →
Self-Serve Placement Building an LLM API, GPU Cloud, or AI Dev Tool?
Feature your product across 1,500+ LLM pricing & comparison pages starting at $49/mo.
Book Sponsor Slot →