# Rate limits (https://inference.net/docs/rate-limits)

## Generation rate limits

Rate limits for model inference requests depend on your account tier:

| Tier                      | Requests per minute (RPM)           |
| ------------------------- | ----------------------------------- |
| Free                      | 500                                 |
| Paid (Growth, Enterprise) | 1,000                               |
| Custom teams              | Operator-managed per-team overrides |

When an operator configures a lower Free-tier plan default, free-credit grants
preserve a **200 RPM** floor until an operator removes the override, and
pay-as-you-go credit purchases preserve a **250 RPM** floor so a real purchase
always provides more headroom than a free grant. Active **Inference Pass** plans
also raise a team's generation rate limit when their combined total exceeds the
tier default: each active plan contributes **60 RPM** (Starter), **150 RPM**
(Pro), or **300 RPM** (Fleet), summed across the team's active plans, and the
team receives the higher of that plan total and its normal tier limit (subject
to operator-configured per-team overrides and platform guardrails). Per-team
overrides for custom teams are configured by an operator; contact us to request
one.

## Batch API rate limits

Batch processing rate limits are separate from generation rate limits (up to
1,000,000 requests per batch input file). See the
[Batch API](/docs/api/async/batch/#rate-limits) for details.

Deployed models share the team's serverless inference RPM bucket rather than
having their own per-instance limit.

## Ad-supported model spend limits

Ad-supported models (for example `moonshotai/kimi-k3.1-pro-with-ads`) have two spend
limits on top of the generation rate limit:

- an hourly limit shared by all users of ad-supported models;
- a daily limit for each user (or each team, for requests without a user).

Both reset at the start of the UTC hour or day. Once either is reached, requests
to ad-supported models return HTTP `429` with error type
`GravityAdsDiscountCap`, a message naming the limit and when it resets, and a
`Retry-After` header. Standard models are not affected, so you can switch to the
standard model instead.

## Payload size limits

- **Request body:** up to 32 MiB (33,554,432 bytes), including inline images.
  Larger requests are rejected with HTTP `413`.
- **Non-streaming response body:** up to 32 MiB. A provider response larger
  than that is refused with HTTP `502` and error type `UpstreamResponseTooLarge`.
  Use `stream: true`, or smaller batches for embeddings, to stay under it.

## When you hit a limit

When you hit a request rate limit, you receive a `429 Too Many Requests`
response. Back off and retry with exponential backoff.

A recent serverless requests-per-minute denial may show a **Rate limited**
banner in the dashboard. The free default policy offers **Add credits**; other
policies offer **Upgrade plan**. Both open the selected team's **Billing** page,
where you can review credits and plans. The banner does not cover every limit,
such as concurrency limits, and its buttons do not open checkout directly.

When an API key reaches its configured per-key USD spend limit, you instead
receive HTTP `402` with `error.type: "ApiKeySpendLimitExceeded"`. Do not retry
immediately — wait for the UTC day or month window to reset, or have a team
admin raise or clear the key's cap (see
[API key spend-limit errors](/docs/api-keys/#api-key-spend-limit-errors)).

Inference Pass plan keys use dedicated per-team RPM counters (separate from
pay-as-you-go traffic, so bursts on one do not exhaust the other), with the
numeric limit resolved from the team's effective generation rate limit — each
active plan contributes **60 RPM** (Starter), **150 RPM** (Pro), or **300 RPM**
(Fleet) summed across the team's active plans, and the team gets the higher of
that total and its normal tier limit (subject to per-team overrides and
guardrails). When the plan's allowance is used up:

- **Inference.net-hosted models** keep running in the slow lane, at lower
  priority, by default. If your team enables prepaid overage, allows full-speed
  hosted overage, you choose **Full speed**, and both your monthly overage cap
  and prepaid credit balance have headroom, requests continue at full speed
  billed to prepaid API credits instead. When the slow lane is used and paused
  or full, you get `429` (`slow_lane_paused`, `slow_lane_busy`, or
  `concurrency_limit`) with a short `Retry-After`. Retry after it.
- **Partner-served models** continue at full speed billed to prepaid API credits
  when prepaid overage is enabled with remaining cap headroom and prepaid credit
  balance. Otherwise they return `402` with `x-should-retry: false` and no
  `Retry-After`: `usage_limit` when overage is disabled and settled usage
  exhausts the allowance or partner-model limit, `overage_cap_reached` when the
  member or team monthly overage cap is reached, or `overage_no_credit` when the
  team has no available prepaid credit balance. While remaining allowance is
  temporarily held by concurrent or recently finished unmeasured requests (for
  up to 60 seconds while usage settles), requests instead return `429`
  (`concurrency_limit`) with a short `Retry-After` and succeed once those holds
  release.

See [Plan keys](/docs/api-keys/#plan-keys).

## Plan billing rate limits

Plan-billing actions (buying a personal or team plan, giving a plan, inviting
with a plan, changing plans, and fetching billing previews or summaries) are
limited to **30 requests per minute** per user, per action. Exceeding that limit
returns `429 Too Many Requests` with `"Too many plan billing requests. Please
wait a moment and try again."` — wait up to 60 seconds and retry.

## Increase your limits

If you need higher rate limits,
[contact support](mailto:support@inference.net), use the support chat, or
[talk to the team](/sales/?topic=pricing) about a custom tier.