Migrating from Ollama to vLLM for multi-user serving starts with one question: who shares the model
The first question in this move is who will share the model, because the answer decides almost everything else. A team that has run Ollama on laptops or a single server is moving to a shared vLLM service when several people or applications need the same models at once. That move changes four things: the serving engine, the path a model takes from GGUF files to a format vLLM can load, the access model that sits in front of the API, and the hardware plan. The effort depends on how many models, client applications and users are involved, so write those numbers down before estimating anything.
vLLM is licensed under Apache-2.0 and has no paid edition, so the software itself carries no license fee. The cost comes from GPU or other accelerator capacity, the surrounding infrastructure such as networking, storage and monitoring, the implementation work, and the people who operate the service after cutover. Ask any implementation partner to price these as separate lines, and separate one-time work (design, migration, testing) from recurring work (capacity, upgrades, on-call support, model updates). Confirm each model's compatibility with vLLM before committing to a schedule, since a model that loads cleanly under Ollama may need a different checkpoint or a chat template on vLLM.
For the rest of the project, confirm three things with your own team in writing: the model list and the expected number of concurrent users, the applications that will call the API, and which people will own the service. Those answers determine the gateway design, the GPU sizing and the cutover plan. Check the release notes for the vLLM version you intend to run, since the project ships new minor releases about every two weeks, and pin a version you can test and support. The vLLM GitHub releases page is the natural place to start that check.
Which Ollama features have a vLLM equivalent and which need rework
This table maps the Ollama behaviors a team relies on today to their vLLM counterparts and flags where client code, gateway design or capacity planning must change. Read each row against the vLLM version you install, because endpoint lists, flags and metric names change between releases and should be confirmed before cutover. The main takeaway is that the API surface is close enough to reuse clients, while authentication, model storage, concurrency and chat templates need deliberate design.
| Capability | vLLM equivalent | Migration notes |
|---|---|---|
| REST and OpenAI-compatible endpoints | vLLM serves /v1/completions, /v1/chat/completions, /v1/responses and /v1/embeddings | Most OpenAI-style clients change only base URL and model name. Confirm each endpoint your clients call on the installed version. |
| Bind address and port | vLLM serves on its own configured host and port | Ollama defaults to 127.0.0.1 port 11434. Choose a vLLM address and port that sit behind the gateway, not directly on user networks. |
| Authentication | --api-key covers /v1 paths only, not /metrics, /health or /invocations | Ollama's local API has no authentication. Put a reverse proxy or gateway in front and allowlist only user-facing endpoints. |
| Model storage | Models load from a Hugging Face identifier or a local directory path | Ollama stores models under ~/.ollama/models or OLLAMA_MODELS. Stage weights in a shared location and confirm the path and format vLLM expects. |
| Model format | Native Hugging Face style checkpoints, with quantized formats varying by GPU | GGUF models from Ollama are not a drop-in input. Confirm format support for each model before planning the move. |
| Chat template | Chat completions need a chat template in the model or supplied with --chat-template | Models that worked in Ollama may fail on chat endpoints in vLLM. Test each model's template before users migrate. |
| Concurrency settings | Scheduling is governed by vLLM batching settings and parallelism flags such as tensor parallel size | OLLAMA_NUM_PARALLEL, OLLAMA_MAX_LOADED_MODELS and OLLAMA_MAX_QUEUE have no one-to-one mapping. Re-tune and load test on the target GPUs. |
| Prometheus metrics | Prometheus-format metrics at /metrics covering requests, throughput, latency and KV cache use | Ollama dashboards do not transfer directly. Rebuild panels and alerts on vLLM metric names, and keep /metrics off user paths. |
What changes for users, application developers and the platform team
For people using a chat front end, the move usually means a new address and a new credential. Ollama on a workstation typically listens on 127.0.0.1 with no authentication, so users may have pointed tools at localhost without thinking about it. A shared vLLM service sits behind a gateway that requires a key or a single sign-on session, and every user needs an approved way to obtain that access. The model names users pick may also change, because the names they recognize from Ollama are not necessarily the names the vLLM server advertises.
- Base URL: Users move from a local address to the shared service hostname, and any saved connection in a chat tool must be updated.
- Credentials: Each user or team receives an access method from the gateway, and personal keys from a workstation do not carry over.
- Model picker: Models appear under the names the vLLM server serves, so users may need a short mapping sheet.
- Limits and queueing: Shared capacity means responses can wait behind other users' requests, which a single-user workstation rarely showed.
- Data location: Prompts now leave the workstation and reach a server you operate, so users should know where their data goes.
Before cutover, confirm with a pilot group that their chat tool saves the new connection, that sign-in works from managed devices, and that the model list matches what you documented.
Applications that call Ollama's REST API or its OpenAI-compatible endpoints can usually move to vLLM with a base URL change and a model name change. The vLLM server, started with vllm serve, exposes /v1/chat/completions, /v1/completions, /v1/responses and /v1/embeddings, so most OpenAI client libraries work once the base URL and key are set. The differences that cause failures sit in details: the exact model string, how streaming chunks are framed, and how tool calls are returned and parsed.
- Model names: Use the identifier the vLLM server reports, not the Ollama tag, and store it in configuration instead of code.
- Chat templates: Chat completions require a model that ships a chat template or one supplied with
--chat-template, so test each model before application teams depend on it. - Streaming: Test partial output, early stop, client disconnects and timeouts, since queued requests on a shared server can hold a connection open longer.
- Tool calls: Tool calling depends on the model and the parser configured for it, so each application's tool flows need their own tests.
- Generation settings: Defaults for temperature, maximum tokens and stop sequences may differ between engines, so pin them explicitly.
Client changes are usually small in code but need regression tests per application. Ask each application owner to run their own test set against a staging endpoint and sign off before the Ollama address is removed.
The platform team owns the service that everyone else depends on. vLLM's own --api-key option does not protect every route. According to the vLLM security documentation, it covers the /v1, /v2, /inference and /cohere paths but not /metrics, /health, /pause or /abort_requests, and the documentation advises against relying on it alone. The usual pattern is to place a reverse proxy or API gateway in front of vLLM and allowlist only the endpoints users are meant to reach, with authentication enforced at that layer.
- Gateway placement: Route user traffic through a gateway that handles authentication, rate limits and logging, and keep the vLLM port off user networks.
- Endpoint exposure: Allow only the inference paths your clients use, and block administrative and operational routes from outside the cluster or host.
- Metrics: vLLM exposes Prometheus-format metrics at
/metrics, covering request counts, token throughput, latency histograms and KV cache use, so enable scraping on an internal network and set histogram buckets that match your latency targets. - Multi-node traffic: Communication between nodes is insecure by default, so isolate that network if you spread a model across machines.
- Capacity signals: Use the metrics to decide on concurrency limits and GPU counts, rather than the single-user patterns Ollama used.
Before go-live, confirm that unauthenticated requests to administrative routes fail from user networks and that dashboards show the request and latency data you need.
Documented paths for moving models and clients onto vLLM
The supplied vLLM documentation covers serving, authentication, chat templates and Kubernetes, but it does not document an automated importer from Ollama. Model files and configuration therefore move through a planned manual process, and each card below is a documented path or a check to run before cutover.
Serve models with vllm serve
The vllm serve command starts an OpenAI-compatible server with /v1/completions, /v1/chat/completions, /v1/responses and /v1/embeddings. Client applications that already call Ollama's OpenAI-compatible endpoint need a base URL, model name and API key change, and each request path should be tested against the new server. Confirm which endpoints your release exposes before you map client calls.
Add chat templates where needed
Chat completions need a model with a chat template, or a template supplied with --chat-template. Ollama packages many models with their templates inside the model definition, so those templates do not carry over automatically. Inventory each model you run on Ollama and confirm whether its vLLM checkpoint ships a template before users start on the new service.
Protect endpoints with --api-key
The --api-key option protects /v1 and related paths, but it does not cover /metrics, /health, /pause or /invocations. The docs advise against relying on it alone and recommend a reverse proxy that allowlists only user-facing endpoints. Ollama's local API has no authentication by default, so this gateway layer is new work for most teams.
Plan Kubernetes for later scaling
The vLLM docs list native manifests, Helm, the production-stack, KServe, KubeRay and other options. A single workstation or server move may not need them, but the choice affects how you store model weights, probe health and add replicas. Decide whether the first multi-user service stays on a single host, so that the later move to a cluster is planned rather than improvised.
Kubernetes deployment docsInventory Ollama use with the FAQ
The Ollama API and FAQ describe the default model directories, the OLLAMA_MODELS variable and the OLLAMA_HOST bind address. Use these to list which models are stored, where, and which machines call them. Then confirm the current model loading formats with the vLLM documentation for your release, since GGUF files are not loaded the same way and the mapping is a manual task.
How requests should flow once vLLM is shared
The flow starts with users and applications on the user network, which call a gateway that checks identity and forwards only the endpoints meant for users. The gateway crosses the trust boundary into the inference network, where vLLM serves requests on isolated GPU nodes. Monitoring scrapes /metrics from inside the inference network, so the monitoring path never touches the user path. Check that --api-key alone does not protect /metrics, /health or other control endpoints, because those must be blocked at the gateway and kept on the isolated network.
Shared vLLM traffic crosses one gateway, while monitoring stays off the user path.
How to sequence the inventory, pilot, parallel run and cutover
This sequence moves users from workstation or single-server Ollama onto a shared vLLM service in stages, so each group is cut over only after the model, client and access evidence for it is in hand.
Inventory models, clients and automations
The platform owner and team leads list every Ollama model in use, each host that runs Ollama, every client and script that calls it, and the OLLAMA_* settings on each host, including OLLAMA_HOST, OLLAMA_MODELS, OLLAMA_NUM_PARALLEL and OLLAMA_NO_CLOUD. Record which hosts are reachable by users and which workflows depend on cloud-hosted models. The step is done when the inventory names every caller and every model, and each caller has an owner who can test changes. Confirm this list with the teams themselves, since scripts and editor plugins are often missed.
Confirm checkpoints and chat templates on vLLM
The model owner checks each model against vLLM's model support and format requirements, since GGUF files used by Ollama do not carry over directly and the chat completions API needs a chat template. For each model, decide whether a native checkpoint is available or a supported quantized format is needed, and whether the template is built in or must be supplied with --chat-template. The step closes when each model has a source checkpoint, a licence check and a loaded test response on a test host. Models that fail this check stay on the existing path until resolved.
Build the pilot with gateway and metrics
The platform team provisions the target GPUs, installs vLLM from a pinned release, and places an authenticating gateway in front of it. Because the --api-key option does not cover every endpoint, the gateway should allowlist only the routes users need and keep /metrics and admin endpoints off the user path. Prometheus scraping of /metrics is enabled before any users arrive. The step is done when a test client gets a successful response through the gateway, unauthenticated requests are refused, and throughput and latency appear on a dashboard.
Run both engines side by side
A small group of users is pointed at vLLM while the rest stay on Ollama. The pilot team compares outputs for the same prompts on both engines, covering answer quality, formatting, tool use if used, and refusal behavior, and records latency and concurrency under realistic load. Users report problems through a shared channel. The step closes when the comparison shows acceptable differences for each model, and the team has agreed which differences are expected and which block cutover.
Cut over clients in groups
Clients move in batches, starting with the least critical automations and ending with the most visible tools. Each batch changes the base URL to the gateway, moves from Ollama's native API to the OpenAI-compatible endpoints where needed, and replaces local credentials with gateway-issued keys. Each batch has a named rollback to the Ollama host. The step is complete for a batch when its owners confirm success over an agreed observation period and the dashboard shows no unexplained error rise.
Decommission workstation endpoints
Once all clients have moved, the team stops Ollama services on workstations and single servers that are no longer needed, removes stored models from hosts that will not be reused, and disables any remaining listener on 11434. Keys for local access are revoked and the model inventory is archived. The step is done when a network scan and the gateway logs show no traffic to the old endpoints, and the retired hosts are documented.
Document the new access model
The platform owner writes the access model: who can call which models, how gateway keys are issued, rotated and revoked, which endpoints are exposed, where metrics are read, and who approves new models for the shared service. The document also records the vLLM release in use and the process for reviewing future releases. The step closes when security and compliance reviewers have signed off on it and every user group has been told where to find it.
What drives the cost and duration of an Ollama to vLLM move
This table compares the factors that change the effort of moving from Ollama to a shared vLLM service and shows what to ask for in a quote. vLLM has no license fee, so the cost comes from GPU capacity, implementation work and the people who operate the service. Read each row against your own model list, client applications and gateway requirements, since the largest drivers are usually model conversion and concurrent GPU capacity.
| Driver | Effect on effort and cost | What to ask for in a quote |
|---|---|---|
| Number of models and conversion | Each GGUF model must be matched to a vLLM-compatible checkpoint, which may be a native Hugging Face format or a different quantization. Models without a usable equivalent add evaluation work. | A model inventory with a conversion or sourcing plan per model, and which models are retested for output quality. |
| Client applications and their features | Each client moves from the Ollama API to the OpenAI-compatible API. Streaming, tool calls and embeddings each add test cases, and clients that rely on Ollama-specific endpoints need code changes. | A list of clients, the endpoints each one calls, and the test scope for streaming and tool calling. |
| Gateway and identity integration | Ollama has no authentication on its local API, so a shared vLLM service needs a gateway that handles users, keys and allowlists. vLLM's --api-key option alone is not enough, so gateway rules and identity connections add scope. | The identity provider to integrate, the key or token model, and the endpoints the gateway will expose to users. |
| GPU capacity for concurrent load | Ollama defaults to one parallel request per model, so moving to multi-user serving usually changes the hardware sizing. Accelerator count, memory and the number of replicas drive hardware spend, which recurs through power, hosting or rental. | A sizing report based on measured concurrency, the accelerator model and count, and whether capacity is owned or rented. |
| Multi-node networking | A model that needs several GPUs across nodes requires a parallelism plan. vLLM's security docs state that inter-node traffic is insecure by default and must sit on an isolated network, which adds network design and testing. | The node layout, interconnect and isolated network design, and the backend choice (Ray or multiprocessing). |
| Metrics and logging | vLLM exposes Prometheus metrics at /metrics, and dashboards, alerts and log retention must be built around them. Retention and access rules for prompts and responses add review work. | The metrics to collect, the dashboards and alerts to build, and the log retention and access policy for request data. |
| Documentation and training | Operators, client teams and the security team need runbooks, model onboarding steps and training. Teams that used Ollama on workstations often need more guidance on shared service ownership. | A list of runbooks, the training sessions and audiences, and the handover acceptance criteria. |
Why GPU sizing and gateway design should be settled before the pilot
Ollama's default of one parallel request per model is not a capacity plan. On a workstation, OLLAMA_NUM_PARALLEL defaults to 1, OLLAMA_MAX_LOADED_MODELS defaults to three times the number of GPUs (or 3 on CPU), and OLLAMA_MAX_QUEUE holds up to 512 queued requests. Teams that have lived with those defaults often assume a shared server will behave the same way with more users, and it will not. vLLM capacity has to be measured against the concurrency you expect at peak, the context lengths your users actually send and the size of each model, because those three values together determine how much GPU memory is left for the KV cache and how many sequences can be batched at once. Write these numbers down per workload before anyone orders hardware. A pilot that only tests one user at a time will show nothing about the load the service has to carry.
The gateway must hold the authentication decision. The vLLM --api-key option protects endpoints under /v1, /v2, /inference and /cohere, but it does not protect /invocations, /pause, /resume, /abort_requests, /metrics or /health, and the security documentation warns against relying on it alone. The documented recommendation is a reverse proxy that allowlists only the endpoints meant for users and rejects everything else. Decide early which gateway will terminate authentication (for example, your existing API gateway or a proxy you already operate), how user or team keys map to requests, and who may reach /metrics. Confirm each of these routes against the current vLLM security documentation for the version you plan to run, because the list is the basis of your allowlist rules and your pilot test cases.
Measure before buying hardware. Start a single vLLM instance on a representative GPU in the pilot environment and read the Prometheus-format metrics at /metrics, which report request counts, token throughput, latency histograms and KV cache use. Run your expected concurrency and context lengths against that instance and record where KV cache use approaches its limit and where latency histograms begin to climb. Those readings, not the Ollama defaults, should drive the GPU count and the number of replicas. Also confirm that your GPUs fall within the hardware targets listed in the vLLM installation documentation, because the supported accelerators and platform builds decide whether a pilot can run at all.
What usually goes wrong in an Ollama to vLLM move
Most failed moves from Ollama to vLLM are not engine failures. They come from clients that assumed Ollama behavior, control endpoints left open, GPUs sized for a single user and cutovers without a way back. Each card below names the check that prevents it.
Clients tied to Ollama endpoints
Applications often call Ollama's native API paths or use local model names such as llama3.2:latest that have no equivalent on vLLM. vLLM serves OpenAI-compatible routes such as /v1/chat/completions, so those clients need the base URL and model identifier changed. Inventory every client, script and SDK call before cutover, and confirm each one sends the model name vLLM was started with. Test each client against the new endpoint, not just the health check.
Models without a chat template
Chat completions fail on models that lack a chat template in their tokenizer configuration, and many GGUF-derived setups never carried one across. Ollama applied its own templates silently, so the same model can behave differently once served by vLLM. Check each model's template before loading it, and supply one with --chat-template where the model lacks it. Run a chat request for every model on the migration list before declaring it ready.
Control endpoints exposed behind --api-key
Setting only --api-key protects the /v1 routes but leaves /metrics, /health, /pause, /resume and /abort_requests reachable on the same port. A user who can reach these endpoints can read operational data or pause the engine. The vLLM security docs recommend a reverse proxy that allowlists only the user-facing paths. Place the gateway in front of vLLM and confirm from outside the network that control paths return errors.
GPUs sized for one developer
Ollama defaults to one parallel request per model, so a workstation can feel fast with one user and then queue badly when a team shares it. vLLM's batching changes the load profile, but the KV cache still has to fit the concurrent sessions and context lengths users send. Size from measured peak concurrency and prompt length, not from a single-user test. Load test at expected peak before the cutover date, and ask the vendor or your own benchmarks to confirm memory headroom.
Unencrypted traffic between nodes
A model split across several machines with tensor or pipeline parallelism sends traffic between nodes. The vLLM security docs state that this communication is insecure by default, without authorization or encryption, and must be isolated on a dedicated network. Teams that move from one workstation to a shared multi-server layout often place these nodes on the general office or VLAN network. Put inter-node traffic on an isolated segment and confirm that no user-facing network can reach the node ports.
Cutover with no rollback path
Teams often switch every user and script to vLLM in one step and then discover a model or client problem with no working fallback. Keep the Ollama host running, with its models in place, until the vLLM service has passed the client and load checks. Route traffic through the gateway so that the upstream target can be switched back quickly. Write the rollback steps, the owner who triggers them and the criteria for triggering them before the cutover starts.
Questions teams ask before moving from Ollama to vLLM
Does vLLM cost money to run?
vLLM is open source under the Apache-2.0 license and has no paid edition, so the software itself carries no license fee. The cost comes from GPU or other accelerator capacity, the surrounding infrastructure such as storage, networking, gateway and monitoring, the implementation work, and the people who operate the service. Accelerator capacity is usually the largest recurring item, and it depends on the models, context lengths and concurrency your team needs. Ask any partner for a quote that lists hardware, infrastructure, implementation and ongoing operations as separate lines, so you can see which costs are one-time and which recur.
How long does a move from Ollama to vLLM take?
The duration depends on how many models you serve, how many client applications call them, how much gateway and identity work is needed, and whether the GPU hardware is already in place. Each model needs a format check and a test against the vLLM release you choose, each client needs its request settings reviewed, and the shared service needs authentication, monitoring and a cutover plan. Ask for a timeline in the written scope that breaks these items into phases, with named owners and the points where your team signs off before the next phase starts.
What must our team provide before the migration starts?
Start with an inventory of every Ollama host, the models loaded on each, the Modelfile settings in use and the applications and people that call each endpoint. Your team also needs GPU access in the environment where vLLM will run, the details of your identity provider such as its OIDC or SAML configuration, and a named owner for each client application who can test changes. Access to your network design and logging standards is also needed, since the gateway and metrics setup depend on them. Missing inventory is the most common cause of scope growth, so resolve it before the quote is finalized.
Can our internal team do this migration without a partner?
Yes, if the team already has GPU and model-serving experience and can cover the same scope a partner would: model format validation, the OpenAI-compatible client changes, an authentication gateway, Prometheus-format metrics, sizing and a cutover. The work is the same either way, so the question is capacity and skills rather than the software. Teams that lack either usually take longer and risk exposing an endpoint that was meant to stay internal. Write the scope down first, then compare what your team can deliver against it.
Do our GGUF models run on vLLM without changes?
Not automatically. Ollama stores models in GGUF, which is a llama.cpp format, and vLLM needs a checkpoint format it supports, so each model must be checked for compatibility with the vLLM release you plan to run. Some models may be served from a native checkpoint on a Hugging Face-style format, and some quantized variants may behave differently. Confirm support for each model against the vLLM release notes and documentation before you commit, and test output quality on your own prompts, since a model that loads may still differ in behavior.
Why does a model need a chat template for vLLM chat completions?
The chat completions API formats messages using a template, and vLLM requires that the model provides one or that you supply one with the --chat-template option. Ollama bundles template and parameter settings inside its model definitions, so these may not carry over automatically. Check each model's template during testing, because a wrong template can produce output that looks plausible but ignores system messages or tool instructions. Keep the template you verified in version control alongside the serving configuration.
Can we keep Ollama on workstations while the shared vLLM service is built?
Yes. Ollama and vLLM can run side by side, and keeping Ollama on individual workstations for local experiments avoids pausing work during the transition. Ollama's local API at localhost:11434 does not require authentication and binds to 127.0.0.1 by default, so it stays off the network unless someone changes the bind address. Set a clear rule for what moves to the shared service, such as any application that serves more than one user, and make sure no shared endpoint is exposed through the Ollama host while the migration is in progress.
What should the gateway protect when we expose vLLM to users?
The gateway should allow only the endpoints users need, such as /v1/chat/completions and /v1/embeddings, and block administrative and operational paths. vLLM's --api-key option does not protect every route, including /metrics, /health and /pause, and the vLLM security documentation advises against relying on it alone. Put a reverse proxy with an allowlist in front of the service, tie user access to your identity provider, and keep metrics on an internal network. Confirm the exact route list against the vLLM release you deploy.
How DeployOpen scopes and delivers an Ollama to vLLM migration
DeployOpen plans and delivers the move from Ollama to a shared vLLM service inside infrastructure you control, from the written scope through handover. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, and ongoing support is available as a retainer.
How we scope
- We inventory the models, client applications and Ollama settings your teams use today before proposing any change.
- The written scope states which models move, which GPU capacity is in play and which client applications are cut over.
- We confirm the authentication gateway, network placement and metrics collection the shared service must meet before work starts.
- A quote follows from the written scope, so you can see which items are fixed and which depend on your environment.
How we build
- We convert each model to a checkpoint format vLLM serves, and confirm chat templates for every model that will use the chat completions API.
- We deploy vLLM with an OpenAI-compatible endpoint and place a reverse proxy in front that allowlists only the endpoints users need.
- We test client code paths against the new base URL, token handling and model names, and record every change for your developers.
- We size and test GPU capacity against the concurrency your users generate, then document the measured results.
How we hand over
- You receive the deployment code, gateway configuration, runbooks and a migration record covering each model and client change.
- We document how to add a model, rotate keys, change concurrency limits and roll back to Ollama during the cutover window.
- Verification evidence, including endpoint exposure checks and metrics dashboards, is delivered for your security and operations reviews.
- Knowledge transfer sessions walk your platform and application owners through the running service.
How we support
- After handover, a retainer can cover vLLM version upgrades, which ship roughly every two weeks, tested against your models and clients.
- Continuous security testing of the gateway and serving endpoints can be added to the retainer as your user base grows.
- Capacity reviews can be scheduled when usage changes, so GPU sizing stays matched to measured load.
- Ask for the retainer scope and response expectations in writing alongside the fixed-scope migration quote.

