doubao-seed-2-0-code-preview

by 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.48 / 1M tokens
Output$2.41 / 1M tokens
Cache read$0.1 / 1M tokens

Specifications

Context window256,000 tokens
Modalitiestext, image, video
Featuresthinking, web, tool calling, function calling

FAQ

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.48 per million input tokens and $2.41 per million output tokens. Cached input reads are billed at $0.1 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 features does doubao-seed-2-0-code-preview support?

doubao-seed-2-0-code-preview supports thinking, web, 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 develops 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 from Doubao

doubao-seedance-2-0-260128

by Doubao

The Doubao large-model team has launched a new-generation professional-grade multimodal…

$2/1M in

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.54/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.03/1M in · $0.28/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.48/1M in · $2.41/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.54/1M out
256,000 tokens context

Use doubao-seed-2-0-code-preview via the AIHubMix unified API — one interface for every major LLM.