On this page
What you will end up with
- A Vultr GPU server running Ollama, with an open model you can chat with or call from your own code.
- About 15 minutes of work. Vultr's A40 is $1.712 an hour, the A100 $2.397.
- Commands follow the Ollama and Vultr docs; download sizes are from Ollama's model library. We have not benchmarked speed.
1. Pick a GPU
Ollama downloads 4-bit versions of most models by default, so a 48 GB GPU runs up to about 32B, and an 80 GB GPU runs 70B models. Vultr opens and closes GPU regions as capacity changes; the deploy page shows what is open:
| Vultr GPU | Memory | Per hour | Where |
|---|---|---|---|
| A40 | 48 GB | $1.712 | 2 regions |
| A100 | 80 GB | $2.397 | New Jersey |
For other models, our VRAM calculator works out the memory.
New accounts only; the credit lasts 30 days, about 175 hours of the A40.
2. Deploy the server
- New accounts have a spending limit; if the deploy is refused, request a higher limit (how).
- In the Vultr console, create an instance: Cloud GPU, the GPU and plan, a location where it is open, and an Ubuntu image.
- Add your SSH key and a firewall group that allows only SSH (port 22), ideally from your IP address only.
3. Check the GPU
ssh root@YOUR_SERVER_IP
nvidia-smi
You should see the GPU and its memory. If not, wait a few minutes: the driver installs on first boot.
4. Install Ollama
curl -fsSL https://ollama.com/install.sh | sh
systemctl status ollama
The script installs Ollama as a service that starts on boot. It listens on 127.0.0.1, port 11434.
5. Run a model
ollama run qwen2.5:32b
The first run downloads the model, then opens a chat in the terminal. Type /bye to leave; the model stays available to the API. Download sizes from Ollama's library:
| Model tag | Download | Fits on |
|---|---|---|
qwen2.5:7b | 4.7 GB | A40 or A100, with room for many users |
qwen2.5:14b | 9.0 GB | A40 or A100 |
qwen2.5:32b | 20 GB | A40 or A100 |
llama3.3:70b | 43 GB | A100; A40 only with a short context |
qwen2.5:72b | 47 GB | A100 |
qwen2.5:32b-instruct-fp16 | 66 GB | A100 |
6. Give it a longer context
Ollama's FAQ gives 4,096 tokens as the default context. For longer documents, raise it for the service:
systemctl edit ollama
# add under [Service]:
# Environment="OLLAMA_CONTEXT_LENGTH=16384"
systemctl daemon-reload && systemctl restart ollama
Longer contexts use more GPU memory; the calculator shows how much.
7. Use it from your computer
Open an SSH tunnel so the API is never exposed to the internet:
ssh -L 11434:127.0.0.1:11434 root@YOUR_SERVER_IP
Then call it from your computer:
curl http://127.0.0.1:11434/api/chat -d '{"model": "qwen2.5:32b", "messages": [{"role": "user", "content": "Hello"}], "stream": false}'
Ollama also serves an OpenAI-compatible API at http://127.0.0.1:11434/v1, so most chat apps and SDKs work by changing the base URL.
8. Keep the bill under control
- Delete when done. A stopped Vultr server is still billed, for every hour it exists.
- Budget: 8 hours a day for 22 working days is 176 hours, about $301 on the A40 or $422 on the A100.
- Models are large. Keep them on block storage if you redeploy often, so you don't download them again.
Related guides
Sources
- Ollama docs: Linux install and FAQ: install script, service, default address and port, context length.
- Ollama library: qwen2.5 and llama3.3: download sizes.
- Ollama docs: OpenAI compatibility.
- Vultr docs: Cloud GPU troubleshooting: drivers and CUDA on standard images; account limits.
- Vultr public API: plan prices and the regions open for each plan.
Questions people ask
Does Ollama use the GPU on Vultr?
Yes. Vultr's standard images install the NVIDIA driver and CUDA at first boot, and Ollama detects the GPU when it installs. Check with nvidia-smi before installing.
Ollama or vLLM?
Ollama is the quickest way to run one model for yourself or a small team, with ready-made 4-bit downloads. vLLM serves many users at once more efficiently. Our vLLM guide covers that setup.
How do I make Ollama reachable from other machines?
Ollama listens only on the server itself by default. Use an SSH tunnel, or set OLLAMA_HOST and put it behind HTTPS with access limited to your addresses: Ollama's API has no password of its own.
Which Vultr GPU should I pick for Ollama?
The A40 (48 GB, $1.712 an hour) runs models up to 32B comfortably; the A100 80 GB ($2.397 an hour) runs 70B models. Vultr sells its A16 for virtual desktops and video.
How do I stop paying?
Delete the server. A stopped Vultr server is still billed.