字节跳动
豆包 Seed 1.6 Lite
豆包轻量版本,提供极致性价比的大语言模型能力
上下文长度128K tokens
模型类型大语言模型 (LLM)
特色能力极致性价比
定价与规格
💰 定价
输入¥0.3 / M tokens
输出¥0.6 / M tokens
⚙️ 规格
上下文长度128K tokens
模型类型大语言模型 (LLM)
特色能力极致性价比
训练截止日期2024年10月
API 调用示例
Python
from openai import OpenAI
client = OpenAI(
base_url="https://api.xairouter.com/v1",
api_key="your-api-key"
)
response = client.chat.completions.create(
model="doubao-seed-1-6-lite-251015",
messages=[
{"role": "user", "content": "Hello!"}
]
)
print(response.choices[0].message.content)cURL
curl https://api.xairouter.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "doubao-seed-1-6-lite-251015",
"messages": [
{"role": "user", "content": "Hello!"}
]
}'