vLLM vs Ollama vs llama.cpp: choosing how to serve a language model

A model file alone does not answer questions. It needs a serving engine that loads it onto the hardware, accepts requests, manages memory and streams answers back. The engine affects speed, the number of users one server can handle and how easy the system is to operate.
At Timeus Lab we deploy self-hosted LLMs with the engine that fits each case. Here is how the three best known open options compare.
What do serving engines do?
Serving engines load model weights into memory, schedule incoming requests, manage the KV cache, run the computation on GPUs or CPUs and expose an API, often compatible with the OpenAI API format. Good engines serve many users at once by batching requests together.
How do they compare?
| Topic | vLLM | Ollama | llama.cpp |
|---|---|---|---|
| Main strength | High throughput for many users | Very easy setup | Runs almost anywhere, efficient on CPUs and small GPUs |
| Typical use | Production servers with data centre GPUs | Workstations, tests, small teams | Edge devices, laptops, mixed hardware |
| Model formats | Standard weights, many quantised formats | GGUF models from its library or your own | GGUF |
| Multi-GPU | Yes, for large models | Limited | Possible, less focus |
| API | OpenAI compatible | Own API and OpenAI compatible | OpenAI compatible server included |
Ollama is built on top of llama.cpp, so they share many strengths. Other engines, such as SGLang and vendor-specific servers, are also worth testing for large deployments.
Which should a company use?
For a shared service used by many employees, vLLM or a similar high-throughput engine is usually the right choice, because it serves many conversations on the same GPUs efficiently. For a pilot, a single team or a laptop, Ollama gets a model running in minutes. For edge devices and machines without strong GPUs, llama.cpp is often the most practical.
What else is needed around the engine?
A production service needs more than the engine:
- sign-in through the company identity system and per-team limits;
- a gateway that routes requests to models and logs usage;
- monitoring of speed, errors and GPU load;
- the RAG layer for company documents;
- update procedures for models and software.
Questions
Can we switch engines later?
Yes. If applications use a standard API, the engine behind it can be changed without rewriting them.
Do engines affect answer quality?
The model decides quality. Engines can differ slightly through quantisation and settings, so test with your own prompts.
Which engine runs DeepSeek or Kimi models?
The largest mixture-of-experts models are usually served with high-throughput engines on multi-GPU servers. Check current support for the exact model version.