Last verified
SHUTS DOWN NOV 24 2026256K CONTEXTTEXTCONTEXT CACHINGCNY SOURCE

Doubao Seed 2.0 Code API Pricing

Shuts down November 24, 2026: Volcano Ark stopped new purchases of doubao-seed-2-0-code-preview-260215 on September 24, 2026 and lists it for shutdown on November 24, 2026, with Doubao Seed Evolving as the suggested migration. Doubao Seed 2.0 Code is Seed 2.0 code-specialized model for IDE agents and software automation. Volcano Ark lists the <=32K tier at ¥3.2/M input, ¥16/M output, and ¥0.64/M cache-hit input; AI//COST converts that baseline to $0.4761/M and $2.3806/M using the reference rate of ¥6.7209/USD. Checked by hand against volcengine.com.

Input - per 1M tokens
$0.476/M
Original ¥3.2/M CNY source
Output - per 1M tokens
$2.38/M
Original ¥16/M CNY source
Cached input - per 1M tokens
$0.0952/M
Original ¥0.64/M -80%
Effective - agentic blend
$0.341/M
92/8 split - 82% cache
§ 01 / TERMINAL

Doubao Seed 2.0 Code API cost calculator.

Live calculator pre-loaded with Doubao Seed 2.0 Code rates converted from Volcano Ark's CNY pricing. Adjust spend, split, or cache assumptions to model CN-region token usage.

$ /mo
Workload split
Prompt cache hit rate
Tokens you can process
—
Words equivalent (English)
—
Effective rate
—
Open full calculator (all models · share URL · CSV) →
§ 02 / SCENARIOS

Doubao Seed 2.0 Code cost on real workloads.

§ 03 / TOKENIZER

Doubao Seed 2.0 Code token counter and cost.

What's a token →
Calibrated · measured on the vendor's tokenizer · 2026-06-10 Auto-counts as you type

Counts use a chars-per-token calibration measured on the vendor's own published tokenizer (ByteDance-Seed/Seed-OSS-36B-Instruct, 2026-06-10). English prose is typically within a few percent; code and non-Latin scripts tokenize heavier. For billing-exact counts use the vendor's count-tokens API.

Characters 523
Words 81
Tokens (estimated) 101 tokens
Cost as input · uncached $0.00005 USD
Cost as output · uncached $0.00024 USD
Cost as cached input $0.00001 USD
§ 04 / SHELF

Doubao Seed 2.0 Code vs similar models.

All models →
Model Input /M Output /M Effective blended Context Best for
Doubao Seed 2.0 Code Current $0.476 cache $0.0952 $2.38 $0.341 agentic 92/8 256K Coding agents and IDE workflows
Doubao Seed 2.0 Pro $0.476 cache $0.0952 $2.38 $0.341 deprecated · same 256K Complex agent workflows
Doubao Seed 2.0 Lite $0.0893 cache $0.0179 $0.536 $0.0711 −4.8× 256K Balanced multimodal routing
Doubao Seed 2.0 Mini $0.0298 cache $0.006 $0.298 $0.0333 −10× 256K Fast low-latency routing
Gemini 3.8 Flash $0.75 cache $0.075 $3.75 $0.481 +41% · promo 1M Mainstream multimodal work
GPT-6.1 Terra $1.00 cache $0.05 $5.00 $0.645 +89% 1.05M OpenAI's fast, efficient GPT-6 tier
Kimi K3 $3.00 cache $0.30 $15.00 $1.92 +5.6× 1M Kimi multimodal agents

Doubao Seed 2.0 Code API pricing FAQ.

Practical Doubao pricing questions, including CNY conversion, context tiers, cache hits, and regional tax caveats.

Q · 01 Is Doubao Seed 2.0 Code being retired? +
Yes. Volcano Ark's model-deprecation notice (tenth batch) stopped new purchases of doubao-seed-2-0-code-preview-260215 on September 24, 2026 and shuts the service down on November 24, 2026 at 14:00 Beijing time. It suggests migrating to Doubao Seed Evolving and says the automatic replacement for endpoints left in place will be named before shutdown. Until then the price list still prints the rates on this page.
Q · 02 What is Doubao Seed 2.0 Code priced at? +
Doubao Seed 2.0 Code's <=32K tier is listed at ¥3.2/M input, ¥16/M output, and ¥0.64/M cache-hit input. AI//COST stores that as $0.4761/M, $2.3806/M, and $0.0952/M using ¥6.7209/USD.
Q · 03 Does the price change for longer prompts? +
Yes. Volcano Ark lists Doubao prices by input length tiers, with higher rates above 32K and again above 128K for Seed 2.0 models. This page uses the <=32K baseline tier and calls out the tiering in notes.
Q · 04 How does context caching work? +
The pricing table lists a cache-hit input rate of ¥0.64/M, converted here to $0.0952/M. The calculator defaults to an 82% cache-hit workload for agentic reuse patterns.
Q · 05 Are taxes or international region markups included? +
No. The source price is the Volcano Ark CNY token price before any tax, enterprise contract, or regional deployment adjustments. USD conversion is stored only for AI//COST comparison pages.
Q · 06 How is the effective price calculated? +
AI//COST uses the same 92/8 agentic blend everywhere. With an 82% cache-hit rate, Doubao Seed 2.0 Code's effective blended cost is $0.3411/M.
Q · 07 Is this an OpenAI-compatible API? +
Volcano Ark exposes Chat Completions-style model serving for Doubao models. Parameter support varies by model and deployment mode, so production integrations should verify function calling, Responses API, and cache behavior in the Volcano console.