Call doubao-seed-2.1-lite 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.12 per 1M input tokens it sits far below the catalogue median of $0.61 — a cost-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-lite",
messages=[{"role": "user", "content": "Explain prefix caching in one paragraph"}]
)
print(r.choices[0].message.content)