opencheap.si
Credits

ByteDance: seed-2.0-code-previewAPI pricing

seed-2.0-code-preview is a language model from ByteDance, tuned for writing and editing code.

Price per 1M tokens
$0.52 / $3.15input / output
Cached input
$0.10per 1M tokens
Context
128K tokens
Providers
1

Providers

1 provider ·

  • 128K context

A request picks by price (:floor) or by speed (provider.sort, :nitro), or sets a floor on tokens per second. How routing works

Price history

No provider selected
Loading…

API

curl https://api.opencheap.si/v1/chat/completions \
  -H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
  -d '{ "model": "opencheap/seed-2.0-code-preview", "messages": [{ "role": "user", "content": "Hi" }] }'

About seed-2.0-code-preview

seed-2.0-code-preview costs from $0.52 per 1M input tokens and $3.15 per 1M output tokens on OpenCheap, with cached input at $0.10 per 1M tokens. It has no public list price to compare with. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.0084, and 1,000 such requests about $8.40. Prices as of 2026-11-29 01:44 UTC.

One provider serves seed-2.0-code-preview on OpenCheap today. Each request goes to the cheapest healthy provider of the model, and every answer reports what it cost in usage.cost. Its context window is 128K tokens (128,000), room for roughly 96,000 words of English in one request.

seed-2.0-code-preview is one of 25 ByteDance models on OpenCheap. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, https://api.opencheap.si/v1.

Call seed-2.0-code-preview with the OpenAI SDK

Point the OpenAI SDK at OpenCheap and pass the model id opencheap/seed-2.0-code-preview; the rest of your code stays the same.

import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/seed-2.0-code-preview",
    messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)

Cheapest LLM API

Pricing questions

How much does the seed-2.0-code-preview API cost per 1M tokens?
seed-2.0-code-preview costs from $0.52 per 1M input tokens and $3.15 per 1M output tokens on OpenCheap, with cached input at $0.10 per 1M tokens. Prices as of 2026-11-29 01:44 UTC.
What does one seed-2.0-code-preview request cost?
A request with 10,000 input tokens and 1,000 output tokens costs about $0.0084, and 1,000 such requests about $8.40. Every answer reports its own cost in usage.cost.
Which providers serve seed-2.0-code-preview?
One provider serves seed-2.0-code-preview on OpenCheap today. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.
What is the context window of seed-2.0-code-preview?
Its context window is 128K tokens (128,000), room for roughly 96,000 words of English in one request.
How do I call the seed-2.0-code-preview API?
Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/seed-2.0-code-preview. One OpenCheap key works for every model; the rest of your code stays the same.

More from ByteDance

All 25 ByteDance models →

Similar models

Compare seed-2.0-code-preview with any model →