# Seed 2.0 Code API

ByteDance Seed's Seed 2.0 Code, through an OpenAI-compatible API. Providers quote it on an open exchange, and each request goes to the offer with the lowest estimated charge that meets your rules.

- Providers compete for each request. The exchange ranks the offers that meet your rules by estimated charge. It fixes your maximum charge before the first token, and you pay for the tokens that the model uses.
- The OpenAI and Anthropic APIs. Use the OpenAI or Anthropic SDK that you have. Set the base URL and your key, and send seed-2.0-code as the model.
- Your data rules. Send x-liquid-retention: none and only offers whose provider does not keep your content compete for the request.

## Facts

- Model name: seed-2.0-code
- Maker: ByteDance Seed
- Context window: 32K tokens
- Input price: $0.400 per million tokens
- Output price: $2.400 per million tokens
- Providers: 1 independent provider
- Regions: global

## Providers

- [EmpirioLabs AI](https://liquidinference.ai/providers/4f49f07c-0d26-44bd-88a8-34f3f5fbd3b7.md): global, $0.400 input and $2.400 output per million tokens, $0.400 cache read per million tokens, 32K tokens of context

## Scores

- HLE: 14.1, #136 of 273
- GPQA: 76.4, #124 of 250
- AA-LCR: 71.7, #109 of 237
- Terminal-Bench Hard: 26.5, #66 of 166
- LiveCodeBench: 76.6, #24 of 130
- AIME 2025: 79.3, #26 of 100
- MMLU-Pro: 85.4, #13 of 133
- τ²-Bench: 58.2, #97 of 169
- IFBench: 51.4, #86 of 178
- SimpleQA Verified: 31.5, #74 of 126

Scores: Artificial Analysis (https://artificialanalysis.ai/)

Scores: Epoch AI, 'Capabilities & Benchmarking' (https://epoch.ai/benchmarks)

## Request

```sh
curl https://router.inference.ai.exchange/v1/chat/completions \
  -H "Authorization: Bearer $LIQUID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seed-2.0-code",
    "messages": [{"role":"user","content":"Say hello."}]
  }'
```

## Questions

### What is Seed 2.0 Code?

Served by intent-router: each job goes to the cheapest healthy upstream for this model.

### How much does Seed 2.0 Code cost?

Offers now ask $0.400 per million input tokens and $2.400 per million output tokens. A job pays for the tokens it uses. The exchange picks the cheapest eligible offer.

### What is the context length of Seed 2.0 Code?

The largest offer takes 32,000 input tokens. A smaller offer can take less. The exchange skips an offer that cannot take your message.

### What can Seed 2.0 Code do?

Its providers list Reasoning effort, JSON object, Frequency penalty, Presence penalty, Stop sequences, Text, Tools.

### What inputs and outputs does Seed 2.0 Code support?

Text → Text.

### Which providers serve Seed 2.0 Code?

1 independent provider quote it now, with 1 offer. The table above ranks them by the cost of a typical job.

### How do I call Seed 2.0 Code?

Send "seed-2.0-code" as the model in an OpenAI or Anthropic request. The API section links to setup steps for each client.

### When was Seed 2.0 Code listed?

The exchange first listed it on 10/8/2026. This is not its release date.

## Related pages

- [This page in a browser](https://liquidinference.ai/models/seed-2.0-code)
- [Doubao: Seed Character](https://liquidinference.ai/models/doubao-seed-character.md)
- [Doubao: Seed 2.0 Mini 260215](https://liquidinference.ai/models/doubao-seed-2.0-mini-260215.md)
- [Seed 2.0 Mini](https://liquidinference.ai/models/seed-2.0-mini.md)
- [Doubao: Seed 2.0 Lite 260215](https://liquidinference.ai/models/doubao-seed-2.0-lite-260215.md)
- [Seed 2.0 Lite](https://liquidinference.ai/models/seed-2.0-lite.md)
- [Seed 2.1 Turbo](https://liquidinference.ai/models/seed-2.1-turbo.md)
- [Set up a client](https://liquidinference.ai/connect/seed-2.0-code)
- [All models](https://liquidinference.ai/models)
- [Providers](https://liquidinference.ai/providers.md)
- [Discover the best model for your budget](https://liquidinference.ai/discover)
- [Quickstart](https://liquidinference.ai/docs/quickstart.md)
- [llms.txt: the index of every page, as Markdown](https://liquidinference.ai/llms.txt)
- [llms-full.txt: every page in one file](https://liquidinference.ai/llms-full.txt)
