Create more. Sell more this Black Friday.Explore

Doubao Seed 2.1 API

On EvoLink, choose Pro or Lite for a 1M-token context window, or Turbo for 256K. Lite also accepts audio on Chat Completions and Responses. Compare token rates below and copy the model ID for your first request.

ByteDance / BytePlusText GenerationAvailable
from $0.118 / 1M input tokens
API docs
Versioned modelPro, Turbo and Lite tiersThinking modeImage input, audio on LiteChat + Messages + Responses
Production routeLive
Context
1M (Pro, Lite) / 256K (Turbo) context · 256K max output
Best For
Production coding, agents, and long documents on a versioned model
Input
Text + images · Lite + Audio input
Output
Text · JSON (structured output) · tool calls

Choose Doubao Seed 2.1

Three versioned Seed 2.1 tiers on the same request format: doubao-seed-2-1-pro, doubao-seed-2-1-turbo and doubao-seed-2-1-lite. Pick a tier per workload and check current rates in Pricing before production.

Doubao Seed 2.1 Pro

The larger Seed 2.1 tier with a 1M-token context window

Selected
Model ID
doubao-seed-2-1-pro
Best for

Long documents, repository-scale coding, and agents that carry a lot of state; evaluate quality and cost per accepted result on your own tasks.

Input
$0.883 / 1M
60 cr / 1M
Cache hit
$0.177 / 1M
12 cr / 1M
Output
$4.412 / 1M
300 cr / 1M
Cache storage
$0.0025 / 1M / h
0.17 cr / 1M / h

Doubao Seed 2.1 Turbo

The lower-cost Seed 2.1 tier with a 256K-token context window

Model ID
doubao-seed-2-1-turbo
Best for

High-volume chat, extraction, and tool calls that fit in 256K tokens, where cost per request matters more than maximum context.

Input
$0.442 / 1M
30 cr / 1M
Cache hit
$0.089 / 1M
6 cr / 1M
Output
$2.206 / 1M
150 cr / 1M
Cache storage
$0.0025 / 1M / h
0.17 cr / 1M / h

Doubao Seed 2.1 Lite

The lowest-cost Seed 2.1 tier with a 1M-token window and audio input

Model ID
doubao-seed-2-1-lite
Best for

High-volume text and audio work — call summaries, meeting notes, classification and extraction — where price per token matters most; check quality on your own tasks.

Input
$0.118 / 1M
8 cr / 1M
Cache hit
$0.024 / 1M
1.6 cr / 1M
Output
$0.398 / 1M
27 cr / 1M
Audio input
$1.765 / 1M
120 cr / 1M
Cached audio
$0.353 / 1M
24 cr / 1M
Cache storage
$0.0025 / 1M / h
0.17 cr / 1M / h

All rates are per 1M tokens, shown in USD and credits, and reflect your account's current pricing.

Doubao Seed 2.1 pricing

Estimate what one Doubao Seed 2.1 request costs before you integrate. The calculator uses your account's current rates, with official pricing as a reference.

Request calculator

Enter the token mix for one request and the number of successful tool calls.

Estimated request cost

Doubao Seed 2.1 Pro
USD$0.0023
Credits0.1524
Input tokens0.06 cr
Cache hit tokens0.0024 cr
Output tokens0.09 cr

Minimum charge: 0.01 credits per request.

Budget guide

Approximate requests using the current token mix.
Add credits
$10
About 4265 requests

For quick testing

$50
About 22309 requests

For regular development

$100
About 44619 requests

For production evaluation

Server-side tool rates

Web search works on the Responses and Messages APIs and is billed per search; Chat Completions requests do not run web search. On Responses, sources: ["doubao"] is billed as Doubao Search, while the default search_engine source and the toutiao / douyin / moji sources each have their own rate; web search on Messages is billed as Doubao Search. Search fees are added after the token minimum charge. Failed attempts have no tool fee, but tokens still apply.
  • Doubao SearchResponses · Messages$0.0030/ call0.2 cr / call
  • Web search (search_engine)Responses$0.0006/ call0.04 cr / call
  • Web search (toutiao / douyin / moji)Responses$0.0009/ call0.06 cr / call

