Virtual server with a neural network pattern, chat, automation and workflow icons

Best VPS for Running AI Tools: Specs, Prices and Picks

Published: September 12, 2026|Affiliate Disclosure

Running n8n, an OpenClaw agent or a local model with Ollama on a VPS is cheaper than most people expect, as long as you size the server for the workload instead of the marketing. This guide explains which spec actually matters for each kind of AI tool, compares what Hetzner, Contabo, Hostinger, Verpex, HostArmada, Vultr and DigitalOcean charge for the same class of server, and tells you when you genuinely need a GPU and when you are paying for one you will never use.

If you want to run AI tools on your own server in 2026, the short answer is this: for automation (n8n) and API-backed agents (OpenClaw, Hermes) a 2 vCPU / 4 GB RAM NVMe VPS for roughly $5 to $10 a month is enough, 8 GB gives you comfortable headroom, and you only need a GPU if you insist on running the language model itself locally. The provider matters less than the spec, but the spec sheet hides two traps: renewal prices that double after the first term, and RAM figures that look fine until a second container starts. This guide walks through what each kind of AI workload really needs, compares seven providers on the same server class, and ends with a conditional pick for each type of user.

Disclosure: some links in this guide are affiliate links. If you buy through them, we may earn a commission at no extra cost to you. It does not affect which providers we include or how we rank them; several picks below have no affiliate program at all.

Three kinds of "AI tools", three very different servers

"AI on a VPS" covers workloads that have almost nothing in common hardware-wise. Before comparing providers, decide which of these you are actually running.

Workload Examples What does the heavy lifting Practical minimum Comfortable
Automation n8n, Flowise, Zapier-style flows calling AI APIs The API provider's servers; your VPS only orchestrates 1–2 vCPU, 2 GB RAM 2 vCPU, 4 GB
AI agents (API models) OpenClaw, Hermes Agent with OpenAI/Anthropic keys Again the API; the agent runtime, sessions and browser automation live on your box 2 vCPU, 4 GB RAM 4 vCPU, 8 GB
Local model inference Ollama + Open WebUI running Llama, Gemma, Mistral Your CPU and RAM, or a GPU 8 GB RAM for 7B–8B models, CPU-only is slow 16 GB+ RAM, or a GPU

The numbers come from the projects themselves and from people running them. n8n's own documentation puts its memory footprint between 320 MB and 2 GB and says a basic shared-CPU plan is enough for most usage, with 4 GB / 2 vCPU recommended only once you enable the AI assistant sandbox (n8n docs, n8n DigitalOcean guide). OpenClaw's official FAQ says "a small VPS or Raspberry Pi-class box is fine" for its gateway (OpenClaw FAQ), while independent guides that measured real deployments converge on 4 GB RAM and 2 vCPU as the practical floor, with 1 GB boxes getting OOM-killed (Cherry Servers, Psychz). For local models, Ollama's README stated the rule that has not changed since: at least 8 GB of RAM for 7B models, 16 GB for 13B, 32 GB for 33B (Ollama README).

If you are in the first two rows, stop worrying about GPUs. The model runs somewhere else and you pay for it per token. Your VPS needs to be reliable, always on, and have enough RAM that a browser automation session or a second container does not tip it over.

The spec that matters: RAM first, then NVMe, then cores

Most VPS listings lead with vCPU count. For AI tooling that is the wrong order.

  1. RAM is what kills small deployments. Node.js runtimes, a Postgres container for n8n, and a headless Chromium for browser tasks each want hundreds of megabytes. A 1 GB plan is a demo box, not a server. The 4 GB tier is where the price-per-gigabyte curve flattens at most providers, which is why it shows up as the sweet spot below.
  2. NVMe storage matters more than capacity. Agent runtimes write session state and logs constantly; n8n's execution history grows fast. 40 to 80 GB of NVMe is plenty, but avoid the "SSD" tiers that are actually networked block storage if the provider gives you a choice.
  3. vCPU count decides how many parallel workflows or sub-agents you can run before things queue. Two shared cores handle a personal setup; go to four when you run several agents or n8n workflows that process files.
  4. Swap is your safety net on a 4 GB box. Set 2 GB of swap and you turn an OOM crash into a slow minute. It is free.
  5. Bandwidth is almost never the constraint. Even Hetzner's 20 TB and Contabo's "unlimited" are irrelevant for API traffic; what matters is that outbound traffic to the AI provider is not throttled.

There is one more line to check that has nothing to do with performance: the renewal price. Almost every provider in the table below sells the first term at a discount and renews at roughly double. On a server you intend to run for years, the second-year price is the real price.

Price comparison: the 4 GB class and the 8 GB class

Prices were verified on 8 September 2026 from the providers' own pricing pages or public APIs; where a page did not show a number, the table says so. Hetzner and Contabo are quoted in euro, the rest in US dollars. "Intro" means the advertised first-term price, "renews" the price after it.

