What is Ollama and when should I run it on a VPS instead of my PC?
What Ollama is, what it needs to run and when to move it from your computer to a VPS. With a memory table by model size and steps to get started.
Ollama is a free, open-source tool for running open AI models, such as Llama, Gemma or Qwen, on your own machine, without sending your data to an external API. Keep it on your PC for testing and for large models that need a GPU; move it to a VPS like Dongee Cloud when an app, a bot or an agent needs to query it around the clock with small models.
Updated November 30, 2026 · Dongee Team
What is Ollama
Ollama downloads open AI models and runs them on your machine with a single command, for example ollama run llama3.2. It works on macOS, Windows and Linux, and exposes an API on port 11434 so other tools, such as n8n, Open WebUI or an agent, can send it questions.
The main advantage: your text never leaves your machine and you don't pay per query. The downside: speed and model size depend on your hardware.
How much memory each model needs
Approximate reference for quantized models (the compressed version Ollama downloads by default):
| Model size | Approximate free RAM | CPU only |
|---|---|---|
| 1 to 3 billion parameters | 2 to 4 GB | Usable for simple tasks |
| 7 to 8 billion | 8 GB | Works, but responds slowly |
| 13 to 14 billion | 16 GB | Slow; better with a GPU |
| 30 billion or more | 32 GB or more | Impractical without a GPU |
PC or VPS: an honest comparison
| Your PC or laptop | Cloud VPS | |
|---|---|---|
| On 24/7 | Only if you never turn it off | Yes |
| GPU | Yours, if you have one | Usually not; VPSs are sold by vCPU and RAM |
| Large models | Better here if you have a good GPU | Impractical |
| Access from other apps or a bot | Hard: your home network | Easy, with its own IP |
| Cost | Nothing extra | Monthly server payment |
| Best for | Testing models and personal use | Automations and agents with small models |
If your app needs a large model and fast responses, a cloud API (OpenAI, Anthropic, OpenRouter or another) usually works out better than a VPS without a GPU. Ollama on a VPS shines at short, repetitive tasks: classifying emails, summarizing text, extracting data.
How to get started on a VPS in 4 steps
- Choose the server: a Linux VPS with at least 8 GB of RAM if you want models with 7 or 8 billion parameters. On Dongee Cloud you get root access.
- Install Ollama:
curl -fsSL https://ollama.com/install.sh | sh - Download a small model and try it:
ollama run llama3.2 - Don't leave the API open to the internet: Ollama has no password. Use it only from the same server or behind a tunnel or proxy with authentication.
More detail on servers without a graphics card in Can you run Ollama on a server without a GPU?. To connect it to an agent that answers from chat, see What is Hermes Agent?; Dongee offers VPS with Hermes Agent preinstalled. To expose services without opening ports, Cloudflare Tunnel or opening ports on the VPS.
Frequently asked questions
What is Ollama?
It is a free, open-source tool for downloading and running open AI models, such as Llama, Gemma, Qwen or Mistral, on your own machine. It works on macOS, Windows and Linux and exposes a local API so other apps can use it.
Does Ollama need a GPU?
Not necessarily. It runs on CPU alone, just more slowly. With a CPU, stick to small models (1 to 8 billion parameters) and quantized versions.
How much RAM do I need for Ollama?
As a reference, a quantized model with 7 or 8 billion parameters needs about 8 GB of free RAM; a 3 billion one, about 4 GB. Large models need much more.
Is Ollama free?
Yes, the program and the open models are free. You pay for the machine or server where you run it. Ollama also has a separate cloud service, with its own plans.
Can I run Ollama on a Dongee VPS?
Yes. Dongee Cloud gives you root access, so you can install Ollama yourself. Plans are described by vCPU and RAM; if you need a GPU, ask first in the Dongee sales chat.
Comenta lo que quieras
Unete a la charla
Solo ingresa tu email