Doubao Seed 2.1 API

On EvoLink, choose Pro or Lite for a 1M-token context window, or Turbo for 256K. Lite also accepts audio on Chat Completions and Responses. Compare token rates below and copy the model ID for your first request.

Doubao Seed 2.1 is served on EvoLink under the model ID doubao-seed-2-1-pro / doubao-seed-2-1-turbo / doubao-seed-2-1-lite through Chat Completions · Anthropic Messages · Responses, with the same API key and balance you use for every other model. It offers a 1M (Pro, Lite) / 256K (Turbo) context window and up to 256K output tokens, plus long-context coding, image input, tool use.

Doubao Seed 2.1

Doubao Seed 2.1 specs and capabilities

Numbers come from the EvoLink route configuration; capabilities are what the API exposes today.

Context window
1M (Pro, Lite) / 256K (Turbo) tokens
Max output
256K tokens
Input
Text + images · Lite + Audio input
Output
Text · JSON (structured output) · tool calls
Reasoning
Thinking mode (on by default)
Tool use
Function calling with multi-step tool sequences
Prompt caching
Explicit + implicit cache tiers
Server-side tools
Doubao Search, Web search (search_engine), Web search (toutiao / douyin / moji), billed per successful call
Protocols
Chat Completions · Anthropic Messages · Responses
Model ID
doubao-seed-2-1-pro / doubao-seed-2-1-turbo / doubao-seed-2-1-lite

Use doubao-seed-2-1-pro, doubao-seed-2-1-turbo or doubao-seed-2-1-lite in API requests; /seed-2-1 is the page URL. These stable API names do not include an upstream snapshot date. Check the active version when reproducibility matters.

What is the Doubao Seed 2.1 API best suited for?

Seed 2.1 is a released model family with Pro, Turbo and Lite tiers. Choose by context needs, output quality and cost on your workload: Pro offers 1M context; Turbo offers 256K at a lower token price; Lite offers 1M at the lowest price and also accepts audio. Versioned model names do not guarantee identical responses.

Long documents on Pro

Contracts, reports, and manuals that need to be read together fit in Pro’s larger window. Ask for answers with the source section cited, and check citations against the documents before relying on them.

Repository-scale coding on Pro

Give the model related source files, tests, and conventions in one request and ask for a plan and a patch. Send the files the task needs rather than the whole repository.

High-volume work on Turbo or Lite

Chat, classification, extraction, summarisation and tool-calling agents run on the lower-cost tiers: Turbo within 256K tokens, Lite with 1M tokens at the lowest rates. Validate structured output on every response before passing it downstream.

Audio understanding on Lite

Lite also takes audio (mp3, wav, aac or m4a, up to 120 minutes per request) next to text and images on Chat Completions and Responses, for call summaries, meeting notes and spoken-content review. Audio tokens have their own rate, roughly 6.25 tokens per second of audio.

Seed 2.1 Pro, Turbo, Lite, or Seed Evolving?

All four are ByteDance Seed text models on EvoLink with the same request format, API key, and balance. They differ in context size, price, audio support, and how often the model behind the ID changes.

Long inputs on Pro or Lite

Both doubao-seed-2-1-pro and doubao-seed-2-1-lite accept a 1M-token context. Compare their answers on the same long document or coding task before choosing a tier.

Turbo or Lite when volume is high

Choose doubao-seed-2-1-turbo for chat, extraction, and tool calls that fit in 256K tokens; choose doubao-seed-2-1-lite for the lowest token price with a 1M window, and for requests that include audio.

Evolving to try the newest abilities

doubao-seed-evolving is updated on a weekly cadence. Use it to evaluate new Seed abilities, and keep production traffic on a versioned Seed 2.1 tier.

Switch tiers in configuration

Read the model ID from configuration rather than code. Moving a workload between Pro and Turbo, or trying Evolving, is then a configuration change instead of a deploy.

How do you keep Doubao Seed 2.1 API cost predictable?

