# Rate limit

> A cap on how many requests a client can make in a time window.

APIs limit requests per second, per minute or in flight at once, to protect shared infrastructure and keep latency fair. Exceeding the limit returns HTTP 429, usually with a Retry-After value.

Well-behaved clients read the rate-limit headers, back off with jitter, and use bulk endpoints instead of hammering one-at-a-time calls.

For bulk work, a few parallel workers with backoff are usually faster than many workers fighting the limit. When a job has more than a few dozen items, a batch endpoint avoids rate limits altogether and is easier to resume.

## How Dizo handles it
Dizo allows 20 requests per second and 10 concurrent per key by default, returns `x-ratelimit-*` headers and `retry_after` on 429, and offers batch for large jobs.

Docs: [/docs/batch](https://dizo.ai/docs/batch.md), [/docs/me](https://dizo.ai/docs/me.md)

Related terms: [Idempotency key](https://dizo.ai/glossary/idempotency-key.md)
