Doubao Seed 2 Code Preview is ByteDance's language model with a 256K context window and up to 128K output tokens, starting at $0.482 / 1M input and $2.41 / 1M output. A preview release of ByteDance's Doubao Seed 2 model fine-tuned for code generation and programming assistance tasks.
Capabilities
Input1/5
Text·
Image✓
Audio·
Video·
PDF·
Output1/5
Text✓
Image·
Audio·
Video·
Embedding·
Capabilities4/13
Reasoning✓
Adaptive Reasoning·
Function Calling✓
Parallel Function Calling·
Structured Outputs·
Native JSON Schema·
Web Search✓
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching✓
Assistant Prefill·
Pricing by Provider
US Dollar ($)
Per 1M tokens
| Provider | Standard | ||
|---|---|---|---|
| Input $ / 1M | Output $ / 1M | Cache Read $ / 1M | |
| $0.482 | $2.41 | $0.0964 | |
Cost Calculator
US Dollar ($)
Preset:
Versions
| Version | Released | Context | Input / 1M | Output / 1M | Status |
|---|---|---|---|---|---|
| Doubao Seed 2 Code Preview | — | 256K | $0.482 | $2.41 | Current |
| Doubao Seed 2 Lite | — | 256K | $0.090 | $0.542 | Available |
| Doubao Seed 2 Mini | — | 256K | $0.030 | $0.301 | Available |
| Doubao Seed 2 Pro | — | 256K | $0.482 | $2.41 | Available |
| Doubao Seed 2.1 Pro | — | 256K | $0.863 | $4.31 | Available |
| Doubao Seed Code | — | — | — | — | Available |