Best VPS for AI agents.

prices as of · Contabo as of · re-ranked daily · 295 qualifying plans

Agent frameworks are RAM-hungry and bursty: headless browsers, tool sandboxes, vector stores and queues all run alongside the orchestrator, while the LLM calls themselves go out to APIs. We only include plans with 4 GB+ RAM, 2+ vCPU and a disk included in the price. Today 295 of the 524 plans qualify, and the top pick costs $5.93/mo. They're ranked by how much of the hardware this workload relies on you get for each dollar.

The plan to start with is HOSTKEY vm.mini · 4 vCPU · 6 GB at $5.93/mo, 4 vCPU and 6 GB of RAM, picked from 295 plans that clear the minimums, checked 16 Sept 2026.

What actually matters here

RAM first
A single headless Chromium for a browser-using agent takes 0.5 to 1 GB. Add a vector store, a queue and the runtime, and 4 GB is the realistic floor, with 8 GB comfortable.
Dedicated vCPU helps
Agent workloads are bursty (tool calls, parsing, embeddings). On shared cores a noisy neighbor turns tail latencies into timeouts mid-run.
NVMe for local stores
SQLite, Chroma or pgvector on fast disk keeps retrieval snappy. Inference happens at your API provider, so you don't need a GPU.
Bandwidth rarely the bottleneck
Token streams are small. Unless agents move large files, any plan's allowance is fine.

One-click stacks for this workload

Everything below runs on any VPS if you set it up yourself. These providers also offer it as a one-click install in their official catalog (verified 20 Jul 2026).

Docker
one-click on Hetzner, Vultr, DigitalOcean, Linode, OVHcloud, Scaleway, Contabo, Hostinger, IONOS
n8n
one-click on DigitalOcean, OVHcloud, Contabo, Hostinger, IONOS
PostgreSQL
one-click on DigitalOcean, Linode, Hostinger
Node.js
one-click on Vultr, DigitalOcean, Linode, AWS Lightsail, Hostinger

Full stack-support matrix →

Frequently asked

What is the cheapest VPS that qualifies for AI agents?
OVHcloud VPS-1 2027 · 2 vCPU / 4 GB · EU at $5.18/mo (excl. VAT) meets the minimum requirements as of 16 Sept 2026.
How are these requirements chosen?
The minimums (4 GB RAM, 2 vCPU) reflect what the workload actually stresses, as explained under "what matters", and the ranking weights those dimensions rather than raw price.
How fresh is this list?
Prices are re-fetched from all 26 providers daily and this ranking recomputes automatically. Last refresh: 16 Sept 2026.
RelatedBest VPS for CI runnersBest VPS for databasesCheapest VPS with 8 GB RAMBest dedicated-CPU VPS