doubao-seed-2.0-mini API
Call doubao-seed-2.0-mini through a single OpenAI-compatible endpoint — one key, no separate vendor account, no multi-provider wiring.
ByteDance DoubaoChatReasoningCodingVisionPricing
Input$0.031 / 1M tokens (¥0.20)
Output$0.31 / 1M tokens (¥2.00)
Output multiplier×10.00
Context window256K tokens
Max output131K 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.03 per 1M input tokens it sits far 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.0-mini",
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.1-lite | $0.12 | $0.42 | — | — |
| doubao-seed-2.1-turbo | $0.46 | $2.31 | — | — |
| doubao-seed-2.1-pro | $0.92 | $4.62 | — | — |
| doubao-seed-evolving | $0.92 | $4.62 | — | — |