Llama3 8B Instruct
About Llama3 8B Instruct
Llama3 8B Instruct is a chat model by Meta, available on Eden AI through 2 endpoints from 2 providers, from $0.03 per million input tokens and $0.06 per million output tokens, with a context window of up to 8K tokens.
Providers and prices
2 endpoints from 2 providers, cheapest first, in USD per million tokens. Every one is called with the same Eden AI key: pin one with its endpoint ID, or let Eden AI route for you. .


Performance
Performance figures appear here once Llama3 8B Instruct has enough traffic on Eden AI to report them without exposing any single customer.
Estimate your monthly cost
Enter your expected volume to compare every endpoint at once.
Call Llama3 8B Instruct with Eden AI
Use the model ID to let Eden AI pick an endpoint, or an endpoint ID from the table above to pin one.
import requests
response = requests.post(
"https://api.edenai.run/v3/chat/completions",
headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
json={
"model": "",
"messages": [{"role": "user", "content": "Hello!"}],
},
)
print(response.json())
curl https://api.edenai.run/v3/chat/completions \
-H "Authorization: Bearer YOUR_EDENAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "", "messages": [{"role": "user", "content": "Hello!"}]}'
const response = await fetch("https://api.edenai.run/v3/chat/completions", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_EDENAI_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "",
messages: [{ role: "user", content: "Hello!" }],
}),
});
console.log(await response.json());
Questions about Llama3 8B Instruct
On Eden AI, prices for this model start at $0.03 per million input tokens and $0.06 per million output tokens. Prices differ by endpoint; the providers table lists each one. .
Up to 8K tokens, depending on the endpoint.
2 endpoints from 2 providers, available in: United States. All of them are called with the same Eden AI API key.
Yes. At least one endpoint is hosted in Europe; pin it with its endpoint ID from the providers table to keep requests in the EU.
Over the last 30 days, the fastest first token was s () and the highest throughput was tokens per second ().
More from Meta
Other Meta models you can call with the same key.


.png)
.png)