meta-llama/Llama-3.1-70B-InstructAPI pricing
Llama 3.1 70B Instruct is Meta's instruction-tuned text-generation model in the Llama 3.1 family, aimed at chat and assistant use. It works with the transformers library and supports system messages and tool calls.
- 每100万枚代币的价格
- $0.42 / $0.42input / output−41%
- 缓存的输入
- $0.42per 1M tokens
- 上下文
- 131K tokens8.1K max output
- 服务提供商
- 3
- 最快
- 87 tok/sAmazon Bedrock
服务提供商
3 providers ·
131K 上下文
支持的参数11
- 抽样
温度top_ptop_k种子logit_bias- 处罚
频率惩罚存在惩罚- 输出
停止response_format- 工具
工具工具选择
13.1K 上下文 · 8.1K 最大输出
支持的参数6
- 抽样
温度top_ptop_k- 输出
停止- 工具
工具工具选择
- 1 more provider through partner hosts · from $0.42 in · $0.42 out
价格走势
API
curl https://api.opencheap.si/v1/chat/completions \
-H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
-d '{ "model": "opencheap/llama-3.1-70b", "messages": [{ "role": "user", "content": "Hi" }] }'import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/llama-3.1-70b",
messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/llama-3.1-70b",
messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);致电 meta-llama/Llama-3.1-70B-Instruct 使用 OpenAI SDK:将其指向 https://api.opencheap.si/v1 并传递模型 ID opencheap/llama-3.1-70b;其余代码保持不变。
About meta-llama/Llama-3.1-70B-Instruct
- 标价
- $0.72 / $0.72in / out per 1M
- 保存与列表
- 42 %on a 1 : 3 input-to-output mix
- 请求示例
- $0.004610,000 in + 1,000 out
- 端点
https://api.opencheap.si/v1- 模型 ID
每个请求都会发送给模型中成本最低且状态正常的提供者,而每个响应都会报告其成本为 使用成本. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, https://api.opencheap.si/v1.
用文字表述价格
meta-llama/Llama-3.1-70B-Instruct costs from $0.42 per 1M input tokens and $0.42 per 1M output tokens on OpenCheap. Its list price is $0.72 per 1M input tokens and $0.72 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 42 % less here. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.0046, and 1,000 such requests about $4.62.
3 providers serve meta-llama/Llama-3.1-70B-Instruct on OpenCheap. Its context window is 131K tokens (131,072), room for roughly 98,000 words of English in one request.
meta-llama/Llama-3.1-70B-Instruct is one of 25 Meta models on OpenCheap.
The public list price is $0.72 per 1M input tokens and $0.72 per 1M output tokens. OpenCheap is from $0.42 and $0.42, as of 2026-12-04 11:48 UTC.
Prices as of 2026-12-04 11:48 UTC.
关于定价的问题
How much does the meta-llama/Llama-3.1-70B-Instruct API cost per 1M tokens?
meta-llama/Llama-3.1-70B-Instruct costs from $0.42 per 1M input tokens and $0.42 per 1M output tokens on OpenCheap. Prices as of 2026-12-04 11:48 UTC.
What does one meta-llama/Llama-3.1-70B-Instruct request cost?
A request with 10,000 input tokens and 1,000 output tokens costs about $0.0046, and 1,000 such requests about $4.62. Every answer reports its own cost in usage.cost.
Is meta-llama/Llama-3.1-70B-Instruct cheaper on OpenCheap than its list price?
Its list price is $0.72 per 1M input tokens and $0.72 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 42 % less here.
Which providers serve meta-llama/Llama-3.1-70B-Instruct?
3 providers serve meta-llama/Llama-3.1-70B-Instruct on OpenCheap. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.
What is the context window of meta-llama/Llama-3.1-70B-Instruct?
其上下文窗口为131K个令牌(131,072),单次请求中可容纳约98,000个英语单词。
How do I call the meta-llama/Llama-3.1-70B-Instruct API?
Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/llama-3.1-70b. One OpenCheap key works for every model; the rest of your code stays the same.
More from Meta
- meta-llama/Llama-3.3-70B-Instructllama-3.3-70b$0.015 / $0.047 per 1M · 131K context
- Llama 4 Maverickllama-4-maverick$0.20 / $0.20 per 1M · 1M context
- Llama 4 Scoutllama-4-scout$0.10 / $0.32 per 1M · 328K context
- Llama 3.1 8B (decentralized)3.1-8b-fp8$0.02 / $0.03 per 1M · 128K context
- meta-llama/Llama-3.1-8B-Instructllama-3.1-8b$0.02 / $0.04 per 1M · 131K context
- meta-llama/Llama-3.2-3B-Instructllama-3.2-3b$0.047 / $0.31 per 1M · 131K context
- Llama 3.3 70B Instruct abliteratedllama-3.3-70b-abliterated$0.70 / $0.70 per 1M · 32K context
- meta-llama/Llama-4-Maverick-17B-128E-Instructllama-4-maverick-17b-128e$0.35 / $1.00 per 1M · 524K context
类似型号
- Qwen/Qwen2.5-72B-InstructQwen · 131K context$0.36 / $0.40 per 1M7 % cheaper
- Phi 4 Mini InstructMicrosoft · 128K context$0.12 / $0.48 per 1M7 % cheaper
- LFM2.5 24B A2BLiquid AI · 128K context$0.047 / $0.66 per 1M
- Qwen3.8 FlashQwen · 1M 语料库$0.14 / $0.44 per 1M13 % cheaper
- Cydonia 24B V4.1TheDrummer · 131K context$0.32 / $0.53 per 1M
- lfm2.5-24b-a2bOther labs · 128K context$0.05 / $0.70 per 1M
Compare meta-llama/Llama-3.1-70B-Instruct with any model →Cheapest LLM API