Doubao Seed 2.0 Code via the Tokenator API

What the model is for

This is a proprietary model specifically optimized for programming and agent-based tasks. It performs well in code generation, refactoring, analysis, and debugging, and supports tool calling. The model shows strong results on SWE-Bench and LiveCodeBench and is compatible with the OpenAI API through a number of services.

Specification

Full nameDoubao Seed 2.0 Code
API IDdoubao-seed-2.0-code
Model vendorBytedance-seed
TypeText model (chat / completions)
Context window256K tokens
Max output64K tokens
Image inputyes
Tokenator usage multiplier1.6×
Input modalitiestext, image, file, video
Aliasescursor-doubao-seed-2.0-code
Supported API formats/v1/chat/completions /v1/responses /v1/messages
Upstream providers1
Current statusavailable
Data updated2026-08-04

Upstream providers

ProviderMultiplier
Doubao Partner #11.6×

A request goes to the first available provider by priority; if it fails, Tokenator switches to the next one.

Example request

curl
curl https://api.tokenator.top/v1/chat/completions \
  -H "Authorization: Bearer sk-your-tokenator-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "doubao-seed-2.0-code",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Compatible tools

The model can be used in any tool that accepts a custom base URL: Claude Code, Codex CLI, OpenCode, Cursor, Cline, Kilo Code, OpenClaw.

FAQ about Doubao Seed 2.0 Code

What is the API ID of Doubao Seed 2.0 Code?

doubao-seed-2.0-code — put this into the model field of your request.

What context window does Doubao Seed 2.0 Code have?

256K tokens; max output is 64K tokens.

How many tokens will a request cost?

(input + output) × 1.6×. See the documentation for details.

Which tools support this model?

Any tool that accepts a custom base URL: Claude Code, Codex CLI, OpenCode, Cursor, Cline, Kilo Code. Setup guides are in the integrations section.