Model family
豆包
Model details
Call 豆包 doubao-seed-2-1-pro-260628 via Infistar: inspect the exact model ID, declared endpoints (openai), transparent CNY pricing, and ready-to-run examples.
Exact model IDdoubao-seed-2-1-pro-260628
豆包
openai
text
Settled by actual token usage
Input ¥6 / Output ¥30.0001 per 1M tokens, cache read ¥1.2
Official: input ¥6 / output ¥30
Call doubao-seed-2-1-pro-260628 via POST /v1/chat/completions using your Infistar API key:
curl https://infistar.ai/v1/chat/completions \
-H "Authorization: Bearer $INFISTAR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"doubao-seed-2-1-pro-260628","messages":[{"role":"user","content":"Hello"}]}'from openai import OpenAI
client = OpenAI(api_key="YOUR_INFISTAR_KEY", base_url="https://infistar.ai/v1")
res = client.chat.completions.create(model="doubao-seed-2-1-pro-260628", messages=[{"role": "user", "content": "Hello"}])
print(res.choices[0].message.content)Models and prices may change. Sign in to check available models and review current pricing before calling.