{"id":"seed-2-0-code","object":"model","created":1771027200,"owned_by":"bytedance","display_name":"Seed 2.0 Code","author":"bytedance","author_name":"ByteDance","author_logo":"https://media.empiriolabs.ai/provider-logos/bytedance.png","provider":"bytedance","provider_name":"ByteDance","provider_logo":"https://media.empiriolabs.ai/provider-logos/bytedance.png","description":"Coding-tuned model with strong front-end results and multilingual programming support for AI coding tools and agents.","aliases":["bytedance/seed-2-code","dola-seed-2.0-code","doubao-seed-2-code","seed-2-0-code-preview-260328","seed-2-code"],"modality":"text","type":"chat","category":"text","category_label":null,"modality_label":null,"modalities":["text","image","video","document"],"input_modalities":["text","image","video","document"],"output_modalities":["text"],"features":["code_interpreter","reasoning","agentic_coding","function_calling","vision"],"structured_output":"none","native_inference":false,"weight_precision":null,"hugging_face_id":null,"hugging_face_revision":null,"license_credit":null,"batch_supported":null,"batch_discount_pct":null,"context_window":229096,"context_length":229096,"max_output_tokens":128000,"model_released_at":"2026-02-14","is_new":false,"is_featured":false,"discount":null,"capabilities":{"streaming":true,"system_prompt":true,"web_search":false,"images":true,"audio":false,"video":true,"three_d":false,"reasoning":true},"supported_parameters":[{"name":"max_tokens","label":"max_tokens","type":"number","description":"Maximum output tokens. When omitted, the model's own default applies.","required":false,"metadata":{},"min":1,"max":128000},{"name":"frequency_penalty","label":"frequency_penalty","type":"number","description":"Penalty for repeated tokens. >0 reduces repetition, <0 encourages it. Not applied when web search is on or a document is attached.","required":false,"metadata":{},"default":0,"min":-2,"max":2},{"name":"presence_penalty","label":"presence_penalty","type":"number","description":"Penalty for new vs. seen tokens. >0 encourages new topics, <0 encourages staying on topic. Not applied when web search is on or a document is attached.","required":false,"metadata":{},"default":0,"min":-2,"max":2},{"name":"stop","label":"stop","type":"string","description":"Comma-separated stop sequences","required":false,"metadata":{"control":"stop-sequences"}},{"name":"enable_thinking","label":"Enable Thinking","type":"boolean","description":"Enable deep thinking / reasoning mode.","required":false,"metadata":{},"default":true},{"name":"reasoning_effort","label":"reasoning_effort","type":"enum","description":"Reasoning effort tier. Use enable_thinking=false to disable reasoning entirely.","required":false,"metadata":{"visible_when":{"op":"eq","field":"enable_thinking","value":true},"clear_when_hidden":true},"default":"medium","options":["low","medium","high"]},{"name":"enable_web_search","label":"Web Search","type":"boolean","description":"Enable web search: retrieves live web results and provides them to the model as additional context.","required":false,"metadata":{},"default":false},{"name":"max_tool_calls","label":"Max Web Searches","type":"number","description":"Max number of web search rounds the model can run in one request.","required":false,"metadata":{"ui":{"step":1,"control":"slider"},"visible_when":{"op":"eq","field":"enable_web_search","value":true},"clear_when_hidden":true},"default":3,"min":1,"max":10},{"name":"image_detail","label":"image_detail","type":"enum","description":"Image visual quality tier for vision input.","required":false,"metadata":{},"default":"high","options":["low","high","xhigh"]},{"name":"video_fps","label":"video_fps","type":"number","description":"Frames per second extracted from video input.","required":false,"metadata":{},"min":0.2,"max":5}],"supported_endpoints":["POST /v1/chat/completions","POST /v1/responses","POST /v1/messages","POST /v1beta/models/seed-2-0-code:generateContent"],"pricing":[{"prompt":"0.0000004","completion":"0.0000024","image":"0","request":"0","input_cache_read":"0.0000004"},{"prompt":"0.0000008","completion":"0.0000048","image":"0","request":"0","input_cache_read":"0.0000008","min_context":128000}],"pricing_rows":[{"spec":"per 1M prompt tokens","label":"Input","value":"<=128K $0.40; 128K-256K $0.80"},{"spec":"per 1M generated tokens","label":"Output","value":"<=128K $2.40; 128K-256K $4.80"}],"unit_pricing":[],"limits":{"note":"Pricing is 2x when input tokens >=128K. Temperature and top_p are server-fixed (temp=1, top_p=0.95) regardless of client value.","tool_usage_note":"**Per-tool billing (`usage.tool_usage`)**\n\nWhen 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:\n\n```json\n\"usage\": {\n  \"prompt_tokens\": 123,\n  \"completion_tokens\": 456,\n  \"cost_usd\": 0.0042,\n  \"tool_usage\": {\"web_search\": 3, \"code_interpreter\": 1}\n}\n```\n\nThe 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."},"notes":null,"chat_url":"https://platform.empiriolabs.ai/dashboard/playground?model=seed-2-0-code","api_url":"https://docs.empiriolabs.ai/models/seed-2-0-code","logo":"https://media.empiriolabs.ai/model-logos/seed-2-0-code.png","default_params":{"frequency_penalty":0,"presence_penalty":0,"enable_thinking":true,"reasoning_effort":"medium","enable_web_search":false,"max_tool_calls":3,"image_detail":"high"},"status":"available"}