Text model
Llama Guard 4 12B API
Llama Guard 4 12B is a text model from Meta, live on Corent. Answers in the OpenAI-compatible chat format.
Two ways to run it
Name Llama Guard 4 12B, or let Corent choose
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, you pay its price plus Corent’s fee, and the receipt names the model you pinned.
The router picks
POST /v1/chat/completions{ "model": "corent", "messages": [{ "role": "user", "content": "Write a haiku about shipping fast." }]}
Leave the model out and Corent reads the prompt, weighs every live text model on quality and price, and picks Llama Guard 4 12B whenever it is the best fit. The receipt shows the exact charge.
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 |
|---|---|
| Kind of result | Text |
| Endpoint | POST /v1/chat/completions |
| Made by | Meta |
| Quality | 4.8 out of 10, Corent’s score |
| Status | Live |
| Typical price | $0.03 to $0.10 a typical reply. See pricing |
These fields come from the live catalog, the same list the full model catalog prints, so they match what the API 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 the receipt names the model you pinned. One Corent key covers it alongside every other model in the catalog.
How much does Llama Guard 4 12B cost on Corent?
You pay the model’s price plus Corent’s fee, and the exact charge comes back on every response. Text is billed per token, and a typical reply on Corent costs $0.03 to $0.10, depending on the model and the length. Typical prices for every kind of result are on the pricing page.
Do I have to pick Llama Guard 4 12B?
No. Leave the model out and Corent reads each prompt, picks the cheapest live model that does the job well (or the top one with "quality": "best"), and switches models if one fails. Pinning corent-llama-guard-4-12b is for when you want exactly this model on every request.
More text models
Related models
Start
Run Llama Guard 4 12B in your next request
One key opens the whole catalog: pin Llama Guard 4 12B, or leave the model out and let Corent pick. Start with $5 in prepaid credits, no subscription.