Rate Limits on Serverless

Rate limits on Serverless exist to ensure fair usage and reasonable performance for all users. We use a combination of maximum rate limits and dynamic rate limits - please read this section completely to understand how rate limits work.

  • Fixed limits reflect the maximum usage allowed on Serverless
  • Dynamic limits vary based on available capacity and current traffic load

If you need higher rate limits, faster speeds, more consistent latency, or guaranteed reliability with SLAs, contact us to learn more about our Enterprise offerings, or consider using on-demand deployments

Fixed Limits

LimitsSelf-Serve
Requests per minute6,000
Tokens per day, models < 40B2.5B
Tokens per day, models between 40B - 100B1.25B
Tokens per day, models > 100B600M
# LoRAs100

Dynamic Limits

Dynamic rate limits vary based on available capacity and current traffic load. Here’s how it works:

  • Each user has a dynamic rate limit, which increases with sustained usage near the current limit. Typically, you can expect to stay within the limits if your traffic gradually doubles within an hour.
  • The actual rate of increase depends on model size, traffic load, capacity availability, and other factors. The API response headers (see below) will let you know what your current limits are, so you know when more capacity is available.
  • If you exceed your dynamic rate limit, the requests will still be processed but with lower priority. Those requests may see higher latency. You can monitor it via API response header x-ratelimit-over-limit: yes. If you significantly exceed your dynamic rate limit, the requests will be dropped with HTTP code 429.
  • Dynamic rate limits work similarly to “autoscaling” in many infrastructure systems. A gradual increase in traffic volume results in increased available capacity. Abrupt spikes in traffic may cause overload.

Here’s an example of how dynamic rate limits scale up:

MetricStarting Quota (Minimum Guaranteed)10 Minutes1 Hour2 Hours
Requests per minute601207201440
Input tokens per minute600001200007200001440000
Output tokens per minute60001200072000144000

Rate limit response headers

HeaderDescription
x-ratelimit-limit-requests, x-ratelimit-limit-tokens-prompt, x-ratelimit-limit-tokens-generatedThe maximum number of requests or tokens that are permitted per minute before the limit is exhausted and future requests are de-prioritized. requests refers to the number of completions (n > 1 counts as several requests). tokens-prompt and tokens-generated refer to the number of input and output tokens respectively.
x-ratelimit-remaining-requests, x-ratelimit-remaining-tokens-prompt, x-ratelimit-remaining-tokens-generatedThe remaining number of requests or tokens that are permitted before exhausting the rate limit. Note that the limit is replenished continuously. If your usage is sustainably below the rate limit, this number will hover near its maximum value.
x-ratelimit-over-limitContains “yes” or “no”. The value “yes” means that at least one of the limits is exhausted and this request was executed with lower priority.

GPU Limits with On-Demand Deployments

If you need higher limits, contact us to learn more about our Enterprise offerings.

Quota NameDefault Value
# Nvidia A1008
# Nvidia H1008
# Nvidia H2008
# AMD MI300X8
Total GPU Hours per month2000
# LoRAs100
Note that the limit on # LoRAs is a total limit across Serverless and On-Demand.

Spend limits

In order to prevent fraud, Fireworks imposes a monthly spending limit on your account. Once you hit the spending limit, your account will automatically enter a suspended state, API requests will be rejected and all Fireworks usage will be stopped. This includes serverless inference, dedicated deployments, and fine-tuning jobs.

Your spend limit will organically increase over time as you spend more on the platform. You can also increase your spend limit at any time, by purchasing prepaid credits to meet the historical spend required for a higher tier. For instance, if you are a new Tier 1 user with $0 historical spend, you can purchase $100 prepaid credits and become a Tier 2 user.

You can qualify for a higher tier by adding credits into your Fireworks account. There may be a propagation delay for a few minutes after you prepay for credits - you may still see “monthly usage exceeded error” for a few minutes after adding credits.
TierQualificationSpending Limit
Tier 1Valid payment method added$50/mo
Tier 2$50 spent in payments or credits added$500/mo
Tier 3$500 spent in payments or credits added$5,000/mo
Tier 4$5000 spent in payments or credits added$50,000/mo
UnlimitedContact us at inquiries@fireworks.aiUnlimited

Reducing Spend Limits

In certain cases, developers want to reduce their spend limit. For example, developers may fear unexpected costs from their app unexpectedly going viral. Users can lower or raise spend limits to any arbitrary number within their Tier with the following command:

firectl update quota monthly-spend-usd --value <VALUE>

Viewing quotas

You can view your current quota capacity by running:

firectl list quotas

Account suspension

Account suspension occurs when your spending limit is hit, no payment method is on file after credits are depleted, or past invoice payment fails. If you have a failed payment, go to the [Invoices] section at https://fireworks.ai/billing, pay all failed invoices, and your account will be automatically unsuspended. If your account is still suspended after 1 hour, contact the Fireworks team in Discord or via email.