Doubao Seed 2.0 Code
Doubao Seed 2.0 Code is a Volcengine model listed in the NextModel catalog for agentic coding, repository-scale refactors, long-context code review workloads. Its listed price is ¥3.20 / 1M tokens input and ¥16 / 1M tokens output per 1M tokens, with a 256k token context window.
| Input length | Input / 1M | Output / 1M | Cache hit / 1M |
|---|---|---|---|
| 0 - 32k | ¥3.20 | ¥16 | ¥0.64 |
| 32k - 128k | ¥4.80 | ¥24 | ¥0.96 |
| 128k - 256k | ¥9.60 | ¥48 | ¥1.92 |
What is Doubao Seed 2.0 Code in NextModel?
Doubao Seed 2.0 Code is a Volcengine model listed in the NextModel catalog for agentic coding, repository-scale refactors, long-context code review workloads. Its listed price is ¥3.20 / 1M tokens input and ¥16 / 1M tokens output per 1M tokens, with a 256k token context window.
Best use cases
- agentic coding
- repository-scale refactors
- long-context code review
OpenAI-compatible code example
Keep the OpenAI SDK style, set base_url to NextModel, and use the catalog model ID doubao-seed-2-0-code.
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://api.nextmodel.app/v1"
)
resp = client.chat.completions.create(
model="doubao-seed-2-0-code",
messages=[{"role": "user", "content": "Hello from NextModel"}]
)
print(resp.choices[0].message.content)Similar alternatives
Doubao Seed 2.0 Pro is Volcengine's flagship general-purpose model, onboarded through the Volcengine Agent Plan, sharing the same tiered pricing as the Code variant.
Qwen3 Coder Plus is Alibaba's proprietary version of the Open Source Qwen3 Coder 480B A35B. It is a powerful coding agent model specializing in autonomous programming via tool calling and...
Qwen3-Max is an updated release built on the Qwen3 series, offering major improvements in reasoning, instruction following, multilingual support, and long-tail knowledge coverage compared to the January 2025 version. It...
FAQ
Doubao Seed 2.0 Code API questions
What is Doubao Seed 2.0 Code best for?
Agentic coding tasks, large refactors, and long-context code review where the codebase exceeds a small context window.
How is Doubao Seed 2.0 Code priced?
Tiered by input length: ¥3.2/¥16 per 1M input/output tokens up to 32K tokens, rising to ¥9.6/¥48 above 128K tokens.