Meta: Llama 3.1 8B (decentralized)API pricing
Llama 3.1 8B (decentralized) is an 8B-parameter language model.
- 每100万枚代币的价格
- $0.02 / $0.03input / output
- 缓存的输入
- $0.01per 1M tokens
- 上下文
- 128K tokens16K max output
- 服务提供商
- 2
服务提供商
2 providers ·
128K 上下文 · 16K 最大输出
支持的参数13
- 抽样
温度top_ptop_kmin_p种子logit_bias- 处罚
重复惩罚频率惩罚存在惩罚- 输出
停止response_format- 工具
工具工具选择
- 1 more provider through partner hosts · from $0.021 in · $0.042 out
价格走势
API
curl https://api.opencheap.si/v1/chat/completions \
-H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
-d '{ "model": "opencheap/3.1-8b-fp8", "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/3.1-8b-fp8",
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/3.1-8b-fp8",
messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);致电 Llama 3.1 8B (decentralized) 使用 OpenAI SDK:将其指向 https://api.opencheap.si/v1 并传递模型 ID opencheap/3.1-8b-fp8;其余代码保持不变。
About Llama 3.1 8B (decentralized)
- 请求示例
- $0.0002310,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.
用文字表述价格
Llama 3.1 8B (decentralized) costs from $0.02 per 1M input tokens and $0.03 per 1M output tokens on OpenCheap, with cached input at $0.01 per 1M tokens. It has no public list price to compare with. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.00023, and 1,000 such requests about $0.23.
2 providers serve Llama 3.1 8B (decentralized) on OpenCheap. Its context window is 128K tokens (128,000), room for roughly 96,000 words of English in one request.
Llama 3.1 8B (decentralized) is one of 25 Meta models on OpenCheap.
Prices as of 2026-12-04 11:48 UTC.
关于定价的问题
How much does the Llama 3.1 8B (decentralized) API cost per 1M tokens?
Llama 3.1 8B (decentralized) costs from $0.02 per 1M input tokens and $0.03 per 1M output tokens on OpenCheap, with cached input at $0.01 per 1M tokens. Prices as of 2026-12-04 11:48 UTC.
What does one Llama 3.1 8B (decentralized) request cost?
A request with 10,000 input tokens and 1,000 output tokens costs about $0.00023, and 1,000 such requests about $0.23. Every answer reports its own cost in usage.cost.
Which providers serve Llama 3.1 8B (decentralized)?
2 providers serve Llama 3.1 8B (decentralized) 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 Llama 3.1 8B (decentralized)?
Its context window is 128K tokens (128,000), room for roughly 96,000 words of English in one request.
How do I call the Llama 3.1 8B (decentralized) API?
Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/3.1-8b-fp8. 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
- meta-llama/Llama-3.1-70B-Instructllama-3.1-70b$0.42 / $0.42 per 1M · 131K 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/Qwen3-32BQwen · 131K context$0.0096 / $0.032 per 1M
- 杰玛 4 26B A4B 它Google · 26.2万条上下文$0.01 / $0.03 per 1M9 % cheaper
- google/gemma-3-27b-itGoogle · 131K context$0.02 / $0.05 per 1M
- DeepSeek V4.1 闪电版DeepSeek · 100万上下文$0.0073 / $0.029 per 1M13 % cheaper
- Ministral 14B 3.0Mistral · 128K context$0.024 / $0.024 per 1M13 % cheaper
- zai-org/GLM-4.7-FlashZhipu · 202K context$0.0048 / $0.032 per 1M8 % cheaper
Compare Llama 3.1 8B (decentralized) with any model →Cheapest LLM API