The Pricing section above holds the live rates for the selected tier and a request calculator. Treat it as an estimate, then reconcile the token categories reported in usage with your final charges.

Route by the context the task needs

Compare the tiers on representative tasks. Use Lite or Turbo where their quality meets your needs and Pro for tasks that perform better on it. On Lite, audio input has its own, higher per-token rate than text, so measure audio length per request.

Budget for thinking tokens

Thinking is on by default, and reasoning tokens are billed as output. Turn it off for simple tasks with thinking.type=disabled on Chat Completions or reasoning.effort=minimal on Responses, and compare cost per accepted result.

Keep the prefix stable so it caches

Put the system prompt, tool definitions, and shared context first and keep them identical across requests. Matched prefix tokens are billed at the cache-hit rate; inspect the cached-token field instead of assuming a hit.

Set an output budget per task

The 256K output ceiling is a limit, not a default. Set max_tokens per task type, detect truncation, and bound retries. With thinking on (the default), max_tokens on Chat Completions does not cap reasoning tokens, which are billed as output; use max_output_tokens on Responses or turn thinking off for a hard cap.

Two ways to use Doubao Seed 2.1: EvoLink API or Agent

Use the EvoLink API for product backends and batch jobs, or call Doubao Seed 2.1 from Codex, Claude, or Gemini for coding and analysis workflows. Both paths share the same EvoLink API key, balance, model ID, and request history.

Option 1

Integrate with the EvoLink API

Best for: product backends, batch jobs, automated pipelines

Send OpenAI-compatible Chat Completions (or Anthropic Messages) requests to EvoLink and control the model ID, system prompt, output budget, tools, and structured output.

  1. 1Create an EvoLink API key in the console
  2. 2Point your OpenAI or Anthropic SDK at the EvoLink base URL and select the model ID shown above
  3. 3Send one representative request and read the usage field for input, cached, and output tokens
  4. 4Set max_tokens and retries per task; keep tool-call IDs and results across turns
Option 2

Call it with an Agent

Best for: coding, review, and analysis tasks in Codex, Claude, and Gemini

Give the Agent the task, the inputs to include, and the acceptance criteria. It assembles the request, calls Doubao Seed 2.1 through EvoLink, and returns the answer with token usage.

  1. 1Set EVOLINK_API_KEY in your local environment; never put it in code or a prompt
  2. 2Describe the task, the inputs to include, and the expected output format
  3. 3Ask the Agent to call Doubao Seed 2.1 through EvoLink and show the request before sending
  4. 4Let the Agent report the answer, token usage, and any error body

Doubao Seed 2.1 API code example and error handling

This example shows the shortest runnable request: an OpenAI-compatible Chat Completions call with a system prompt, a user message, and an output budget. Open the API tab for the complete parameter and response reference.

View complete API docs
cURL
curl -X POST https://api.evolink.ai/v1/chat/completions \
  -H "Authorization: Bearer $EVOLINK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "doubao-seed-2-1-pro",
    "messages": [
      { "role": "system", "content": "You are a careful analyst. Answer only from the provided documents." },
      { "role": "user", "content": "Summarise the obligations in these contracts and cite the clause for each:\n<documents>" }
    ],
    "max_tokens": 8192
  }'

# Use "doubao-seed-2-1-turbo" for the 256K-context tier at a lower price.
# Use "doubao-seed-2-1-lite" for the lowest price and audio input (input_audio on Chat Completions and Responses).
# Anthropic Messages (/v1/messages) and Responses (/v1/responses) accept the
# same model IDs.

Invalid request or unsupported parameter

Check the model ID, the messages array, and parameter ranges against the API reference; remove fields this route does not support.

Authentication or balance issue

Check the Authorization bearer token and confirm the available balance in the console.

Context length exceeded

Prompt tokens exceed the Doubao Seed 2.1 context window. Trim or retrieve only the relevant evidence and reuse cached prefixes.

Rate limited (429)

Back off and retry with jitter; batch or queue requests instead of sending parallel bursts.

Content or tool call rejected

Review sensitive content, malformed tool-call arguments, and JSON schema mismatches before retrying.

How do you send your first Doubao Seed 2.1 request?

