Seed 2.0 Code API

ByteDance Seed-2.0-Code is optimized for agentic coding, frontend development, multilingual programming tasks and coding-agent workflows, with a 256K context window, multimodal (text/image/video) input and selectable reasoning effort.

Modalities
Image, TextText
In / Out price
$0.529/$3.17per 1M
Context window
256K tokens
Released
Jul 30, 2026

Seed 2.0 Code overview

Seed 2.0 Code by ByteDance

ByteDance's agentic coding model built for frontend and multilingual programming.

Seed 2.0 Code specs

Model ID
bytedance-seed/seed-2.0-code
Developer
ByteDance
Context window
262,144 tokens
Max output
131,072 tokens
Input
Image, Text
Output
Text
API
OpenAI-compatible, base URL https://api.aimlapi.com/v1

ByteDance Seed-2.0-Code is optimized for agentic coding, frontend development, multilingual programming tasks and coding-agent workflows, with a 256K context window, multimodal (text/image/video) input and selectable reasoning effort.

Use cases

Seed-2.0-Code is documented as suited for frontend development, especially when building or iterating on user interfaces. It is also suited for multilingual programming tasks, making it a fit for code work across different programming languages.

The model is documented for coding-agent workflows, where it can help with multi-step software tasks in tools and IDEs designed for agentic coding. It is also described as useful for bug diagnosis and repair, including tracing defects and proposing fixes across files.

Capabilities

  • Reasoning
  • Streaming
  • Structured outputs
  • Function calling
  • Vision
  • Web search

Seed 2.0 Code API pricing

Seed 2.0 Code pricing in US dollars
UsagePriceUnit
Input$0.5291M tokens
Output$3.171M tokens

Prices from the AI/ML API price list, checked on Nov 4, 2026.

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
Seed 2.0 Code$0.529$3.17
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
Dola-Seed 2.0 Pro$0.5$3

How to use the 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/seed-2.0-code",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'

Related articles

All posts

Seed 2.0 Code FAQ

What is the context window of Seed 2.0 Code?

Seed 2.0 Code has a 262,144 tokens context window and can return up to 131,072 tokens.

What inputs and outputs does Seed 2.0 Code support?

Seed 2.0 Code takes image, text as input and returns text.

What is the model ID for Seed 2.0 Code?

Use bytedance-seed/seed-2.0-code as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.

When was Seed 2.0 Code released?

Seed 2.0 Code became available on July 30, 2026.

How much does Seed 2.0 Code cost?

Seed 2.0 Code costs $0.529 input and $3.17 output per 1M tokens on AI/ML API, billed as you go with no subscription.

Does Seed 2.0 Code support streaming?

Yes, Seed 2.0 Code can stream responses as they are generated.

Can Seed 2.0 Code read images?

Yes, Seed 2.0 Code accepts image input alongside text.

Who created Seed 2.0 Code?

Seed 2.0 Code was built by ByteDance.

What is Seed 2.0 Code designed for?

It is built for agentic coding tasks such as frontend development, multilingual programming, and coding-agent workflows.

Does Seed 2.0 Code support tool/function calling?

Yes, it supports parallel tool calls and function calling.

Start building with Seed 2.0 Code

Seed 2.0 Code API

bytedance-seed/seed-2.0-code

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/seed-2.0-code",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'