模型 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.
模型 ID
meta-llama-3.1-70b-instruct-turbo
服务商
openrouter
功能
chat
状态
可用
价格与限制
此模型暂未公布价格,请在目录中查看当前可用状态。
- 上下文长度
- 131,072
- 最大输出
- 16,384
使用此模型
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