RunsOnMy ModelsGPUs & MacsBy VRAMAPI pricesVRAM calculatorNew

Meta: Llama Guard 4 12B API pricing

$0.18 per 1M input tokens and $0.18 per 1M output tokens on OpenRouter. Context window: 163,840 tokens.

$0.18input / 1M tokens
$0.18output / 1M tokens
160Kcontext
text+image->textmodality

What it costs in practice

WorkloadCost
Chatbot: 10,000 messages (1,500 in / 400 out tokens each)$3.42
RAG: 1,000 queries (8,000 in / 600 out each)$1.55
Summarize 100 long documents (50,000 in / 1,000 out each)$0.918

Cross-check against the provider's list price

No first-party entry for this model in LiteLLM's price map, so this price comes from OpenRouter only.

Price history

No price change recorded since we started tracking on Nov 17, 2026. We check every 6 hours and log every change.

Run it yourself instead

The open weights are on Hugging Face. See the VRAM Llama Guard 4 12B needs and which GPUs fit it →

Cheaper alternatives with similar context

Text models with at least 125K context and a lower blended price (75% input, 25% output). Price only, not a quality ranking.

ModelInput / 1MOutput / 1MContext
Xiaomi: MiMo-V2.6-Flash$0.14$0.281.0013580322265625M
ByteDance Seed: Seed-2.0-Mini$0.10$0.40256K
Google: Gemini 2.5 Flash Lite$0.10$0.401M
OpenAI: GPT-4.1 Nano$0.10$0.401023K
Particle AI: Particle-1$0.06$0.501M
DeepSeek: DeepSeek V4.1 Flash (batch)$0.112$0.3361M
NVIDIA: Nemotron 3 Super$0.075$0.40256K
DeepSeek: DeepSeek V4.1 Flash 1017$0.036$0.501M

Source: OpenRouter listing via the public models API. Prices checked Nov 17, 2026. Model ID meta-llama/llama-guard-4-12b, listed Apr 30, 2025. Report an error.