Provider / plan vCPU RAM NVMe Intro price Renews at Notes
Hetzner CX23 2 4 GB 40 GB €5.49/mo same No intro games; IPv4 +€0.50/mo; EU only; prices rose in June 2026
Contabo Cloud VPS Core 4 4 8 GB 100 GB SSD €5.50/mo same (24-month rate incl. VAT) Most RAM per euro; SSD not NVMe on Core; 1-month term costs more
Hostinger KVM 1 1 4 GB 50 GB $6.49/mo $11.99/mo 24-month term; one-click n8n, Ollama, OpenClaw templates
Hostinger KVM 2 2 8 GB 100 GB $8.99/mo $14.99/mo 24-month term; weekly backups included
Verpex VPS-D4 2 4 GB 80 GB $10/mo $19.99/mo 12-month term; 9 locations incl. Frankfurt, London; VPS not refundable
Verpex VPS-D8 4 8 GB 160 GB $20/mo $39.99/mo Price from a third-party listing, confirm at checkout
HostArmada Flux 2 4 GB 80 GB $5.18/mo $11.52/mo Annual term; OpenClaw preinstall option
HostArmada Fusion 4 8 GB 160 GB $10.74/mo $21.48/mo Annual term
Vultr Cloud Compute 2c/4GB 2 4 GB 80 GB $20/mo same, hourly 33 locations; no discount games
DigitalOcean Basic 2 vCPU 2 4 GB 80 GB $24/mo same, per-second 12 locations; GPU droplets available

Three things jump out. First, the European budget providers are in a different league on price: Hetzner and Contabo deliver the 4 to 8 GB class for about €5.50 with no renewal jump. Second, the US-style providers (Hostinger, Verpex, HostArmada) look comparable in year one and cost roughly twice as much in year two. Third, Vultr and DigitalOcean are three to four times the price of Hetzner for the same spec, and you pay that premium for hourly billing, global locations and an ecosystem, not for faster AI tools.

Provider notes: what the table does not tell you

Hetzner is the default answer for anyone in Europe who is comfortable with a bare Ubuntu box. The June 2026 price increase (CX line up about 30 percent, CPX line more) took away some of the shine, but €5.49 for 2 vCPU and 4 GB with 20 TB of traffic is still the cheapest reliable option we found (price adjustment notice). Locations are Germany, Finland, two US sites and Singapore, but the cheap CX and ARM CAX lines are EU-only (locations). Support is ticket-based and assumes you know what you are doing.

Contabo wins on RAM per euro. The catch is the price display: the €5.50 headline is the effective monthly rate on a 24-month subscription including taxes, and the configurator shows the same plan at different figures per term (Contabo Cloud VPS 4). Contabo also restructured its lineup in July 2026 into Core, Performance and Max Performance tiers; the Core tier uses SSD rather than NVMe, and the NVMe "Plus" plans start at €13.50 (Contabo announcement).

Hostinger is the beginner-friendly pick because of its template library: n8n, Docker, Coolify, Dokploy, Ollama and OpenClaw all deploy from the panel (Hostinger Ollama template, OpenClaw). The prices above require a 24-month commitment and roughly double on renewal; there is no monthly price shown on the VPS page. Every plan comes with 4 GB or more of RAM, which is a sensible floor.

Verpex sits in the middle: self-managed VPS-D plans with full root, unlimited traffic and a 99.9 percent SLA, plus managed cPanel tiers with daily backups if you would rather not run a server (Verpex VPS, managed Linux VPS). Nine locations including Frankfurt, London, Dallas and Singapore give it broader reach than Hetzner. Two things to know before ordering: the $10 price is a 12-month intro rate that renews at $19.99, and Verpex's own knowledge base states that VPS services are non-refundable, so the 30-day money-back guarantee you see on shared hosting does not apply here (Verpex money-back policy). Verpex has a GPU VPS page, but it lists no models, plans or prices and routes you to sales (Verpex GPU VPS). If the terms suit you, you can order a Verpex VPS-D4 here: Verpex VPS hosting.

HostArmada has the cheapest entry point for an agent box and sells a variant with OpenClaw preinstalled, but it is explicitly self-managed after provisioning; we covered that trade-off in detail in our HostArmada OpenClaw Hosting article. Annual billing, renewals at about 2.2 times the intro price.

Vultr and DigitalOcean are for people who want hourly billing, an API and a global footprint. For a permanently running AI tool you pay a premium for flexibility you may not use. Their real advantage in this context is GPU capacity on the same account, covered below.

When you actually need a GPU

You need a GPU when the model runs on your server. That is the local-inference row: Ollama, llama.cpp, vLLM. Everything else in this guide runs on a CPU box because the model lives at OpenAI, Anthropic, Google or OpenRouter.

Even for local models, CPU-only is possible on a fat VPS. Ollama supports it and its FAQ documents CPU-inference defaults (Ollama FAQ). The problem is speed: llama.cpp's own performance notes show the same hardware going from under 0.1 to about 9 tokens per second once layers are offloaded to a GPU (llama.cpp performance tips). A 7B model on a 4 vCPU VPS is usable for batch jobs and unusable for chat.

If you do need GPU time, hourly cloud GPUs are usually cheaper than a dedicated GPU VPS unless you run them around the clock. Verified rates on 8 September 2026:

Provider GPU Price
RunPod RTX 4090 (Community / Secure) $0.34 / $0.74 per hour
DigitalOcean RTX 4000 Ada $0.76 per hour
Lambda A10 24 GB $1.29 per hour
DigitalOcean L40S $1.57 per hour
Vultr A16 fraction, 2 GB VRAM $43 per month

Do the arithmetic before committing. An RTX 4000 Ada at $0.76 an hour is about $555 a month if it never sleeps. For most personal and small-team use, that buys a very large amount of API tokens, and the API model will be better. Local inference makes sense for data that cannot leave your infrastructure, for very high volumes, or for offline use, not as a way to save money at small scale.

Which VPS for which user

  1. Solo developer or freelancer in Europe running n8n plus one agent: Hetzner CX23 or Contabo Core 4. Cheapest, no renewal surprise, and you can rebuild it in an afternoon. If you want a control panel and one-click installs instead of SSH, Hostinger KVM 2 is the better fit despite the renewal jump.
  2. Small team that wants a US or Asian location and support that answers: Verpex VPS-D4 or D8, or HostArmada Fusion. Both are self-managed but both have 24/7 support and multiple regions. Verpex's managed cPanel tier is worth a look if nobody on the team wants to be the sysadmin.
  3. Anyone who does not want to manage a server at all: skip the VPS and look at managed agent hosting. Cloudways runs OpenClaw and Hermes on managed infrastructure from $9.99 a month, patching included; we compared what is and is not managed in our Cloudways Managed AI Agents article.
  4. Local models with real traffic: rent GPU hours on RunPod, DigitalOcean or Lambda, keep the CPU VPS for orchestration, and only move to a dedicated GPU server once utilisation is above roughly 60 percent.
  5. Experimenting for a weekend: an hourly Vultr or DigitalOcean box you destroy on Sunday costs less than a dollar. Do not sign a 24-month contract to find out whether you like a tool.

Whichever route you pick, size the server for the second container, not the first. The step-by-step setup for an agent is in our guide on how to run your own AI agent on a VPS, and if your use case is broader self-hosting, see best hosting for developers and self-hosted apps.

Buying checklist

  1. Which row of the workload table am I in, and does the plan have the RAM for it plus one more container?
  2. NVMe or SSD? Does the plan say which?
  3. What is the renewal price and the term I am committing to?
  4. Is there a setup fee, an IPv4 surcharge, or a licence add-on (cPanel, Windows) that is non-refundable?
  5. Snapshots or backups: included, paid, or absent?
  6. Location: is there a region near me and near the API endpoint I call most?
  7. Refund policy for VPS specifically, not for shared hosting.
  8. Can I scale up in place, or is an upgrade a migration?

You can filter live VPS plans by RAM, storage and price in our service comparator, browse the VPS hosting category, and check current hosting coupons before ordering. For the general question of when a VPS beats shared or cloud hosting, our shared vs VPS vs cloud comparison covers the trade-offs.

Frequently asked questions

Do I need a GPU VPS to run AI tools?

Only if the model runs on your server. n8n, OpenClaw, Hermes and most automation call a hosted model over an API, so a normal CPU VPS is all they need. A GPU is for Ollama, llama.cpp or vLLM running Llama, Gemma or Mistral locally.

How much RAM does an OpenClaw or n8n VPS need?

Four gigabytes is the practical floor for an agent runtime that also runs browser automation; 2 GB works for a lightly used n8n. Eight gigabytes is comfortable for several agents or workflows. One gigabyte plans get OOM-killed under real use.

Is the cheapest VPS good enough?

Hetzner's €5.49 CX23 and Contabo's €5.50 Core 4 are genuinely good enough for automation and API-backed agents; they are cheap because of scale and minimal support, not because they are slow. The cheapest US-style plans at $3 to $4 usually have 1 GB of RAM, which is not enough.

Why are Vultr and DigitalOcean so much more expensive for the same spec?

You are paying for hourly billing, dozens of regions, a mature API and GPU capacity on the same account. For a server that runs one AI tool permanently, that flexibility rarely pays back; for short experiments it is exactly what you want.

Should I pay for managed hosting instead?

If nobody on your team wants to patch a server, yes. Cloudways' managed agent tiers start at $9.99 a month and Verpex's managed cPanel VPS includes daily backups and security monitoring. You pay two to three times the raw VPS price for someone else to be on call.

The market in 2026 rewards people who know what they are running. If you only need an always-on orchestrator for API-backed AI tools, a 4 GB NVMe VPS from a European budget provider is the best value on the table, and the difference between providers is mostly support, location and how honest the renewal price is. The moment the model itself has to run on your hardware, stop comparing VPS plans and start comparing GPU hours instead.

About the author

Tomáš Mahrík

Tomáš Mahrík

Full stack developer with 15+ years of experience, who doesn’t just see hosting as a user, but as someone responsible for operating their own projects on a daily basis.

Stay Updated

Get the latest hosting deals, coupons, and expert tips delivered to your inbox.

Best VPS for Running AI Tools: Specs, Prices and Picks