Model ID
Put this value in the request body's `model` field — not the display name above.
by bytedance · ByteDance Doubao Seed 2.1 Turbo — 256K context, image input supported, with a reasoning chain.
POST /v1/chat/completionshttps://usapi.dflop.top/v1curl https://usapi.dflop.top/v1/chat/completions \
-H "Authorization: Bearer sk-gpushare-xxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"model": "doubao-seed-2-1-turbo-260628",
"messages": [
{"role": "user", "content": "你可以帮我做什么"}
]
}'Billed per token: input and output are priced separately and settled on the upstream's reported usage.
Sign in and any personal discount on your account will show up here. Sign in
Pick a key under "API access" and fire one real request to see the response — the estimated cost is shown before you send.
404 model_not_foundYou passed the display name instead of the model ID.✗ Doubao Seed 2.1 Turbo→✓ doubao-seed-2-1-turbo-260628
→ Copy the Model ID at the top of this page
402 quota_exceededInsufficient account balance. All your API keys share one balance.
401 / 403The API key is invalid, or it has a model allowlist that doesn't include this ID.
→ Check the key's status and allowed models
400 invalid_requestA request body field is invalid, or this model doesn't support the protocol endpoint you called.
→ Check your request body against the sample code above
输入价格约合每 100 万 token $0.445。本页的 Markdown 版本:/models/doubao-seed-2-1-turbo-260628.md