Last verified
CODE AGENT256K CONTEXTTEXTCONTEXT CACHINGCNY SOURCE

Doubao Seed 2.0 Code API Pricing

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. Pulled directly from volcengine.com daily.

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

Run the numbers.

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

Real-world presets.

§ 03 / TOKENIZER

Paste text. See tokens. See cost.

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

Up against the shelf.

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 same blend 256K Complex agent workflows
Doubao Seed 2.0 Lite $0.0893 cache $0.0179 $0.536 $0.0711 cheaper 256K Balanced multimodal routing
Doubao Seed 2.0 Mini $0.0298 cache $0.006 $0.298 $0.0333 cheaper 256K Fast low-latency routing
Doubao Seed 1.6 Flash $0.0223 cache $0.0045 $0.223 $0.0249 cheaper 256K High-volume low-cost chat
Gemini 2.5 Flash $0.30 cache $0.03 $2.50 $0.272 cheaper 1M Multimodal budget work
GPT-5.4 mini $0.75 cache $0.075 $4.50 $0.541 pricier 400K OpenAI low-latency coding
Kimi K2.5 $0.60 cache $0.10 $3.00 $0.415 pricier 262K Kimi multimodal agents

Frequently asked.

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

Q · 01 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 · 02 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 · 03 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 · 04 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 · 05 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 · 06 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.