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