Rate limits
Request rate limits by tier, ad-supported model spend limits, payload size limits, what happens when you hit a limit, and how to request more.
Generation rate limits
Rate limits for model inference requests depend on your account tier:
| Tier | Requests per minute (RPM) |
|---|---|
| Free | 30 |
| Paid (Growth, Enterprise) | 1,000 |
| Custom teams | Operator-managed per-team overrides |
Free-tier teams granted free credits by an operator are raised to 200 RPM, and keep that limit until an operator removes it; it does not expire when the credits run out. The pay-as-you-go credit-purchase floor is 250 RPM, so a real purchase always buys more headroom than a free grant. 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. See the Batch API for details.
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
502and error typeUpstreamResponseTooLarge. Usestream: 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.
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).
Inference Pass plan keys count against the same rate limits. 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, orconcurrency_limit) with a shortRetry-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
402withx-should-retry: falseand noRetry-After:usage_limitwhen overage is disabled and settled usage exhausts the allowance or partner-model limit,overage_cap_reachedwhen the member or team monthly overage cap is reached, oroverage_no_creditwhen 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 return429(concurrency_limit) with a shortRetry-Afterand succeed once those holds release.
See 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, use the support chat, or talk to the team about a custom tier.