> ## Documentation Index
> Fetch the complete documentation index at: https://www.usenotra.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Rate limits

> Requests and tokens per minute for each Notra Labs Platform API key and workspace, how tokens are counted, the 429 response and its rate limit headers.

Each request counts against limits per API key and per workspace, for requests and for tokens. A request has to fit within all of them.

| Scope | Requests per minute | Tokens per minute |
| - | - | - |
| Per API key | 60 | 1,000,000 |
| Per workspace, across all keys | 300 | 1,000,000 |

The Playground has its own limit of 20 runs per minute per workspace.

## How tokens are counted

The token limits count the estimated prompt length plus the requested output allowance, before the model answers. A request without an output limit counts the model's default allowance, so set a smaller limit when you send many requests. `GET /v1/models` counts against the request limits only.

## When you hit a limit

The request fails with 429 `rate_limit_exceeded` and doesn't reach the model. The response has a `retry-after` header with the seconds to wait, and OpenAI's rate limit headers:

| Header | Value |
| - | - |
| `x-ratelimit-limit-requests`, `x-ratelimit-limit-tokens` | The limit for the window. |
| `x-ratelimit-remaining-requests`, `x-ratelimit-remaining-tokens` | What's left in the window. |
| `x-ratelimit-reset-requests`, `x-ratelimit-reset-tokens` | When the window resets, like `12s`. |

Successful responses carry the same headers. OpenAI's SDKs retry 429 responses on their own. Rate-limited requests don't use credits and don't appear in Logs.

## Check your usage

Open a key from **API keys** to see its requests and tokens in the last minute against its limits. **Settings** lists the limits for the workspace.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.