Meta
Llama 3.1 70B Instruct
Build with Llama 3.1 70B Instruct.
Llama 3.1 70B Instruct brings text generation to your application through IndicStack AI. Model inputs: text.
Use the exact model ID below. Check access for your API key before integrating. Capabilities can vary by route.
Get a free AI cost checkYour first request
One key. Your existing SDK.
Use your IndicStack key and base URL.
API model IDllama-3.1-70b-instruct
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.indicstack.ai/v1",
api_key=os.environ["INDICSTACK_API_KEY"],
)
response = client.chat.completions.create(
model="llama-3.1-70b-instruct",
messages=[{"role": "user", "content": "Explain what an API is."}],
)
print(response)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.indicstack.ai/v1",
apiKey: process.env.INDICSTACK_API_KEY,
});
const response = await client.chat.completions.create({
"model": "llama-3.1-70b-instruct",
"messages": [
{
"role": "user",
"content": "Explain what an API is."
}
]
});
console.log(response);curl https://api.indicstack.ai/v1/chat/completions \
-H "Authorization: Bearer $INDICSTACK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "llama-3.1-70b-instruct",
"messages": [
{
"role": "user",
"content": "Explain what an API is."
}
]
}'Questions about Llama 3.1 70B Instruct
Pricing, hosting and getting started.
Discuss your requirementsWhere does Llama 3.1 70B Instruct run?
Llama 3.1 70B Instruct has Global routes. Select an India-hosted route when your workload needs GPUs in India. Model capabilities and limits can vary by route.
How is Llama 3.1 70B Instruct billed?
The default Global route is billed at ₹74.39 per 1M input tokens and ₹74.39 per 1M output tokens, before GST. Other routes can have different rates.
How do I choose between Llama 3.1 70B Instruct and another model?
Bring a sample of your workload to a free AI cost check. We can help compare the output you need and the cost of running it.
Not sure which model? Get a free AI cost check.
Test your workload and choose a model with evidence.