| doubao-seed-2.1-turbo | doubao-seed-code | |
|---|---|---|
| Providers | ByteDance Doubao | ByteDance Doubao |
| Input $/M | $0.45 | $0.48 |
| Output $/M | $2.27 | $2.42 |
| Output multiplier | ×5.00 | ×5.00 |
| Context window | 256K tokens | 256K tokens |
| Intelligence index | — | — |
| Coding index | — | — |
Input pricing is close — 1.07× apart — so the decision should come down to measured quality on your own evaluation set rather than headline cost.
Tags: doubao-seed-2.1-turbo — Chat, Reasoning, Coding, Vision · doubao-seed-code — Chat, Reasoning, Coding, Vision
from openai import OpenAI
client = OpenAI(base_url="https://starseaapi.com/v1", api_key="sk-...")
# doubao-seed-2.1-turbo
client.chat.completions.create(model="doubao-seed-2.1-turbo", messages=[{"role":"user","content":"Hi"}])
# doubao-seed-code
client.chat.completions.create(model="doubao-seed-code", messages=[{"role": "user", "content": "Hi"}])