Dola-Seed 2.0 Code API

Dola-Seed 2.0 Code is ByteDance’s dedicated coding model, built for enterprise-grade programming and code generation tasks.

Modalities
Image, Text, VideoText
In / Out price
$0.5/$3per 1M
Context window
250K tokens
Released
Apr 24, 2026

Dola-Seed 2.0 Code overview

The pelican test: one prompt, every text model, unedited SVG output from Nov 3, 2026.

SVG of a pelican riding a bicycle, written by Dola-Seed 2.0 Code through AI/ML API

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

DeveloperByteDance
Model IDbytedance/seed-2-0-code-preview
Release DateApril 23, 2026
Context Window256,000 tokens (~256K)
Max Output Tokens128,000 tokens
ModalitiesImage, Text, Video → Text
Capabilitiesparallel 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

Dola-Seed 2.0 Code pricing in US dollars
UsagePriceUnit
Input$0.51M tokens
Output$31M tokens
Cached input$0.11M 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.

AI/ML API model prices in USD per million tokens
ModelInputOutput
Dola-Seed 2.0 Code$0.5$3
Dola-Seed 2.0 Mini$0.1$0.4
Dola-Seed 2.0 Lite$0.25$2
Seed 2.1 Turbo$0.529$2.65
Seed 2.0 Code$0.529$3.17

How to use the Dola-Seed 2.0 Code API

View docs

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export 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."
    }
  ]
}'

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.

Start building with Dola-Seed 2.0 Code

Dola-Seed 2.0 Code API

bytedance/seed-2-0-code-preview

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export 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."
    }
  ]
}'