vLLM vs Ollama: 34.22x Faster at Eight Concurrent Requests, and When It Applies

On an L40S with eight concurrent requests, Hostinger’s vLLM vs Ollama test recorded 371.63 tokens per second for vLLM against 10.86 for Ollama, a 34.22x gap, and an Applied Sciences paper reports 20x to 29x. Both ratios come from overlapping requests, so for one user the question is whether the model fits the card, and vLLM’s own throughput benchmark documentation is the place to start measuring your own ratio. The 172K star figure in the earlier headline dates from May 2026; Ollama was at 186,833 on 13 November, per our LM Studio vs Ollama comparison. This version drops the old page’s unsourced benchmark rows, including a Llama 3.3 8B entry, and replaces its 70B launch command.

Google · Preferred Sources

Don't miss new tech stories on Google

Add Tech Insider once in the Google app and our stories appear in your news suggestions.

Add Now

34.22x at eight requests, 20x to 29x in the paper

SourceConditionsResult
HostingerL40S, Qwen2.5-Coder-7B-Instruct in FP16, eight concurrent requestsvLLM 371.63 tok/s, Ollama 10.86 tok/s, 34.22x
Applied Sciences (MDPI)The paper’s own models and hardware20x to 29x throughput, 8x to 19x lower P95 latency

A single stream is mostly limited by memory bandwidth, so batching has little to add for one user. That is our reasoning, not a measurement. Ollama’s parallel-request setting, OLLAMA_NUM_PARALLEL, is documented in Ollama’s docs; check it before quoting 34.22x for your own setup.

$0.75 versus $25.58 per million tokens at $1 per GPU-hour

We converted Hostinger’s throughput into cost, treating both figures as aggregate and assuming a hypothetical $1 per GPU-hour. vLLM produces 371.63 x 3600 = 1,337,868 tokens an hour; Ollama produces 10.86 x 3600 = 39,096. Dividing $1 by those volumes gives the rows below, and 25% utilisation multiplies each by four.

UtilisationvLLM, $ per million tokensOllama, $ per million tokens
100%$0.75$25.58
25%$2.99$102.31

70 GB of FP8 weights leave under 10 GB on an 80 GB card

A 70 billion parameter model at one byte per weight needs about 70 GB, so the earlier page’s one-H100 command left under 10 GB for the KV cache and activations, shared by up to 128 sequences, before vLLM’s --gpu-memory-utilization cap takes its share. Two GPUs with tensor parallelism, a smaller model or a shorter context length fix it. Hostinger’s 7B FP16 model needs about 14 GB for weights, which fits a 24 GB card with room for cache. Ollama pulls GGUF files, whose sizes our GGUF quantization guide covers.

Which engine at which threshold, and the afternoon test

ConditionEngineBasis
One user or one scriptOllamaBoth published ratios used overlapping requests
Several overlapping requests, model fits with cache roomvLLM34.22x (Hostinger), 20x to 29x (paper)
70B class on one 80 GB cardNeither as configuredAbout 70 GB of FP8 weights
Mac, AMD or CPU-onlyCheck Ollama’s GPU docs and vLLM’s docsSupport differs by platform

To get your own ratio, serve the same model on both and send N concurrent clients with identical prompts, recording aggregate tokens per second and P95 latency. The script starts vLLM in Docker, then installs Ollama with Homebrew, starts its server, pulls the model and runs one prompt.

set -euo pipefail
trap 'docker stop vllm >/dev/null 2>&1 || true' EXIT
docker run -d --rm --name vllm --gpus all -p 8000:8000 \
  -v ~/.cache/huggingface:/root/.cache/huggingface \
  vllm/vllm-openai:latest \
  --model Qwen/Qwen2.5-Coder-7B-Instruct \
  --gpu-memory-utilization 0.90 --max-model-len 8192
until curl -sf http://localhost:8000/v1/models >/dev/null; do sleep 5; done

# Ollama, same model family; endpoint http://localhost:11434/v1
brew install ollama
ollama serve >/dev/null 2>&1 &
until curl -sf http://localhost:11434/v1/models >/dev/null; do sleep 5; done
ollama pull qwen2.5-coder:7b
ollama run qwen2.5-coder:7b "Reply with one word."

Switch to vLLM when Ollama’s aggregate throughput at your usual concurrency falls short of your demand and the model fits with cache to spare.

Sofia Lindström

Sofia Lindström

Security and privacy

Sofia Lindström writes about security and privacy for Tech Insider: software vulnerabilities and the updates that fix them, data breaches, privacy rules and how products handle personal data. She works from vendor advisories, official vulnerability catalogues and the documents behind each story.

View all articles