
Coding-tuned 256K-context model with strong front-end results and multilingual 프로그래밍 지원 for AI 코딩 도구 및 에이전트.
Coding-tuned 256K-context model with strong front-end results and multilingual 프로그래밍 지원 for AI 코딩 도구 및 에이전트.
다른 이름 Seed Code, ByteDance Seed 2.0 Code, Seed-2.0-Code, seed-2-0-code
seed-2-0-code/v1/chat/completionsPOST/v1/responsesPOST/v1/messagesPOST/v1beta/models/seed-2-0-code:generateContentbytedance/seed-2-codedola-seed-2.0-codedoubao-seed-2-codeseed-2-0-code-preview-260328seed-2-codeEmpirioLabs 카탈로그의 실시간 종량제 요금입니다. 사용한 만큼만 결제하며 월 최소 요금이 없습니다.
Seed 2.0 Code은(는) OpenAI 호환 Chat Completions API를 제공합니다. 아무 OpenAI SDK나 EmpirioLabs API 키와 함께 https://api.empiriolabs.ai/v1로 지정하고 모델 ID seed-2-0-code를 사용하세요. EmpirioLabs 대시보드에서 API 키를 발급받으세요.
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": "Write a haiku about the ocean."}
]
}'from openai import OpenAI
client = OpenAI(
base_url="https://api.empiriolabs.ai/v1",
api_key="YOUR_EMPIRIOLABS_API_KEY",
)
response = client.chat.completions.create(
model="seed-2-0-code",
messages=[{"role": "user", "content": "Write a haiku about the ocean."}],
)
print(response.choices[0].message.content)EmpirioLabs에서 Seed 2.0 Code API가 지원하는 요청 파라미터입니다. 필드를 생략하면 기본값이 적용됩니다.
| 파라미터 | 유형 | 기본값 | 범위 / 값 | 설명 |
|---|---|---|---|---|
| max_tokens | number | 4096 | 1 ~ 65536 | 최대 출력 토큰 |
| frequency_penalty | number | 0 | -2 ~ 2 | 토큰을 반복하면 벌칙이 있습니다. >0은 반복을 줄이고, <0은 반복을 장려합니다. |
| presence_penalty | number | 0 | -2 ~ 2 | 새 토큰과 본 토큰에 대한 페널티. >0은 새로운 주제를 장려하고, <0은 주제에 집중하도록 권장합니다. |
| stop | string | - | - | 쉼칸 구분 파인 파톱 시퀀스 |
| enable_thinking | boolean | true | - | 딥 싱글리팅/추론 모드를 활성화하세요. |
| reasoning_effort | enum | medium | low, medium, high | 논리적 노력 단계. enable_thinking=false를 사용해 추론을 완전히 비활성화하세요. |
| enable_web_search | boolean | false | - | Enable web search: retrieves live web results and provides them to the model as additional context. |
| image_detail | enum | high | low, high, xhigh | 시각 입력에 대한 이미지 시각 품질 등급입니다. |
| video_fps | number | - | 0.2 ~ 5 | 비디오 입력에서 추출한 초당 프레임. |
가격은 입력 토큰 >=128K일 때 2x입니다. 온도와 top p는 클라이언트 값에 관계없이 server-fixed (temp=1, top p=0.95)입니다.
When this model invokes built-in tools (web search, code interpreter, etc.) inside a single request, the response carries a normalized usage.tool_usage map alongside the token counts. The example below shows the shape — exact field names, units, and which tools appear can vary slightly per provider:
"usage": {
"prompt_tokens": 123,
"completion_tokens": 456,
"cost_usd": 0.0042,
"tool_usage": {"web_search": 3, "code_interpreter": 1}
}The tool counts are already factored into cost_usd — they are surfaced for transparency so you can audit per-tool billing. The field is omitted when no tools were invoked.
EmpirioLabs에서 Seed 2.0 Code은(는) 종량제로 청구됩니다. 이 페이지의 실시간 요금표는 항상 API 청구 금액과 일치합니다.
Seed 2.0 Code은(는) 256K 토큰 컨텍스트 윈도우를 지원합니다 (응답당 최대 128,000 출력 토큰).
네. Seed 2.0 Code은(는) OpenAI 호환 Chat Completions API를 제공하므로, 기존 OpenAI SDK에서 base_url을 https://api.empiriolabs.ai/v1로 지정하고 모델 ID를 seed-2-0-code로 설정하면 바로 동작합니다.
네. EmpirioLabs 플레이그라운드에서 API와 동일한 파라미터로 Seed 2.0 Code을(를) 브라우저에서 실행하므로 코드를 작성하기 전에 프롬프트를 테스트할 수 있습니다.
EmpirioLabs 계정을 만든 다음 대시보드의 API Keys에서 키를 생성하세요. 요금은 종량제 크레딧이라 실행한 요청에 대해서만 결제합니다.