Seedream 4 API
Run ByteDance/Seedream-4 through FastInfra's API.
Pay per token, no subscription, routed to the cheapest available provider.
Seedream 4 pricing
Billed per token used. Prices sync automatically from wholesale providers.
| Direction | Price per 1M tokens |
|---|---|
| Input | — |
| Output | — |
1 route available
Requests route to route-21 by default (lowest cost). FastInfra fails over automatically if a route is unavailable.
| Route label | Model ID |
|---|---|
route-21 |
ByteDance/Seedream-4 |
Call Seedream 4 in 30 seconds
Works with any OpenAI SDK — change the base URL and API key only.
Python
from openai import OpenAI
client = OpenAI(api_key="YOUR_API_KEY", base_url="https://api.fastinfra.ai/v1")
response = client.chat.completions.create(
model="ByteDance/Seedream-4",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)
curl
curl https://api.fastinfra.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "ByteDance/Seedream-4",
"messages": [{"role": "user", "content": "Hello!"}]
}'
Seedream 4 — common questions
How much does the ByteDance/Seedream-4 API cost?
On FastInfra, ByteDance/Seedream-4 costs Pay-per-token pricing via automatic routing. Billing is per token used, with no subscription.
Is ByteDance/Seedream-4 compatible with the OpenAI SDK?
Yes. FastInfra exposes ByteDance/Seedream-4 through an OpenAI-compatible endpoint at https://api.fastinfra.ai/v1 — point any OpenAI SDK at that base URL with a FastInfra API key and keep your existing code.
How does routing work for ByteDance/Seedream-4?
ByteDance/Seedream-4 is available on 1 route(s): route-21. Requests use route-21 by default (lowest cost). FastInfra fails over automatically if a route is unavailable.
Related models
Compare side by side: Seedream 4 vs Gemma2:2b · Seedream 4 vs Mxbai Embed Large · Seedream 4 vs Nomic Embed Text