# How to run Ollama and Open WebUI on a cloud GPU

To run Ollama and Open WebUI on a cloud GPU, start Ollama as the model server and use Open WebUI as its browser chat interface; on NVIDIA Brev, the Ollama + Open WebUI starter Launchable runs both with Docker Compose on one NVIDIA L4 24GB GPU.

Updated: 2026-11-28

Published: 2026-11-22

## What does the Ollama + Open WebUI Launchable run?

It runs two pinned containers, Ollama and Open WebUI, started together with Docker Compose. A Launchable is a reproducible, shareable environment configuration on NVIDIA Brev: GPU, disk, container setup and ports in one link ([NVIDIA Brev Launchables](https://docs.nvidia.com/brev/latest/concepts/launchables.md)).

| Component | Pinned version | Role | Port | Licence |
|---|---|---|---|---|
| Ollama | 0.40.16 (`ollama/ollama:0.40.16`) | Serves open-weight language models | `11434`, bound to the instance, not exposed | MIT |
| Open WebUI | v0.13.3 (`ghcr.io/open-webui/open-webui:v0.13.3`) | Browser chat interface | `8080` | Open WebUI License |

The last fresh-deploy smoke test of the [Ollama + Open WebUI starter](https://www.9owls.com/launchables/ollama-open-webui/) ran on 2026-11-15. For other chat stacks, see [chat and model serving](https://www.9owls.com/topics/chat-and-model-serving/).

## Which GPU and model does it start with?

It starts `gpt-oss:20b` on one NVIDIA L4 24GB GPU. You can pick another model with the `MODEL` launch parameter.

| Setting | Default |
|---|---|
| GPU | 1x NVIDIA L4 24GB |
| Instance type | GCP `g2-standard-4` |
| Disk | 64 GiB |
| Price | about $0.85/hr (Brev console, 2026-11-15) |
| Model | `gpt-oss:20b` |
| Other `MODEL` choices | `qwen3:14b`, `gemma3:12b` |

The selected model downloads on first start. Chat works once the download finishes. To weigh the NVIDIA L4 against the NVIDIA L40S for larger models, read [NVIDIA L4 vs L40S for LLM inference](https://www.9owls.com/compare/nvidia-l4-vs-l40s-for-llm-inference/).

## Can I run Ollama and Open WebUI on the same GPU server?

Yes. In our fresh-deploy test of this Launchable on 2026-11-15, both ran on one GCP `g2-standard-4` instance with one NVIDIA L4:

| Check | Recorded value |
|---|---|
| Ready after create | about 13.5 minutes (Open WebUI health `{"status":true}`) |
| `gpt-oss:20b` download | 13.79 GB in about 153 seconds |
| `ollama ps` | 12 GB, 100% GPU |
| GPU memory in use | 12488 of 23034 MiB |
| Disk used | `~/workspace/ollama` 13G, `~/workspace/open-webui` 890M |
| Stop and start | Passed; Open WebUI database `webui.db` kept, model not downloaded again, second chat answered |

Open WebUI itself is the chat interface and does not load the model; Ollama holds it on the GPU.

## How do I pull another model?

Pull it from inside Open WebUI; the README of the Launchable names Open WebUI's model settings as the place to add models after deploy. Open WebUI documents two ways ([Open WebUI: Ollama](https://docs.openwebui.com/getting-started/quick-start/connect-a-provider/starting-with-ollama)):

1. As an admin, open Settings, then Connections, find the Ollama connection and click Manage.
2. Enter a model name from the Ollama library and pull it.
3. Or type the model name in the Model Selector; if the model is missing, Open WebUI offers to download it from Ollama.
4. Pick the new model in the chat model list.

Pulled models are stored under `~/workspace/ollama` on the instance, next to the chats under `~/workspace/open-webui`.

## Ollama or vLLM: which fits my use?

The two servers fit different workloads; [Ollama vs vLLM](https://www.9owls.com/compare/ollama-vs-vllm/) compares them in full. Open WebUI can sit in front of either one.

- Ollama + Open WebUI: this starter, on one NVIDIA L4 24GB GPU.
- vLLM + Open WebUI: read [run Open WebUI with vLLM on a cloud GPU](https://www.9owls.com/guides/run-open-webui-with-vllm-on-a-cloud-gpu/).
- The full comparison: [Ollama vs vLLM](https://www.9owls.com/compare/ollama-vs-vllm/).

## How do I deploy it on NVIDIA Brev?

Deploy it from its Launchable page and open Open WebUI on port `8080`. The full flow is in [how to deploy a Launchable on NVIDIA Brev](https://www.9owls.com/guides/deploy-a-launchable-on-nvidia-brev/).

1. Open the [Ollama + Open WebUI starter](https://www.9owls.com/launchables/ollama-open-webui/) page and click its launch button.
2. Optionally set the `MODEL` parameter, then deploy.
3. Wait for the instance to show Running and for the model download to finish.
4. Open Open WebUI on port `8080` from the instance's Access tab in the Brev console.

## What happens when I stop or delete the instance?

Stop keeps your models and chats; Delete removes them. Read [how to stop, start and delete an NVIDIA Brev instance](https://www.9owls.com/guides/stop-start-and-delete-an-nvidia-brev-instance/) for the console and CLI steps.

- Stop pauses the GPU and keeps the data and containers.
- Models in `~/workspace/ollama` and chats in `~/workspace/open-webui` survive a stop and start.
- Delete removes the instance and all of its data, including models and chat history.

> **Warning:** Delete cannot be undone.

## How does this relate to NightKeeper?

This Launchable is a finished environment you deploy yourself. NightKeeper is a separate 9owls product for your own code: it packages your repository as an NVIDIA Brev Launchable, proves it on a fresh GPU and keeps it running.

- [Read about NightKeeper](https://www.9owls.com/nightkeeper/).
- [Create your Launchable](https://www.9owls.com/nightkeeper/start/).

## Sources: where do these facts come from?

- [Ollama + Open WebUI starter README](https://github.com/ashishsalve/gpu-launchables/blob/main/ollama-open-webui/README.md), read 2026-11-22
- [Open WebUI: Ollama](https://docs.openwebui.com/getting-started/quick-start/connect-a-provider/starting-with-ollama), read 2026-11-22
- [NVIDIA Brev Launchables](https://docs.nvidia.com/brev/latest/concepts/launchables.md), read 2026-11-22
- [Ollama](https://github.com/ollama/ollama) and [Open WebUI](https://github.com/open-webui/open-webui) on GitHub, read 2026-11-22
- 9owls fresh-deploy test record for the Ollama + Open WebUI starter, 2026-11-15

## How was this page made?

9owls published this page. The versions, defaults and price come from the Launchable README and records, with the dates shown. The test values come from our fresh-deploy test on 2026-11-15. The Open WebUI and Brev facts come from their own documentation, read on the dates above. Found an error? Tell us on the [company page](https://www.9owls.com/company/#contact).

What changed on 2026-11-28: added the answer on running Ollama and Open WebUI on one GPU, with our recorded test values.

## Related pages

- [Ollama + Open WebUI starter](https://www.9owls.com/launchables/ollama-open-webui/)
- [Ollama vs vLLM](https://www.9owls.com/compare/ollama-vs-vllm/)
- [Run Open WebUI with vLLM on a cloud GPU](https://www.9owls.com/guides/run-open-webui-with-vllm-on-a-cloud-gpu/)
- [NVIDIA L4 vs L40S for LLM inference](https://www.9owls.com/compare/nvidia-l4-vs-l40s-for-llm-inference/)
- [Chat and model serving](https://www.9owls.com/topics/chat-and-model-serving/)

[All guides](https://www.9owls.com/guides/)