Four steps from an API key to production traffic. The API link opens the Doubao Seed documentation; requests use the same format with these model IDs.

01

Copy the exact model ID

Use doubao-seed-2-1-pro, doubao-seed-2-1-turbo or doubao-seed-2-1-lite in your model configuration. The copy buttons on the Models cards above give you the exact strings; do not use the page URL or an upstream versioned name.

Model configuration
02

Send a text request on your protocol

Start with a small request on Chat Completions, Messages, or Responses and confirm the endpoint, authentication, response parsing, and usage before adding tools or images.

First request
03

Pick the tier per workload

Measure the prompt size of each task type. Send high-volume tasks to Lite or Turbo (Turbo only when they fit in 256K), requests with audio to Lite, and the hardest tasks to Pro. Decide where thinking is worth its output cost.

Tier routing
04

Stabilise the prefix, then scale up

Keep reusable instructions and tool definitions stable, measure cache hits, and increase traffic after quality, latency, and final charges pass your acceptance criteria.

Gradual rollout

Cache hits cost less; only explicit caches pay for storage

Automatic prompt caching on all tiers is free to store: when the start of a request matches a recent one, the matched tokens are billed at the cache-hit rate. Explicit caching on the Responses API (caching: {"type": "enabled"}) also bills cache storage per hour at the rate on the Models card, charged in full when the cache is created for its whole lifetime — three days unless you set expire_at — and not refunded if you delete it early. To keep a cache only briefly, set expire_at to an earlier Unix timestamp (in seconds).

1M context on Pro, 1M on Lite, 256K on Turbo, 256K output on all tiers

Pro fits a large document set or a repository slice in one request; Lite offers the same window at the lowest price; Turbo covers most chat, extraction, and agent turns for less than Pro. Route by the context each task actually needs, keep the prefix stable so it caches, and set an output budget per task — output is the priciest text dimension, though on Lite audio input costs more than output.

Compare Doubao Seed 2.1 with Qwen 3.8 Max and DeepSeek V4 Pro

EvoLink

The Seed 2.1 column follows the tier selected above. Compare input/output rates, context, caching, and workload fit, and run the same requests before choosing; prices follow your account’s current rates.

Doubao Seed 2.1 Pro
Input / output$0.883 / $4.412
Context1M
CachingAutomatic cache hits
Best forLong documents, repository-scale coding, and agents that carry a lot of state; evaluate quality and cost per accepted result on your own tasks.
Qwen 3.8 Max
Input / output$1.9 / $5.7
Context1.05M
CachingExplicit prompt caching
Best forRepository-wide engineering, multi-document synthesis, tool-heavy agents
DeepSeek V4 Pro
Input / output$1.192 / $3.574
Context1M
CachingAutomatic cache hits
Best forDeeper reasoning, complex coding, and agent runs where Flash falls short

What should you confirm before putting Doubao Seed 2.1 on production traffic?

Verify output quality, context limits, supported controls, and actual charges on the tier you plan to use.

The model ID and protocol are wired correctly

Confirm the request sends doubao-seed-2-1-pro, doubao-seed-2-1-turbo or doubao-seed-2-1-lite, the response arrives on the protocol you expect, and usage reports input, cached, and output tokens separately — plus audio tokens when you send audio.

Requests fit the tier’s context window

If a request exceeds Turbo’s 256K window, shorten the input or switch to Pro or Lite. For audio, use Lite.

Output quality holds on your prompts

Replay a fixed set of real requests on the tier you plan to use and check instruction following, format validity, tool outcomes, and thinking behavior.

Latency and errors behave under load

Observe response time with thinking on and off, and handle rate limits, timeouts, and invalid structured output with bounded retries.

Start with representative tasks and a small traffic share on each tier. Expand when quality, latency, and cost per accepted result meet your bar, and keep more than one tier configured so a workload can move between them without a deploy.

Doubao Seed Model Family

Same API key and balance — switch tiers without changing your integration.

Doubao Seed 2.1

Doubao Seed 2.1

Current model

ByteDance Seed 2.1: Pro with 1M context, Turbo with 256K, Lite with 1M, audio input and the lowest token price

