freeaiapi.aiSign Up

Doubao: doubao-seed-2-0-mini-260215 API

doubao-seed-2-0-mini-260215

doubao-seed-2-0-mini-260215 is a text and chat model from Doubao, available through one freeaiapi.ai API key and billed from your prepaid balance.

In / out price
$0.025 / $0.247 per 1M
Official price
$0.03 / $0.30
You save
17%
Type
Text

Pricing

Price per 1M tokens compared with Doubao's official list price. Last updated .

Token typeOfficialfreeaiapi.aiYou save
Input$0.03$0.02517%
Output$0.30$0.24717%
Cached input$0.006$0.00517%

Call doubao-seed-2-0-mini-260215 with the OpenAI SDK

Use model ID doubao-seed-2-0-mini-260215 with base URL https://api.freeaiapi.ai/v1. Quickstart

curl https://api.freeaiapi.ai/v1/chat/completions \
  -H "Authorization: Bearer $FREEAIAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "doubao-seed-2-0-mini-260215",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Frequently asked questions

Is this the official Doubao API?

No. freeaiapi.ai is an independent API gateway. You get one OpenAI-compatible key that routes to Doubao and other models, billed from a prepaid balance.

Do I need a credit card to start?

No. Sign up, connect Telegram and join our channel to unlock $1 trial credit. Create an API key and make your first request. Add funds when you want to keep going.

Does it work with the OpenAI SDK?

Yes. Point any OpenAI SDK or OpenAI-compatible tool at https://api.freeaiapi.ai/v1 and use your freeaiapi.ai key. No code changes beyond the base URL and key.

Not affiliated with Doubao. Doubao is a trademark of Doubao.