API operations · Evidence checked 20 November 2026

How do AI API rate limits, RPM and concurrency work in capacity planning?

Rate limits are three separate budgets, not one number. Requests per minute cap call frequency, tokens per minute cap text volume, and concurrency caps how many calls can be open at once. Capacity planning is the work of measuring peak demand, converting it into all three units, and leaving enough headroom that retries and bursts do not turn into an outage.

Short answer. Measure peak requests per minute, tokens per request and request duration. Convert those into RPM, TPM and concurrency, add a 1.5× safety factor, and compare the result with the plan’s published limits and daily allowances. You will hit whichever limit comes first. Treat 429 responses as normal backpressure: back off with jitter, cap retries, and queue or shed non-critical work before users feel it.

Key facts

The three limits and the signal that you have reached one
RPMRequests per minute allowed for a key or project
TPMTokens per minute, weighted by prompt plus completion size
ConcurrencyNumber of requests that may be in flight simultaneously
Throttle signalHTTP 429; a Retry-After header may be present when a limit is exceeded
BackoffClient libraries commonly retry 429s with exponential backoff; verify the default in your SDK
Pricing modelSelf-serve plans are flat monthly with published limits; Builder and Scale have no per-token overage
Free planTwo models (plugsky-micro and plugsky-lite), no card required
Product statusRate limits, retries and usage analytics are live

TL;DR

  • RPM, TPM and concurrency are separate limits — you hit whichever comes first.
  • Capacity planning starts with measured peak traffic, not average traffic.
  • Keep client concurrency below the cap so retries still have headroom.
  • Treat 429s as normal backpressure: backoff, jitter, capped retries, then shed load.
  • Flat-rate plans still have fair-use limits; per-token billing is what they remove.

How it works, step by step

  1. Measure peak requests per minute and peak concurrent requests from your logs.
  2. Convert token volume to TPM using average prompt plus completion tokens per call.
  3. Set a client-side concurrency limit below the plan cap to leave retry headroom.
  4. Handle 429 responses with exponential backoff, jitter and a hard retry ceiling.
  5. Load-test at 1.5 to 2 times expected peak and watch p95 latency and 429 rate.
  6. Queue or shed non-critical work first: batch jobs, evals and backfills can wait.
  7. Review usage analytics weekly and raise limits or move plans before launches.

Original data

This guide uses the published Plugsky plan limits, standard HTTP semantics and published overload guidance, not third-party provider limit tables. The table records the inputs so a reader can reproduce the arithmetic.

Inputs used in this guide, with their source
InputValue usedSource
Throttle statusHTTP 429 Too Many RequestsRFC 6585
Retry guidanceRetry-After header, when presentRFC 9110
Free planTwo models, 100 requests and 50,000 tokens per day for new accountsPlugsky plan terms, 20 November 2026
Paid plan limitsPublished RPM, concurrency and daily allowancesPlugsky pricing, 20 November 2026
BackoffExponential with jitter, capped attemptsClient implementation, not a provider limit

Try it yourself

The calculator applies the same formulas to your own numbers and shows which plan dimension binds first.

Open the rate limit calculator →

RPM, TPM and concurrency are three different limits

Requests per minute caps how often you can call. Tokens per minute caps how much text those calls may carry, weighting prompts and completions together. Concurrency caps how many calls can be open at once. A workload with short prompts may pass RPM while failing TPM; a workload with long streaming responses may pass both while sitting at its concurrency ceiling.

The three are related but not interchangeable. Fifty requests per minute that each take two seconds need about 1.7 concurrent slots, so two in practice. Fifty requests per minute that each stream for thirty seconds need about twenty-five. Same RPM, very different concurrency. That is why a plan comparison that lists only RPM is incomplete.

Read the response headers and your usage dashboard to see which dimension you are actually approaching. Optimising the wrong one wastes engineering time: shrinking prompts will not fix a concurrency ceiling, and adding workers will not fix a TPM cap.

The capacity formula, with a worked example

Use measured numbers, not vendor estimates. The three formulas below are enough for a first pass.

  • Peak TPM = peak RPM × (average prompt tokens + average completion tokens).
  • Peak concurrency = peak RPM × average request duration in seconds ÷ 60.
  • Headroom = plan limit ÷ peak, with a target of at least 1.5 before a launch.

If cost is the constraint, the API cost calculator compares a flat plan with per-token billing at the same volume.

Suppose a support assistant peaks at 30 requests per minute for two hours a day. The average request takes 8 seconds and uses 1,200 prompt tokens plus 300 completion tokens.

Worked example: one support assistant at peak
MeasureArithmeticResult
Peak TPM30 × (1,200 + 300)45,000
Peak concurrency30 × 8 ÷ 604
Concurrency with 1.5× headroom4 × 1.56
Daily requests at peak for 2 hours30 × 1203,600
Daily tokens at that load3,600 × 1,5005.4M

