The LLM Gateway is in beta.
429 response with a Retry-After header and a body that names the blocking policy:
Retry-After value is the number of seconds until the current window resets. Clients should honor this header and back off before retrying.
A blocked request never reaches the provider, so it does not trigger a fallback chain, even though 429 is a default fallback trigger.
Policy dimensions
Rate limit policies are evaluated for every incoming request.Defaults vs. granular policies
Rate limit policies have two modes:- Default policies apply automatically to every member of a subject dimension. Example: “Every user in this workspace gets a default cap of 100 requests per minute.” There is no need to create a policy per person.
- Granular policies target a named subject and override the default for that subject only. Example: “The on-call engineer gets 500 requests per minute.” Editing the default updates everyone still on it.
Independent enforcement
Each subject is tracked and enforced separately. One user hitting their limit does not affect other users.Limits
A single rate limit policy can enforce multiple limits at once. For example, one policy can enforce both 100 requests per minute and 1,000,000 tokens per hour simultaneously. Each limit has three fields:
Rules:
- At least one limit is required per policy.
- You cannot have two limits with the same metric and window combination within one policy.
Create a rate limit policy
- Go to LLM Gateway and select Rate limiting.
- Click Create rate limit.
- Select the scope (organization, workspace, user, or API key).
- Add one or more limits, each with a value, metric, and window.
- Click Create rate limit.
See also
- Spend policies: set cost caps alongside rate limits.
- Header-based policies: split a limit by a custom request header so each header value gets its own allowance.
- Data policies: add data policies.
Connect these docs to your agent of choice via MCP for real-time answers.

