Doubao Seed 2.0 Code Preview

doubao-seed-2-0-code-preview · Doubao

The Doubao 2.0 series is a coding model optimized for real programming environments, capable of reliably invoking tools in common IDEs such as Claude Code. The model is specially optimized for frontend capabilities and performs well with common frontend frameworks. The model supports using Skills and can work with various custom skills.

API Pricing

Input$0.482 / 1M tokens
Output$2.411 / 1M tokens
Cache read$0.096 / 1M tokens

Specifications

Context256K tokens
Modalitiestext, image, video
Featuresthinking, web search, tool calling, function calling

Frequently asked questions

What is Doubao Seed 2.0 Code Preview?

The Doubao 2.0 series is a coding model optimized for real programming environments, capable of reliably invoking tools in common IDEs such as Claude Code. The model is specially optimized for frontend capabilities and performs well with common frontend frameworks. The model supports using Skills and can work with various custom skills.

What is the context length of Doubao Seed 2.0 Code Preview?

Doubao Seed 2.0 Code Preview has a 256,000 token context window.

How much does Doubao Seed 2.0 Code Preview cost?

On AIHubMix, Doubao Seed 2.0 Code Preview costs $0.482 per million input tokens and $2.411 per million output tokens. Cached input reads are billed at $0.096 per million tokens.

What modalities does Doubao Seed 2.0 Code Preview support?

Doubao Seed 2.0 Code Preview accepts text, image and video input.

What capabilities does Doubao Seed 2.0 Code Preview support?

Doubao Seed 2.0 Code Preview supports thinking, web search, tool calling and function calling. Per-protocol parameter support is listed in the capability table on this page.

How do I call Doubao Seed 2.0 Code Preview via API?

Doubao Seed 2.0 Code Preview is available through the AIHubMix unified API. The API is OpenAI-compatible: point your OpenAI SDK at https://aihubmix.com/v1, use your AIHubMix API key, and set the model name to doubao-seed-2-0-code-preview — no other code changes needed.

Who created Doubao Seed 2.0 Code Preview?

Doubao Seed 2.0 Code Preview is developed by Doubao. AIHubMix aggregates it alongside models from other providers behind one API and one bill.

More models from Doubao

See all ByteDance models →

Doubao Seedance 2.0 Fast 260128

by Doubao

Seedance 2.0 fast is a next-generation multimodal video-creation model launched by the…

$2/1M in

Doubao Seed 2.0 Lite 260428

by Doubao

Doubao Coding model optimized for real-world programming environments that can reliably…

$0.09/1M in · $0.542/1M out
256,000 tokens context

Doubao Seed 2.0 Mini 260428

by Doubao

Doubao Coding model optimized for real-world programming environments that can reliably…

$0.028/1M in · $0.282/1M out
256,000 tokens context

Doubao Seed 2.0 Pro

by Doubao

Doubao flagship all-purpose general model, targeting complex reasoning and long-chain…

$0.482/1M in · $2.411/1M out
256,000 tokens context

Doubao Seed 2.0 Lite 260215

by Doubao

Doubao Coding model optimized for real-world programming environments that can reliably…

$0.09/1M in · $0.542/1M out
256,000 tokens context

Doubao Seed 2.0 Mini

by Doubao

Doubao 2.0 series is designed for low-latency, high-concurrency, and cost-sensitive…

$0.03/1M in · $0.301/1M out
256,000 tokens context

Use Doubao Seed 2.0 Code Preview via the AIHubMix unified API — one interface for every major LLM.