Doubao Seed 2.0 Code
Chatvolcengine/doubao-seed-2.0-codeDoubao-Seed-2.0-Code 面向企业级编程需求优化,在 Seed 2.0 优秀的 Agent、VLM 能力基础上,特别增强了代码能力,不仅前端能力表现出众,也对企业常见的多语言编码需求做了特别优化,适合接入各种 AI 编程工具使用。
256K context window
128K max output tokens
Released: 2026-02-14
Supported Protocols:openaianthropic
Available Providers:Volcengine
Capabilities:VisionFunction CallingReasoningPrompt CachingVideo Input
Pricing
| Type | Price |
|---|---|
| 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 OpenAIclient = 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)
Related Models
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.
Doubao Seed 2.0 Code supports a context window of 256K tokens with max output of 128K tokens, allowing you to process large documents and maintain long conversations.
Simply set your base URL to https://api.ofox.ai/v1 and use your Ofox API key. The API is OpenAI-compatible — just change the base URL and API key in your existing code.
Doubao Seed 2.0 Code supports the following capabilities: Vision, Function Calling, Reasoning, Prompt Caching, Video Input. Access all features through the Ofox.ai unified API.