# ByteDance Seed: Seed-2.0-Code — Use via Hanzo AI API

> Seed 2.0 Code is a model from ByteDance Seed optimized for agentic coding. It is suited for frontend development, multilingual programming t... Access via Hanzo&#x27;s OpenAI-compatible API. Context: 262K. Get started free.

[Models](https://hanzo.ai/models)/[ByteDance Seed](https://hanzo.ai/models/bytedance-seed)/seed-2.0-code

# ByteDance Seed: Seed-2.0-Code

[ByteDance Seed](https://hanzo.ai/models/bytedance-seed)

Seed 2.0 Code is a model from ByteDance Seed optimized for agentic coding. It is suited for frontend development, multilingual programming tasks, and coding-agent workflows in tools such as Claude...

text

[Get API Key](https://hanzo.ai/signup)[View Docs](https://docs.hanzo.ai)[Try in Chat](https://hanzo.ai/chat)

## Specifications

Context Window

262K

Modalities

text

Input

$0.600 / M tokens

Output

$3.60 / M tokens

Status

available

Category

third-party

Model ID

bytedance-seed/seed-2.0-code

## Quick Start

TypeScript

```
import OpenAI from &#x27;openai&#x27; const client = new OpenAI({ apiKey: process.env.HANZO_API_KEY, baseURL: &#x27;https://api.hanzo.ai/v1&#x27; }) const response = await client.chat.completions.create({ model: &#x27;bytedance-seed/seed-2.0-code&#x27;, messages: [{ role: &#x27;user&#x27;, content: &#x27;Hello!&#x27; }] }) console.log(response.choices[0].message.content)
```

Python

```
from openai import OpenAI client = OpenAI( api_key=os.environ["HANZO_API_KEY"], base_url="https://api.hanzo.ai/v1" ) response = client.chat.completions.create( model="bytedance-seed/seed-2.0-code", messages=[{"role": "user", "content": "Hello!"}] ) print(response.choices[0].message.content)
```

cURL

```
curl https://api.hanzo.ai/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $HANZO_API_KEY" \ -d &#x27;{ "model": "bytedance-seed/seed-2.0-code", "messages": [{"role": "user", "content": "Hello!"}] }&#x27;
```

Go

```
package main import ( "context" "fmt" "os" "github.com/sashabaranov/go-openai" ) func main() { cfg := openai.DefaultConfig(os.Getenv("HANZO_API_KEY")) cfg.BaseURL = "https://api.hanzo.ai/v1" client := openai.NewClientWithConfig(cfg) resp, _ := client.CreateChatCompletion(context.Background(), openai.ChatCompletionRequest{ Model: "bytedance-seed/seed-2.0-code", Messages: []openai.ChatCompletionMessage{ {Role: openai.ChatMessageRoleUser, Content: "Hello!"}, }, }, ) fmt.Println(resp.Choices[0].Message.Content) }
```

## More from ByteDance Seed

[ByteDance Seed: Seed 1.6262KSeed 1.6 is a general-purpose model released by the ByteDance Seed team. It incorporates multimodal capabilities and adaptive deep thinking with a 256K context window.](https://hanzo.ai/models/bytedance-seed/seed-1.6)[ByteDance Seed: Seed 1.6 Flash262KSeed 1.6 Flash is an ultra-fast multimodal deep thinking model by ByteDance Seed, supporting both text and visual understanding. It features a 256k context window and can generate outputs of...](https://hanzo.ai/models/bytedance-seed/seed-1.6-flash)[ByteDance Seed: Seed 2.1 Turbo262KSeed 2.1 Turbo is a multimodal model from ByteDance Seed for coding and long-horizon agent workflows. It is suited for end-to-end software delivery, multi-step task execution, and understanding visual and...](https://hanzo.ai/models/bytedance-seed/seed-2-1-turbo)[ByteDance Seed: Seed-2.0-Lite262KSeed-2.0-Lite is a versatile, cost‑efficient enterprise workhorse that delivers strong multimodal and agent capabilities while offering noticeably lower latency, making it a practical default choice for most production workloads across...](https://hanzo.ai/models/bytedance-seed/seed-2.0-lite)[ByteDance Seed: Seed-2.0-Mini262KSeed-2.0-mini targets latency-sensitive, high-concurrency, and cost-sensitive scenarios, emphasizing fast response and flexible inference deployment. It delivers performance comparable to ByteDance-Seed-1.6, supports 256k context, four reasoning effort modes (minimal/low/medium/high), multimodal understanding,...](https://hanzo.ai/models/bytedance-seed/seed-2.0-mini)

[View all ByteDance Seed models →](https://hanzo.ai/models/bytedance-seed)

## Use ByteDance Seed: Seed-2.0-Code via Hanzo AI

One API key. Every major model. OpenAI-compatible. Start free.

[Get Free API Key](https://hanzo.ai/signup)[Browse All Models](https://hanzo.ai/models)
