Processing...Please wait while we secure this action
Volcengine model

Doubao Seed 2 0 Code API

doubao-seed-2-0-code costs $0.069 per 1M input tokens. Walk away if you need a published context window, because this id has context unpublished. doubao-seed-2-0-code is a Volcengine catalog entry on NextModel.

VolcenginePlatform curatedCatalog
Streaming
Input price$0.069 / 1M tokens
Output price$0.341 / 1M tokens
Context length— tokens
Max output8.2k tokens
Input lengthInput / 1MOutput / 1MCache hit / 1M
— - 32k$0.069$0.341$0.014
32k - 128k$0.103$0.511$0.022
128k - 256k$0.205$1.02$0.042

What is Doubao Seed 2 0 Code API in NextModel?

doubao-seed-2-0-code costs $0.069 per 1M input tokens. Walk away if you need a published context window, because this id has context unpublished. doubao-seed-2-0-code is a Volcengine catalog entry on NextModel.

Best use cases

  • Call this id if you want the published input price of $0.069 per 1M tokens and need streaming support.
  • Call it if a Chinese-language use case matches your workload.
  • You need the listed capabilities on this catalog entry.

When not to use

  • Do not call this id if you require a published context window.
  • Do not call it if you need first-party CacheSafety data, because no CacheSafety row exists for this exact model.
  • A required number is unpublished in the catalog snapshot.

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.

Python
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

VolcengineCatalog

Available through the NextModel gateway via Volcengine.

$0.014 / 1M tokensInput$0 / 1M tokensOutputContext
Best forChinese Q&A, general chat
RoutingConfigured
Streaming
Platform curatedNextModel gateway catalog (Go origin)
View details
VolcengineCatalog

Available through the NextModel gateway via Volcengine.

Starting at $0.013 / 1M tokensInputStarting at $0.077 / 1M tokensOutputContext
Best forChinese Q&A, general chat
RoutingConfigured
Streaming
Platform curatedNextModel gateway catalog (Go origin)
View details
VolcengineCatalog

Available through the NextModel gateway via Volcengine.

Starting at $0.0043 / 1M tokensInputStarting at $0.043 / 1M tokensOutputContext
Best forChinese Q&A, general chat
RoutingConfigured
Streaming
Platform curatedNextModel gateway catalog (Go origin)
View details

Reading

Articles that explain Doubao Seed 2 0 Code

FAQ

Doubao Seed 2 0 Code API questions

What model id do I send for Doubao Seed 2 0 Code?

Send doubao-seed-2-0-code to https://api.nextmodel.app/v1 with your OpenAI SDK. If that id is missing from /v1/models, the page is stale.

What does the catalog list for price and context?

Doubao Seed 2 0 Code is listed at $0.069 / 1M tokens input and $0.341 / 1M tokens output. Context window: not published in catalog.

What should I treat as unverified?

Do not call this id if you require a published context window. Do not call it if you need first-party CacheSafety data, because no CacheSafety row exists for this exact model.