| 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 |
NextModelのDoubao Seed 2.0 Codeとは?
Doubao Seed 2.0 Code API価格、プロバイダー、コンテキスト長、機能、ユースケース、レイテンシー、代替候補を比較します。 agentic coding, repository-scale refactors, long-context code review. ¥3.20 / 1M tokens / ¥16 / 1M tokens. 256k tokens.
適した用途
- agentic coding
- repository-scale refactors
- long-context code review
OpenAI互換コード例
OpenAI SDKの書き方を保ち、base_url を NextModel に向け、カタログ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)近い代替候補
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 FAQ
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.