A rate limit caps how much you can send to an AI service in a short window. When you exceed it, the API returns an error (HTTP 429) and you must slow down or retry. It is different from a usage limit on a chat subscription and from a spend limit on an API account, although people often mix the three up.
How the two big API vendors define it
OpenAI measures limits in requests per minute (RPM), requests per day (RPD), tokens per minute (TPM), tokens per day (TPD), images per minute (IPM), and audio minutes for some models. You can hit any of them, whichever comes first. Limits are set at the organization and project level, not per user, and they vary by model. Paid usage tiers (Build, Launch, Grow) upgrade automatically as your total credit purchases reach each threshold.
Anthropic measures requests per minute, input tokens per minute (ITPM) and output tokens per minute (OTPM) for each model class. It uses a token-bucket algorithm, so capacity is replenished continuously up to your maximum rather than resetting at fixed intervals. Its docs add that a limit of 60 RPM may be enforced as 1 request per second, so short bursts can trigger errors even if your per-minute average is fine. Anthropic also says cache reads do not count toward ITPM, so caching can raise effective throughput.
Three limits that are not the same
| Limit | Window | Example from official docs |
|---|---|---|
| Rate limit (API) | Seconds to a minute | RPM / TPM per model |
| Usage limit (subscription) | 5 hours and weekly | Claude paid plans have a five-hour session limit and weekly limits |
| Spend limit (API budget) | Monthly | Anthropic pauses API usage at your tier’s spend cap until 00:00 UTC on the first day of the next month |
What to do when you hit one
- Read the response headers: OpenAI documents headers such as the remaining requests and tokens.
- Retry with exponential backoff instead of hammering the endpoint.
- Cache repeated prompt prefixes to cut token use (see prompt caching).
- Ask the vendor for a higher tier or spend cap if your steady traffic needs it.
FAQ
Does a rate limit cost money?
No, but retries that succeed are billed like any other request, and a hit limit can stall a product. Budget limits are separate.
Does a rate limit reset at a fixed time?
Not necessarily. Anthropic’s token bucket refills continuously. Subscription usage limits, by contrast, reset on a schedule such as every five hours.
How we checked
From OpenAI’s rate limits guide, Anthropic’s rate limits docs and Claude’s usage and length limits help article (captures in docs/completion/captures-2026-12-01/). All sources were read on 2026-12-01 (Asia/Colombo). Prices are USD list prices as printed and may exclude tax. This is desk research from official pages, not a hands-on test. Corrections: [email protected]. See /methodology/.
Related: When you hit an AI limit · Fair-use clauses on “unlimited” plans · Claude usage limits calculator