Doubao Seed Evolving

Doubao Seed Evolving

ByteDance Seed’s fast-iterating model for coding and agent work

View model
Doubao Seed 2.0

Doubao Seed 2.0

The earlier Seed generation, now offered as Seed 2.0 Mini: fast, low-cost text with 256K context

View model

Other text models on EvoLink besides Doubao Seed 2.1

GPT-5.6

GPT-5.6

OpenAI’s tiered frontier family, useful as a quality ceiling when you want to know what the same task costs on a premium route.

View model
Claude Opus 5

Claude Opus 5

Anthropic’s premium route for long-running agents, tool reliability, and complex code review.

View model
Kimi K3

Kimi K3

Moonshot’s long-context reasoning route with a separate cached-input rate — a close comparison for agent workloads.

View model
GLM-5.3

GLM-5.3

Zhipu’s flagship route with automatic caching, another option for the same prompts.

View model

Doubao Seed 2.1 guides and related reading

Doubao Seed 2.0 review: benchmarks and pricing

Doubao Seed 2.0 review: benchmarks and pricing

Background on the previous Seed generation: benchmark results, tiers, and how it compares with other frontier models.

Read guide

Doubao Seed 2.1 API FAQ

What are the Doubao Seed 2.1 model IDs?

Use doubao-seed-2-1-pro, doubao-seed-2-1-turbo and doubao-seed-2-1-lite. This page lives at /seed-2-1; use the model IDs, not the URL, in API requests.

What is the difference between Pro, Turbo and Lite?

Pro has a 1M-token context window; Turbo has a 256K-token window and a lower price per token; Lite has a 1M-token window, the lowest token price, and also accepts audio input. All three support thinking mode, image input, tool calling, and up to 256K output tokens. Compare their rates in the Pricing section.

How is Seed 2.1 different from Seed Evolving?

Seed 2.1 offers Pro, Turbo and Lite in a released model family; doubao-seed-evolving follows weekly Seed updates. The EvoLink IDs are stable API names, not a promise to pin an upstream snapshot forever. For version-sensitive workloads, confirm the active version and evaluate it before changing models.

Which protocols can I call it on?

Chat Completions (/v1/chat/completions), Anthropic Messages (/v1/messages), and Responses (/v1/responses) all accept the three model IDs with the same API key. Audio input on Lite works on Chat Completions and Responses, not on Messages. Validate streaming, tools, and usage on the protocol you choose.

Is thinking mode on by default?

Yes. To turn it off, send thinking.type=disabled on Chat Completions or reasoning.effort=minimal on Responses. Reasoning tokens are billed as output, so measure the difference on your own tasks.

How does prompt caching work?

There are two kinds. Automatic caching is always on on all tiers and free to store: when the start of a request matches a recent one, the matched tokens are billed at the cache-hit rate; a hit is likely for a stable prefix but not guaranteed. Explicit caching on the Responses API (caching: {"type": "enabled"}) also bills storage: newly cached tokens × the clock hours the cache spans from creation to expiry × the per-hour rate on the Models card, charged in full at creation (three days by default). expire_at is the expiry time as a Unix timestamp in seconds: to keep a cache for ten minutes, send the current time plus 600.

Does it accept images and audio?

Images: yes, on all three tiers. Audio: on Lite only, through Chat Completions (input_audio) or Responses, as a URL or Base64 (up to 25 MB and 120 minutes per request). Audio is billed per audio token at its own rate, with a lower rate when it is served from cache; compare usage and final charges on a sample before projecting batch cost.

What happens when a request is longer than Turbo’s context?

The provider rejects requests that exceed the model’s context window. Measure prompt size before sending, and route long requests to Pro or trim them.

How much do the Seed 2.1 Pro, Turbo and Lite APIs cost?

The Models cards show the current input, output and cache-hit rates, plus audio input and cached audio rates for Lite. Use the Pricing calculator to estimate token charges for your workload. Reasoning tokens count as output. Explicit cache storage is charged separately by token count and storage duration; it is not included in the token-only estimate.