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.
HarnessModel
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 mode | Thinking | Input | Output | Cache read | Cache write |
|---|---|---|---|---|---|---|
| Up to 127,999 | None | Standard | Price: $0.58025 | Price: $3.4815 | — | — |
| 128,000–262,144 | None | Standard | Price: $1.1605 | Price: $6.963 | — | — |
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