Seed-2.0-Code

Seed-2.0-Code

Provider: ByteDance
Category: Text Generation
Endpoint: POST /v1/chat/completions
Context window: 256K
Served from: Malaysia

Coding-tuned 256K-context model with strong front-end results and multilingual programming support for AI coding tools and agents.

At a glance

FieldValue
Model idseed-2-0-code
Input modalitiestext
Output modalitiestext
Context window256K
RegionMalaysia
Featurescode_interpreter, reasoning, agentic_coding
NewYes
Native inferenceNo

Pricing

ChargeSpecRate
Input≤ 128K context, per 1M tokens$0.40
Output≤ 128K context, per 1M tokens$2.40
Input128K–256K context, per 1M tokens$0.80
Output128K–256K context, per 1M tokens$4.80

Example request

$curl https://api.empiriolabs.ai/v1/chat/completions \
> -H 'Authorization: Bearer $EMPIRIOLABS_API_KEY' \
> -H 'Content-Type: application/json' \
> -d '{"model": "seed-2-0-code", "messages": [{"role":"user","content":"Hello"}]}'

Parameters

ParameterTypeRequiredDefaultDescription
temperaturenumberno0.7Sampling temperature · Range: 0 – 2
top_pnumberno1Nucleus sampling · Range: 0 – 1
max_tokensnumberno4096Max output tokens · Range: 1 – 65536
frequency_penaltynumberno0Range: -2 – 2
presence_penaltynumberno0Range: -2 – 2
streambooleannofalseServer-Sent Events streaming
stopstringnoComma-separated stop sequences
disable_formattingbooleannofalseReturn raw upstream response with no formatting wrappers

Live machine-readable schema is also available at GET https://api.empiriolabs.ai/v1/models/seed-2-0-code.