ByteDance Doubao

Doubao Seed 2.1 Pro API

CN ByteDance Doubao | released 2026-05
Try in Playground → Get API key

Doubao Seed 2.1 Pro is ByteDance’s top-tier model, offering strong reasoning, multimodal vision, and tool use. It performs well on Chinese-language benchmarks and is widely used inside ByteDance products.

ReasoningCodeImageTool UseJSON ModeFlagship

Pricing (official list, per 1M tokens)

Input
$0.86/M
Output
$4.29/M

Specifications

Context window256K tokens Max output8.192K tokens Input modalitiesImage StreamingYes APIOpenAI-compatible

How to use Doubao Seed 2.1 Pro

Drop-in OpenAI replacement. Change only the base_url and model.

# Python -pip install openai
from openai import OpenAI

client = OpenAI(
    base_url="https://meshtok.com/v1",
    api_key="sk-your-MeshTok-key",
)

resp = client.chat.completions.create(
    model="bytedance/doubao-seed-2-1-pro",
    messages=[{"role":"user","content":"Hello!"}],
)
print(resp.choices[0].message.content)
# cURL
curl https://meshtok.com/v1/chat/completions \
  -H "Authorization: Bearer sk-your-MeshTok-key" \
  -H "Content-Type: application/json" \
  -d '{"model":"bytedance/doubao-seed-2-1-pro","messages":[{"role":"user","content":"Hello!"}]}'

Related models

Other models you might consider.