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.4
  • 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. 50 free calls.

Ready to try?

50 free API calls. 16 models. One API key.

Create free account