ByteDance route

doubao-seed-2.0-code

Doubao Seed 2.0 Code API pricing.

One OpenAI-compatible route at the vendor list price with 0% markup, billed per token from one prepaid balance. No subscription required.

Route status Available

#15

Cost rank / 39

mid-range

Cost band

Published route economicsUSD / 1M tokens

Input / 1M tokens

$0.67

Output / 1M tokens

$3.36

Context window

200K

Provider

ByteDance

Workload calculator

Put the token rate into context.

These examples apply the published input and output rates directly. Actual cost follows the exact tokens your client sends and the model returns.

This route is the 15th cheapest of 39 comparable text models and cheaper than 23 on the same key. Its context window ranks 36th of 39.

Cost simulationPublished base rate

Short request

$0.010

10K input + 1K output

Agent turn

$0.10

100K input + 10K output

Exact token billing

No request minimum

One model ID change

OpenAI compatible

Cost neighbourhood

Nearby routes, same workload.

Every comparison uses the same 100K-input / 10K-output turn. Changing route is a one-line model ID edit.

Price does not measure task quality. Check Doubao Seed 2.0 Code benchmark evidence before optimizing on cost alone. For generation routes, see GPT Image 2.

First request

Route it in one call.

Use any OpenAI SDK or tool. Keep the request shape, point the base URL at RouterPlex, and set the model ID shown here.

Read the quickstart
curl /chat/completions
curl https://api.routerplex.com/v1/chat/completions \
-H "Authorization: Bearer $ROUTERPLEX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "doubao-seed-2.0-code",
"messages": [{"role": "user", "content": "Hello!"}]
}'

Route notes

Questions before production traffic.

Same endpoint, every route
01How much does the Doubao Seed 2.0 Code API cost?+

Through RouterPlex, Doubao Seed 2.0 Code costs $0.67 per 1M input tokens and $3.36 per 1M output tokens — the vendor list price with 0% markup, billed per token from a prepaid balance you top up from $5.

02What does one Doubao Seed 2.0 Code agent turn cost?+

A 100K-token input with a 10K-token reply costs about $0.10 on Doubao Seed 2.0 Code. That makes it the 15th cheapest of 39 comparable text models on RouterPlex, roughly 9.3× the cost of the cheapest option (DeepSeek V4 Flash).

03What is a cheaper alternative to Doubao Seed 2.0 Code?+

MiniMax M2.7 Highspeed from MiniMax is the closest cheaper model on RouterPlex — $0.084 per agent turn against $0.10 for Doubao Seed 2.0 Code, at $0.60/1M input and $2.40/1M output. Both run on the same key and the same endpoint, so switching is a one-line model ID change.

04Is Doubao Seed 2.0 Code cheaper than Kimi K2.6?+

Yes. Per agent turn, Doubao Seed 2.0 Code costs about $0.10 against $0.14 for Kimi K2.6 — 25% less.

05What is the context window of Doubao Seed 2.0 Code?+

Doubao Seed 2.0 Code supports a 200K token context window on RouterPlex, the 36th largest of the 39 models that publish one.

06Can I use Doubao Seed 2.0 Code with the OpenAI SDK?+

Yes. RouterPlex serves Doubao Seed 2.0 Code through an OpenAI-compatible endpoint at https://api.routerplex.com/v1 — point any OpenAI SDK or tool at that base URL with your RouterPlex key and set model to "doubao-seed-2.0-code".

Deploy this route

Put Doubao Seed 2.0 Code behind one key.

Top up from $5 with no subscription required.

Doubao Seed 2.0 Code API Pricing · RouterPlex