Meta: llama3-8bAPI pricing
llama3-8b is an 8B-parameter language model from Meta. It reads and writes text.
- 每100万枚代币的价格
- $0.032 / $0.063input / output
- 缓存的输入
- $0.032per 1M tokens
- 上下文
- 8.1K tokens
- 服务提供商
- 1
服务提供商
1 provider ·
价格走势
API
curl https://api.opencheap.si/v1/chat/completions \
-H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
-d '{ "model": "opencheap/llama3-8b", "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/llama3-8b",
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/llama3-8b",
messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);致电 llama3-8b 使用 OpenAI SDK:将其指向 https://api.opencheap.si/v1 并传递模型 ID opencheap/llama3-8b;其余代码保持不变。
About llama3-8b
- 请求示例
- $0.0003810,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.
用文字表述价格
llama3-8b costs from $0.032 per 1M input tokens and $0.063 per 1M output tokens on OpenCheap. 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.00038, and 1,000 such requests about $0.38.
One provider serves llama3-8b on OpenCheap today. Its context window is 8.1K tokens (8,192), room for roughly 6,100 words of English in one request.
llama3-8b is one of 25 Meta models on OpenCheap.
Prices as of 2026-12-04 12:01 UTC.
关于定价的问题
How much does the llama3-8b API cost per 1M tokens?
llama3-8b costs from $0.032 per 1M input tokens and $0.063 per 1M output tokens on OpenCheap. Prices as of 2026-12-04 12:01 UTC.
What does one llama3-8b request cost?
A request with 10,000 input tokens and 1,000 output tokens costs about $0.00038, and 1,000 such requests about $0.38. Every answer reports its own cost in usage.cost.
Which providers serve llama3-8b?
One provider serves llama3-8b on OpenCheap today. 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 llama3-8b?
Its context window is 8.1K tokens (8,192), room for roughly 6,100 words of English in one request.
How do I call the llama3-8b API?
Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/llama3-8b. 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-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
类似型号
- DeepSeek V4.1 闪电版DeepSeek · 100万上下文$0.02 / $0.079 per 1M
- Sao10K/L3-8B-Lunaris-v1Other labs · 8.1K context$0.04 / $0.05 per 1M14 % cheaper
- google/gemma-3-27b-itGoogle · 131K context$0.02 / $0.05 per 1M23 % cheaper
- Ling 3.0 FlashinclusionAI · 262K context$0.022 / $0.066 per 1M
- Gryphe/MythoMax-L2-13bGryphe · 8.1K context$0.08 / $0.11 per 1M
- Qwen/Qwen3-Next-80B-A3B-InstructQwen · 26.2万语境$0.0057 / $0.066 per 1M8 % cheaper