Skip to content
All releases
Added

Doubao Seed 2.1 Pro

ByteDance Seed's reasoning model for coding, math and multilingual work, 262k context. BYOK via AIHubMix.

bytedance-seed/doubao-seed-2-1-pro-260628 is build 260628 of ByteDance Seed's Doubao Seed 2.1 Pro, a reasoning model strong on coding, mathematics and multilingual tasks. It supports function calling and has a 262,144-token context window.

It is **BYOK-only** through an AIHubMix key. Add the key under Dashboard → BYOK; the request goes out with your key and the provider bills you at its own rates. AnyRouter charges nothing for a BYOK route.

Try it in the Vercel AI SDK (guide). createAnyRouter() reads ANYROUTER_API_KEY:

import { createAnyRouter } from "@anyr/ai-sdk-provider"
import { generateText } from "ai"

const anyrouter = createAnyRouter()

const { text } = await generateText({
  model: anyrouter("bytedance-seed/doubao-seed-2-1-pro-260628"),
  prompt: "Solve this step by step: what is 17% of 2,350?",
})
console.log(text)
generateText with the catalog id.

Already on the OpenAI SDK? OpenAI SDK playbook:

OpenAI-compatible: SDK or curl.
import OpenAI from "openai"

const client = new OpenAI({
  baseURL: "https://anyrouter.dev/api/v1",
  apiKey: process.env.ANYROUTER_API_KEY,
})

const res = await client.chat.completions.create({
  model: "bytedance-seed/doubao-seed-2-1-pro-260628",
  messages: [{ role: "user", content: "Hello" }],
})
console.log(res.choices[0]?.message.content)
curl https://anyrouter.dev/api/v1/chat/completions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"bytedance-seed/doubao-seed-2-1-pro-260628","messages":[{"role":"user","content":"Hello"}]}'

Or launch a coding agent through the anyr CLI (Claude Code · OpenCode):

Coding agents via the AnyRouter CLI.
curl -fsSL https://anyrouter.dev/setup.sh | bash
anyr login
anyr claude --model "bytedance-seed/doubao-seed-2-1-pro-260628"
curl -fsSL https://anyrouter.dev/setup.sh | bash
anyr login
anyr opencode --model "bytedance-seed/doubao-seed-2-1-pro-260628"
curl -fsSL https://anyrouter.dev/setup.sh | bash
anyr login
anyr codex --model "bytedance-seed/doubao-seed-2-1-pro-260628"

More: AI SDK · OpenAI SDK · coding agents · BYOK setup.

No terminal? Open the playground and send a first message.

Try in playground

Looking for the full catalog? Browse all models.