doubao-seed-2-0-code-preview-260215

Doubao · Chat

ConversationThinkingImage Recognition

NixAPI price, from

Input$0.6084
Output$3.042

USD per 1M tokens · via group Doubao-2 · Official list price $0.48 / $2.4

Get your API key →

About doubao-seed-2-0-code-preview-260215

Doubao-Seed-2.0-Code is optimized for enterprise-level programming needs. Building on Seed 2.0's strong Agent and VLM capabilities, it significantly enhances code generation — excelling at frontend development while offering specialized optimization for the multi-language coding scenarios common in enterprise environments. Ideal for integration with AI programming tools.

Price by routing group

Pick a group in the console when you create a key. Status is live from the router. Live status by group →

GroupGroup statusModel statusMultiplierInputOutputCache readCache write
Doubao-2…×1.2675$0.6084$3.042——
Doubao-3…×1.859$0.8923$4.462——

USD per 1M tokens

Long-context pricing

  • Prompts over 32,000 tokens: input ×1.5, output ×1.5
  • Prompts over 128,000 tokens: input ×3, output ×3

Supported endpoints

openai

Call doubao-seed-2-0-code-preview-260215 in one request

Works with the OpenAI SDK and any OpenAI-compatible client. Replace the key with your own.

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

Full API reference →

Questions about doubao-seed-2-0-code-preview-260215

How much does doubao-seed-2-0-code-preview-260215 cost on NixAPI?

From $0.6084 per 1M input tokens and $3.042 per 1M output tokens in the Doubao-2 group. Prices are pay-as-you-go in USD with no monthly minimum.

How do I call doubao-seed-2-0-code-preview-260215?

Point any OpenAI-compatible client at https://api.nixapi.com/v1, use your NixAPI key and set the model to "doubao-seed-2-0-code-preview-260215".

Which routing groups serve doubao-seed-2-0-code-preview-260215?

doubao-seed-2-0-code-preview-260215 is available in 2 routing groups: Doubao-2, Doubao-3. The lowest price is in Doubao-2.

More from Doubao

Compare all Doubao models →