Yes, Ollama runs on a VPS without a GPU: it falls back to the CPU and loads the whole model into system RAM, so the size of the model file decides the plan. A 3B model such as llama3.2:3b (2.0 GB) fits a 4 GB VPS that costs $5.00 a month on a yearly term, a 7B or 8B model (4.4 to 5.2 GB) needs 8 GB from $19.16, and a 14B model needs 16 GB at $48.00. Plan prices were checked on November 8, 2026, and model sizes on ollama.com on November 9, 2026.
The model file size sets the RAM, and the table below sets the budget
Ollama's FAQ says that "100% CPU means the model was loaded entirely in system memory", which is always the case without a GPU. Our sizing rule adds at least 1.5 to 2 GB to the download size for context and the operating system. The plans are the cheapest at each RAM tier in our catalog.
| Ollama model (tag) | Download size | RAM we size for | Cheapest plan at that tier | vCPU / disk | Price a month |
|---|---|---|---|---|---|
| qwen2.5:0.5b, gemma3:1b | 398 MB, 806 MB | 2 GB | RackNerd KVM 2 GB, USA | 2 / 35 GB SSD | $3.00 ($35.99 a year) |
| llama3.2:3b, qwen2.5:3b | 2.0 GB, 1.9 GB | 4 GB | RackNerd KVM 4 GB, USA | 3 / 60 GB SSD | $5.00 ($59.99 a year) |
| gemma3:4b | 3.4 GB | 6 GB | VPSDime Linux VPS 6 GB, USA | 4 / 30 GB NVMe | $7.00 |
| mistral:7b, qwen2.5:7b, llama3.1:8b, deepseek-r1:8b | 4.4 to 5.2 GB | 8 GB | MassiveGRID Professional, Singapore | 4 / 128 GB NVMe | $19.16 |
| the same 7B and 8B models, hosted in Europe | 4.4 to 5.2 GB | 8 GB | Hostman Cloud 5, Europe or New York | 4 / 160 GB NVMe | $22.00 |
| gemma3:12b, qwen2.5:14b | 8.2 GB, 9.0 GB | 16 GB | Hostman Cloud 6, Europe or New York | 8 / 320 GB NVMe | $48.00 |
| gemma3:27b, qwen2.5:32b | 17 GB, 20 GB | 32 GB | no VPS in our catalog | ||
| llama3.1:70b | 43 GB | 64 GB | dedicated server territory |
RackNerd prices are monthly equivalents of a 12-month term paid up front. The other plans bill monthly. More plans per tier are on the cheapest 4 GB VPS and cheapest 8 GB VPS pages.
A 3B model on a $5 VPS handles background jobs where a slow reply is fine
Take a hypothetical n8n workflow that sorts support emails into five categories. Nobody waits on the screen, so a reply that takes several seconds costs nothing. llama3.2:3b at 2.0 GB leaves about 2 GB of a 4 GB server for the system and a small queue. RackNerd KVM 4 GB gives 3 vCPU and 60 GB of disk for $59.99 a year, which is $5.00 a month.
A live customer chat is a different job. Generation on a CPU is limited by cores and memory bandwidth, and hours of full load on a shared vCPU is what fair use clauses are written about; see dedicated vs shared vCPU. If n8n runs on the same box, size it with VPS for n8n.
A 7B or 8B model needs 8 GB, and that costs $19 to $24 a month
The 7B and 8B models (mistral:7b at 4.4 GB, qwen2.5:7b at 4.7 GB, llama3.1:8b at 4.9 GB, deepseek-r1:8b at 5.2 GB) need 8 GB: with a 5 GB model loaded, a 6 GB server runs out of room once a few requests arrive. The three cheapest 8 GB plans in our catalog all have 4 vCPU: MassiveGRID Professional at $19.16 in Singapore, Hostman Cloud 5 at $22.00 in Frankfurt, Amsterdam, London, Helsinki, Paris or New York, and Ethernet Servers VPS 8 GB at $24.00 in the USA.
Over a year, Hostman Cloud 5 is $264; its cloud plans are listed without an IPv4 address, so check that price at checkout.
Not sure which tier your model and workload need? The VPS for AI and ML page sorts plans by RAM and vCPU for inference, and the calculator picks plans by task, budget and location.
A 14B model needs 16 GB and 8 vCPU: $48 a month
gemma3:12b (8.2 GB) and qwen2.5:14b (9.0 GB) leave no room for context in 8 GB. Hostman Cloud 6 gives 8 vCPU, 16 GB and 320 GB NVMe for $48.00 a month, $576 a year. DataPacket VServer 16 GB costs $59.99 with 6 vCPU in the USA.
At this size cores matter as much as memory, and 8 vCPU is twice what the cheapest 8 GB plans give. A 27B or 32B model needs 32 GB, which no VPS in our catalog offers: compare a dedicated server or hourly GPU rental, see the H100 rental price spread.
Parallel requests and longer context multiply the memory
The model file is not the only thing in RAM. Ollama's FAQ states that the number of parallel requests is chosen automatically, 4 or 1, "based on available memory", and that parallel requests increase the context size: "a 2K context with 4 parallel requests will result in an 8K context and additional memory allocation". A server that runs a 7B model for one user can run out of memory when four ask at once. For a hypothetical internal tool used by a team of 10, set OLLAMA_NUM_PARALLEL to 2 on an 8 GB server rather than buying 16 GB on day one. How much the operating system and other services take is covered in how much RAM does a VPS need.
NVMe disk shortens the reload after 5 idle minutes
By default, Ollama keeps a model in memory for 5 minutes after the last request and then unloads it, according to its FAQ. The next request reads the file from disk again, faster on NVMe than on SATA SSD. For a model used a few times an hour, set OLLAMA_KEEP_ALIVE to keep it loaded or pick an NVMe plan: VPSDime, MassiveGRID and Hostman list NVMe, the RackNerd plans list SSD. See NVMe vs SSD. Several models add up on disk: qwen2.5:7b and llama3.1:8b together take 9.6 GB.
Install takes one command, and ollama ps confirms where the model runs
On a Linux VPS, Ollama installs with curl -fsSL https://ollama.com/install.sh | sh. After you pull and run a model, ollama ps lists what is loaded and shows "100% CPU" on a server without a GPU. Run ollama run <model> --verbose with a typical prompt to see the generation rate on your actual plan before you commit to a yearly term; hourly billing makes that test cheap, see VPS with hourly billing.
Ready to pick a server? Compare the 16 GB and 8 GB plans on VPS for AI and ML, or use the provider button on this page.
Frequently asked questions
Can you run Ollama on a VPS without a GPU?
Yes. Ollama runs on the CPU and loads the model entirely into system memory, which its FAQ describes as "100% CPU". The RAM must hold the model file plus context and the operating system.
How much RAM does Ollama need for a 7B model?
Plan for 8 GB. The 7B and 8B models in the Ollama library download at 4.4 to 5.2 GB. In our catalog, the three cheapest 8 GB plans cost $19.16 to $24.00 a month, checked November 8, 2026.
What is the cheapest VPS that can run Ollama?
A 4 GB server runs a 3B model such as llama3.2:3b (2.0 GB). RackNerd KVM 4 GB costs $59.99 a year, $5.00 a month, with 3 vCPU in the USA.
Is a CPU-only VPS fast enough for a chatbot?
For background jobs such as sorting or summarising text, usually yes. For a live chat with several users at once, test the generation rate with ollama run --verbose on an hourly plan first, and consider dedicated vCPU or a GPU.
How long does Ollama keep a model in RAM?
Five minutes after the last request by default, then it unloads the model. The OLLAMA_KEEP_ALIVE environment variable changes that.
Read also
Plan prices, CPU, disk and locations come from our catalog, checked on each provider's pricing page on November 8, 2026. Model download sizes are from the Ollama library on ollama.com, and the memory, parallel request and keep-alive behaviour from the Ollama FAQ on GitHub, both checked November 9, 2026.