AI Tool Pipelines — Automate Your WorkflowsAI Tool Pipelines

Every product was carefully curated by an AI Tool Pipelines editor. We may earn a commission from these links. Here's how we choose products and why you should trust us.

The Best VPS for Self-Hosted AI Tools, Sized by What You Run

By · 5 min read · Updated Dec 2, 2026

Chart of RAM needed by self-hosted AI tools, from Flowise at 2 GB to Ollama with a 7B model at 16 GB, next to matching VPS plan sizes

The best VPS for self-hosted AI tools depends on one question: does the model run on the server, or do you call an API? If your tools call OpenAI, Anthropic or another hosted model, each app needs only 2 to 4 GB of RAM and an 8 GB, 2 vCPU VPS (about $9 a month on Hostinger's two-year promo) runs two or three of them. If you want the model itself on the server through Ollama, plan for 16 GB or more and accept slower answers than any GPU.

Key takeaways

  • Tools like Open WebUI, Dify, Flowise and n8n are web apps that call a model. They need RAM, not a GPU.
  • 8 GB RAM is the sweet spot for two or three AI apps with an external model API.
  • Running the model on the VPS through Ollama needs 16 GB for 7B to 8B models, and speed is limited without a GPU.
  • Hostinger's KVM 2 (2 vCPU, 8 GB) is $8.79/mo and KVM 4 (4 vCPU, 16 GB) is $12.99/mo on 24-month terms, with Dify, Coolify and n8n templates.
  • Use one tool like Coolify or Dokploy to run several apps on one server instead of renting one VPS per app.

How much RAM each AI tool needs

Bar chart of the RAM each self-hosted AI tool needs: Flowise about 2 GB, n8n 2 to 4 GB, Open WebUI 2 GB, Dify about 4 GB, Ollama with a 3B model 4 to 8 GB, Ollama with an 8B model 16 GB
Planning figures, not hard limits. Dify's own docs list 2 vCPU and 4 GB as a minimum. RAG (retrieval-augmented generation, where the app searches your documents before answering) adds memory for the vector database.
ToolWhat it doesRAM to plan forNotes
Open WebUIChatGPT-style chat for any model2 GBLight on its own; heavy if you add document search
n8nWorkflow automation with AI nodes2 to 4 GBMore for big files and AI agents
FlowiseDrag-and-drop LLM chains and chatbots2 GBAdd a vector database and it grows
DifyLLM app platform with RAG and agents4 GB minimumRuns several containers (API, worker, Postgres, Redis)
Ollama, 3B modelRuns a small model on the server4 to 8 GBUsable on CPU for short tasks
Ollama, 7B to 8B modelRuns a mid-size model on the server16 GBSlow on CPU; see the Ollama section

My opinion, after running a lot of these stacks: buy one bigger VPS, not three small ones. Three 2 GB servers cost more, need three sets of updates, and still fall over when one app spikes. One 8 GB box behind Coolify or Dokploy shares memory between apps and gives you one place to back up.

The VPS plans worth looking at

Prices from each host's pricing page, December 2026. Promo prices require the full term paid upfront.
PlanSpecsPrice (Dec 2026)Good for
Hostinger KVM 22 vCPU, 8 GB, 100 GB NVMe$8.79/mo on 24 months, renews $14.99Two or three AI apps calling external APIs
Hostinger KVM 44 vCPU, 16 GB, 200 GB NVMe$12.99/mo on 24 months, renews $28.99Apps plus a small local model
Hostinger KVM 88 vCPU, 32 GB, 400 GB NVMe$25.99/mo on 24 months, renews $49.99Local 7B to 14B models, many apps
Hetzner CX334 vCPU, 8 GB, 80 GB€8.99/mo (listed unavailable in Dec 2026)Docker-confident builders, when in stock
DigitalOcean Basic2 vCPU, 4 GBAbout $24/moTeams who want hourly billing

API model or local model?

For most small teams, call a hosted model from the VPS. A Claude or GPT API call answers in a second or two; a 7B model on four shared vCPUs might take ten times longer and still be less capable. Run the model locally when your data cannot leave your server, or when you have a steady, simple job such as classifying support tickets, where a small model is good enough. Our local LLM vs cloud API cost comparison runs the numbers.

A composite example, because I have seen it often: call him Tomás. In early 2026 he rented a 4 GB VPS for Open WebUI and pulled an 8B model into Ollama "to save on API costs". Every answer took over a minute and the server swapped to disk all day. He switched Open WebUI to a hosted API, kept Ollama for a 3B model that tags incoming emails, and the same 4 GB server has been fine since.

Which one to rent

  • Just n8n or one AI app: 2 vCPU, 4 to 8 GB. See our best VPS for n8n guide.
  • Two or three apps calling model APIs: 8 GB, such as Hostinger KVM 2.
  • Apps plus a small local model: 16 GB, such as KVM 4.
  • Local 7B to 14B models as your main engine: 32 GB, or a GPU server. Read how to run Ollama on a VPS first.
“Size the server for the model, not for the app. The apps are light. The model is the thing that eats your RAM.”

Frequently asked questions

Frequently asked questions

What VPS do I need for self-hosted AI tools?

For tools that call a hosted model API, 2 vCPUs and 8 GB of RAM runs two or three apps. If the model runs on the server, plan for 16 GB or more.

Do I need a GPU VPS for AI tools?

Not for apps like Open WebUI, Dify, Flowise or n8n that call an external model. A GPU only matters if you run larger models on the server and need fast answers.

How much RAM does Dify need?

Dify's documentation lists at least 2 CPU cores and 4 GB of RAM, because it runs several containers including Postgres and Redis.

Can I run several AI apps on one VPS?

Yes. A platform such as Coolify or Dokploy runs each app in Docker on the same server and handles domains and HTTPS for each one.

Is Hostinger good for AI apps?

It is one of the cheaper options with one-click templates for n8n, Dify, Coolify and Ollama. You still manage updates and security yourself on a VPS.