BytedancePaidOperational
Doubao Seed 2 0 Code Preview 260215
API model name: doubao-seed-2-0-code-preview-260215
Doubao Seed 2 0 Code Preview 260215 is Bytedance's chat model, served on the Api.Airforce unified API. Access it through the OpenAI-compatible API with one key, alongside 100+ other models on Api.Airforce.
Pricing
Specifications
- Provider
- Bytedance
- Type
- chat model
What is Doubao Seed 2 0 Code Preview 260215 used for?
- Chatbots & assistants — conversational AI, drafting, summarizing and Q&A.
Doubao Seed 2 0 Code Preview 260215 vs. similar models
| Model | Intelligence | Context | Input / 1M | Output / 1M |
|---|---|---|---|---|
| Doubao Seed 2 0 Code Preview 260215 | — | — | — | — |
| Doubao Seed 1 6 250615 | — | — | — | — |
| Doubao Seed 1 6 Thinking 250615 | — | — | — | — |
| Doubao Seed 1 6 Thinking 250715 | — | — | — | — |
Prices are Api.Airforce pay-as-you-go rates per 1M tokens. Context is the maximum input length.
Related models
Doubao Seed 1 6 250615BytedanceDoubao Seed 1 6 Thinking 250615BytedanceDoubao Seed 1 6 Thinking 250715BytedanceDoubao Seed 1 8 251228BytedanceDoubao Seed 2 0 Lite 260215BytedanceDoubao Seed 2 0 Mini 260215BytedanceDoubao Seed 2 0 Pro 260215BytedanceSeed RpBytedance · FreeGrok 4.1 Fast FreexAI · FreeGrok 4.1 Fast Non ReasoningxAI · $0.18 / 1MGrok 4.1 Fast ReasoningxAI · $0.50 / 1MGrok 4.1 MinixAI · Free
Doubao Seed 2 0 Code Preview 260215 — frequently asked questions
- How much does Doubao Seed 2 0 Code Preview 260215 cost?
- Doubao Seed 2 0 Code Preview 260215 is billed per generation rather than per token. See the pricing page for the current rate.
- What can Doubao Seed 2 0 Code Preview 260215 do?
- Doubao Seed 2 0 Code Preview 260215 is Bytedance's chat model, accessible through the Api.Airforce API.
- Is Doubao Seed 2 0 Code Preview 260215 free to use?
- Doubao Seed 2 0 Code Preview 260215 is a paid, pay-as-you-go model — no subscription, you are only charged for usage.
- How do I use Doubao Seed 2 0 Code Preview 260215 via the API?
- Doubao Seed 2 0 Code Preview 260215 is OpenAI-compatible. Point any OpenAI SDK at https://api.airforce/v1 and pass the model ID doubao-seed-2-0-code-preview-260215 with your Api.Airforce API key.
- Who makes Doubao Seed 2 0 Code Preview 260215?
- Doubao Seed 2 0 Code Preview 260215 is Bytedance's chat model, served through the unified Api.Airforce gateway alongside 100+ other models.
Loading live metrics…
Loading live metrics…
Loading live metrics…
Use Doubao Seed 2 0 Code Preview 260215 via the API
OpenAI-compatible — point any OpenAI SDK at https://api.airforce/v1 and pass doubao-seed-2-0-code-preview-260215 as the model.
cURL
curl https://api.airforce/v1/chat/completions \
-H "Authorization: Bearer $AIRFORCE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "doubao-seed-2-0-code-preview-260215",
"messages": [{ "role": "user", "content": "Hello!" }]
}'Python
from openai import OpenAI
client = OpenAI(base_url="https://api.airforce/v1", api_key="$AIRFORCE_API_KEY")
r = client.chat.completions.create(
model="doubao-seed-2-0-code-preview-260215",
messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)JavaScript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.airforce/v1", apiKey: process.env.AIRFORCE_API_KEY });
const r = await client.chat.completions.create({
model: "doubao-seed-2-0-code-preview-260215",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(r.choices[0].message.content);