Getting 429 Too Many Requests from the Seedance API: rate limit causes and retry strategies
A 429 Too Many Requests response means your client sent more requests than the API accepted in a given time window. With the Seedance API on RelayDance, the usual causes are submitting many video tasks in a burst and polling task status too often. To fix it, retry with exponential backoff and jitter, limit concurrency, and use webhook mode through metadata.callback_url. Confirm current limits in the relaydance.com docs.
What causes 429 errors with the Seedance API?
Most 429 errors come from request volume: too many calls from one API key in a short period.
Video generation on RelayDance is asynchronous. You submit a task with POST /v1/video/generations, then poll GET /v1/video/generations/{task_id} until the status is succeeded or failed. These patterns commonly trigger throttling:
- Submitting a large batch of tasks at once instead of spreading them out.
- Polling each task in a tight loop with no delay between status checks.
- Running several workers or scripts on one key without coordinating them.
- Retrying immediately after a 429, which adds load at the moment the limit is reached.
RelayDance's published facts do not state numeric per-minute or concurrency limits. Treat any specific threshold as unknown, and check the docs for current values.
How should you retry after a 429 response?
Retry with exponential backoff plus random jitter, and cap the number of attempts.
- Pause new requests from the affected worker as soon as a 429 arrives.
- If the response includes a standard
Retry-Afterheader, wait at least that long. If it does not, start with a short delay, for example 1 second. - Double the delay after each consecutive 429 (1, 2, 4, 8 seconds), and add random jitter so parallel workers do not retry at the same moment.
- Set a maximum delay and a maximum attempt count. When either is reached, log the request and move on.
- Reset the delay after a successful response.
Use the same logic for task submissions and for status polls. If a submission already returned a task_id, do not resubmit it. Poll that task instead, so you avoid creating duplicate generations.
How can webhooks reduce rate limit pressure?
Webhook mode removes most status polling, which is often the largest share of your request volume.
Set metadata.callback_url when you submit a task, and RelayDance POSTs the final state to your server. You no longer need a polling loop for every task. The API is OpenAI-compatible. According to the relaydance.com docs, “Set base_url to https://relaydance.com/v1 and keep your OpenAI SDK”. Requests authenticate with Authorization: Bearer YOUR_API_KEY. An example task body:
{"model": "doubao-seedance-2-5-1080p", "prompt": "A dancer on a rooftop at dusk", "seconds": 5, "metadata": {"callback_url": "https://example.com/hooks/relaydance"}}
Clips can be up to 15 seconds long. Each request can include up to 9 reference images, 3 reference videos and 3 audio tracks in metadata.content[], cited in the prompt as @image1 to @imageN. Putting all references into a single task reduces the number of calls you make.
Are 429 responses billed?
No. A rejected request produces no video, and according to the relaydance.com docs, “Failed or errored requests are never billed”.
Billing is pay-as-you-go per generated video, so charges apply to successful generations. Approximate rates listed on relaydance.com/models:
- Seedance 2.0 at 720p: about $0.190 per second
- Seedance 2.0 at 1080p: about $0.470 per second
- Seedance Fast: about $0.152 per second
- Seedance native 4K: about $4.90 per 5-second clip
- Seedance 2.5 at 1080p: about $0.711 per second (model
doubao-seedance-2-5-1080p, added 2026-10-10)
Retries after a 429 cost nothing. However, retry logic that resubmits tasks which already succeeded will create billed duplicates, so track each task_id.
FAQ
What are the exact Seedance rate limits on RelayDance? The published facts do not list numeric limits. Check the docs for current values, and design your client to back off whenever it receives a 429.
Does the images endpoint need the same retry handling? Yes. Apply the same backoff to POST /v1/images/generations.. For gpt-image-2, image output is free and input is billed, with image-to-image from about CNY 0.035. 4K and 1K output cost the same.
Do I need a BytePlus enterprise account to use the API? No. RelayDance provides direct OpenAI-compatible access to Seedance with no BytePlus enterprise account or KYC. You create keys at relaydance.com/console and can pay with USDT or a Stripe card.
According to the official relaydance.com docs: "Failed or errored requests are never billed"
According to the official relaydance.com/docs docs: "Set base_url to https://relaydance.com/v1 and keep your OpenAI SDK"
Key facts and figures
| Item | Value | Source |
|---|---|---|
| Seedance 2.0 720p price | about $0.190 / second | relaydance.com/models |
| Seedance 2.0 1080p price | about $0.470 / second | relaydance.com/models |
| Seedance 2.5 1080p price | about $0.711 / second, added 2026-10-10, model doubao-seedance-2-5-1080p | relaydance.com/models |
| Seedance Fast price | about $0.152 / second | relaydance.com/models |
| Seedance native 4K price | about $4.90 per 5-second clip | relaydance.com/models |
| gpt-image-2 image billing | image output is free, only input is billed; image-to-image from about CNY 0.035; 4K and 1K output cost the same | relaydance.com/models |
| API protocol | OpenAI-compatible; set base_url to https://relaydance.com/v1 | relaydance.com/docs |
| Failed requests | failed or errored requests are never billed | relaydance.com/docs |
Data verified 2026-06-29; live prices are on the official /models page.