aiapicompareaiapicompare
aiapicompare › All models › Doubao Seed 2.0 Code Preview

Doubao Seed 2.0 Code Preview: API pricing compared

Doubao Seed 2.0 Code Preview is available from 2 provider(s). Cheapest: NanoGPT at $0.782 per 1M input tokens and $3.89 per 1M output tokens. Context window: up to 256 000 tokens. Developer: ByteDance.

ProviderInput $/1MOutput $/1MContext
NanoGPT
doubao-seed-2-0-code-preview-260215
$0.782$3.89256KGo to provider ↗ Set up
UplinkSwitch
doubao-seed-2-0-code-preview-260215
$1.52 +94 %$7.60—Go to provider ↗ Set up

Sorted by price only – there are no paid placements. Data as of 2026-11-25 09:03 UTC. Prices in USD, excluding taxes. No guarantee.

How we compare → · Wrong price? Report it

Price history (cheapest provider)

Price history is recorded daily – the chart appears after the first price change.

Quick start with NanoGPT

from openai import OpenAI
import os

client = OpenAI(base_url="https://nano-gpt.com/api/v1", api_key=os.environ["NANOGPT_API_KEY"])
r = client.chat.completions.create(
    model="doubao-seed-2-0-code-preview-260215",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)

FAQ

Where is Doubao Seed 2.0 Code Preview cheapest?

Currently at NanoGPT ($0.782 / 1M). Prices are updated daily; the provider’s website is authoritative.

How do I use Doubao Seed 2.0 Code Preview in my tools?

All listed providers offer an OpenAI-compatible API. See the setup guide for Hermes Agent, VS Code, Cursor and more.

More models from ByteDance

Seedream 4Seedance 2.5Doubao Seed CharacterSeedream 5.0 LiteSeedream 5.0 Lite EditSeedream 4.5Seedream 4.5 EditSeedream 5.0 Lite Edit UncensoredLustify SDXL UncensoredSeedance 1.5 ProSeedance 2 MiniSeedream 5.0 Flash