Model familiesCreate a free accountBrowse all models
Doubao API
ByteDance’s Doubao and Seed models — covering chat, reasoning and media — through one API. Compare the Seed line’s variants and call them with a single key.
35 modelsOpenAI- & Anthropic-compatiblePay-as-you-go
Call Doubao in three lines
Same code as the OpenAI SDK — change the base URL and key, pick a model id:
from openai import OpenAI
client = OpenAI(
base_url="https://api.airforce/v1",
api_key="YOUR_KEY",
)
resp = client.chat.completions.create(
model="Doubao-1.5-pro-32k",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)Frequently asked questions
- How do I use Doubao models through Api.Airforce?
- Point any OpenAI-compatible client at https://api.airforce/v1 and set the model id (for example "Doubao-1.5-pro-32k"). Your existing OpenAI SDK works unchanged — you only swap the base URL and API key. The same key also speaks the Anthropic Messages API.
- Are Doubao models free?
- Doubao models are premium — you add credits (a monthly plan or a pay-as-you-go top-up) to call them. A free account can still use the open free-tier models from other families at $0.
- How much do Doubao models cost on Api.Airforce?
- Billing is pay-as-you-go per token, at rates that sit well below the official APIs. The exact per-model input and output prices are listed in the table above and update automatically as upstream prices change.
- Which Doubao models are available?
- Currently 35 Doubao models, including Doubao 1.5 Pro 32k, Doubao 1.5 Thinking Pro, Doubao 1.5 Thinking Vision Pro. The catalog is refreshed as new models launch, so the list above is always current.