OpenAI Rate Limit Calculator — RPM, TPM, Concurrency & Throughput
Turn your RPM and TPM limits into real throughput: effective requests per minute, which limit is the bottleneck, the concurrency needed to saturate it, and how long a batch takes. 100% local.
Last updated:
CommentsEnter your RPM (requests per minute) and TPM (tokens per minute) limits plus your tokens-per-request and latency, and this calculator shows your effective requests per minute, which limit is the bottleneck, the concurrency needed to saturate it (via Little's Law), and how long a batch job will take at best. Everything runs in your browser.
Lower bound assuming you perfectly saturate the limit — real runs are slower due to retries and jitter.
All math runs in your browser. Tier presets are illustrative — check your account dashboard for exact limits, which vary by model.
What is Rate Limit Calculator?
OpenAI enforces two independent caps per model and tier: RPM limits how many calls you make, and TPM limits the total tokens across them. Your real throughput is whichever you hit first — a generous RPM is wasted if large requests burn through TPM, and a high TPM can't help if RPM is the ceiling. This calculator makes that concrete. It divides TPM by your tokens-per-request to get the token-bound request ceiling, compares it with RPM to name the bottleneck, and tells you whether to shrink requests or batch more work per call. Using Little's Law (concurrency ≈ arrival rate × latency) it also estimates how many simultaneous in-flight requests you need to actually reach the limit — the number most people underestimate — and projects the minimum time to clear a batch of N requests. It's built for capacity planning and for diagnosing why a pipeline is slower than the limits suggest. Tier presets give you a starting point, but real limits live in your account dashboard.
How to calculate your rate-limit throughput
- 1Enter your RPM and TPM (or pick a tier preset) plus average tokens per request and latency.
- 2Read the effective requests/min and which limit is the bottleneck.
- 3Use the concurrency figure to size your worker pool, and the batch estimate for planning.
Key Concepts
- RPM vs TPM
- Requests-per-minute vs tokens-per-minute; throughput is capped by whichever binds first.
- Little's Law
- Concurrency ≈ arrival rate × latency — how many in-flight requests saturate the limit.
- Latency
- Estimate per-request time from tokens and throughput.
Tips & Best Practices
- ▸If TPM is the bottleneck, raising concurrency won't help — shrink each request instead.
- ▸Add backoff and jitter; the batch estimate is a best case that ignores retries.
Frequently Asked Questions
What's the difference between RPM and TPM?
RPM is requests per minute — a cap on how many API calls you can make. TPM is tokens per minute — a cap on total tokens (prompt + completion) across those calls. Your real throughput is whichever limit you hit first: a high RPM is useless if large requests exhaust your TPM, and vice versa.
How much concurrency do I need?
By Little's Law, concurrency ≈ arrival rate × average latency. If your effective limit is 500 requests/min (8.3/sec) and each request takes 6 seconds, you need about 50 in-flight requests to saturate the limit. This calculator computes it for you.
Which limit is my bottleneck?
Divide TPM by tokens-per-request to get the token-bound request ceiling, then compare it to RPM. The smaller one is your bottleneck — the tool labels it and tells you whether to shrink requests (TPM-bound) or batch more per call (RPM-bound).
Are the tier presets exact?
No — they're illustrative starting points. Actual limits depend on your usage tier and the specific model, and change over time. Check your account dashboard for exact numbers.
Try Next
Token Counter
Count tokens in your prompt for GPT-4, GPT-3.5, Claude, and Gemini and predict API cost before you spend. Free, no signup — all counting runs locally, your prompt stays in your browser.
Related Tools
Prompt Cache Calculator
See how much prompt caching saves you. Enter your cached prefix size, per-request tokens, volume, and hit rate to compare cost with and without caching across models that support it. 100% local.
Batch API Cost Calculator
Compare real-time vs Batch API cost for a bulk job. Enter request count and per-request tokens to see how much the ~50% batch discount saves across models that support it. 100% local.
Prompt Injection Detector
Scan untrusted user input for common prompt-injection and jailbreak patterns — instruction overrides, jailbreak personas, system-prompt exfiltration — with a risk score. Heuristic, 100% local.
Text Chunker
Split long text into overlapping chunks for embedding and RAG pipelines. Preview recursive, paragraph, sentence, or fixed strategies with live token counts. Runs 100% in your browser.
Cosine Similarity
Compute cosine similarity, dot product, and Euclidean distance between two vectors online. Perfect for debugging LLM embeddings, semantic search, and RAG pipelines. 100% local — vectors never leave your browser.
AI Cost Calculator
Estimate monthly LLM API cost across GPT-4o, Claude 3.5, Gemini, DeepSeek and 100+ models. Compare providers side-by-side with prompt-caching and batch discounts. Free, no signup — prices refreshed daily from the public LiteLLM catalog.