StarSeaStarAPI
首页模型doubao-seed-2.1-lite

doubao-seed-2.1-lite API

通过统一的 OpenAI 兼容端点调用 doubao-seed-2.1-lite —— 一个密钥、无需单独注册厂商账号、无需自行对接多家服务商。

定价

输入$0.12 / 1M tokens  (¥0.80)
输出$0.41 / 1M tokens  (¥2.70)
输出倍率×3.38

价格单位:美元 / 百万 token · ¥6.6 = $1 · 以人民币结算

代码示例

from openai import OpenAI
client = OpenAI(
  base_url="https://starseaapi.com/v1",
  api_key="sk-your-key"
)
r = client.chat.completions.create(
  model="doubao-seed-2.1-lite",
  messages=[{"role": "user", "content": "Explain prefix caching in one paragraph"}]
)
print(r.choices[0].message.content)

客户端接入 · 快速开始

逐项对比

doubao-seed-2.1-lite 与 doubao-seed-code

输入 ¥0.80 与 ¥3.20

能力分类

低价高性价比模型

共 16 款

OpenAI 兼容接口

共 32 款