Doubao-Seed-2.0-lite-260428 新版本,支持视频、图像、音频、文本原生统一理解,是豆包大模型家族首款全模态理解模型,同时升级Agent、Coding与GUI能力。在同等算力成本下,是企业大规模、批量化部署全模态推理任务的更优性价比选择。
from openai import OpenAI
client = OpenAI(
base_url="https://api.openroute.cn/v1",
api_key="<ONTOROUTE_API_KEY>",
)
completion = client.chat.completions.create(
model="doubao/doubao-seed-2.0-lite-260428",
messages=[
{
"role": "user",
"content": "Write a one-sentence bedtime story about a unicorn.",
}
],
)
print(completion.choices[0].message.content)Prices are CNY (¥) per million tokens, billed as you go. Cache reads can cut the cost of repeated context.
| Provider | Input | Output | Cache read | Context length | Latency | Uptime | Status |
|---|---|---|---|---|---|---|---|
volcengine volcengine/doubao-seed-2-0-lite-260428 | ¥0.600 | ¥3.60 | — | 256K | 20.3s | 80.40% | Lowest |
| Parameter | Description | Default |
|---|---|---|
| tools | Tools | Set per request |