Throughput Calculator
Calculate AI model serving throughput and capacity.
Throughput Parameters
Requests per Second
0.14
12,343 requests/day
Latency target NOT met: 7000ms > 2000ms
Capacity Details
What the Throughput Calculator Does
The throughput calculator turns the raw generation speed of a large language model into the operational numbers a serving team actually plans around: requests per second, requests per minute, requests per hour, requests per day, token throughput, and concurrent capacity. If you know how fast your model produces tokens and how big a typical request is, this AI throughput calculator tells you how many users your deployment can realistically handle and whether you will hit your latency target.
The single number most people quote for an inference engine is tokens per second (tok/s), the rate at which the model decodes output during the generation phase. But tokens per second alone does not tell you how many requests you can serve, because every request carries a different amount of work. A request with a 4,000-token prompt and a 50-token answer behaves very differently from one with a 100-token prompt and a 1,000-token answer. The throughput calculator bridges that gap by combining the input and output token counts into a total token budget per request, then dividing the generation speed into it.
This matters for capacity planning, cost estimation, and SLA design. Product managers want to know how many daily requests a fleet of GPUs can absorb. SRE teams want to know whether they will breach a latency target during peak traffic. Finance teams want a token-per-hour figure they can multiply by a price. By exposing all of these from a single set of inputs, the throughput calculator replaces back-of-the-envelope guessing with consistent, reproducible math. Whether you are sizing a self-hosted vLLM cluster, an NVIDIA Triton deployment, or a managed inference endpoint, the same throughput model applies.
Five inputs drive every result: tokens per second per instance, average input tokens, average output tokens, the number of parallel instances, and your target latency in milliseconds. Change any one and the calculator instantly recomputes the full capacity profile so you can compare scenarios side by side before you provision a single GPU.
How the Throughput Math Works
The calculator builds every output from one simple idea: a request is finished when the model has produced all of its tokens at the configured generation speed. First it adds the average input tokens to the average output tokens to get the total tokens per request. Dividing that total by the tokens-per-second rate gives the seconds per request for a single instance.
The reciprocal of seconds per request is the requests per second a single instance can sustain. Multiplying by the number of instances scales that figure linearly across your fleet, and multiplying again by 60, 3,600, and 86,400 produces requests per minute, hour, and day. The actual latency is just seconds per request expressed in milliseconds, and the calculator compares it to your target to flag a pass or fail.
Token throughput is computed directly from the generation rate: tokens per second times 60 gives tokens per minute per instance, and the fleet figure multiplies by the instance count. Finally, the calculator applies Little's Law to estimate concurrent in-flight requests, multiplying the fleet request rate by the average latency in seconds. Note that this simplified model treats input tokens and output tokens with the same per-token cost; real serving stacks process the prompt during a faster prefill phase and decode output more slowly, so treat the result as a planning baseline rather than a hardware-exact prediction.
Throughput and Capacity Formulas
Where:
- tok_s= Tokens generated per second per instance
- input= Average input (prompt) tokens per request
- output= Average output (response) tokens per request
- instances= Number of parallel serving instances
- RPS= Requests per second across the whole fleet
- latency_ms= Per-request latency in milliseconds (single instance)
Understanding Each Input
Each field in the throughput calculator maps to a real serving decision. Getting these right is the difference between a capacity plan that holds under load and one that collapses at peak.
| Input | What it means | Typical range |
|---|---|---|
| Tokens per Second | Decode speed per instance, measured from your benchmark | 20-300 tok/s |
| Average Input Tokens | Typical prompt length including system and context | 100-8,000 |
| Average Output Tokens | Typical response length the model generates | 50-2,000 |
| Number of Instances | Parallel replicas or GPUs serving the model | 1-100+ |
| Target Latency | Maximum acceptable per-request time in milliseconds | 500-10,000 ms |
Measure tokens per second from your own benchmark rather than a vendor spec sheet, because batch size, quantization, sequence length, and GPU type all move the number. For input and output token estimates, sample real production traffic and use the median or 75th percentile instead of the mean, since a few very long requests can skew the average. The target latency should reflect the user experience you promise: chat assistants often aim for a few seconds to first completion, while batch summarization jobs can tolerate much longer per-request times.
Scaling Instances and Reading Concurrency
The throughput calculator scales linearly with the number of instances, which is the right first approximation when each replica owns its own GPU memory and there is no shared bottleneck. Doubling instances doubles requests per second, requests per day, and token throughput. In practice you also need a load balancer that distributes traffic evenly and enough network and storage bandwidth to feed every replica, so treat the linear projection as the upper bound and add headroom.
The concurrent capacity figure comes from Little's Law, a foundational result in queueing theory: the average number of items in a system equals the arrival rate multiplied by the average time each item spends inside. Here the fleet request rate times the average latency in seconds estimates how many requests are being processed at any instant. If that number climbs above what your batching configuration can hold in flight, new requests queue and tail latency spikes, so use it to set sensible concurrency limits and autoscaling thresholds.
A few practical patterns fall out of the math. To raise requests per second you can increase tokens per second (faster hardware, quantization, speculative decoding), shrink the token budget per request (shorter prompts, tighter output limits), or add instances. To meet a tight latency target you must lower the per-request token total or raise tokens per second, because adding instances increases total throughput but does not change single-request latency. Keeping these levers distinct in your head prevents the common mistake of throwing more GPUs at a latency problem that only faster decoding can fix.
Where Throughput Numbers Get Used
The outputs of this AI throughput calculator feed directly into the decisions that surround a model deployment. The most common use is capacity planning: take your projected peak requests per second, divide by the single-instance rate, and you have the minimum instance count before any headroom. The requests-per-day figure is handy for sizing daily batch pipelines and for sanity-checking whether a fleet can clear an overnight backlog.
Cost teams pair throughput with price. Tokens per hour multiplied by a per-token or per-GPU-hour rate yields a unit economics figure you can compare across model sizes and providers. A model that is twice as fast at the same hourly GPU cost effectively halves your cost per million tokens, which often justifies a larger or pricier accelerator. SLA and reliability engineers use the latency pass/fail flag and the concurrent capacity estimate to set rate limits, configure autoscaling, and decide how much spare capacity to keep warm for traffic spikes.
Throughput estimates are also central to build-versus-buy analysis. Before committing to self-hosting, teams model the instance count and token throughput needed to match a managed API's effective rate, then compare total cost of ownership. Because the calculator makes every assumption explicit, it is easy to run optimistic, expected, and pessimistic scenarios and present a defensible range rather than a single fragile point estimate. Revisit the numbers whenever your prompt templates, average response length, model, or hardware change, since any of those shifts the entire throughput profile.
Worked Examples
Baseline single-instance chat workload
Problem:
A model decodes 100 tok/s. Average input is 500 tokens, average output is 200 tokens, with 1 instance and a 2,000 ms latency target. What throughput do you get and does it meet the target?
Solution Steps:
- 1Total tokens per request = 500 + 200 = 700 tokens.
- 2Seconds per request = 700 / 100 = 7 seconds, so latency = 7 x 1000 = 7,000 ms.
- 3Requests per second = (1 / 7) x 1 = 0.143 RPS; requests per day = 0.143 x 86,400 = about 12,343.
- 4Compare latency: 7,000 ms is greater than the 2,000 ms target, so the target is NOT met.
Result:
About 0.14 requests/second and 12,343 requests/day, but the 7,000 ms latency fails the 2,000 ms target.
Scaling to eight instances
Problem:
Same 100 tok/s model and 700-token requests, but now running 8 parallel instances. How many requests per second and per day can the fleet handle?
Solution Steps:
- 1Seconds per request is unchanged: 700 / 100 = 7 seconds (per single request).
- 2Single-instance RPS = 1 / 7 = 0.1429; fleet RPS = 0.1429 x 8 = 1.143 RPS.
- 3Requests per day = 1.143 x 86,400 = about 98,743 requests/day.
- 4Token throughput = 100 x 60 x 8 = 48,000 tokens/minute, or 2.88M tokens/hour.
Result:
Roughly 1.14 requests/second, about 98,743 requests/day, and 2.88M tokens/hour across 8 instances.
Meeting a tight latency target with faster decoding
Problem:
A short-answer assistant has 300 input tokens and 100 output tokens with a 2,000 ms target. The model runs at 250 tok/s on 1 instance. Does it pass, and what is the concurrent capacity?
Solution Steps:
- 1Total tokens per request = 300 + 100 = 400 tokens.
- 2Seconds per request = 400 / 250 = 1.6 seconds, so latency = 1,600 ms, which is below 2,000 ms: target MET.
- 3Requests per second = 1 / 1.6 = 0.625 RPS for the single instance.
- 4Concurrent capacity (Little's Law) = RPS x latency_sec = 0.625 x 1.6 = 1.0 request in flight.
Result:
Latency is 1,600 ms (passes the 2,000 ms target), about 0.63 requests/second, and roughly 1 concurrent request.
Tips & Best Practices
- ✓Benchmark tokens per second on your own GPU, batch size, and quantization rather than trusting spec sheets.
- ✓Use the median or 75th-percentile prompt and response length, not the mean, to avoid skew from rare long requests.
- ✓Remember latency depends only on per-instance speed and request size, so faster decoding beats more GPUs for tight SLAs.
- ✓Add 20-40 percent headroom above the calculated instance count to absorb traffic spikes and uneven load balancing.
- ✓Watch the concurrent capacity figure and keep it within your batching engine's in-flight limit to avoid queueing.
- ✓Re-run the calculator whenever prompts, output limits, the model, or the hardware change, since all of them move throughput.
- ✓Shorten system prompts and cap max output tokens to raise requests per second without buying new hardware.
Frequently Asked Questions
Sources & References
Last updated: 2026-06-05
Help us improve!
How would you rate the Throughput Calculator?
Editorial Note
MyCalcBuddy Editorial Team
This page is maintained as an educational calculator reference.
Formula Source: Standard Mathematical References
by Various