import requests r = requests.post( "https://api.aimlapi.com/v1/chat/completions", headers={"Authorization": "Bearer " + AIMLAPI_KEY}, json={ "model": "bytedance-seed/seed-2-1-turbo", "messages": [ { "role": "user", "content": "Hello!" } ] }, ) print(r.json())
const r = await fetch("https://api.aimlapi.com/v1/chat/completions", { method: "POST", headers: { Authorization: `Bearer ${process.env.AIMLAPI_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ "model": "bytedance-seed/seed-2-1-turbo", "messages": [ { "role": "user", "content": "Hello!" } ] }), }); console.log(await r.json());
curl -X POST https://api.aimlapi.com/v1/chat/completions \ -H "Authorization: Bearer $AIMLAPI_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"bytedance-seed/seed-2-1-turbo","messages":[{"role":"user","content":"Hello!"}]}'
OpenAI-compatible — swap the base URL and it works with your existing SDK.
| Type | Price |
|---|---|
| Input | |
| Output | |
| Model | Input | Output | Context | Best for |
|---|---|---|---|---|
Seed 2.1 Turbo This page | Long-horizon coding agents | |||
| Reasoning + agents | ||||
| Reasoning + agents with long context | ||||
| Frontier reasoning + agents | ||||
| Agentic frontend & coding workflows |
Seed 2.1 Turbo has a 262,144 tokens context window and can return up to 262,144 tokens.
Seed 2.1 Turbo takes image, text as input and returns text.
Use bytedance-seed/seed-2-1-turbo as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.
Seed 2.1 Turbo became available on August 10, 2026.
Seed 2.1 Turbo is priced at input $0.6877 / 1M tokens, output $3.4385 / 1M tokens.
Yes, Seed 2.1 Turbo can stream responses as they are generated.
Yes, Seed 2.1 Turbo accepts image input alongside text.
Seed 2.1 Turbo was built by ByteDance.
It is designed for coding tasks and long-horizon agent workflows, handling text and image input.