Common error codes
Understanding 429 errors
HTTP 429 (Too Many Requests) can be returned on both serverless and dedicated/on-demand deployments, but the cause and recommended action differ.
Serverless deployments
On serverless, a 429 means your account has exceeded its current serverless request or TPM limit. Standard serverless, Priority tier, and Fast all use the same public rate-limit policy, which combines request-rate limits with adaptive TPM limits and is designed to prevent very spiky traffic. To resolve:- Wait briefly and retry with exponential backoff
- Smooth sudden bursts or spread traffic more evenly over time
- Check the rate-limit response headers returned with your requests
- Review Serverless rate limits if you need more headroom, or use an on-demand deployment for dedicated capacity
Dedicated and on-demand deployments
On dedicated and on-demand deployments, there are no account-level rate limits. A 429 instead indicates that your deployment’s processing capacity is saturated. The inference server returns 429 when the number of queued and active requests exceeds what the deployment’s GPUs can handle at that moment. This is a capacity signal, not quota enforcement. To resolve:- Reduce burst concurrency — lower the number of parallel requests or add client-side rate limiting with backoff
- Scale up the deployment — add more replicas or GPUs to increase throughput
- Optimize request patterns — use shorter prompts, reduce max output tokens, or batch requests to lower per-request resource consumption
Troubleshooting tips
If you encounter an error not listed here:- Review the API documentation for the correct usage of endpoints and parameters
- Check the Fireworks status page for any ongoing service disruptions
- Contact support at support@fireworks.ai or join our Discord