---
last_updated: 2026-11-30
source_url: https://opper.ai/bytedance/seed-2-0-code
title: "Seed 2.0 Code by ByteDance"
description: "Seed 2.0 Code by ByteDance is a coding-specialized model in the Seed 2.0 family, tuned for code generation, debugging, PR review, and codebase navigation."
---

# Seed 2.0 Code

By [ByteDance](https://opper.ai/bytedance).

Released 14 Feb 2026 · [Announcement](https://seed.bytedance.com/en/blog/seed-2-0-official-launch) · [All ByteDance releases](https://opper.ai/model-releases/bytedance)

Seed 2.0 Code is ByteDance's coding-specialized variant in the Seed 2.0 family, taking the Seed 2.0 foundation and tuning it for software engineering workflows including code generation, debugging, pull request review, and codebase navigation. It is built to slot into developer toolchains and autonomous coding agents.

The model produces clean, well-formatted code with fewer extraneous explanations, which makes it suited to integration into editors, CI pipelines, and agent-driven development loops. It supports a 256k context window with thinking modes, giving it room to reason through complex architectural changes and multi-file refactoring tasks.

Within the Seed 2.0 lineup, Code targets high-volume engineering scenarios where coding throughput matters most, from large-scale code assistance to agent-based development. It pairs strong instruction following with structured tool use for executing edits and tests across a project.

## Available routes

Seed 2.0 Code runs on 2 different routes through the Opper gateway. Prices are per 1M tokens. Its routes and prices, live from the catalogue, are public JSON with no API key needed at https://api.opper.ai/v3/models?q=bytedance%3Aap%2Fseed-2.0-code.

| Provider | Model id | Region | Zero data retention | Training | Input | Output | Cache read |
| --- | --- | --- | --- | --- | --- | --- | --- |
| [BytePlus](https://opper.ai/provider/byteplus) | `bytedance:ap/seed-2.0-code` | Multi-region | Abuse monitoring | No | $0.50 | $3.00 | $0.10 |
| [DeepInfra](https://opper.ai/provider/deepinfra) | `deepinfra/ByteDance/Seed-2.0-code` | US (United States) | Yes | No | $0.50 | $3.00 | $0.10 |

## Key info

- Model id: `bytedance:ap/seed-2.0-code`
- Input: Text, Image, Video, Files
- Output: Text
- Features: Reasoning, Tools
- Context window: 262K
- Max output: 131K
- Input price: $0.50 per 1M tokens ($0.10 cache read)
- Output price: $3.00 per 1M tokens
- Released: 14 Feb 2026
- US residency available on DeepInfra
- Zero data retention on pay-as-you-go
- No training by default

## Data handling per route

Each route hosting Seed 2.0 Code has its own privacy posture, residency, and GDPR terms. Postures are maintained by Opper with a last-verification timestamp.

### BytePlus — Multi-region

Zero data retention with abuse monitoring: prompts and outputs are kept for up to 180 days for abuse monitoring only, and are not used for training. No training on customer data. GLOBAL; SCCs.

- Zero data retention: With abuse monitoring, 180-day window.
- Training: No training on customer data.
- Logging: Abuse monitoring (180-day retention)
- Abuse monitoring: On by default, holds flagged content, 180 days, stored in Malaysia, a person can view samples
- Caching: Prompt cache
- Transfer mechanism: SCCs

Verified by Opper on 2026-10-15.

### DeepInfra — United States

Zero data retention: nothing is logged, held for abuse monitoring or used for training. No training on customer data. US; SCCs.

- Zero data retention: Yes. Nothing is logged, held for abuse monitoring or used for training.
- Training: No training on customer data.
- Logging: None
- Abuse monitoring: No classifier
- Transfer mechanism: SCCs

Verified by Opper on 2026-10-19.

## Get started

Call Seed 2.0 Code through the Opper gateway with one API key. Opper is drop-in compatible with the OpenAI, Anthropic and Google AI SDKs.

Seed 2.0 Code is a premium model on Opper. Sign up needs no credit card: you get an API key straight away and the free models work in the playground and the API. Add a card to use premium models, pay-as-you-go with no minimum.

### Set it up with your agent

Paste this into a coding agent like Claude Code, Cursor or Codex and it will wire up Opper for you:

```text
Use curl to download, read and follow: https://skills.opper.ai Call Seed 2.0 Code
```

### Or call it directly

OpenAI:

```javascript
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.OPPER_API_KEY,
  baseURL: "https://api.opper.ai/v3/compat",
});

const completion = await client.chat.completions.create({
  model: "bytedance:ap/seed-2.0-code",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);
```

Anthropic:

```javascript
import Anthropic from "@anthropic-ai/sdk";

const client = new Anthropic({
  apiKey: process.env.OPPER_API_KEY,
  baseURL: "https://api.opper.ai/v3/compat",
});

const message = await client.messages.create({
  model: "bytedance:ap/seed-2.0-code",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Hello" }],
});
console.log(message.content);
```

Gemini:

```javascript
import { GoogleGenAI } from "@google/genai";

const ai = new GoogleGenAI({
  apiKey: process.env.OPPER_API_KEY,
  httpOptions: { baseUrl: "https://api.opper.ai/v3/compat" },
});

const response = await ai.models.generateContent({
  model: "bytedance:ap/seed-2.0-code",
  contents: "Hello",
});
console.log(response.text);
```

cURL:

```bash
curl https://api.opper.ai/v3/compat/chat/completions \
  -H "Authorization: Bearer $OPPER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "bytedance:ap/seed-2.0-code",
    "messages": [{ "role": "user", "content": "Hello" }]
  }'
```

## Use Seed 2.0 Code in your apps

Pick your tool to see how to run it on Seed 2.0 Code through Opper.

- [Claude Code](https://opper.ai/apps/claude-code/seed-2-0-code)
- [Claude Cowork](https://opper.ai/apps/claude-cowork/seed-2-0-code)
- [Codex](https://opper.ai/apps/codex/seed-2-0-code)
- [DeepSeek Harness](https://opper.ai/apps/deepseek-harness/seed-2-0-code)
- [GitHub Copilot CLI](https://opper.ai/apps/github-copilot-cli/seed-2-0-code)
- [Aider](https://opper.ai/apps/aider/seed-2-0-code)
- [Goose](https://opper.ai/apps/goose/seed-2-0-code)
- [Droid](https://opper.ai/apps/droid/seed-2-0-code)
- [OpenCode](https://opper.ai/apps/opencode/seed-2-0-code)
- [Pi](https://opper.ai/apps/pi/seed-2-0-code)
- [OpenClaw](https://opper.ai/apps/openclaw/seed-2-0-code)
- [Hermes](https://opper.ai/apps/hermes/seed-2-0-code)
- [Copilot for Obsidian](https://opper.ai/apps/obsidian-copilot/seed-2-0-code)
- [OmniRoute](https://opper.ai/apps/omniroute/seed-2-0-code)
- [Cursor](https://opper.ai/apps/cursor/seed-2-0-code)
- [Cline](https://opper.ai/apps/cline/seed-2-0-code)
- [Continue](https://opper.ai/apps/continue/seed-2-0-code)
- [Kilo Code](https://opper.ai/apps/kilo-code/seed-2-0-code)
- [GitHub Copilot](https://opper.ai/apps/github-copilot/seed-2-0-code)
- [Zed](https://opper.ai/apps/zed/seed-2-0-code)
- [JetBrains AI Assistant](https://opper.ai/apps/jetbrains-ai-assistant/seed-2-0-code)
- [Voidleap Code](https://opper.ai/apps/voidleap-code/seed-2-0-code)
- [n8n](https://opper.ai/apps/n8n/seed-2-0-code)
- [LibreChat](https://opper.ai/apps/librechat/seed-2-0-code)
- [Open WebUI](https://opper.ai/apps/open-webui/seed-2-0-code)
- [See all apps](https://opper.ai/apps)

## Other models from ByteDance

- [Seedance 2.5](https://opper.ai/bytedance/seedance-2-5)
- [Seedance 2.5 Flash](https://opper.ai/bytedance/seedance-2-5-flash)
- [Seedream 5.0](https://opper.ai/bytedance/seedream-5)
- [Seedream 5.0 Flash](https://opper.ai/bytedance/seedream-5-flash)
- [Seedream 5.0 Pro](https://opper.ai/bytedance/seedream-5-pro)
- [Seedream 4.5](https://opper.ai/bytedance/seedream-4-5)
