Model API
Meta Llama 3.1 70b Instruct Turbo API
Meta Llama 3.1 70b Instruct Turbo API on Aiduct. Meta Llama 3.1 70b Instruct Turbo routed by the Aiduct API gateway. 131,072 token context. View model parameters, pricing and integration examples.
Model ID
meta-llama-3.1-70b-instruct-turbo
服務提供商
openrouter
功能
chat
狀態
可用
Pricing and limits
Pricing is not published for this model yet. Check the catalog for current availability.
- Context length
- 131,072
- 最大輸出
- 16,384
Use this model
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.AIDUCT_API_KEY,
baseURL: "https://api.aiduct.ai/v1",
});
const response = await client.chat.completions.create({
model: "meta-llama-3.1-70b-instruct-turbo",
messages: [{ role: "user", content: "Say hello in one sentence." }],
});支援的參數
messagestemperaturetop_pmax_tokensstreamstoptoolstool_choiceresponse_formatuser