Volcengine: Doubao Seed 2.0 Code
volcengine/doubao-seed-2.0-code
Access Doubao Seed 2.0 Code from Volcengine using Puter.js AI API.
Get Started// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';
puter.ai.chat("Explain quantum computing in simple terms", {
model: "volcengine/doubao-seed-2.0-code"
}).then(response => {
document.body.innerHTML = response.message.content;
});
<html>
<body>
<script src="https://js.puter.com/v2/"></script>
<script>
puter.ai.chat("Explain quantum computing in simple terms", {
model: "volcengine/doubao-seed-2.0-code"
}).then(response => {
document.body.innerHTML = response.message.content;
});
</script>
</body>
</html>
# pip install openai
from openai import OpenAI
client = OpenAI(
base_url="https://api.puter.com/puterai/openai/v1/",
api_key="YOUR_PUTER_AUTH_TOKEN",
)
response = client.chat.completions.create(
model="volcengine/doubao-seed-2.0-code",
messages=[
{"role": "user", "content": "Explain quantum computing in simple terms"}
],
)
print(response.choices[0].message.content)
curl https://api.puter.com/puterai/openai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_PUTER_AUTH_TOKEN" \
-d '{
"model": "volcengine/doubao-seed-2.0-code",
"messages": [
{"role": "user", "content": "Explain quantum computing in simple terms"}
]
}'
Model Card
Doubao Seed 2.0 Code is ByteDance's coding-specialized model in the Seed 2.0 family, released in February 2026 alongside Pro, Lite, and Mini. It's built for agentic software development rather than single-turn code completion, breaking a task into a plan and revising that plan as it executes.
The model reads screenshots, diagrams, and charts alongside code, so design-to-code and chart-driven development requests can include visual context. It supports a 256,000-token context window and integrates with ByteDance's TRAE IDE for in-editor agentic coding.
ByteDance has not published standard coding benchmark scores, such as SWE-bench or LiveCodeBench, specifically for this variant, so third-party numbers circulating for it should be treated cautiously. It's built for multi-file bug fixes, refactors, and IDE-integrated agentic coding workflows rather than general chat or reasoning tasks.
Context Window 256K
tokens
Max Output 128K
tokens
Input Cost $0.5
per million tokens
Output Cost $2.5
per million tokens
Release Date N/A
Model Playground
Try Doubao Seed 2.0 Code instantly in your browser.
This playground uses the Puter.js AI API — no API keys or setup required.
More AI Models From Volcengine
Find other Volcengine models →
Doubao Seed 1.8
Doubao Seed 1.8 is a generalized agentic model from ByteDance's Seed team, released in December 2025 as the predecessor to the Seed 2.0 family. It combines native vision with text input and offers three adjustable thinking modes so callers can trade off latency against reasoning depth. The model targets search and agent workflows such as information retrieval, GUI interaction, financial analysis, and customer service. On BrowseComp-en it scores 67.6, ahead of Gemini 3 Pro, and it reaches 87.8 on VideoMME for video understanding. ByteDance also reports it matches Seed 1.6's intelligence using roughly a third of the tokens, 5K versus 15K, improving token efficiency for search-heavy tasks. Independent evaluations note it trails Gemini 3 and GPT-5 on general benchmarks, making it a better fit for search and agentic use cases than coding. Its 32,000-token output limit is smaller than the 128,000 available on the Seed 2.0 tiers.
ChatDoubao Seed 2.0 Lite
Doubao Seed 2.0 Lite is ByteDance's balanced, production-grade tier in the Seed 2.0 family, positioned between the flagship Pro model and the lighter Mini tier. ByteDance describes it as trading off output quality and response speed for high-frequency enterprise use rather than maximum reasoning depth. It handles unstructured information processing, content creation, search and recommendation, and data analysis. An April 2026 update added omni-modal understanding across video, image, audio, and text, plus GUI capabilities that let it identify buttons, menus, and forms and carry out browser or computer actions. On benchmarks it scores 93.0 on AIME 2025, a 2233 Codeforces rating, 81.7 on LiveCodeBench v6, and 73.5 on SWE-Bench Verified, and it edges out the larger Pro model on MMLU-Pro (87.7 versus 87.0). ByteDance reports the updated Lite model outperforms GPT-4o mini and Gemini 3 Flash on numerous evaluations.
ChatDoubao Seed 2.0 Mini
Doubao Seed 2.0 Mini is the smallest and cheapest model in ByteDance's Seed 2.0 family, built for low-latency, high-concurrency, cost-sensitive deployments rather than peak reasoning quality. It still supports multimodal input (text, image, and video) and the adjustable reasoning modes shared across the Seed 2.0 line. Benchmark scores trail the larger tiers, landing at 87.0 on AIME 2025, a 1644 Codeforces rating, 64.1 on LiveCodeBench v6, 67.9 on SWE-Bench Verified, and 81.2 on VideoMME. At roughly $0.04 per million input tokens and $0.32 per million output tokens, Mini is the least expensive of the five Seed models here, priced for batch classification, content moderation, high-volume customer service, and other workloads where throughput and cost matter more than top-tier reasoning.
Frequently Asked Questions
You can access Doubao Seed 2.0 Code by Volcengine through Puter.js AI API. Include the library in your web app or Node.js project and start making calls with just a few lines of JavaScript — no backend and no configuration required. You can also use it with Python or cURL via Puter's OpenAI-compatible API.
Yes, it is free if you're using it through Puter.js. With the User-Pays Model, you can add Doubao Seed 2.0 Code to your app at no cost — your users pay for their own AI usage directly, making it completely free for you as a developer.
| Price per 1M tokens | |
|---|---|
| Input | $0.5 |
| Output | $2.5 |
Doubao Seed 2.0 Code supports a context window of 256K tokens. For reference, that is roughly equivalent to 512 pages of text.
Doubao Seed 2.0 Code can generate up to 128K tokens in a single response.
Yes — the Doubao Seed 2.0 Code API works with any JavaScript framework, Node.js, or plain HTML through Puter.js. Just include the library and start building. See the documentation for more details.
Get started with Puter.js
Add Doubao Seed 2.0 Code to your app without worrying about API keys or setup.
Read the Docs View Tutorials