The peak minute is comfortable for several plans, but the daily token total is not. Starter allows 5M tokens per day, so this workload is just over the line before any retries or growth. Builder removes the monthly token cap and provides 10 concurrent slots, which gives 2.5× headroom over the measured peak of four. That is the correct comparison: peak minute, daily total and concurrency together.

Published plan limits

These are the self-serve limits published on 20 November 2026. They are inputs to the model above, not a substitute for your own measurement.

Plugsky self-serve plan limits, 20 November 2026
PlanPriceRequests/dayTokens/dayConcurrencyRPM
Free$010050,0002 (1 new)30
Hobby$8/mo1,0002M4120
Starter$20/mo2,0005M6240
Builder$60/mo—No monthly cap10600
Scale$120/mo—No monthly cap161,200

Builder and Scale carry no monthly token cap and no per-token overage. Fair-use concurrency and RPM limits still apply. Free allowances shown are for accounts created from 2 November 2026; older accounts keep legacy allowances until migration. Input and output ceilings also vary by plan, so check the pricing page before finalising a design.

Hobby and Starter daily limits reset at 00:00 UTC. At 80% of a Hobby or Starter cap the API returns an X-Plugsky-Quota-Warning header; at 100% it returns a 429 with an upgrade link. Treat both as capacity signals, not as errors to retry blindly.

Why flat-rate plans still have fair-use limits

Flat monthly pricing removes per-token billing, not physics. GPUs serve a finite number of concurrent sequences, so every provider enforces limits somewhere. Plugsky’s self-serve plans use published limits: normal production traffic runs without a monthly token cap on Builder and Scale, while sustained patterns that would starve other tenants are rate-limited rather than billed.

  • No per-token overage on Builder and Scale. The failure mode is backpressure, not a surprise invoice.
  • Daily allowances on Hobby and Starter. A plan can be right for peak RPM and still be wrong for daily token volume.
  • Enterprise adds committed capacity. Negotiated limits, VPC, on-premises and air-gapped deployment are contract items.

“Unlimited” is a pricing claim, not a capacity guarantee. It means no monthly token cap and no per-token overage; fair-use concurrency and RPM limits still apply. Plan for the limits that exist rather than the word on the pricing card.

A capacity planning method you can run yourself

Start with 30 days of production logs. Take the highest requests in any minute, not the average, and apply a safety factor for launches, retries and seasonality.

  1. Peak RPM = highest requests in any minute over the last 30 days × safety factor.
  2. Peak TPM = peak RPM × (average prompt tokens + average completion tokens).
  3. Peak concurrency = peak RPM × average request duration in seconds ÷ 60.
  4. Headroom = plan limit ÷ peak; target at least 1.5 before a launch.
  5. Daily total = requests per day × tokens per request; compare with the daily allowance.

Run the arithmetic in the rate limit calculator, then validate with a load test that replays production-like prompts. If headroom is thin, raise limits, move plans or reduce the work per request. Do not assume traffic stays average.

Handling 429s without losing work

A 429 means the request was not accepted for processing, so retrying is safe for idempotent inference calls. Use exponential backoff with jitter so many workers do not retry in lockstep, cap retries at three to five attempts, and route exhausted requests to a queue for later. Reserve concurrency for user-facing paths and let batch jobs absorb throttling.

import random
import time
from openai import OpenAI, RateLimitError

client = OpenAI(
    base_url="https://api.plugsky.com/v1",
    api_key="YOUR_PLUGSKY_KEY",
)

def complete(messages, attempts=5):
    for attempt in range(attempts):
        try:
            return client.chat.completions.create(
                model="plugsky-lite",
                messages=messages,
            )
        except RateLimitError as exc:
            if attempt == attempts - 1:
                raise
            retry_after = exc.response.headers.get("retry-after")
            delay = float(retry_after) if retry_after else min(2 ** attempt, 30)
            time.sleep(delay + random.uniform(0, 0.5))

The public docs also accept https://plugsky.com/v1 as an alias; examples here use the canonical host. The Retry-After header is a hint, not a schedule: if many clients honour the same value, add jitter so they do not all return at once. RFC 9110 defines the header, and RFC 6585 defines the 429 status.

Alert on 429 rate as a first-class signal. A rising 429 rate with flat traffic usually means a retry storm or a runaway loop, not genuine growth. A rising 429 rate with rising traffic means the plan or the client concurrency limit is the constraint.

Queueing, load shedding and client-side limits

The most reliable way to avoid 429s is to stop sending work you cannot complete. Put an in-process semaphore around the model call, sized below the plan’s concurrency limit. Give user-facing requests priority over batch jobs. When the queue exceeds a threshold, reject or defer low-value work with a clear message instead of letting latency climb for everyone.

Three patterns cover most cases. A bounded queue absorbs short bursts and drops work when full. A token bucket smooths requests to the RPM limit. A per-tenant quota prevents one customer from consuming the shared budget. None of them requires a gateway; they can live in the application or a small worker service.

