Skip to main content
Doubao Seed 2.0 Lite is a chat model available through AnyFast via an OpenAI-compatible interface. ByteDance’s lightweight Seed 2.0 Lite model, cost-effective for everyday tasks.

Key capabilities

  • OpenAI-compatible — Works as a drop-in replacement with the OpenAI SDK
  • Lightweight — Fast responses with lower cost per token
  • Everyday Tasks — Suitable for summarization, Q&A, and content generation
  • Streaming — Supports real-time token streaming via SSE

Quick example

curl https://www.anyfast.ai/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "doubao-seed-2.0-lite",
    "messages": [
      { "role": "user", "content": "Explain quantum entanglement in simple terms." }
    ]
  }'

Parameters

ParameterTypeRequiredDescription
modelstringYesMust be doubao-seed-2.0-lite
messagesarrayYesList of { role, content } objects
max_tokensintegerNoMaximum tokens to generate
temperaturefloatNo02. Controls randomness. Default: 1
streambooleanNoEnable SSE streaming. Default: false
top_pfloatNoNucleus sampling threshold. Default: 1
stopstring / arrayNoSequences that stop generation

API Reference

View the interactive API playground for Doubao Seed 2.0 Lite.