Text model
Llama 3.1 8B Instruct API
Llama 3.1 8B Instruct is a text model from Meta, live on Corent. Answers in the OpenAI-compatible chat format.
Two ways to run it
Name Llama 3.1 8B Instruct, or let Corent choose
You pick
POST /v1/chat/completions{ "model": "corent-llama-3.1-8b-instruct", "messages": [{ "role": "user", "content": "Write a haiku about shipping fast." }]}
Direct access runs Llama 3.1 8B Instruct 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 3.1 8B Instruct 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-3.1-8b-instruct", "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 3.1 8B Instruct, as the API serves it today
| Pin by name | corent-llama-3.1-8b-instruct |
|---|---|
| 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 3.1 8B Instruct have an API?
Yes. Llama 3.1 8B Instruct is served through the Corent API on POST /v1/chat/completions. Pin the exact name corent-llama-3.1-8b-instruct 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 3.1 8B Instruct 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 3.1 8B Instruct?
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-3.1-8b-instruct is for when you want exactly this model on every request.
More text models
Related models
Start
Run Llama 3.1 8B Instruct in your next request
One key opens the whole catalog: pin Llama 3.1 8B Instruct, or leave the model out and let Corent pick. Start with $5 in prepaid credits, no subscription.