处理中…正在保护此关键操作,请稍候
OpenRouter 模型

Llama 3.1 70B Instruct

Meta's latest class of model (Llama 3.1) launched with a variety of sizes & flavors. This 70B instruct-tuned version is optimized for high quality dialogue usecases. It has demonstrated strong...

OpenRouter平台整理目录
流式输出工具调用JSON 模式长上下文
输入价格$0.075 / 1M tokens
输出价格$0.075 / 1M tokens
上下文长度131.1k 令牌
最大输出8.2k 令牌

Meta: Llama 3.1 70B Instruct 在 NextModel 中是什么?

Meta: Llama 3.1 70B Instruct 是 NextModel 目录中的 OpenRouter 模型,常用于 General chat via OpenRouter、API workloads 工作负载。当前展示价格为输入 $0.075 / 1M tokens输出 $0.075 / 1M tokens 每 100 万 token,上下文窗口为 131.1k token。

适用场景

  • General chat via OpenRouter
  • API workloads

OpenAI 兼容调用示例

保持 OpenAI SDK 调用方式不变,把 base_url 改为 NextModel,并使用模型目录 ID meta-llama--llama-3.1-70b-instruct

Python
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.nextmodel.app/v1"
)

resp = client.chat.completions.create(
    model="meta-llama/llama-3.1-70b-instruct",
    messages=[{"role": "user", "content": "Hello from NextModel"}]
)

print(resp.choices[0].message.content)

相似替代项

OpenRouter目录

This model always redirects to the latest model in the Claude Fable family.

$1.88 / 1M tokens输入$9.40 / 1M tokens输出1M上下文
适用场景图像理解, multimodal chat
路由已配置
流式输出工具调用JSON 模式视觉
平台整理NextModel gateway catalog (Go origin)
查看详情
OpenRouter目录

This model always redirects to the latest model in the Anthropic Claude Haiku family.

$0.188 / 1M tokens输入$0.94 / 1M tokens输出200k上下文
适用场景图像理解, multimodal chat
路由已配置
流式输出工具调用JSON 模式视觉
平台整理NextModel gateway catalog (Go origin)
查看详情
OpenRouter目录

This model always redirects to the latest model in the Claude Opus family.

$0.94 / 1M tokens输入$4.70 / 1M tokens输出1M上下文
适用场景图像理解, multimodal chat
路由已配置
流式输出工具调用JSON 模式视觉
平台整理NextModel gateway catalog (Go origin)
查看详情

常见问题

Meta: Llama 3.1 70B Instruct API 常见问题