Guide

Doubao Pro API: ByteDance's Cheapest AI Model ($0.06/M Tokens)

April 16, 2026 · 4 min read

Doubao Pro from ByteDance (the company behind TikTok) is one of the cheapest capable AI models available — just $0.06 input / $0.11 output per million tokens, with a massive 256K context window.

Why Doubao Pro?

  • $0.06/M tokens input — 63x cheaper than GPT-5
  • 256K context window — process entire books or codebases
  • ByteDance quality — backed by one of China's largest tech companies
  • Smart routing default — AIPower's auto-cheap routes here

Use Cases

  • High-volume text classification and extraction
  • Chat applications where cost per message matters
  • Summarizing long documents (256K context)
  • Data labeling and annotation at scale

Quick Start

from openai import OpenAI
client = OpenAI(base_url="https://api.aipower.me/v1", api_key="YOUR_KEY")

# Doubao Pro — cheapest capable model
r = client.chat.completions.create(
    model="doubao/doubao-pro-256k",
    messages=[{"role": "user", "content": "Summarize this article: ..."}],
)

# Or use smart routing
r = client.chat.completions.create(
    model="auto-cheap",  # Routes to Doubao Pro automatically
    messages=[{"role": "user", "content": "Classify this text"}],
)

Access Doubao Pro and 15 other models at aipower.me. 10 free calls.

GET STARTED WITH AIPOWER

16 AI models. One API. OpenAI SDK compatible.

Who should use AIPower?

  • • Developers needing both Chinese and Western AI models
  • • Chinese teams that can't access OpenAI / Anthropic directly
  • • Startups wanting multi-model redundancy through one API
  • • Anyone tired of paying grey-market intermediary premiums

3 steps to first API call

  1. Sign up — email only, 10 free trial calls, no card
  2. Copy your API key from the dashboard
  3. Change base_url in your OpenAI SDK → done
from openai import OpenAI

client = OpenAI(
    base_url="https://api.aipower.me/v1",  # ← only change
    api_key="sk-your-aipower-key",
)

response = client.chat.completions.create(
    model="auto-cheap",   # or anthropic/claude-opus, deepseek/deepseek-chat, openai/gpt-5, etc.
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

+100 bonus calls on first $5 top-up · WeChat Pay + Alipay + card accepted · docs · security