The best Ollama VPS depends on three things: how much memory your model needs, whether the server has a GPU, and what the plan bills after the first term. Ollama is software that runs large language models on a server you control. Hostinger plans start at $6.49 per month (Hostinger, November 2026) for a small CPU plan, and a rented A100 GPU on RunPod costs $2.09 per hour.
Below you get a model-size to plan matrix, a monthly cost line that puts hourly GPUs next to monthly VPS plans, and the install steps from Ollama's docs. If you want background on how low plan prices bill, read the guide to cheap VPS hosting.
Disclosure: the Hostinger links and the coupon code below are part of Hostinger's affiliate programme. Tutorsbot may earn a commission if you buy, at no extra cost to you.
What RAM and VRAM does Ollama need on a VPS?
Memory need depends on model size and context length. Ollama's FAQ says it uses a 4096-token context window by default, and you can change it with the OLLAMA_CONTEXT_LENGTH environment variable. A longer context raises the RAM or VRAM you need.
- RAM - the server's main memory, which Ollama uses when there is no GPU
- VRAM - memory on a graphics card, which a GPU plan provides
- Context window - how much text the model keeps in view, counted in tokens
Hostinger's tutorial gives GPU needs at Q4_K_M quantization, a compressed model format, with an 8K context. It lists roughly 3-4 GB of VRAM for a 3B model and about 50 GB for a 70B model. The Ollama library lists llama3.2:1b as a 1.3 GB download and the 3b tag as 2.0 GB, so small models fit on a 4 GB VPS.
Best Ollama VPS for each model size
Models up to about 8B fit on CPU plans with 4-16 GB of RAM. A 30B to 70B model at 8K context needs up to about 50 GB of VRAM, so no CPU-only plan here can serve it. Those sizes need an hourly GPU.
| Model | Memory need | Minimum server | Plan to look at |
|---|---|---|---|
| llama3.2:1b | 1.3 GB model file | 4 GB RAM, CPU | Hostinger KVM 1 (4 GB) |
| llama3.2:3b | 2.0 GB model file | 4 GB RAM, CPU | KVM 1, or KVM 2 (8 GB) for spare RAM |
| Llama 3.1 8B Q4_K_M | About 4.9 GB model file | 8 GB RAM at 4K context, 16 GB for larger context | KVM 2 for light use, KVM 4 (16 GB) for 8K context |
| 30B-70B Q4_K_M, 8K context | Up to about 50 GB VRAM | GPU with 48-80 GB VRAM, or a 64 GB+ RAM CPU box | Hourly GPU: Hostinger L40S or RunPod A100 |
Hostinger's guide shows the 8B model running on CPU with 16 GB of system RAM. CPU-only plans up to 32 GB of RAM cannot hold the largest row.
Is a CPU VPS cheaper than an hourly GPU?
Ollama runs on CPU and RAM alone, so you do not need a GPU. A CPU VPS costs far less per month than a GPU left running all month, but it cannot hold 30B+ models. The table converts hourly rates at 730 hours per month.
| Option | Billed rate | Monthly at 730 hours | 24 months at that rate |
|---|---|---|---|
| Hostinger KVM 8 (CPU, 32 GB RAM) | $25.99/mo sale, $49.99/mo renewal | $25.99 to $49.99 | $623.76 upfront, or $1,199.76 at renewal |
| DigitalOcean Basic 16 GiB (CPU) | $96.00/mo | $96.00 | $2,304.00 |
| Hostinger L40S GPU (48 GB VRAM) | from $0.96/hour | $700.80 | $16,819.20 |
| RunPod A100 PCIe, Secure Cloud | $2.09/hour | $1,525.70 | $36,616.80 |
The GPU figures assume the GPU runs every hour. Hostinger bills for as long as you hold the L40S, and RunPod bills the A100 per second with no commitment, so a GPU you stop costs less. The RunPod GPU pricing breakdown covers those rates in more detail. If you only need occasional answers from a large model, a pay-per-use API such as OpenRouter is another route.
How do you install Ollama on a VPS?
You install Ollama with one curl command, then register it as a systemd service so it starts at boot. These steps follow the Ollama Linux docs. Systemd is the Linux tool that starts and restarts background services.
First, install the binary:
curl -fsSL https://ollama.com/install.sh | sh
Next, create a dedicated ollama user and group, then write a service file at /etc/systemd/system/ollama.service. The docs' file includes Restart=always so the service comes back after a crash. Then reload systemd:
sudo systemctl daemon-reload
Enable the service so it starts on boot:
sudo systemctl enable ollama
Confirm the install worked:
ollama -v
To reach the API from outside the server, set this environment variable. Ollama's API listens on port 11434, so also set a firewall rule before you expose it.
OLLAMA_HOST=0.0.0.0:11434
After you load a model, this command shows whether it landed on the GPU or the CPU:
ollama ps
What does each provider bill for an Ollama VPS?
Each provider bills differently, so compare the term and the renewal, not the headline rate. Hostinger prepays 24 months at a sale price, DigitalOcean bills monthly, and Hetzner lists prices without VAT (value-added tax).
| Plan | Specs | Sale price | Paid upfront, 24 months | Renewal |
|---|---|---|---|---|
| Hostinger KVM 1 | 1 vCPU, 4 GB RAM, 50 GB NVMe | $6.49/mo | $155.76 | $11.99/mo |
| Hostinger KVM 2 | 2 vCPU, 8 GB RAM, 100 GB NVMe | $8.79/mo | $210.96 | $14.99/mo |
| Hostinger KVM 4 | 4 vCPU, 16 GB RAM, 200 GB NVMe | $12.99/mo | $311.76 | $28.99/mo |
| Hostinger KVM 8 | 8 vCPU, 32 GB RAM, 400 GB NVMe | $25.99/mo | $623.76 | $49.99/mo |
- DigitalOcean Basic 8 GiB - 4 vCPUs, 160 GiB SSD, $48.00/month ($0.07143/hr)
- DigitalOcean Basic 16 GiB - 8 vCPUs, 320 GiB SSD, $96.00/month ($0.14286/hr)
- Hetzner Regular Performance - shared-resource cloud line from €5.49 per month, excl. VAT, aimed at low-to-medium CPU use
DigitalOcean moved Droplets to per-second billing on January 1, 2026, with a minimum charge of 60 seconds or $0.01, whichever is higher. Prices come from DigitalOcean Droplet Pricing and Hetzner Cloud, November 2026.
Where does Hostinger fit?
Hostinger fits if you want a low monthly rate and a ready template. It sells a one-click Ollama deployment, Docker-based, for its VPS plans. KVM 2 is $8.79 per month on a prepaid 24-month term, which is $210.96 upfront, and it renews at $14.99 per month.
The renewal price is higher than the sale price, so check it before buying. On KVM 1, the first 24 months cost $155.76 upfront. The renewal rate is $11.99 per month. See the Hostinger VPS plans for current terms.
Disclosure: this link is an affiliate link. Tutorsbot may earn a commission if you buy, at no extra cost to you.
When is Hostinger the wrong choice for Ollama?
Hostinger is the wrong choice when your model needs a GPU. Its KVM plans have no VRAM. A 30B to 70B model must go to Hostinger's separate hourly GPU tier. RunPod is another option, and it rents an A100 PCIe at $2.09 per hour.
It is also a weaker fit if you want true pay-as-you-go metering. The 24-month sale price is prepaid, while DigitalOcean bills per second. If you only want a cheap sandbox for a 1B-3B model, Hetzner's shared line from €5.49 per month excl. VAT is a lower-commitment option.
What are the next steps?
Pick your model first, then match it to the matrix. Pick Hostinger KVM 1 if you run a 1B-3B model and want the lowest monthly rate. Pick KVM 2 or KVM 4 if you run an 8B model on CPU. Pick DigitalOcean's monthly Droplets if you want per-second billing. Pick an hourly GPU if you run a 30B+ model, and price it for the hours you will actually use. Then install with the Ollama commands above and run ollama ps to check where the model loaded.
Citing this guide? If you quote, summarize or build on it, please credit Tutorsbot with a link to Best Ollama VPS Picks for Self-Hosted LLMs.
- Please name the source as Tutorsbot (tutorsbot.com) in your text, not as a website or online sources.
- Please use the guide title as the link text and point the link at this exact page, so readers reach the current version.
- If you reuse its figures, steps or comparisons, please say they come from Tutorsbot's guide and do not present them as your own.
- If you share or summarize it again, please keep the credit to Tutorsbot attached to the information.
Photo: tookapic, Pixabay Content License, via Pixabay (https://pixabay.com/photos/office-work-desk-computer-932926/)
Fazlur Rahman






