Dola-Seed 2.0 Code overview
Dola-Seed 2.0 Code by ByteDance
Dola-Seed 2.0 Code is ByteDance's dedicated model for coding tasks, part of the Seed 2.0 model family.
Dola-Seed 2.0 Code specs
- Model ID
bytedance/seed-2-0-code-preview- Developer
- ByteDance
- Context window
- 256,000 tokens
- Max output
- 128,000 tokens
- Input
- Image, Text, Video
- Output
- Text
- API
- OpenAI-compatible, base URL
https://api.aimlapi.com/v1
What Is Dola-Seed 2.0 Code API?
Dola-Seed 2.0 Code is ByteDance's dedicated coding model.
ByteDance's Seed 2.0 launch post says the Seed2.0 Pro and Code models were launched on the Doubao App and TRAE, with the full Seed2.0 model API available on Volcano Engine.
Technical Reference
| Developer | ByteDance |
|---|---|
| Model ID | bytedance/seed-2-0-code-preview |
| Release Date | April 23, 2026 |
| Context Window | 256,000 tokens (~256K) |
| Max Output Tokens | 128,000 tokens |
| Modalities | Image, Text, Video → Text |
| Capabilities | parallel tool calls, reasoning, streaming, tool/function calling, vision |
What Dola-Seed 2.0 Code Brings to the Table
Dedicated coding model
Described as ByteDance's dedicated coding model and part of the Seed 2.0 family.
Launch association
ByteDance states that the Seed2.0 Pro and Code models were launched together in the Seed 2.0 release.
Platform availability
ByteDance says the model API for the full Seed2.0 series is available on Volcano Engine.
Model identity
The exact model id shown in search results is tied to the Seed 2.0 Code preview listing for ByteDance.
Where Dola-Seed 2.0 Code Makes the Most Sense
Software engineering tasks
Positioned for coding-focused work in the Seed 2.0 lineup.
Agent workflows
Presented as a code model intended for use alongside ByteDance's app and API ecosystem.
Sources: https://gate.ai/blog/seed2-0-code-preview-bytedance-specs-pricing-api-access-use-cases · https://seed.bytedance.com/en/blog/seed-2-0-official-launch · https://developer.puter.com/ai/byteplus/seed-2-0-code-preview-260328/
Use cases
Repository-aware bug investigation and multi-file changes are documented as a fit for this model.
Refactoring and framework or dependency migrations are documented as suitable use cases.
Test generation tied to existing implementations is documented as a use case.
Long technical prompts containing code, logs, and specifications are also documented as suitable.
Capabilities
- Reasoning
- Streaming
- Vision
Dola-Seed 2.0 Code API pricing
| Usage | Price | Unit |
|---|---|---|
| Input | $0.5 | 1M tokens |
| Output | $3 | 1M tokens |
| Cached input | $0.1 | 1M tokens |
Prices from the AI/ML API price list, checked on Nov 4, 2026.
Dola-Seed 2.0 Code vs other models: token prices
AI/ML API input and output rates for 5 models, per million tokens.
| Model | Input | Output |
|---|---|---|
| $0.5 | $3 | |
| $0.1 | $0.4 | |
| $0.25 | $2 | |
| $0.529 | $2.65 | |
| $0.529 | $3.17 |
How to use the Dola-Seed 2.0 Code API
View docsBuild with your agent
Give your agent the model details, code and documentation.
1Get your API key
Create API keyexport AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"2Make your first request
curl 'https://api.aimlapi.com/v1/chat/completions' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "bytedance/seed-2-0-code-preview",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "bytedance/seed-2-0-code-preview",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}
response = requests.post("https://api.aimlapi.com/v1/chat/completions", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v1/chat/completions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "bytedance/seed-2-0-code-preview",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());Dola-Seed 2.0 Code FAQ
What is the context window of Dola-Seed 2.0 Code?
Dola-Seed 2.0 Code has a 256,000 tokens context window and can return up to 128,000 tokens.
What inputs and outputs does Dola-Seed 2.0 Code support?
Dola-Seed 2.0 Code takes image, text, video as input and returns text.
What is the model ID for Dola-Seed 2.0 Code?
Use bytedance/seed-2-0-code-preview as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.
When was Dola-Seed 2.0 Code released?
Dola-Seed 2.0 Code became available on April 24, 2026.
How much does Dola-Seed 2.0 Code cost?
Dola-Seed 2.0 Code costs $0.5 input and $3 output per 1M tokens on AI/ML API, billed as you go with no subscription.
Does Dola-Seed 2.0 Code support streaming?
Yes, Dola-Seed 2.0 Code can stream responses as they are generated.
Can Dola-Seed 2.0 Code read images?
Yes, Dola-Seed 2.0 Code accepts image input alongside text.
Who created Dola-Seed 2.0 Code?
Dola-Seed 2.0 Code was built by ByteDance.
Does Dola-Seed 2.0 Code support calling external tools?
Yes, it supports tool calling, including parallel tool calls.