doubao-seed-2-0-mini-260428
NixAPI price, from
USD per 1M tokens · via group Doubao-2 · Official list price $0.03 / $0.3
About doubao-seed-2-0-mini-260428
An omnimodal understanding model in the Doubao family with shorter thinking length and higher token efficiency.
Price by routing group
Pick a group in the console when you create a key. Status is live from the router. Live status by group →
| Group | Group status | Model status | Multiplier | Input | Output | Cache read | Cache write |
|---|---|---|---|---|---|---|---|
Doubao-2 | … | ×1.2675 | $0.038 | $0.3803 | — | — | |
Doubao-3 | … | ×1.859 | $0.0558 | $0.5577 | — | — |
USD per 1M tokens
Long-context pricing
- Prompts over 32,000 tokens: input ×2, output ×2
- Prompts over 128,000 tokens: input ×4, output ×4
Supported endpoints
Call doubao-seed-2-0-mini-260428 in one request
Works with the OpenAI SDK and any OpenAI-compatible client. Replace the key with your own.
curl https://api.nixapi.com/v1/chat/completions \
-H "Authorization: Bearer $NIXAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "doubao-seed-2-0-mini-260428",
"messages": [{"role": "user", "content": "Hello!"}]
}'from openai import OpenAI
client = OpenAI(base_url="https://api.nixapi.com/v1", api_key="sk-…")
resp = client.chat.completions.create(
model="doubao-seed-2-0-mini-260428",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)import OpenAI from 'openai';
const client = new OpenAI({ baseURL: 'https://api.nixapi.com/v1', apiKey: process.env.NIXAPI_KEY });
const resp = await client.chat.completions.create({
model: "doubao-seed-2-0-mini-260428",
messages: [{ role: 'user', content: 'Hello!' }],
});
console.log(resp.choices[0].message.content);Questions about doubao-seed-2-0-mini-260428
How much does doubao-seed-2-0-mini-260428 cost on NixAPI?
From $0.038 per 1M input tokens and $0.3803 per 1M output tokens in the Doubao-2 group. Prices are pay-as-you-go in USD with no monthly minimum.
How do I call doubao-seed-2-0-mini-260428?
Point any OpenAI-compatible client at https://api.nixapi.com/v1, use your NixAPI key and set the model to "doubao-seed-2-0-mini-260428".
Which routing groups serve doubao-seed-2-0-mini-260428?
doubao-seed-2-0-mini-260428 is available in 2 routing groups: Doubao-2, Doubao-3. The lowest price is in Doubao-2.