ByteDance
seed-2-0-code-preview-260328
Seed 2.0 Code is a model from ByteDance Seed optimized for agentic coding. It is suited for frontend development, multilingual programming tasks, and coding-agent workflows in tools such as Claude...
彙整後的模態
通道
每個通道都以它輸入價最低的計費檔進行比較,輸入價相同時看輸出價。破折號表示 /api/pricing 未提供該費率。選擇通道後,下方的端點與呼叫範例會一併更新。
通道美元 / 每 100 萬 token輸入輸出快取讀取快取寫入
byteplus/seed-2-0-code-preview-260328輸入
$0.50 美元 / 每 100 萬 token
輸出
$3.00 美元 / 每 100 萬 token
快取讀取
$0.10 美元 / 每 100 萬 token
快取寫入
$0.0083 美元 / 每 100 萬 token
端點
POST
/v1/chat/completionsChat Completions呼叫看看
使用中 byteplus/seed-2-0-code-preview-260328
1from openai import OpenAI23client = OpenAI(4 base_url="https://www.realrelay.ai/v1",5 api_key="sk-***",6)78response = client.chat.completions.create(9 model="byteplus/seed-2-0-code-preview-260328",10 messages=[{"role": "user", "content": "Hello"}],11)1213print(response.choices[0].message.content)1import OpenAI from "openai";23const client = new OpenAI({4 baseURL: "https://www.realrelay.ai/v1",5 apiKey: process.env.REALRELAY_API_KEY,6});78const response = await client.chat.completions.create({9 model: "byteplus/seed-2-0-code-preview-260328",10 messages: [{ role: "user", content: "Hello" }],11});1213console.log(response.choices[0].message.content);1curl https://www.realrelay.ai/v1/chat/completions \2 -H "Authorization: Bearer $REALRELAY_API_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "byteplus/seed-2-0-code-preview-260328",6 "messages": [{ "role": "user", "content": "Hello" }]7 }'價格與可用狀態以 2026年10月4日 發布的內容為準。
能力
推理工具使用影像理解
輸入
文字圖像
輸出
文字
