Where the limit is set, and what it counts
Two layers decide how fast a key may send, and they answer different questions. The ceiling is the rate you are entitled to. It belongs to the account that funds your workspace — normally one account to one workspace, so normally your workspace’s own, though where a single account funds several workspaces they share one ceiling between them. It follows your tier unless we have raised it by hand, and it is the bound your admin works within: a per-member rate limit is clamped to the ceiling as it is saved. The key’s own limit is what the gateway enforces. Every key carries a requests-per-minute value — its member’s limit where an admin set one, otherwise its tier’s rate, and never above the ceiling — and each key is counted against that value on its own. Keys are not pooled: a second key does not draw down the first key’s window, and thex-ratelimit-* headers you read back always describe the key that made the request.
So the ceiling answers “what are we entitled to”, and the key’s own limit answers “what am I being counted against”.
When you exceed the limit the API returns
429 Too Many Requests with a Retry-After header — see Rate limits for the full headers.
If your steady-state load needs more, ask support@flex.ai. Raising the ceiling is the first of two steps, not the whole of it: a raised ceiling does not move existing keys by itself, and your admin then sets each member’s limit within the new headroom — that is what the keys pick up. Lowering needs no second step and works immediately in reverse: a member limit above a reduced ceiling is brought down to it.
We may introduce account-level concurrency or aggregate RPM caps as the platform scales. We will notify customers before tightening any existing per-key limit; we will not silently lower it.
Backpressure pattern
Bound your in-flight count to roughlyRPM / 60 if you want to stay in a steady-state window, and retry on 429 with exponential backoff that respects Retry-After:
Ordering
Concurrent requests on one key are independent — completion order is not guaranteed to match submission order. If you need to correlate responses back to inputs, carry your own correlation id in the prompt or response metadata; don’t rely on arrival order. Theid we return (chatcmpl-…) is unique per request and safe to use as a join key in your logs.
Related
- Batching — batch processing is coming soon.
- Billing & quotas — tier limits and rate-limit response headers.
- Errors — the full 429 body.