Own Weights

Concurrency in LLM serving: how many requests at once

LLM serving concurrency explained: how many requests at once a model can handle, what sets the limit, and how to measure it on your own workload.

Updated

LLM serving concurrency is the number of requests a model server works on at the same time. A server running at a concurrency of 32 holds 32 requests in flight and produces tokens for all of them in turn, instead of finishing one before it starts the next. The right number for your task depends on memory, prompt length and how fast each request has to finish.

You choose the concurrency, but the server enforces a real ceiling. Past that ceiling, each added request only makes the wait longer. The useful question is not “what is the maximum?” but “how many requests can run before each one slows past what my users or my pipeline can tolerate?”

What limits how many requests run at once

Two things set the ceiling. The first is memory. The weights load once, and everything left over holds working state for each active request, mostly cached attention values for the tokens it has already seen. More tokens per request means fewer long requests fit than short ones. See the KV cache guide.

The second is scheduling: which requests get a turn in each generation step, and when new ones are admitted. Admit too eagerly and new arrivals crowd out the requests already running. Admit too slowly and the hardware sits idle between turns.

Input length often matters more than output length. A long contract sent for extraction takes a large share of memory before the first output token is written. Mixing long and short jobs in one queue lets the long ones set the pace for everyone.

Some limits sit outside the server. Provider rate limits cap requests or tokens per minute, and an application worker pool has a fixed size. Those can bind before the hardware does. See the rate limit guide.

Concurrency, latency and throughput are different numbers

Concurrency is an input you set: how many requests are in flight. Throughput is what comes out: tokens or documents per second. Latency is how long one request takes. Raising concurrency usually lifts throughput for a while, then latency climbs and throughput levels off. The throughput vs latency guide walks through that curve.

Above the ceiling the server does not get faster. It queues. Clients that hit a timeout often retry, and each retry joins the same queue, so the load grows while the useful work stays flat. Cap how many requests your application sends at once, and set timeouts that match the wait you measured.

Batch processing changes the picture. If the job does not need an answer in seconds, a lower concurrency with a larger queue can finish the same volume with less waiting. The trade-off is covered in batch API vs realtime.

At 32 requests at a time, our Accuracy tier processes about 5,100 tokens per second and our Standard tier about 14,000, counting input and output across all requests. One request at a time, the same tiers write about 90 and 174 output tokens per second. Standard handles 2.7x more documents an hour than Accuracy at 32 at a time. Those figures apply to those settings only, so your own measurement matters more than any single number here. To turn throughput into a monthly cost for your volume, use the LLM cost calculator.

A worked example: sizing a nightly contract queue

These numbers are invented to show the arithmetic. They are not measurements. A team extracts clauses from 200 contracts each night. Alone, one request takes 40 seconds. They test three parallel levels:

  • Concurrency 1: one at a time, about 2.2 hours in total.
  • Concurrency 8: each request slows to 55 seconds because requests share the machine. Total time is (200 × 55 seconds) divided by 8, about 23 minutes.
  • Concurrency 32: each request slows to 150 seconds. Total time falls to about 16 minutes, but a 60-second client timeout fails every request at this level.

The team picks 8. Going to 32 saves about 7 minutes and breaks the timeout, which is the wrong trade. This is the pattern from the section above: total throughput levels off while each request gets slower.

How to measure concurrency on your own workload

Do not take a concurrency figure from a spec sheet. Build a sample from real inputs that matches the length spread you see in production, then send that sample at fixed parallel levels such as 1, 4, 8, 16 and 32.

At each level, record the total tokens per second across all requests, the time each request waits before its first token, and the time until its last token. Raise the level until waiting climbs faster than throughput grows. The level just before that point is your practical concurrency for the task.

Look at the slow end of the distribution, not only the average. An average hides the requests that sat in a queue. Track the 95th percentile of time to first token, since that is what a user of a live feature will feel. Run the same test set you use to check output quality, so a fast answer that is wrong cannot pass as a good result.

A higher concurrency level is only useful when its output passes the same checks as the lower one. Score both on the same held-out set, with the metric your task already uses, before you keep the faster setting.

Common mistakes

  • Testing with short prompts, then running production contracts that are much longer. Use the real length spread.
  • Choosing one concurrency number for every job. Put long extraction and short classification calls in separate queues with their own limits.
  • Judging by average latency. A healthy average can hide a 95th percentile that breaks your timeout.
  • Retrying on timeout with no cap. Each retry joins the queue and makes the wait longer for everyone.
  • Setting your own cap above the provider rate limit. The API can throttle before your server is busy, so keep your cap below it.
  • Picking the level that finishes the batch fastest. Past the point where throughput levels off, per-request waits keep rising for little gain.

Next step

Concurrency only matters once the model is good enough for your task. Own Weights fine-tunes an open-weight model for one high-volume task, tests it against your current model on your own data, and serves it in your cloud account or on-prem. To see where your current AI calls stand, run the free audit or book a call with the button on this page, and we can go through the numbers together.

Questions

How many concurrent requests can an LLM server handle?

It depends on the model size, the memory left after the weights load, and how long each prompt and output is. Short classification calls can run far more at once than long document extraction on the same machine. Measure it with your own inputs rather than relying on a general figure.

What happens when too many requests hit a model server at once?

Requests wait in a queue, so the time to first token rises even though the server is busy. Clients that time out often retry, which adds load to the same queue. Cap the number of requests your application sends at once.

Is LLM concurrency the same as an API rate limit?

No. A rate limit is a cap a provider sets on requests or tokens per minute. Concurrency is how many requests one server works on at the same moment, and on your own serving setup you control it.