Free to start
Meta: Llama Guard 4 12B API
Try Llama Guard 4 12B on us. Starter credit covers your first requests, then one key reaches all 2 provider routes with automatic failover.
meta-llama/llama-guard-4-12b
open weights
API
Use the same OpenAI compatible clients you already use. Only the base URL and model change.
from openai import OpenAI
client = OpenAI(
base_url="https://api.trustedrouter.com/v1",
api_key="sk-tr-v1-..."
)
response = client.chat.completions.create(
model="meta-llama/llama-guard-4-12b",
messages=[{"role": "user", "content": "Give me a one-sentence status."}],
max_tokens=64,
)
print(response.choices[0].message.content)
Endpoint metadata: https://api.trustedrouter.com/v1/models/meta-llama/llama-guard-4-12b/endpoints