TECHNOLOGY

Ollama versus vLLM study: concurrency results depend on the measurement contract

In this article
THE QUICK TAKE

The study compares full configurations with different precision and concurrency controls; successful-response latency and approximate token counts cannot prove an engine-only speed ratio.

The Applied Sciences comparison of Ollama and vLLM examines concurrent serving, streaming, reasoning workloads, and stress behavior. Its original article page was unavailable during this review, but the publisher’s public PDF and the authors’ measurement documentation were recovered. They support a more specific conclusion than a universal engine-speed ranking: the experiment compares two different complete serving configurations.

Preserve the numerical and concurrency setup

The publisher PDF identifies a May 29, 2026 publication using Qwen3-4B on one H100 with 80GB. Its configuration table gives Ollama version 0.24.0 with GGUF Q8_0 weights and an FP16 KV cache, versus vLLM 0.17.0 with FP8 quantization and FP8 KV.

These are related model variants, not numerically identical artifacts. The prose also describes different concurrency capacities: Ollama’s automatic parallel setting and a vLLM maximum-sequence setting of 64. A shared model family and sampling parameters therefore do not isolate the engine implementation as the only changed variable. The existing engine-comparison guide explains why artifact and operating conditions remain part of the result.

Read the reported latency with its population

In the baseline table at concurrency 10, the authors report mean end-to-end latency of 20.92 seconds for Ollama and 3.71 for vLLM, with mean TTFT of 20.75 and 0.07 seconds respectively. These are the study’s measurements of its chosen configurations, not independently reproduced figures here.

At concurrency 100, the table reports an Ollama error rate of 39.29%, while the vLLM row reports no errors. Crucially, the method excludes failed and timed-out requests from latency and TTFT distributions, counting them separately in the error rate. Those successful-response percentiles do not represent every attempted request. The timeout-censoring guide explains why missing completion endpoints must remain visible alongside survivor latency.

TTFT ends at visible content

The authors’ metric documentation defines client-observed TTFT from sending a streaming request to receiving a nonempty text delta. End-to-end latency includes client, transport, waiting, prefill, and decoding. The harness does not separately instrument server queue time or pure model computation.

The inspected shared client reads the content field of the stream. Thus its first visible-content boundary should not automatically be equated with the first internal model token, or the whole wait attributed exclusively to queueing. Response structure and reasoning behavior need their own inspection before interpreting a large TTFT difference.

Token and quality scores need extra care

The current client estimates output tokens from whitespace-separated words multiplied by 1.3, rather than using actual returned token accounting in that path. That differs from the paper’s description of aligning token counts with a tokenizer when needed. Without the exact result-producing revision and raw responses, the published token-rate column should not be treated as an independently verified native decode-speed ratio.

The documentation also states that reasoning and coherence scores are lightweight keyword, overlap, and length heuristics. They are not validated task accuracy or human judgments of answer quality. Faster completion and stronger heuristic scores therefore do not establish equivalent useful outputs.

The practical value is a documented, configuration-specific serving comparison and an inspectable measurement contract. A repeat should retain exact model files, cache precision, effective concurrency, request outcomes, streaming fields, and tokenizer-based counts. These boundaries preserve the study’s observed differences while leaving engine-only causality and general deployment rankings unproven.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles