| doubao-seed-2.1-lite | doubao-seed-code | |
|---|---|---|
| Providers | — | — |
| Input $/M | $0.12 | $0.48 |
| Output $/M | $0.41 | $2.42 |
| Output multiplier | ×3.38 | ×5.00 |
| Context window | — | — |
| Intelligence index | — | — |
| Coding index | — | — |
doubao-seed-2.1-lite is roughly 4.0× cheaper on input than doubao-seed-code. If your workload passes the quality bar on the cheaper model, that gap compounds across every request; route to doubao-seed-code deliberately rather than by default.
from openai import OpenAI
client = OpenAI(base_url="https://starseaapi.com/v1", api_key="sk-...")
# doubao-seed-2.1-lite
client.chat.completions.create(model="doubao-seed-2.1-lite", messages=[{"role":"user","content":"Hi"}])
# doubao-seed-code
client.chat.completions.create(model="doubao-seed-code", messages=[{"role": "user", "content": "Hi"}])