All models

Doubao

doubao-seed-1-8-251228

doubao-seed-1.8 delivers stronger multimodal understanding and Agent capabilities, achieving outstanding performance across many complex real-world tasks and further helping enterprises create value.

textAPI availablestreaming
doubao-seed-1-8-251228Version date 2025-12-28

Tokely price / 1M tokens

$0.33input
$0.33cached input
$3.3output

USD · Published rate · Updated 2026-10-06

Context window

UnconfirmedNo verified context specification

First request

Available
curl https://tokely.me/v1/chat/completions \
  -H "Authorization: Bearer $TOKELY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "doubao-seed-1-8-251228",
    "messages": [{"role": "user", "content": "Hello!"}],
    "max_tokens": 256
  }'

Set TOKELY_API_KEY to your dashboard key. Requests require a funded Tokely balance. Base URL: https://tokely.me/v1.

Compare nearby prices

USD per million tokens. Compare price and context; these are not quality benchmarks.
ModelInputOutputContext
doubao-seed-1-8-251228Doubao · this model$0.33$3.3Unconfirmed
doubao-seed-2-0-mini-260428Doubao$0.33$3.3Unconfirmed
gpt-4.1-miniOpenAI$0.7353$2.94121,047,576
gpt-4.1-mini-2025-04-14OpenAI$0.7353$2.94121,047,576
qwen3-next-80b-a3b-instructQwen$0.4125$3.3262,144

Capabilities & limits

Provider
Doubao
API model ID
doubao-seed-1-8-251228
Category
Text
Endpoints
POST /v1/chat/completions
Tokely max output
4,096 tokens / request, including reasoning tokens
Default output
256 tokens. Set an explicit limit for longer responses.
Request limits
256 KB JSON body · 128 messages · 32 function tools
Rate limit
60 requests / minute / account, across its keys
Supported input
Text messages and function tool results
Model reference

API reference

Authenticate with Authorization: Bearer YOUR_TOKELY_API_KEY. Use an OpenAI SDK with the Tokely base URL.

model
Required string: doubao-seed-1-8-251228
messages
An array of system, developer, user, assistant and tool messages.
max_tokens
Optional integer, 1–4,096. Defaults to 256.
stream
Set true for Server-Sent Events (SSE).

The response contains choices with message or tool_calls, finish_reason, and usage (prompt_tokens, completion_tokens, total_tokens). Streaming sends chat completion chunks.

400 / 415
Invalid request, parameter, endpoint for this model, or content type.
401 / 403
Invalid, revoked or restricted API key.
402
Insufficient account balance or API key budget.
429
Request limit reached. Retry after the indicated delay.
502 / 503 / 504
Upstream failure, temporary service unavailability or request timeout.

Frequently asked questions

How much does doubao-seed-1-8-251228 cost?

$0.33 per million input tokens, $3.3 per million output tokens and $0.33 per million cached input tokens. Usage is charged to your Tokely balance.

Do I need a separate Doubao account?

Use your Tokely API key and balance. A separate provider key is not required.

How do I switch to this model?

Set model to doubao-seed-1-8-251228 and use /v1/chat/completions. Keep your Tokely base URL and API key.