doubao-seed-code-preview-latest

doubao-seed-code-preview-latest

Dedicated to Claude Code
2025-11-11
LLM
Model capability: imageModel capability: videoModel capability: thinkingModel capability: function_call
Input:
$0.0515/1M tokensstarting from
Output:
$0.343/1M tokensstarting from
Bulk order? Contact your manager for exclusive deals

API Overview

Please translate the following content into English, and only provide the translation without any explanations:

For Claude Code use only, priced at 30% of the original cost.


After completing the installation of Claude Code, please set up the 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-latest
export ANTHROPIC_SMALL_FAST_MODEL=doubao-seed-code-preview-latest

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-latest"
$env:ANTHROPIC_SMALL_FAST_MODEL="doubao-seed-code-preview-latest"

claude

API Console

Log in to explore more features! Click to Log In

API Analytics

API Reference (1)

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

API Pricing

$
ModelDescriptionContextOfficial Price302.AI Price

doubao-seed-code-preview-latest

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

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

Input$0.0515/ 1M tokens
Output$0.343/ 1M tokens
70%

doubao-seed-code-preview-latest

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

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

Input$0.06/ 1M tokens
Output$0.5143/ 1M tokens
70%

doubao-seed-code-preview-latest

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

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

Input$0.12/ 1M tokens
Output$0.686/ 1M tokens
70%