Doubao Seed 2.0 Code API pricing

Call doubao-seed-2.0-code through RouterPlex's OpenAI-compatible API — vendor list price, 0% markup, billed per token from a prepaid balance. No subscription required.

Input / 1M tokens
$0.67
Output / 1M tokens
$3.36
Context window
200K
Provider
ByteDance

Use it in one request.

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

Works with any OpenAI SDK or tool — just change the base URL. See the quickstart.

Common questions.

How 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.

What is the context window of Doubao Seed 2.0 Code?

Doubao Seed 2.0 Code supports a 200K token context window on RouterPlex.

Can 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".

Try Doubao Seed 2.0 Code in minutes.

Top up from $5, or see all model pricing and plans.

Get my API key
Doubao Seed 2.0 Code API Pricing · RouterPlex