| doubao-seed-2.1-pro | doubao-seed-code | |
|---|---|---|
| 厂商 | — | — |
| 输入 $/M | $0.91 | $0.48 |
| 输出 $/M | $4.55 | $2.42 |
| 输出倍率 | ×5.00 | ×5.00 |
| 上下文 | — | — |
| 智能指数 | — | — |
| 编程指数 | — | — |
在输入单价上,doubao-seed-code 大约比 doubao-seed-2.1-pro 便宜 1.9 倍。如果便宜的那款在质量上能过线,这个差距会在每一次请求上累加;建议显式地把 doubao-seed-2.1-pro 作为定向选择,而不是设为默认。
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"}])