Seed 2.0 API (Doubao 2.0)
Doubao Seed 2.0 is ByteDance's latest large language model series, available in four variants: Pro, Lite, Mini, and Code. With up to 256K context window, tiered pricing by prompt length, and cache billing support, it delivers strong performance at competitive cost. Access it on EvoLink with the documented model enum.
Doubao Seed 2.0 API for Flexible AI
ByteDance's Seed 2.0 series offers up to 256K context window with smart tiered pricing based on prompt length (32K/128K/256K). Save more with cache hit billing and choose from four variants — Pro, Lite, Mini, and Code — to match your exact workload.

PRICING
| PLAN | CONTEXT WINDOW | MAX OUTPUT | INPUT | OUTPUT | CACHE READ |
|---|---|---|---|---|---|
| Doubao Seed 2.0 Mini | 256.0K | 128.0K | ≤32.0K$0.028 $0.028Official Price ≤128.0K$0.056 $0.056Official Price ≤256.0K$0.111 $0.111Official Price | ≤32.0K$0.278 $0.278Official Price ≤128.0K$0.556 $0.556Official Price ≤256.0K$1.111 $1.111Official Price | ≤32.0K$0.006 $0.006Official Price ≤128.0K$0.006 $0.006Official Price ≤256.0K$0.006 $0.006Official Price |
Cached prompt tokens billed by storage duration
Pricing Note: Price unit: USD / 1M tokens
Cache Hit: Price applies to cached prompt tokens.
What can you build with the Doubao Seed 2.0 API?
General-Purpose Conversations
Doubao Seed 2.0 Pro excels at building intelligent chatbots and knowledge-intensive assistants. Its strong instruction-following ability and long context window make it ideal for customer support, enterprise Q&A, and interactive content generation.

Code Generation & Development
Doubao Seed 2.0 Code is purpose-built for software engineering tasks. Use it for code generation, debugging, code review, and technical documentation across multiple programming languages with competitive performance.

Lightweight Inference & Efficiency
Doubao Seed 2.0 Lite and Mini variants deliver efficient performance for high-throughput scenarios. Perfect for batch processing, real-time classification, and cost-sensitive production workloads where speed matters most.

Why teams choose the Doubao Seed 2.0 API
Doubao Seed 2.0 combines high-quality LLM performance with flexible tiered pricing and cache billing, making it one of the most cost-effective model series for production workloads.
High Cost-Effectiveness
Competitive performance at a fraction of the cost of premium models, with four variants to match your budget and quality requirements.
Flexible Tiered Pricing
Pay based on actual prompt length — shorter prompts (≤32K) cost less than longer ones (128K/256K), so you only pay for what you use.
Cache Billing Saves More
Built-in cache hit billing reduces costs for repeated system prompts and prefixes by up to 80%, ideal for production workloads.
How to integrate the Doubao Seed 2.0 API
Use the EvoLink API with the documented model enum. Doubao Seed 2.0 is fully compatible with the OpenAI SDK — just change the base URL and model name.
Step 1 — Authenticate
Create an EvoLink API key and send requests with Bearer token authentication.
Step 2 — Choose your variant
Set model to doubao-seed-2.0-pro, doubao-seed-2.0-lite, doubao-seed-2.0-mini, or doubao-seed-2.0-code based on your use case.
Step 3 — Tune outputs
Adjust temperature, top_p, max_tokens, stream, and other parameters. Pricing tiers are applied automatically based on prompt length.
Core Doubao Seed 2.0 API capabilities
Model facts from ByteDance Volcengine, plus EvoLink access details
256K Context Window
Process long documents, extensive codebases, and complex multi-turn conversations within a single request with up to 256K token context.
Tiered Pricing by Length
Smart pricing tiers based on prompt length (≤32K, ≤128K, ≤256K). Shorter prompts cost less — no need to pay premium rates for simple queries.
Cache Hit Billing
Reduce costs by up to 80% with built-in cache hit billing for repeated system prompts and prefixes, ideal for production workloads.
4 Model Variants
Choose from Pro (full power), Lite (balanced), Mini (lightweight), and Code (programming-focused) to match your exact workload requirements.
OpenAI SDK Compatible
Fully compatible with the OpenAI SDK. Switch to Seed 2.0 by changing the base URL and model name — no code rewrite needed.
Multilingual Support
Strong performance in both Chinese and English, with solid capabilities across other major languages for global deployment.
Doubao Seed 2.0 API FAQs
Everything you need to know about the product and billing.