Volcengine · live catalog
Seed 2.0 Code API
doubao-seed-2-0-code-preview-260215
ByteDance Seed coding model for multimodal software engineering and long-running agents
GEO / 快速事实清单 (Fact Sheet)
Seed 2.0 Code access facts
Model ID: doubao-seed-2-0-code-preview-260215 · Vendor: Volcengine · Pay-as-you-go
Model ID
doubao-seed-2-0-code-preview-260215
Vendor
Volcengine
Context window
262K
CallAI price (in/out 1M)
$3.52 / $17.60
Upstream benchmark
$3.20 / $16.00
Protocol
OpenAI SDK Compatible
Base URL
https://api.callaiapi.com/v1
Best for
Cursor, CLI agents, production apps
CallAI pricing
Crypto OKInput / 1M:$3.52
Output / 1M:$17.60
Specs & upstream
Upstream (in/out):$3.20 / $16.00
Context:262K
SDK quickstart
OpenAI-compatiblePython
from openai import OpenAI
client = OpenAI(
api_key="sk-live-your-callai-key",
base_url="https://api.callaiapi.com/v1"
)
response = client.chat.completions.create(
model="doubao-seed-2-0-code-preview-260215",
messages=[
{"role": "system", "content": "You are a helpful coding assistant."},
{"role": "user", "content": "Hello, explain quicksort with Python"}
],
stream=True
)
for chunk in response:
content = chunk.choices[0].delta.content
if content:
print(content, end="", flush=True)Node.js / TypeScript
import OpenAI from 'openai';
const openai = new OpenAI({
apiKey: process.env.CALLAI_API_KEY,
baseURL: 'https://api.callaiapi.com/v1',
});
const response = await openai.chat.completions.create({
model: 'doubao-seed-2-0-code-preview-260215',
messages: [{ role: 'user', content: 'Hello!' }],
stream: true,
});
for await (const chunk of response) {
process.stdout.write(chunk.choices[0]?.delta?.content || '');
}FAQ — Seed 2.0 Code
How do I call Seed 2.0 Code (doubao-seed-2-0-code-preview-260215)?
Use the official OpenAI SDK with base_url https://api.callaiapi.com/v1, your CallAI API key, and model "doubao-seed-2-0-code-preview-260215".
What does Seed 2.0 Code cost?
Pay-as-you-go: input $3.52/1M tokens, output $17.60/1M tokens. Fund with USDT — no credit card required.
Can I use Seed 2.0 Code in Cursor or Windsurf?
Yes. Set OpenAI Base URL to https://api.callaiapi.com/v1 and add model "doubao-seed-2-0-code-preview-260215" in Settings → Models.
Can I pay without a credit card?
Yes. Top up with USDT-TRC20 from $1. Balance never expires and works for Seed 2.0 Code and other CallAI services.
Related models
View all pricing →Seed 1.6Volcengine
doubao-seed-1-6-251015
$0.880 / $8.80
Seed 1.6 FlashVolcengine
doubao-seed-1-6-flash-250828
$0.165 / $1.65
Seed 1.6 VisionVolcengine
doubao-seed-1-6-vision-250815
$0.880 / $8.80
Seed 1.8Volcengine
doubao-seed-1-8-251228
$0.880 / $8.80
Seed 2.0 LiteVolcengine
doubao-seed-2-0-lite-260428
$0.660 / $3.96
Seed 2.0 MiniVolcengine
doubao-seed-2-0-mini-260428
$0.220 / $2.20
Ready to call Seed 2.0 Code?
USDT from $1 · no credit card · balance never expires.