doubao-seed-2.1-turbo API
Call doubao-seed-2.1-turbo through a single OpenAI-compatible endpoint — one key, no separate vendor account, no multi-provider wiring.
ByteDance DoubaoChatReasoningCodingVisionPricing
Input$0.46 / 1M tokens (¥3.00)
Output$2.31 / 1M tokens (¥15.00)
Output multiplier×5.00
Context window256K tokens
Max output256K tokens
Prices are per 1M tokens in USD · ¥6.5 = $1 · Billed in CNY
ByteDance Doubao
Doubao Seed models provide a low-cost entry point for general chat, with lighter and turbo tiers that scale down to small budgets.
When to use it
At $0.46 per 1M input tokens it sits below the catalogue median of $0.69 — a cost-first choice. Best for coding agents and repository-scale edits. Every model here is reachable with the same API key, so trialling it against a stronger sibling costs one line of code.
Code
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-turbo",
messages=[{"role": "user", "content": "Explain prefix caching in one paragraph"}]
)
print(r.choices[0].message.content)Other models from this provider
| Models | Input $/M | Output $/M | Intelligence index | Coding index |
|---|---|---|---|---|
| doubao-seedream-5.0-pro | $0.046 / req | — | — | — |
| doubao-seed-2.0-mini | $0.031 | $0.31 | — | — |
| doubao-seed-2.1-lite | $0.12 | $0.42 | — | — |
| doubao-seed-2.1-pro | $0.92 | $4.62 | — | — |
| doubao-seed-evolving | $0.92 | $4.62 | — | — |