Llama Guard 4 12B
huggingface/meta-llama/Llama-Guard-4-12B · family llama · in: text, image → out: text · price provider-declared (via models.dev). Capabilities: text image.
$0.18
Blended $/1M (3:1)
$0.18
Input $/1M
$0.18
Output $/1M
$0.36
1M in + 1M out
—
Cache read $/1M
#1703 of 8,750
Cheapest rank
- Provider
- Hugging Face (
huggingface) - Kind
- text (outputs text)
- Context
- 163,840 tokens
- Max output
- 163,840 tokens
- Capabilities
- text image
Same model, other providers
“Llama Guard 4 12B” is offered by 4 providers — cheapest-effective first. Nvidia is the cheapest at $0.00 blended.
| Provider | Input | Output | Blended | Context |
|---|---|---|---|---|
| Nvidia | free | free | $0.00 | 164k |
| Hugging Face (this) | $0.18 | $0.18 | $0.18 | 164k |
| OpenRouter | $0.18 | $0.18 | $0.18 | 164k |
| Deep Infra | $0.18 | $0.18 | $0.18 | 164k |
Call it
jishie indexes & prices models; it does not proxy inference.
Most providers are OpenAI-compatible — point base_url at Hugging Face and pass this model id:
curl $BASE_URL/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" -H "Content-Type: application/json" \
-d '{"model":"meta-llama/Llama-Guard-4-12B","messages":[{"role":"user","content":"hello"}]}'
Route programmatically with MCP find_model / get_model, or fetch this record free (no wallet):