// guide

Run Open WebUI with vLLM on a cloud GPU

To run Open WebUI with vLLM on a cloud GPU, vLLM serves an open-weight model through an OpenAI-compatible API and Open WebUI connects to that API as a browser chat interface; on NVIDIA Brev, the Open WebUI + vLLM Launchable starts both on one NVIDIA L40S 48GB GPU.

Updated

Published

On this page

What do Open WebUI and vLLM each do?

vLLM is a model server. It provides an HTTP server that implements the OpenAI Completions API and Chat API, so any OpenAI-style client can send it requests (vLLM OpenAI-compatible server (external site)).

Open WebUI (also written open-webui or OpenWebUI) is the browser chat interface. It does not run the model itself. The vLLM Open WebUI guide (external site) connects the two by pointing Open WebUI's OPENAI_API_BASE_URL setting at the vLLM server, for example http://0.0.0.0:8000/v1, after starting vLLM with vllm serve <model> --host 0.0.0.0 --port 8000.

Open WebUI can also sit in front of Ollama instead of vLLM. To choose between the two model servers, read Ollama vs vLLM or see the Ollama + Open WebUI Launchable. For more chat and serving stacks, see chat and model serving.

How do vLLM and Open WebUI run together in Docker Compose?

The Launchable runs them as two Compose services on one instance, as of 2026-11-28:

ComponentImageRolePortWhat persists
Open WebUI v0.13.3ghcr.io/open-webui/open-webui:v0.13.3Browser chat interface8080Chats after stop and start: not yet tested; removed on delete
vLLM v0.33.0vllm/vllm-openai:v0.33.0Serves Qwen/Qwen3-8B through an OpenAI-compatible APIBound to the instance, not exposed publiclyModel cache survived stop and start in our 2026-12-03 test; removed on delete

Two Open WebUI settings in the Compose file connect it to vLLM:

  • OPENAI_API_BASE_URL is http://vllm:8000/v1, the vLLM service's address on the Compose network.
  • ENABLE_OLLAMA_API is false, so Open WebUI does not look for an Ollama server.

Do I need a GPU to run vLLM with Open WebUI?

Open WebUI does not need one: it is the chat interface and does not run the model. vLLM does the model work, and this Launchable gives it one NVIDIA L40S 48GB GPU.

SettingDefault (as of 2026-11-28)
ModelQwen/Qwen3-8B
GPU1x NVIDIA L40S 48GB
Instance typeAWS g6e.xlarge (default being switched from Crusoe l40s-48gb.1x on 2026-12-03)
Disk128 GiB
Priceabout $2.23/hr for AWS g6e.xlarge (Brev CLI, 2026-12-03)

A model's weights need about its parameter count times the bytes per weight. In 16-bit weights, an 8B model needs about 16 GB for the weights alone (1 GB = 1e9 bytes). The rest of the GPU memory holds the KV cache for active requests. To weigh the NVIDIA L40S against the NVIDIA L4, read NVIDIA L4 vs L40S for LLM inference.

Can Open WebUI connect to multiple vLLM instances?

Yes. The Open WebUI connection guide (external site) says you can connect local model servers and cloud APIs to the same Open WebUI instance, with one connection per provider, added under Admin Settings, then Connections. Each vLLM server gets its own connection with its URL and API key.

Can I run Open WebUI without Ollama?

Yes. Open WebUI connects to any server that implements the OpenAI-compatible API, according to Open WebUI: OpenAI-compatible servers (external site). vLLM is one of them. This Launchable runs Open WebUI with vLLM only and sets ENABLE_OLLAMA_API to false (Compose file, read 2026-11-28).

What did our test of Open WebUI with vLLM show?

We tested this Launchable on 2026-12-03 with Qwen/Qwen3-8B, vLLM v0.33.0 and Open WebUI v0.13.3: once on AWS g6e.xlarge with one NVIDIA L40S, and once on GCP g2-standard-8 with one NVIDIA L4, which is not a default type. Each was one run on one day. Throughput is output tokens per second in total across parallel requests, measured on the instance with 256 output tokens per request.

