ByteDance
Top Pick
Doubao Seed 2.0 Lite
ByteDance Doubao Seed 2.0 Lite balances generation quality and response speed for general production workloads
Context Window256K tokens
Max Input Tokens224K tokens
Max Output Tokens32K tokens
Pricing & Specs
💰 Pricing
Input¥0.6 / M tokens
Output¥3.6 / M tokens
Cache Hit¥0.12 / M tokens
⚙️ Specs
Context Window256K tokens
Max Input Tokens224K tokens
Max Output Tokens32K tokens
Max Thinking Tokens32K tokens
Throughput LimitsTPM 5000K / RPM 30K
I/O ModalitiesInput: Text, Images, Video; Output: Text
Tiered PricingCurrent tier applies when input ≤32K
Cache Storage¥0.017 / M tokens / hour
Reasoning FeaturesStructured Output, Deep Thinking (thinking.type / reasoning_effort)
Fine-TuningSupported
Inference ModesOnline Inference, Batch Inference
ToolingFunction Calling, Web Search, Knowledge Base, MCP
API CompatibilityChat Completions, Responses (via XAI Router /v1 compatibility)
API Examples
Python (OpenAI SDK)
from openai import OpenAI
client = OpenAI(
api_key="your-api-key",
base_url="https://api.xairouter.com/v1"
)
response = client.chat.completions.create(
model="doubao-seed-2-0-lite-260215",
messages=[
{"role": "user", "content": "Summarize this operations report and provide actionable recommendations."}
]
)
print(response.choices[0].message.content)cURL (OpenAI API)
curl https://api.xairouter.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "doubao-seed-2-0-lite-260215",
"messages": [
{"role": "user", "content": "Summarize this operations report and provide actionable recommendations."}
]
}'