doubao-seed-code-preview-251028

doubao-seed-code-preview-251028

The latest model from ByteDance
2025-11-11
LLM
Model capability: imageModel capability: videoModel capability: thinkingModel capability: function_call
Input:
$0.1715/1M tokensstarting from
Output:
$1.1429/1M tokensstarting from
Bulk order? Contact your manager for exclusive deals

API Overview

A programming model released by Volcano Engine, specifically optimized for Agentic Coding tasks, supports a 256K context and performs well in full-stack development, particularly excelling in frontend capabilities. It is the first domestic programming model that supports visual understanding, enabling it to generate code based on UI design drafts, screenshots, or hand-drawn sketches. Additionally, it can visually compare generated pages against original designs, autonomously fixing styles and resolving bugs.

302 has already added support for Claude's original format with this model.


After completing the installation of Claude Code, please set up environment variables as follows to use the Kimi For Coding model.

macOS and Linux

sh

export ANTHROPIC_BASE_URL=https://api.302.ai
export ANTHROPIC_AUTH_TOKEN=<your API Key>  # Enter your 302 API Key here
export ANTHROPIC_MODEL=doubao-seed-code-preview-251028
export ANTHROPIC_SMALL_FAST_MODEL=doubao-seed-code-preview-251028

claude

Windows

powershell

$env:ANTHROPIC_BASE_URL="https://api.302.ai"
$env:ANTHROPIC_AUTH_TOKEN="<your API Key>"  # Enter your 302 API Key here
$env:ANTHROPIC_MODEL="doubao-seed-code-preview-251028"
$env:ANTHROPIC_SMALL_FAST_MODEL="doubao-seed-code-preview-251028"

claude

Playground

Log in to explore more features! Click to Log In

API Analytics

API Reference (2)

API DescriptionAPI EndpointRequest MethodStabilityParameter Description
Chat (ByteDance Doubao)
POST
Stable
View Details
Messages (original format)
POST
Stable
View Details

API Pricing

$
ModelDescriptionContextOfficial Price302.AI Price

doubao-seed-code-preview-251028

Enter the price for [0,32] k tokens
256000

Input$0.1715 / 1M tokens
Output$1.1429 / 1M tokens

Input$0.1715/ 1M tokens
Output$1.1429/ 1M tokens
Original Price

doubao-seed-code-preview-251028

Enter the price for(32,128] k tokens
256000

Input$0.2 / 1M tokens
Output$1.7143 / 1M tokens

Input$0.2/ 1M tokens
Output$1.7143/ 1M tokens
Original Price

doubao-seed-code-preview-251028

Enter the price for (128, 256] k tokens
256000

Input$0.4 / 1M tokens
Output$2.2858 / 1M tokens

Input$0.4/ 1M tokens
Output$2.2858/ 1M tokens
Original Price