返回模型列表购买套餐
ByteDance
Doubao Seed 2.1 Pro
Doubao Seed 2.1 Pro 是字节跳动豆包新一代旗舰深度思考模型,256K 上下文,面向复杂代码交付、长链路 Agent 执行与多模态视觉理解;在多项编程与科学计算基准上接近或超越 GPT-5.5。
快速参数
上下文
256K
最大输出
256K
出品方
ByteDance
规格数
1
模态
输入 text输入 image输出 text
规格与刊例价(每百万 tokens)
高质量
输入 $0.882353输出 $4.411765缓存读取 $0.176471
推荐套餐
Doubao Seed 2.1 Pro 体验套餐
充值即用,按量计费;新用户享 $1 体验额度。
API 接入
Model ID
volcengine/doubao-seed-2.1-procURL
curl https://intertoken.ai/v1/chat/completions \
-H "Authorization: Bearer $TOKENPORTAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "volcengine/doubao-seed-2.1-pro",
"messages": [{"role": "user", "content": "Hello!"}]
}'Python
from openai import OpenAI
client = OpenAI(
base_url="https://intertoken.ai/v1",
api_key="$TOKENPORTAL_API_KEY",
)
resp = client.chat.completions.create(
model="volcengine/doubao-seed-2.1-pro",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)