Call doubao-seed-2.1-pro through a single OpenAI-compatible endpoint — one key, no separate vendor account, no multi-provider wiring.
Prices are per 1M tokens in USD · ¥6.6 = $1 · Billed in CNY
At $0.91 per 1M input tokens it sits above the catalogue median of $0.61 — a capability-first choice. Best for general-purpose text workloads. Every model here is reachable with the same API key, so trialling it against a stronger sibling costs one line of 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-pro",
messages=[{"role": "user", "content": "Explain prefix caching in one paragraph"}]
)
print(r.choices[0].message.content)