TokenLX
DUBAO

bytedance/doubao-seed-2.0-mini

262K  context$0.03/M tokens input$0.3/M tokens output0.43B  tokens servedText

ByteDance Doubao — Chinese LLM family tuned for the Volcano Engine cloud and ByteDance ecosystem.

Key strengths

  • Chinese performance
  • Volcano Engine native
  • Good latency
  • Multi-size tiers

Use cases

  • Chinese products
  • Social / content
  • E-commerce
  • Internal tools
chinesebytedance

ByteDance's bytedance/doubao-seed-2.0-mini is a frontier text generation model in the Doubao family. It excels at complex reasoning, agentic workflows, code generation, and long-form writing tasks, with native support for streaming, tool calling, JSON mode, and multi-turn conversations.

The model handles long-context inputs gracefully and is particularly effective for software engineering, multi-step research, and end-to-end project execution. Its tokenizer and pricing are optimized for high-throughput production workloads, with a competitive cost profile relative to other models in its tier.

bytedance/doubao-seed-2.0-mini is fully OpenAI-compatible — drop in your existing OpenAI Python or Node SDK and switch `baseURL` to `https://api.tokenlx.ai`. TokenLX transparently routes your requests to the optimal provider endpoint while preserving streaming, function-calling, and structured-output semantics.

Performance

Compare different providers across TokenLX · All locations.

Throughput
73
tok/s
Latency
126
ms
E2E Latency
200
ms
Tool Call Errors
0.06
%
Output Errors
0.36
%
Time to First Token
101
ms

Effective Pricing

Actual cost per million tokens across providers over the past 7 days.

Input
$0.03
per 1M tokens
7d agotoday
Output
$0.3
per 1M tokens
7d agotoday
Cache read
$0.0059
per 1M tokens
7d agotoday
Input tiers
0M - 0.032M$0.03per 1M tokens
0.032M - 0.128M$0.06per 1M tokens
0.128M - 0.256M$0.12per 1M tokens
Output tiers
0M - 0.032M$0.3per 1M tokens
0.032M - 0.128M$0.59per 1M tokens
0.128M - 0.256M$1.18per 1M tokens

Recent activity

Total usage per day on TokenLX (last 30 days).

Prompt
162.00M
Completion
267.30M
30d ago15d agotoday

Sample code & API

TokenLX normalizes requests and responses across providers. Use any OpenAI SDK or our native SDK.

from openai import OpenAI

client = OpenAI(
    base_url="https://api.tokenlx.ai/v1",
    api_key="sk-tokenlx-...",
)

# Non-streaming
response = client.chat.completions.create(
    model="doubao-seed-2.0-mini",
    messages=[
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "Hello!"},
    ],
)
print(response.choices[0].message.content)

# Streaming
stream = client.chat.completions.create(
    model="doubao-seed-2.0-mini",
    messages=[{"role": "user", "content": "Tell me a story"}],
    stream=True,
)
for chunk in stream:
    print(chunk.choices[0].delta.content or "", end="", flush=True)

Replace sk-aihubrouter-… with your key from the dashboard.