Seed-2.0-Code

by Bytedance Seed
bytedance-seed/seed-2.0-code

Seed-2.0-Code is a text and image and video-input model by Bytedance Seed, available through the AgentSky API as bytedance-seed/seed-2.0-code at $0.58025 per million input tokens and $3.4815 per million output tokens, with a 262K context window.

Seed 2.0 Code is a model from ByteDance Seed optimized for agentic coding.

Pricing

USD per million tokens, using your plan when signed in. Each request uses the tier matching its full input context, including cached input; output tokens do not choose the tier.
Input context (tokens)Cache modeThinkingInputOutputCache readCache write
Up to 127,999NoneStandardPrice: $0.58025Price: $3.4815——
128,000–262,144NoneStandardPrice: $1.1605Price: $6.963——

Every response carries its own cost. Balance and per-call records: /v1/credits and /v1/generation.

Use it

Point your client at the gateway and pass this model id. Nothing else changes.
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://gateway.agentsky.dev/v1",
  apiKey: process.env.AGENTSKY_API_KEY, // ast_…
});

const completion = await client.chat.completions.create({
  model: "bytedance-seed/seed-2.0-code",
  messages: [{ role: "user", content: "Summarise this ticket." }],
});
console.log(completion.usage.cost); // USD, in the response

Questions