Retries need their own budget. If a request has already consumed two attempts, it is consuming three times the concurrency and token budget of a first attempt. Track retry amplification as a metric: total attempts ÷ successful requests. A ratio near 1 is healthy; a ratio above 1.2 usually means a systemic problem.

Load testing and observability

Load-test at 1.5 to 2 times expected peak with production-like prompts, not a one-line “hello”. Measure p50, p95 and p99 latency, 429 rate, error rate, tokens per request and queue depth. Run long enough to include a token-bucket refill and a daily allowance boundary if you are near one.

  • Per-key dashboards. Requests, tokens, errors and latency by key and model.
  • Limit headers. Log the remaining budget and reset window on every response.
  • 429 alerts. Alert on rate and on the ratio of retried to successful requests.
  • Cost per task. Track tokens and retries per completed task, not per call.
  • Status page. Separate provider incidents from your own saturation.

Usage analytics in the dashboard show requests, tokens and errors per key. The docs cover rate-limit headers, retries and the API reference.

Honest comparison

How the cost and throttle model differs by hosting approach
CapabilityPlugskyTypical per-token APISelf-hosted stack
Cost modelFlat monthly with published limits on self-servePer-token with overageGPU capex plus operations
Throttle behaviourFair-use RPM, TPM and concurrency limitsHard quotas and spend capsYour own queueing
Burst headroomPlan-dependent; Enterprise adds committed capacityPay for a higher tierBounded by your GPUs
Retry handlingClient-side backoff; verify SDK defaultsManual retry logicManual retry logic
ObservabilityUsage analytics and limit headersVaries by providerYou build it
Planning effortMeasure peaks and size a planForecast token spendForecast hardware and utilisation

What we did not verify

  • We did not load-test a Plugsky plan or measure production latency. The worked example is arithmetic, not a benchmark.
  • We did not verify how every SDK retries 429s. Check the default and the retry ceiling in your client version.
  • We did not review a usage dashboard, rate-limit header sample or status-page incident. Confirm the fields you need in the docs.
  • We did not compare third-party provider limits. This page deliberately uses Plugsky’s published plan figures, standard HTTP semantics and the SRE overload guidance, not vendor limit tables.
  • We did not verify Enterprise committed-capacity terms, which are contract items.

Frequently asked questions

What is the difference between RPM and concurrency?

RPM caps how many requests you may send per minute; concurrency caps how many may be in flight at the same moment. A long-running stream can exhaust concurrency while staying well under RPM.

What is TPM and how is it weighted?

TPM is tokens per minute, counting prompt and completion tokens together. A request with a 1,200-token prompt and a 300-token completion consumes about 1,500 tokens of TPM budget, regardless of how many requests per minute you send.

Does Plugsky charge per token?

Self-serve plans are flat monthly. Builder and Scale carry no monthly token cap and no per-token overage; Hobby and Starter have daily request and token allowances. Check the pricing page for current plan terms.

What should I do when I get a 429?

Retry with exponential backoff and jitter, cap the number of attempts, and queue or shed non-critical work. Read the Retry-After header when it is present, and alert on the 429 rate rather than treating every retry as an error.

How do I size a plan for a new product?

Estimate peak RPM and TPM from a load test or pilot cohort, apply a 1.5x safety factor, and compare against plan limits. Check the daily token allowance as well, because a short peak can still exceed a daily cap.

Are unlimited plans really unlimited?

Unlimited means no monthly token cap and no per-token overage on Builder and Scale, not infinite capacity. Fair-use concurrency and RPM limits apply, and sustained patterns that would degrade other tenants are throttled rather than billed.

Can I get higher limits?

Yes. Enterprise plans support committed capacity and negotiated limits, including VPC, on-premises and air-gapped deployments. Talk to the team when your peak headroom falls below 1.5x.

Do retries cost extra?

On plans without per-token overage, a retry does not add a line-item charge, but it consumes request, token and concurrency budget. That is why capped retries and backoff matter more than the nominal price of a retry.

Where can I see current usage and limits?

Usage analytics in the dashboard show requests, tokens and errors per key, and responses include rate-limit headers. The status page reports live component health.

Related pages

Size the plan from real numbers

Bring peak RPM, tokens per request and duration. We will map the binding limit and the headroom.

Start free See pricing

Cite this page

Plugsky (2026). “AI API Rate Limits: RPM, TPM and Concurrency Planning”. Plugsky. Available at: https://plugsky.com/articles/ai-api-rate-limits-rpm-concurrency-and-capacity-planning (last updated 20 November 2026).

By Plugsky Research · Last updated 20 November 2026.

Sources

Plan figures below were checked on 20 November 2026. HTTP semantics come from the RFCs, not from a vendor blog.

Last checked 20 November 2026. Approved product facts live at /facts; plan terms live at /pricing. Legal: Terms and SLA.