[ meta ]

Llama Guard 4 12B

Billed at the provider's list price, with no markup. Pay per token in USDF, with no subscription and no minimum. Streaming and the OpenAI-compatible request format are supported.

Metallama-guard-4-12bAvailabletextContext window: 163,840 tokens

Input

$0.18

$ / 1M tokens

Output

$0.18

$ / 1M tokens

Cached input

not offered

Context window

163,840

tokens

Model ID
llama-guard-4-12b
Modality
text
Unit
USD per 1M tokens
Status
Available
Endpoints
/v1/chat/completions
Context window
163,840 tokens
Max output
163,840 tokens
Pricing basis
List price
Routes enabled
1 of 1
Price sheet
2026-10-10.1

Routes

ProviderEnabledUpstream inputUpstream output
deepinfraYes$0.18$0.18

Make your first request

Use any OpenAI-compatible SDK. Change the base URL, keep everything else. Responses include a receipt with the exact cost.

No account: send the same request to /x402/v1/chat/completions without credentials and the gateway answers 402 with the quote. Pay per request.

curl https://api.usdf.fi/v1/chat/completions \
  -H "Authorization: Bearer $USDF_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "llama-guard-4-12b", "messages": [{"role": "user", "content": "Hello"}]}'