Skip to content
01

Providers + pricing

CapabilitiesProvider details
● Your own key · billed by your provider · AnyRouter fee $0
DeepInfra
deepinfra-byok
$0.18list$0.18list
Unavailable
OpenRouter
openrouter-byok
$0.18list$0.18list
Unavailable
● Free pool · donated keys · not available for this model — donate a key
02

Try it

POST /api/v1/chat/completions
import { createAnyRouter } from "@anyr/ai-sdk-provider"import { generateText } from "ai" const anyrouter = createAnyRouter() const { text } = await generateText({  model: anyrouter("meta/llama-guard-4-12b"),  prompt: "Say hi in 3 words.",})console.log(text)
Set ANYROUTER_API_KEY · edits on the demo update this code
Live demo

Attach an image, ask about it, and run it on this model.

03

Uptime + latency

—recent checks · all routes

No health checks recorded for this model yet.

24h
No traffic in the last 24h.
More performance detail
Usage analytics

Loading usage…

Uptime & Health
No uptime data yet

These providers haven't been health-probed for this model yet. The router still routes around upstreams that fail live requests — uptime fills in once probe history accrues.

Llama Guard 4 12B

Also accepted:meta-llama/llama-guard-4-12b
  • DeepInfra
  • OpenRouter
Visiontext + image → text164Ktoken context
Context
164K
Input
$0.18
Output
$0.18
TTFT
—
Uptime
—
Routes
2
04

Your access

Credits
Your own key · AnyRouter fee $0

Run Llama Guard 4 12B on your own key — your requests are billed by the provider. Pool callers pay AnyRouter credits.

No BYOK keys configured for this model yet.

Share a key with the pool to earn credits for every request it serves, covering your plan cost.

Free poolnot in pool yetDonate key →
Create API key for this model
Text generation
Context length163,840 tokens
Max output16,384 tokens
ArchitectureTransformer
Categorymultimodal
ReleasedApr 29, 2025
Modalities
→
Capabilities
05

About

Llama Guard 4 is a 12B natively multimodal safety classifier for content safety classification on LLM inputs and responses. It acts as an LLM itself: it generates text indicating whether a prompt or response is safe or unsafe and, if unsafe, lists the violated categories (MLCommons hazards taxonomy S1–S14). Use it as a guardrail/judge hop in front of or behind chat models.

Released 2025-04-29 · params: max_tokens · temperature · top_p · stop

API & code
Share cards
Llama Guard 4 12B share card
Llama Guard 4 12B
DeepInfra upstream share card
DeepInfra upstream
OpenRouter upstream share card
OpenRouter upstream
Back to models