ByteDance: Doubao-Seed-CodeOfficial docs

ByteDance: Doubao-Seed-Code

byByteDance
Official docs

Doubao-Seed-Code is a reasoning model from ByteDance released on Nov 11, 2025. It reads text and images and writes text, with a 256K token context window and up to 32K tokens per reply.

Show more

It costs $0.17 per million input tokens and $1.12 per million output tokens. Cached input bills at $0.034, 80% less than fresh input.

It supports tool calling and prompt caching.

Modalities
In / out price
$0.17 / $1.12 per 1M
Context
256K
Max output
32K
Released
Nov 11, 2025
Knowledge cutoff
n/a
  • Tool calling
  • Structured output
  • Reasoning
  • Prompt caching
  • Open weights
  • Free to use

Doubao-Seed-Code pricing

USD, as listed on Oct 22, 2026. Most bills are input heavy, so the cached input rate matters as much as the headline price.

Input$0.17 / 1M tokens
Output$1.12 / 1M tokens
Cached input (read)$0.034 / 1M tokens
Prompts over 32K$0.20 in, $1.69 out
Prompts over 128K$0.39 in, $2.25 out

What Doubao-Seed-Code costs per month

Pick a workload close to yours or type your own volumes.

Doubao-Seed-Code per month
$18.39
Without caching
$24.51
Per request
$0.0006

Supported request parameters

What you can set when you call Doubao-Seed-Code through an OpenAI compatible API.

  • Toolstools
  • Reasoningreasoning
  • Temperaturetemperature

Alternatives to Doubao-Seed-Code

Models that take the same inputs and call tools, closest in price, cheaper ones first.

  • Index 11.3

    Reads text, images and files. Tool calling, structured output, reasoning. Served by 15 providers.

    by mistralaiMar 16, 2026262K context$0.15/M input tokens$0.60/M output tokens15 providers

  • Reads text and images. Tool calling, structured output, reasoning.

    by z-aiJul 29, 2026$0.20/M input tokens$0.80/M output tokens

  • Reads text and images. Tool calling, reasoning.

    by qwenApr 1, 2025$0.20/M input tokens$0.80/M output tokens

  • Index 39.8

    Reads text, images and video. Tool calling, structured output, reasoning. Served by 26 providers.

    by qwenAug 26, 20261M context$0.15/M input tokens$0.47/M output tokens26 providers

  • Reads text and images. Tool calling, structured output, reasoning. Served by 10 providers.

    by deepseekAug 21, 2026$0.2156/M input tokens$0.6468/M output tokens10 providers

  • Reads text and images. Tool calling, structured output, reasoning. Served by 38 providers.

    by googleApr 2, 2026262K context$0.14/M input tokens$0.40/M output tokens38 providers

More from ByteDance

All ByteDance models

Doubao-Seed-Code questions

How much does the Doubao-Seed-Code API cost?

$0.17 per million input tokens and $1.12 per million output tokens, with cached input at $0.034. Prompts over 32K tokens bill at $0.20 input and $1.69 output. The estimator on this page turns that into a monthly bill for your own workload.

What is the context window of Doubao-Seed-Code?

256,000 tokens of input, and it can write up to 32,000 tokens in one reply. As a rough guide, a million tokens is around 750,000 English words.

Does Doubao-Seed-Code support tool calling?

Yes. It accepts tool definitions, which is what an agent needs to call your APIs.

Is Doubao-Seed-Code open source?

No. ByteDance serves it through an API only, so you cannot download the weights or host it yourself.

When was Doubao-Seed-Code released?

Nov 11, 2025.

Catalog data from models.dev (MIT licensed), refreshed daily, last on Oct 22, 2026. The summary is written from these facts.