Doubao

Doubao Seed 2.0 Code

Chat
volcengine/doubao-seed-2.0-code

Doubao-Seed-2.0-Code 面向企业级编程需求优化,在 Seed 2.0 优秀的 Agent、VLM 能力基础上,特别增强了代码能力,不仅前端能力表现出众,也对企业常见的多语言编码需求做了特别优化,适合接入各种 AI 编程工具使用。

256K context window
128K max output tokens
Released: 2026-02-14
Supported Protocols:OpenAIopenaiAnthropicanthropic
Available Providers:VolcengineVolcengine
Capabilities:VisionFunction CallingReasoningPrompt CachingVideo Input

Pricing

TypePrice
Input Tokens$0.67/M
Output Tokens$3.36/M
Cache Read$0.14/M
Cache Write$0.0024/M

Code Examples

from openai import OpenAI
client = OpenAI(
base_url="https://api.ofox.ai/v1",
api_key="YOUR_OFOX_API_KEY",
)
response = client.chat.completions.create(
model="volcengine/doubao-seed-2.0-code",
messages=[
{"role": "user", "content": "Hello!"}
],
)
print(response.choices[0].message.content)

Frequently Asked Questions

Doubao Seed 2.0 Code on Ofox.ai costs $0.67/M per million input tokens and $3.36/M per million output tokens. Pay-as-you-go, no monthly fees.

Discord

Join our Discord server

Discord