SmartBrain API

Enterprise AI as Simple as Utilities

More Links
Model HubConsoleAPI KeysUsage QueryDocs
SmartBrain API. All rights reserved|Privacy Policy|Terms
SmartBrain API
SmartBrain API
  • Model Hub
  • API Docs
  • Playground
豆

bytedance/doubao-seed-2-0-code

Online Chat
字节跳动

Publish time

2026/2/15

Model Series

豆包seed

Input type

Output type

Context Window

256,000

Max Output Length

128,000

Input Price

¥3.2 / 1M tokens

Output Price

¥16 / 1M tokens

Doubao-Seed-Code 针对智能体编程任务进行了深度优化,在多个权威基准测试(包括 Terminal Bench、SWE-Bench-Verified-Openhands 和 Multi-SWE-Bench-Flash-Openhands)中展现出卓越的性能,超越了国内同类模型,并支持高达 256k token 的上下文窗口。

Providers for bytedance/doubao-seed-2-0-code

Zhinao API routes requests to the best-fit provider and automatically fails over to the one with highest availability.

火
火山引擎
国内

TTFT

0.06s

Throughput

35.05tps

Uptime

100.00%

Provider Model

volcengine/doubao-seed-2-0-code

Supported Parameters

temperaturetop_ptop_k

Recent Uptime

5月24日 11 PM100.00%
5月22日 7 PM: 100.00%5月22日 7 PM: 83.33%5月22日 8 PM: 100.00%5月22日 8 PM: 100.00%5月22日 9 PM: 100.00%5月22日 9 PM: 100.00%5月22日 10 PM: 100.00%5月22日 10 PM: 100.00%5月22日 11 PM: 100.00%5月22日 11 PM: 100.00%5月23日 8 AM: 100.00%5月23日 9 AM: 100.00%5月23日 9 AM: 100.00%5月23日 10 AM: 100.00%5月23日 10 AM: 100.00%5月23日 11 AM: 100.00%5月23日 11 AM: 100.00%5月23日 12 PM: 100.00%5月23日 12 PM: 100.00%5月23日 1 PM: 100.00%5月23日 1 PM: 100.00%5月23日 2 PM: 100.00%5月23日 2 PM: 100.00%5月23日 3 PM: 100.00%5月23日 3 PM: 100.00%5月23日 4 PM: 100.00%5月23日 4 PM: 100.00%5月23日 5 PM: 100.00%5月23日 5 PM: 100.00%5月23日 6 PM: 100.00%5月23日 6 PM: 100.00%5月23日 7 PM: 100.00%5月23日 7 PM: 100.00%5月23日 8 PM: 100.00%5月23日 8 PM: 100.00%5月23日 9 PM: 100.00%5月23日 9 PM: 100.00%5月23日 10 PM: 100.00%5月23日 10 PM: 100.00%5月23日 11 PM: 100.00%5月23日 11 PM: 100.00%5月24日 8 AM: 100.00%5月24日 9 AM: 100.00%5月24日 9 AM: 100.00%5月24日 10 AM: 100.00%5月24日 10 AM: 100.00%5月24日 11 AM: 100.00%5月24日 11 AM: 100.00%5月24日 12 PM: 100.00%5月24日 12 PM: 100.00%5月24日 1 PM: 100.00%5月24日 1 PM: 100.00%5月24日 2 PM: 100.00%5月24日 2 PM: 100.00%5月24日 3 PM: 100.00%5月24日 3 PM: 100.00%5月24日 4 PM: 100.00%5月24日 4 PM: 100.00%5月24日 5 PM: 100.00%5月24日 5 PM: 100.00%5月24日 6 PM: 100.00%5月24日 6 PM: 100.00%5月24日 7 PM: 100.00%5月24日 7 PM: 100.00%5月24日 8 PM: 100.00%5月24日 8 PM: 100.00%5月24日 9 PM: 100.00%5月24日 9 PM: 100.00%5月24日 10 PM: 100.00%5月24日 10 PM: 100.00%5月24日 11 PM: 100.00%5月24日 11 PM: 100.00%

Reasoning

Toggleable

Supported Response Formats

OpenAI Chat Completions

Request Log Collection

ZDR Supported

Distillable

Yes

Total Context

256,000

Max Output

128,000

Input Price

¥3.2 / 1M tokens

Output Price

¥16 / 1M tokens

Performance for bytedance/doubao-seed-2-0-code

Compare different providers across Zhinao API

Throughput

19.32 tok/s

TTFT

3.03 s

Uptime for bytedance/doubao-seed-2-0-code

Uptime for bytedance/doubao-seed-2-0-code across all providers

Sample code and API for bytedance/doubao-seed-2-0-code

Get API Key

Zhinao API normalizes requests and responses across providers for you

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.360.cn/v1",
  apiKey: process.env.ZHINAO_API_KEY,
});

const response = await client.chat.completions.create({
  model: "bytedance/doubao-seed-2-0-code",
  messages: [
    { role: "user", content: "Hello, how are you?" }
  ],
  temperature: 0.7,
  max_tokens: 1000,
});

console.log(response.choices[0].message.content);