CheckAWS g6e.xlarge, 1x NVIDIA L40SGCP g2-standard-8, 1x NVIDIA L4
Time from launch to first chat answer20 min 07 s23 min 27 s
GPU memory in use while serving40331 of 46068 MiB19440 of 23034 MiB
Throughput, 1 / 4 / 8 parallel requests45.6 / 170.8 / 339.5 tokens/s16.7 / 63.0 / 124.9 tokens/s
Price while running (2026-12-03)about $2.23/hr$1.16/hr

In our NVIDIA L4 test, vLLM ran with --max-model-len 16384 and --gpu-memory-utilization 0.90. The model weights took 15.27 GiB, and the longest context vLLM accepted was 20,080 tokens.

Our earlier test of the sibling Nemotron Chat Launchable, which runs an NVIDIA Nemotron model with the same pairing on AWS g6e.xlarge with one NVIDIA L40S, recorded these values on 2026-11-15:

CheckRecorded value (Nemotron Chat Launchable, 2026-11-15)
InstanceAWS g6e.xlarge, 1x NVIDIA L40S
Healthy after create17.5 minutes
Open WebUI health{"status":true}
GPU memory in use40781 of 46068 MiB
Stop and startPassed on the third start attempt; the first was refused while the instance was still stopping
After startModel cache kept, Open WebUI healthy, chat answered

Our 2026-12-03 test of this Launchable on GCP g2-standard-8 went differently after a stop and start. The section below explains what happened.

How do I launch it and open the chat UI on NVIDIA Brev?

A Launchable is a reproducible, shareable environment configuration on NVIDIA Brev (NVIDIA Brev Launchables (external site)). For the full concept, read what is a Brev Launchable?

  1. Deploy the Open WebUI + vLLM Launchable; the general flow is in how to deploy a Launchable on NVIDIA Brev.

  2. Open the instance details page in the NVIDIA Brev console and select the Access tab, which lists the connection information for exposed ports (Brev console reference (external site)).

  3. Open Open WebUI on port 8080.

  4. Complete the browser authentication that the tunnel asks for on first access.

  5. To call the vLLM API from your own machine, forward its port with the brev CLI, as described in serve an OpenAI-compatible API with vLLM.

What survives a stop?

On NVIDIA Brev, the three instance actions behave as follows (Brev GPU instances (external site)):

  • Stop releases the GPU and preserves data in /home/ubuntu/workspace; /tmp does not persist.

  • Start tries to provision the same GPU type in the same provider and region and fails if capacity is unavailable.

  • Delete removes the instance and all data and cannot be undone.

For the console and CLI steps, read how to stop and delete an NVIDIA Brev instance.

Where do I start?

Built your own vLLM stack? Can NightKeeper package it as a Launchable?

NightKeeper packages your repository as an NVIDIA Brev Launchable, proves it on a fresh GPU and keeps it running. Point NightKeeper at your repository, review the pull request whose GitHub Actions workflow smoke-tests the stack on a fresh NVIDIA Brev instance, then create the Launchable in the Brev console with the settings NightKeeper provides. Your Brev API key stays in your repository's GitHub secrets. NightKeeper never sees it.

Create your Launchable or read about NightKeeper.

Sources: where do these facts come from?

How was this page made?

9owls published this page. The versions, defaults and price come from the Launchable's own records, with the dates shown. The test values come from our fresh-deploy tests of this Launchable on 2026-12-03 and of the Nemotron Chat Launchable on 2026-11-15. The Open WebUI and vLLM facts come from their own documentation, read on the dates in the list above. Found an error? Tell us on the company page.

What changed on 2026-11-28: added the Compose layout, answers on GPU need, several vLLM servers and running without Ollama, our recorded test values, the dated price and the link to the cache-blocks error page.

What changed on 2026-12-03: added our tests of this Launchable on AWS g6e.xlarge and GCP g2-standard-8, corrected what survives a stop and start, and updated the default instance type and price.

All guides