Get a key

Language model

Llama Guard 4 12b API

Llama Guard 4 12b is a language model from Llama, live in the language lane of the Corent catalog. It answers in the standard chat completions format on POST /v1/chat/completions, with the exact charge on every response.

Two ways to run it

Pin it by name, or let the router earn it.

You pick

POST /v1/chat/completions{  "model": "corent-llama-guard-4-12b",  "messages": [{ "role": "user",    "content": "Write a haiku about shipping fast." }]}

Direct access runs Llama Guard 4 12b and no other model. No substitution, flat cost-plus, billed only on success, and the receipt names the model you pinned.

The router picks

POST /v1/chat/completions{  "model": "corent/text-premium",  "messages": [{ "role": "user",    "content": "Write a haiku about shipping fast." }]}

Name a tier and the router reads the prompt, scores every live language model on quality and price, and may pick Llama Guard 4 12b whenever it wins. Failed attempts cost $0.

First call

One key, one request.

curl -X POST https://api.corent.tech/v1/chat/completions \  -H "Authorization: Bearer $CORENT_API_KEY" \  -H "Content-Type: application/json" \  -d '{"model": "corent-llama-guard-4-12b", "messages": [{"role": "user", "content": "Write a haiku about shipping fast."}]}'

The response carries the result and a receipt: the model that served you and the exact cost in cents. Full request and response shapes are in the docs.

Details

Llama Guard 4 12b, as the API serves it today.

Pin by name
corent-llama-guard-4-12b
Modality
Language
Endpoint
POST /v1/chat/completions
Lab
Llama
Quality
4.8 out of 10, Corent's score
Status
Live

These fields come from the live catalog, the same GET /v1/models payload the full model ledger prints, so they can never drift from what the API actually serves.

FAQ

Common questions

Does Llama Guard 4 12b have an API?

Yes. Llama Guard 4 12b is served through the Corent API on POST /v1/chat/completions. Pin the exact name corent-llama-guard-4-12b and you get that model or nothing: no substitution, and a failed generation is never billed. One Corent key covers it alongside every other model in the catalog.

How much does Llama Guard 4 12b cost via Corent?

Corent does not publish a per-model rate card. Direct access is flat cost-plus, you are billed only on success, and every response carries the exact charge on its receipt. Tier prices are public on the pricing page at corent.tech/pricing.

Do I have to pick Llama Guard 4 12b?

No. Send a tier instead of a model and the router reads each prompt, picks the best live model at that moment, and reroutes on failure. Pinning corent-llama-guard-4-12b is for when you want exactly this model on every request.

Run Llama Guard 4 12b in your next request

One key opens the whole catalog: pin Llama Guard 4 12b, or name a tier and never pick a model again. Start with $5 in prepaid credits.

Get an API key

All models · Why orchestration · Pricing