Skip to main content
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. The Playground has its own limit of 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: 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.
Last modified on December 5, 2026