Artificial Intelligence

LLM Rate Limits and Quota Planning for Production APIs

Monitoring dashboard showing API request traffic against a quota ceiling
Negative Space

LLM rate limits are a capacity plan, not an error message. They define how many requests and tokens an organisation can push through a model per minute, and the provider sets them — you discover them in a dashboard or in a 429, never in a negotiation. OpenAI defines rate limits at the organisation and project level rather than per user, so one noisy teammate can exhaust the budget for everyone. The teams that never see a 429 in production are the ones that partitioned the quota before launch, across environments, features and models, and then shaped their traffic to live inside it.

How Providers Count Usage

The vocabulary differs by provider, and the differences matter when you plan. OpenAI counts requests per minute and tokens per minute, among other units, and applies the first limit you hit; its usage tiers raise the ceiling as credit purchases grow. Anthropic’s Messages API measures limits in requests per minute, input tokens per minute and output tokens per minute for each model class, and enforces them with a token bucket, so capacity replenishes continuously instead of resetting on the minute. Amazon Bedrock controls model inference with quotas on token usage, with separate allocations per endpoint and no automatic increases.

ProviderUnit of the limitScopeRaising the ceiling
OpenAIRequests per minute, tokens per minute, plus daily and image unitsOrganisation and projectUsage tiers that grow with credit purchases
AnthropicRequests, input tokens and output tokens per minute, per model classOrganisation, with workspace limits configurableUsage tiers and limit requests
Amazon BedrockToken usage quotas per model; requests per minute for embeddingsAWS account, per endpointQuota increase request; not automatic
Google CloudPer-product quotas, including online inference requests per minute per regionGoogle Cloud project, shared across applicationsQuota change request

Read the table as a planning map, not as a price list: the numbers behind each row change with tier, model and account history, so record your own current limits before you allocate anything.

Partition Before You Scale

A single quota shared by production, staging and experiments is the most common way teams manufacture their own outages: an evaluation run at two in the afternoon starves the customer-facing feature at five past. Partition the quota before you scale, not after the first incident. The split below is a hypothetical example for a mid-sized feature — replace every share with your own measured traffic.

PartitionExample shareRuleWhat happens at the cap
Production traffic70%Reserved; no other partition may borrow itQueue, then degrade to a smaller model
Internal tools and staging20%Hard cap through a workspace or project limitThrottle; never touch production
Experiments and evaluation runs10%Batch jobs in off-peak windowsDelay the run, not the product

Three details make the split enforceable. Give each partition its own key, workspace or project so the provider enforces the boundary for you — Anthropic lets organisations set workspace-level limits, and Google Cloud scopes quotas per project. Put the production share behind a gateway that rejects or queues work from the other partitions. And write the borrow rule down: which partition may take from which, who approves it, and how it is paid back.

Shape the Traffic

Partitioning sets the ceiling; shaping decides whether you hit it. The levers are the same across providers, and most of them cut tokens rather than requests.

  • Cap output tokens honestly. OpenAI calculates the rate-limit cost of a request as the maximum of its max_tokens setting and the estimated input size, so an inflated max_tokens spends quota you never use.
  • Cache the prefix. Anthropic’s default input-token limits count only uncached tokens, so a cached system prompt or long document raises effective throughput without a limit increase.
  • Batch what can wait. Async work moved to a batch endpoint stops competing with synchronous requests for the same per-minute ceiling.
  • Shed load on purpose. When the remaining-token headers fall below a threshold you choose, route to a smaller model or a cached answer instead of retrying into a 429.

Two escapes look cheaper than they are. Fine-tuning to shrink prompts is a training project with a hosting bill attached, so run the 3 cost tests before fine-tuning beats prompt engineering before you commit GPU time to it. Self-hosting an open-weight model escapes the per-minute ceiling entirely but trades it for a capacity problem of your own; the 5 checks before you host an open-weight model in the cloud are the right first step.

EU Notes for Portugal Teams

Three regional details change the plan. First, quotas are account-bound and region-sensitive: Amazon Bedrock assigns default quotas to the account and may adjust them on regional factors and usage history, while Google Cloud quotas generally apply at the project level, and usage in one project does not reduce the quota available in another — so separate projects for separate workloads are a legitimate isolation pattern, not an accounting trick. Second, check whether any routing you enable for extra quota moves your data: Anthropic shares rate limits across its inference geographies, so a geography setting that buys headroom is also a residency decision. Third, request increases early: Bedrock quota increases are not granted automatically, and every provider reviews account history, so a Portuguese team with a thin usage record should plan weeks, not hours, ahead of a launch.

Raise Quotas the Right Way

When shaping is not enough, the request itself is a small project. Document the current limit, the measured peak of the last weeks, the business event that will push traffic past it, and the mitigation already in place; providers grant increases against evidence, and AWS states plainly that increases are not automatic. Ask for the specific unit you will exhaust — requests or tokens — because a larger token ceiling does nothing for a request-per-minute limit. Put the granted value back into the partition table the same day, and set an alert at a share of it rather than at the ceiling, so the next conversation starts before the outage does.

Method and Limits

Published in December 2026 by the cloudai.pt editorial team; revised the same month. Method: provider behaviour is taken from the current rate-limit and quota documentation of OpenAI, Anthropic, Amazon Web Services and Google Cloud, read on the publication date; the partition shares are a hypothetical example, not measured traffic. Limits change with tier, model and account history — check your own dashboard before you plan.

Sources

Keep exploring