# Rate limits

> A per key allowance, counted in a sliding minute, reported on every response.

Source: https://mockflow.com/developers/concepts/rate-limits

Requests are counted per key in a sliding window of 60 seconds. The allowance comes from the plan of the workspace the key belongs to.

### Allowance by plan

- `Basic` (60 a minute)
- `Plus` (300 a minute)
- `Max` (600 a minute)

These come back on every response, not only on a refusal. A client that can see its remaining budget can slow down before it is refused.

### Response headers

- `RateLimit-Limit` (integer): The allowance for this window.
- `RateLimit-Remaining` (integer): How many are left in it.
- `RateLimit-Reset` (integer): Seconds until the window resets.
- `RateLimit-Policy` (string): The policy in the IETF form, for example `60;w=60`.
- `Retry-After` (integer): Only on a `429`. Wait this many seconds before trying again.

> **Warning** Being refused costs a request. Back off on the number in `Retry-After` rather than retrying immediately.
