doubao-seed-2-0-code-preview-260215Compare doubao-seed-2-0-code-preview-260215 API pricing, supported endpoints, capabilities and access options on Modelsell.
Doubao tokenizerScores on standardized evaluations. Higher percentages are better — and rank percentile shows
Metrics sourced fromArtificial Analysis 2026-09-30·Doubao Seed 2.0 Code Preview 260215
This model is not included in the current benchmark snapshot.
Missing models or measurements are not zero scores.
Benchmark charts preserve the source model selection and reasoning settings. Missing models or measurements are not zero scores, and benchmark cost or speed is not this site’s service commitment.
豆包 Seed 2.0 Code 预览版针对企业编程需求优化,适合功能实现、代码理解、缺陷定位和重构建议。它在通用推理与视觉理解基础上增强编码能力,既可处理前端页面任务,也可协助分析多种语言的业务代码,适合接入编程助手或用于开发过程中的问答。
需求不必只用文字表达。可以结合页面截图说明布局和交互问题,再提供组件代码、接口约定及样式规范,让模型提出更贴近现有工程的修改方案。涉及多个文件时,应交代目录关系、调用入口和不允许改变的行为,减少只改局部却破坏整体流程的情况。
模型可以生成代码和工具调用请求,实际读写文件、执行命令和测试由接入的开发工具完成。只有工具返回的结果才能说明检查已经执行。给工具明确权限和验收条件,并让模型根据真实错误继续修正,才能形成完整开发流程。
提供可复现输入、报错堆栈、相关代码和预期结果,要求先说明证据与可能原因,再给出最小修改。对于并发、状态变化等问题,可让它梳理调用顺序和失败条件,避免一开始就大范围改写。生成的补丁仍需结合项目依赖和测试验证。
上游已将该版本列入下线计划。已有项目可以用它继续比较行为,但长期集成应提前验证可用的后续模型,尤其关注输出格式、工具调用和代码修改习惯的差异。
提交项目语言、框架、目标与相关代码,必要时附截图。例如:“这是 React 商品列表页。筛选后翻页会丢失条件。请根据以下组件和请求代码定位状态传递问题,保留现有接口与布局,给出最小补丁,并说明如何验证快速切换筛选与翻页。”
复杂任务可开启接口支持的思考模式,并给回答与思考留出足够预算。接入编程工具时,明确允许读取和修改的文件,要求先读取相关实现,再修改并运行适当检查。评估结果时查看实际补丁与测试输出,不把生成的命令当作已执行。
/v1/chat/completions| Parameter | Type | Default / range | Description |
|---|---|---|---|
temperature | number | = 10 ~ 2 | Sampling temperature; lower is more deterministic |
top_p | number | = 10 ~ 1 | Nucleus sampling probability mass |
max_tokens | integer | >= 1 | Maximum number of tokens in the response |
frequency_penalty | number | = 0-2 ~ 2 | Penalises repetition of frequent tokens |
presence_penalty | number | = 0-2 ~ 2 | Encourages introducing new topics |
stop | array | — | Up to 4 strings that stop generation |
seed | integer | — | Deterministic sampling seed (best-effort) |
n | integer | = 1>= 1 | Number of completions to generate |
stream | boolean | = false | Stream tokens via Server-Sent Events |
response_format | object | — | Force JSON object or schema-conforming output |
tools | array | — | Tool / function declarations the model may call |
tool_choice | string | autononerequired | Tool-choice policy or specific tool name |
logprobs | boolean | = false | Return per-token log probabilities |
top_logprobs | integer | 0 ~ 20 | Number of top log probabilities returned per token |
logit_bias | object | — | Per-token logit bias map |
user | string | — | End-user identifier for abuse monitoring |
Replace <YOUR_API_KEY> with the API key from your token settings.
All requests must include Authorization: Bearer <TOKEN> header. Anthropic-formatted endpoints accept the x-api-key header instead.
Generate tokens from the Tokens page; you can scope them to specific models, groups, IPs, and rate-limits.
| Parameter | Type | Default / range | Description |
|---|---|---|---|
temperature | number | = 10 ~ 2 | Sampling temperature; lower is more deterministic |
top_p | number | = 10 ~ 1 | Nucleus sampling probability mass |
max_tokens | integer | >= 1 | Maximum number of tokens in the response |
frequency_penalty | number | = 0-2 ~ 2 | Penalises repetition of frequent tokens |
presence_penalty | number | = 0-2 ~ 2 | Encourages introducing new topics |
stop | array | — | Up to 4 strings that stop generation |
seed | integer | — | Deterministic sampling seed (best-effort) |
n | integer | = 1>= 1 | Number of completions to generate |
stream | boolean | = false | Stream tokens via Server-Sent Events |
response_format | object | — | Force JSON object or schema-conforming output |
tools | array | — | Tool / function declarations the model may call |
tool_choice | string | autononerequired | Tool-choice policy or specific tool name |
logprobs | boolean | = false | Return per-token log probabilities |
top_logprobs | integer | 0 ~ 20 | Number of top log probabilities returned per token |
logit_bias | object | — | Per-token logit bias map |
user | string | — | End-user identifier for abuse monitoring |
| Supplier | RPM | TPM | RPD |
|---|---|---|---|
| Volcengine | Unlimited | Unlimited | Unlimited |
No restriction
Compare doubao-seed-2-0-code-preview-260215 API pricing, supported endpoints, capabilities and access options on Modelsell.
Create an API key with access to doubao-seed-2-0-code-preview-260215, then use the exact model ID and a supported endpoint from the API access section. Request fields depend on the selected endpoint.
Pricing depends on the selected provider group and the model billing unit. The current input, output, request, or media prices are shown on this page before sign-up.
The model catalog lists a context window of 262144 tokens. Check the selected endpoint for request limits.
The model catalog lists a maximum output of 131072 tokens. Your request settings may set a lower limit.
Start with the use cases and prompting guidance on this page, then evaluate the model with representative inputs from your project.
