Development

Rate Limit

AI-assisted editorial review:

A usage limit in API operations under which a service provider caps the number of requests or tokens it will accept in a given period and temporarily rejects requests that exceed it.

What does Rate Limit mean in simple terms?

When you connect an AI API to an automation, it sends many requests in a short time. To keep their servers stable, providers set limits per account, such as requests per minute or tokens per minute. Once you exceed the limit, requests are rejected with the error code 429, and you need to wait a moment before sending them again. Limits are often run as a tier system that rises with how much you spend. If a no-code automation fails occasionally, first check the error log for a message indicating that it exceeded the limit.

How can Rate Limit be explained with an analogy?

It is like a popular restaurant that sets how many guests it can seat at once and hands out waiting numbers when it is full.

Where is Rate Limit used?

Case 1

Anthropic — Limits based on a token bucket

Anthropic's API documentation explains that limits are measured per model in requests per minute (RPM), input tokens per minute (ITPM) and output tokens per minute (OTPM), and are managed with a token bucket algorithm.[1] Capacity is not reset all at once at fixed times but is continuously replenished up to the maximum, and when a response includes a retry-after header, the documentation says to wait the time it indicates before retrying.[1]
Result: Guidance on ways to conserve limits, such as input tokens read from cache not counting toward the input token limit (per the official documentation).[1]

Case 2

OpenAI — Usage tiers and recommended retry approach

OpenAI's documentation defines limits in terms such as requests per minute (RPM), requests per day (RPD) and tokens per minute (TPM), and runs usage tiers in which limits rise with spending.[2] On failure, it recommends waiting before retrying, increasing the wait each time and adding random jitter.[2]
Result: Provides a standard for designing retries so the whole job does not stop when a 429 error occurs (per the official documentation).[2]

Learning steps, limitations and developments

  1. If an automation fails occasionally, first check the error logs for a 429 code.
  2. Check your current tier and per-minute limits for the API you use in the provider's console.[1][2]
  3. In no-code tools, turn on the option that gradually lengthens the retry interval when a request fails.[2]
  4. Do not send large jobs all at once; split them up and send them at regular intervals.

Rate limits work separately from usage charges, so requests can be rejected even when you still have budget left. Limits change by model, tier and provider policy, so check the latest values in the documentation. Using a routing service that bundles several model providers lets you take a different route when you hit one provider's limit, but it also adds contracts and cost structures to manage.

How has Rate Limit evolved?

2000s
Web API usage limits
As public APIs multiplied, per-account call limits became common.
2023—
Token limits for LLM APIs
Limiting usage by tokens per minute alongside request counts spreads.

Which concepts are related to Rate Limit?

  • What it applies to
    APIThe access point where limits apply
  • Unit of measure
    TokenLLM limits are measured in requests and tokens
  • Distinct concept
    Token CostCharges and usage limits work separately
  • Related metric
    ThroughputLimits cap how much work can be processed
  • Workaround
    OpenRouterSometimes used to spread load across several providers

Rate Limit vs spending limit

ComparisonRate limitSpending limit
What it limitsRequests and tokens per unit of timeTotal spending in a period
When exceeded429 error; retry after a momentUsage stops until the limit is adjusted
How to resolveRetries, spreading requests, moving up a tierIncrease the budget or adjust the limit
Where to checkAPI response headers and consoleBilling and usage dashboard

Which sources explain Rate Limit?

  1. Anthropic — Rate limits (accessed 2026) — https://platform.claude.com/docs/en/api/rate-limits
  2. OpenAI — Rate limits (accessed 2026) — https://developers.openai.com/api/docs/guides/rate-limits