# Rate Limits and Size Limits

Defaults while the API is in Preview (they may change; they may change without notice):

| Limit | Default |
|---|---|
| Per API key | 120 requests per minute |
| Per API key, creating and submitting jobs (`POST /v1-preview/jobs` and `.../submit` together) | 20 requests per minute |
| Per client IP, authenticated routes | 600 requests per minute (protects against key guessing) |
| Health check, per client IP | 120 requests per minute |
| Request body through the gateway | 1 MiB maximum |

Exceeding a limit returns `429` with a `Retry-After` header. If the gateway cannot check a limit it refuses the request with a `5xx` rather than letting it through.

## Account limits

Separately from the gateway, the service limits each account. These are defaults and your account may differ; they also return `429` with `Retry-After`.

| Limit | Default |
|---|---|
| Jobs created per rolling hour, day and month | 1000 each (deleted jobs still count) |
| Jobs in progress at once | 10 |
| Jobs created but not yet submitted | 50 |

A retry of a create with the same `Idempotency-Key` is never counted twice. See [Jobs and results](/jobs).

## Why bodies are limited to 1 MiB

The gateway runs at the edge location nearest the caller and is not pinned to a region. Certificate PDFs must therefore never pass through it. You upload PDFs directly to GoSmarter's UK South storage using short-lived signed URLs, and read results as small JSON responses. The gateway rejects larger bodies with `413`. The upload size and page limits are in [Jobs and results](/jobs).
