VPSGauge

Best VPS for AI Agents (2026): Why 4 GB Is the Floor

Updated Nov 20, 2026 · by Kane · how we check

Live data the 15 prices on this page come from 9 providers' own sites, read daily. Last read Dec 4, 2026 · no price changes in our tracking.

Short answer

Get at least 4 GB of RAM. The cheapest plan we’d actually pick today is OVHcloud VPS-1 at $5.35/month on monthly billing, or RackNerd’s 4 GB special at $4.00/month billed yearly (both checked Dec 4, 2026) if you’ll keep it a year. Skip 2 GB plans if your agent drives a browser.

On this page
  1. How we picked
  2. Quick picks: the best VPS for AI agents
  3. What an AI agent actually needs
  4. The best VPS for AI agents, in detail
  5. Comparison table: 4 GB and 8 GB plans for AI agent hosting
  6. How to choose a VPS for AI agents
  7. Questions
  8. Key takeaways

This guide is about agents that call an LLM over an API and run all day: a Node or Python process, a scheduler, and often a headless browser. OpenClaw is the example people keep asking about. If you want to run a model locally, stop here. That needs a GPU, and a GPU server is a different product with a different price sheet. Nothing below applies to it.

Some links earn us a commission. Picks are ordered by price and terms, not commission.

How we picked

Plans compared
12
from 7 providers
Prices read
Dec 4
every day, from their own sites
Terms read
3of 3
picks' account rules, with sources
Ranked picks
4
each with its bill and sources

Prices are read from each provider every day (last Dec 4, 2026); account terms were checked Nov 9–11, 2026. We ranked plans on real monthly cost (minimum terms and IPv4 included), RAM per dollar, late-payment rules and sign-up friction. Community reports are linked and dated, and treated as reports, not measurements. How we check.

Quick picks: the best VPS for AI agents

Best cheap, monthly
OVH account terms not yet verified by us; mixed support reviews
Why we picked it ↓
$5.35/momonthly billingVisit
Best yearly
RackNerd 4 GB special
No refunds, US-only, deleted 7 days after due date
$4.00/mobilled yearly, renews same priceVisit
Best browser-heavy
ID or prepayment at signup, notice period, slow support reports
Why we picked it ↓
$8.64/moexcl. VAT, 3-month minimumVisit

Three plans cover most people. One if you want to test cheaply, one if you’re staying a year, one if the agent runs a browser and a database.

If you’d rather pay for tooling than hunt for the lowest price, Vultr Regular 4GB at $20.00/month (checked Dec 4, 2026) is the safe, boring choice. You pay several times the OVH price for the same RAM.

You can compare all VPS prices, or jump straight to every 4 GB plan sorted by real monthly cost.

What an AI agent actually needs

An always-on agent is a small, steady workload with sharp memory spikes. The process itself is light. The browser is not.

A February 2026 r/VPS thread on running OpenClaw 24/7 is the clearest data point we have. Replies said a 4 GB Hetzner server was enough, and warned against $5 / 2 GB plans because Puppeteer runs out of memory.

A March 2026 r/VPS thread from someone planning OpenClaw on 2-4 cores and 8 GB listed the requirements we’d repeat: yearly billing, no oversold hosts, no HDD or DDR3 hardware. Those are reasonable filters for a box that never sleeps.

Supply is tightening. An October 2026 r/VPS comment says “Many VPS hosters are overrun by people wanting to run ai agents 24/7”. Cheap plans are getting crowded, so reports of overselling matter more than they used to.

Our rules of thumb, as recommendations rather than facts:

  • 4 GB minimum. 8 GB if the agent runs a headless browser plus a database, or several agents.
  • NVMe or SSD, never HDD.
  • Start monthly, or on a cheap plan, so you can walk away.
  • Keep API keys off the server’s public ports.
  • Remember the agent is always on. A provider deleting your server over a late payment hurts more than it would on a hobby box.
HOW MUCH RAM FOR YOUR AGENT? ONE AGENT · API CALLS ONLY 4 GB the floor; 2 vCPU is fine AGENT + HEADLESS BROWSER 8 GB or 4 GB with memory limits SEVERAL AGENTS + A DATABASE 8 GB · 4 vCPU watch memory, resize up
HOW MUCH RAM FOR YOUR AGENT? ONE AGENT · API CALLS ONLY 4 GB the floor; 2 vCPU is fine AGENT + HEADLESS BROWSER 8 GB or 4 GB with memory limits SEVERAL AGENTS + A DATABASE 8 GB · 4 vCPU watch memory, resize up

The best VPS for AI agents, in detail

01OVHcloud VPS-1Best cheap pick on monthly billingVisit OVHcloud

  • You pay$5.35/mo source
  • Plan2 vCPU · 4 GB RAM · 40 GB NVMe
  • ContractMonthly, no minimum term source
  • LocationsVint Hill, VA · Hillsboro, OR
  • ID checkSometimes: Sometimes. source
  • RefundsNo refunds by default. source
  • Unpaid serverNo fixed deadline. source
  • Transparency3 of 5 checks pass what we check

OVHcloud VPS-1 gives you 2 vCPU, 4 GB RAM and 40 GB NVMe for $5.35/month on monthly billing (checked Dec 4, 2026). No annual commitment, no minimum term in what we recorded. A few smaller hosts in our data list 4 GB for slightly less, but OVH is the cheapest large provider we track at this size, with NVMe, and you can leave after a month.

For an agent that calls an API and runs a scheduler, this is enough. The 2 vCPU is fine for one Node process and a cron loop. The 40 GB NVMe is tight if you’re also storing screenshots from a browser, so plan on rotating logs and cleaning up artifacts.

The catch is on the account side. We haven’t verified OVH’s account terms yet, so we can’t tell you what ID checks or prepayment it may ask for. Community reviews of OVH support are mixed. If the agent is business-critical, budget for the possibility that a support ticket takes a while.

Buy this if you want the lowest monthly cost and the freedom to leave. Don’t buy it if you need a documented answer on account verification before you sign up.

Visit OVHcloud$5.35/mo

02RackNerd 4 GB specialBest if you’ll keep it a year$4.00/moVisit RackNerd

RackNerd’s KVM VPS Special gives you 4 vCPU, 4 GB RAM, 60 GB SSD and 10 TB transfer for $4.00/month, billed yearly (checked Dec 4, 2026), and it renews at the same price. The extra vCPUs over OVH matter if your agent runs a browser alongside its main loop.

The locations are US only: New York, LA, Dallas, Seattle. If your LLM API and your users are in the US, that’s fine. If not, latency adds up on every tool call.

Two catches, both from the terms. There are no refunds by default. And an unpaid VPS is deleted 7 days after the due date, with data unrecoverable. For an agent holding state, that’s a real risk. Put your agent’s memory and logs somewhere you can restore from, or set a payment reminder you’ll actually see.

RackNerd terms of service: services that remain unpaid are automatically terminated seven (7) days after the invoice due date, and the data is immediately and permanently removed and cannot be restored.
Miss a renewal by a week and the server and its data are gone. Source: racknerd.com/terms-of-service, captured Nov 20, 2026.

Buy this if you’ve already tested the workload and know you’ll keep it twelve months. Don’t buy it to experiment. Our RackNerd review covers the rest of the terms.

03Netcup VPS Lite 2 G12.5sBest for browser-heavy agentsVisit netcup

  • You pay$8.64/mo IPv4 included, excl. VAT source
  • Plan4 vCPU · 8 GB RAM · 160 GB SSD
  • Contract3-month minimum term source
  • LocationsNuremberg · Vienna · Amsterdam
  • ID checkNot checked by us yet
  • RefundsNot checked by us yet
  • Unpaid serverNot stated as a number of days. source

Netcup’s VPS Lite 2 gives you 4 vCPU, 8 GB RAM and 160 GB SSD for $8.64/month excl. VAT including the IPv4 option, with a 3-month minimum term (checked Dec 4, 2026). This is the pick when the agent runs Puppeteer or Playwright plus a database, or when you’re running several agents on one box.

8 GB is the number that matters here. Browser automation is where 4 GB plans die, and 160 GB of SSD gives you room for screenshots, traces and a small database without cleaning up every week.

The catches are procedural. After your first order you must verify your identity through Stripe, either a photo of your ID plus a selfie, or a prepayment. Contracts renew until cancelled with one month’s notice to the end of the month, and you can’t cancel before the minimum term ends. Community reports say support is slow. None of that is fatal, but it’s friction you should know about before you’re locked into a quarter. See Hetzner vs Netcup if you’re weighing the two German providers.

Visit netcup$8.64/mo

04Vultr Regular 4GBBest if you want hourly billing and a big-name panelVisit Vultr

  • You pay$20.00/mo source
  • Plan2 vCPU · 4 GB RAM · 80 GB SSD · 3 TB transfer
  • ContractMonthly, no minimum term source
  • LocationsNew Jersey · Chicago · Dallas · Seattle +27
  • ID checkA payment-method check at sign-up: link a card with a $0.00 deposit, or make a small deposit with another method. source
  • RefundsNo refunds by default. source
  • Unpaid serverNo fixed deadline. source
  • Transparency3 of 5 checks pass what we check

Vultr’s Regular 4GB plan is 2 vCPU, 4 GB RAM and 80 GB SSD for $20.00/month with no commitment (checked Dec 4, 2026). DigitalOcean’s Basic 4GB is the same shape at $24.00/month (checked Dec 4, 2026). Both bill by usage, so you can delete a server and stop paying. Both have polished panels and APIs, and both cost several times the OVH plan for the same RAM.

You’re paying for tooling, documentation and many regions in one panel. If you’re deploying agents for clients, or you need snapshots and an API you already know, that’s worth something. If you’re running one agent for yourself, it mostly isn’t.

The catch is obvious: same RAM, several times the price. Don’t pick this because the brand feels safer. Pick it because you’ll use the tooling. For a cheaper hourly option with more setup friction, Hetzner CPX22 is $19.49/month excl. VAT plus $0.60/month for IPv4, billed hourly (checked Dec 1, 2026), and Hetzner may ask for a government ID or a credit-card prepayment before processing your order.

Hetzner docs, IPv4 pricing table: Cloud Primary IPv4 marked at €0.50 ($0.60) monthly; floating IPv4, floating IPv6 and the free primary IPv6 dimmed.
Hetzner’s cloud prices leave out the IPv4 address; it is billed on top of the plan. Source: docs.hetzner.com, captured Nov 20, 2026.

Visit Vultr$20.00/mo

Comparison table: 4 GB and 8 GB plans for AI agent hosting

All prices in USD, checked Dec 4, 2026. “Excl. VAT” where marked.

What each plan costs a monthIPv4 included, the price you pay after any first term.
4 GB RAM
netcup VPS Lite 1 G12.5s$5.33
#1OVHcloud VPS-1$5.35
Hostinger KVM 1$11.99
#4Vultr Regular 4GB$20.00
Hetzner CPX22$20.09
DigitalOcean Basic 4GB$24.00
8 GB RAM
Contabo Cloud VPS 4$6.60
#3netcup VPS Lite 2 G12.5s$8.64
OVHcloud VPS-2$10.00
Hetzner CPX32$36.09
Vultr Regular 8GB$40.00
DigitalOcean Basic 8GB$48.00
PlanYou payBilling and catchVisit
#1OVHcloud VPS-12 vCPU / 4 GB / 40 GB NVMe
$5.35/moMonthly; cheapest monthly pickVisit
RackNerd 4 GB special4 vCPU / 4 GB / 60 GB SSD
$4.00/mobilled yearlyYearly; US only, no refunds, 7-day deletion
Netcup VPS Lite 1 G12.5s2 vCPU / 4 GB / 80 GB SSD
$5.33/moincl. $0.54 IPv4, excl. VAT, 6-month minimum6-month minimum; ID or prepayment at signupVisit
Hostinger KVM 11 vCPU / 4 GB / 50 GB NVMe
$11.99/mo$6.49 first 2 yr, excl. VAT, 24-month minimum24-month commitment; 1 vCPU onlyVisit
#4Vultr Regular 4GB2 vCPU / 4 GB / 80 GB SSD
$20.00/moNone; hourly billing, big panelVisit
Hetzner CPX222 vCPU / 4 GB / 80 GB NVMe
$20.09/moincl. $0.60 IPv4, excl. VATHourly; ID or prepayment may be requestedVisit
DigitalOcean Basic 4GB2 vCPU / 4 GB / 80 GB SSD
$24.00/moNone; hourly billing, big panelVisit
Contabo Cloud VPS 44 vCPU / 8 GB / 100 GB SSD
$6.60/moexcl. VAT, +$2.40 setup1 month; mixed community reports on CPU steal and outagesVisit
#3Netcup VPS Lite 2 G12.5s4 vCPU / 8 GB / 160 GB SSD
$8.64/moincl. $0.54 IPv4, excl. VAT, 3-month minimum3-month minimum; best browser-heavy pickVisit
OVHcloud VPS-24 vCPU / 8 GB / 75 GB NVMe
$10.00/moMonthly; step up if 4 GB OOMsVisit
RackNerd 8 GB special6 vCPU / 8 GB / 140 GB SSD
$7.92/mobilled yearlyYearly; US only, same deletion terms
Hetzner CPX324 vCPU / 8 GB / 160 GB NVMe
$36.09/moincl. $0.60 IPv4, excl. VATHourly; ID or prepayment may be requestedVisit
Vultr Regular 8GB4 vCPU / 8 GB / 160 GB SSD
$40.00/moNone; hourly billingVisit
DigitalOcean Basic 8GB4 vCPU / 8 GB / 160 GB SSD
$48.00/moNone; hourly billingVisit

Two rows deserve a note. Hostinger KVM 1 is cheap on paper but gives you 1 vCPU and a 24-month commitment, and the $6.49 is a first-term price: it renews at $11.99/month. Budget on the renewal price before you commit two years. The renewal line sits under the order button on Hostinger’s own card:

Hostinger VPS page, KVM 1 card: $5.19 a month with a referral code applied, struck-through $19.49; the line “Today you pay $124.56 for 24 months. Renews at $11.99/mo for the same term” is marked.
KVM 1 renews at $11.99/mo after the 24-month first term; the $5.19 headline price shown that day included a referral discount. Source: hostinger.com/vps-hosting, captured Nov 20, 2026.

Contabo Cloud VPS 4 is the cheapest 8 GB plan we’ve logged, with a $2.40 setup fee on monthly billing, but community reports on Contabo are mixed, with CPU steal and outages reported on r/VPS in 2026. Cheap 8 GB with noisy neighbors is not a good home for a browser agent.

How to choose a VPS for AI agents

Start with the workload, not the price. One agent calling an API needs 4 GB. An agent driving a browser needs 8 GB, or 4 GB and a willingness to tune memory limits and restart on OOM. Several agents plus a database needs 8 GB and 4 vCPU. Write that number down before you shop.

One r/VPS user who ended up running a handful of agents around the clock on a 4 GB Vultr server described the result (their report, not our test):

Current setup: Vultr, 2 vCPU, 4GB RAM, 80GB disk, $20/month. It’s swapping like crazy and the disk is over half full.

r/VPS · Nov 2026 · Outgrew my Vultr box running AI agents, where should I move? (US West Coast)

Then decide your term. Monthly billing costs more per month but lets you leave. Yearly billing is cheaper but locks you in, and the refund terms are usually bad. RackNerd has no refunds by default. Netcup won’t let you cancel before the minimum term ends. If you haven’t run this agent for a week yet, pay monthly.

WHICH BILLING TERM? RUN THIS AGENT for a week already? NO YES PAY MONTHLY costs more, but you can leave YEARLY CAN PAY OFF read refund + late-payment rules first
WHICH BILLING TERM? RUN THIS AGENT for a week already? NO PAY MONTHLY costs more, but you can leave YES YEARLY CAN PAY OFF read the refund rules first

Common mistakes

  • Buying 2 GB because the agent “only calls an API.” It works until the first browser task, then OOMs.
  • Ignoring the renewal price. Hostinger’s KVM 1 is $6.49/month for the first term and renews at $11.99, and introductory pricing is common across the market.
  • Forgetting the IPv4 fee. Hetzner’s CPX22 is $19.49/month plus $0.60/month for IPv4.
  • Treating a yearly plan as a test environment. A 7-day deletion policy on an unpaid invoice is not a safety net.
  • Leaving API keys on a public port. The agent runs 24/7, so an exposed key is exposed for a long time.
  • Assuming the provider will warn you. Read the terms before you need them. Our provider terms comparison covers the account rules we’ve checked.

Once the box is up, spend half an hour on securing a new VPS before you deploy anything with credentials. If you’re shopping in November, the Black Friday watch list tracks the deals worth waiting for.

Questions

How much RAM does an AI agent need?

At least 4 GB for a single agent that calls an LLM over an API, and 8 GB if it also runs a headless browser plus a database or several agents. A February 2026 r/VPS thread on running OpenClaw 24/7 reported that a 4 GB Hetzner server was enough for the basic case.

Can I run OpenClaw on a 2 GB VPS?

Probably not reliably, and not if the agent drives a browser. The same r/VPS thread warned against $5 / 2 GB plans because Puppeteer runs out of memory. A 2 GB box can run the process, but the first browser task is where it breaks.

Do I need a GPU VPS for AI agents?

No, not for agents that call an LLM over an API. A GPU is only needed if you’re running the model locally, which is a different product and a different price range. Everything in this guide assumes the model runs elsewhere.

Which VPS location is best for an AI agent?

The one closest to the APIs your agent calls and the users it serves. RackNerd’s 4 GB special is US only (NY, LA, Dallas, Seattle). OVHcloud, Netcup, Hetzner, Vultr and DigitalOcean offer more regions. We haven’t benchmarked latency between them.

Is a free VPS (Oracle free tier) good enough?

Don’t rely on it for an always-on agent. Oracle’s Always Free Arm (A1) allowance is 2 OCPU and 12 GB of RAM, per Oracle’s Always Free documentation (checked Dec 4, 2026). But community reports say Oracle can reclaim idle free instances. An agent that gets reclaimed mid-run is worse than one you pay $5.35 a month for.

Key takeaways

  1. 4 GB is the floor for the best VPS for AI agents; 8 GB if a headless browser is involved.
  2. OVHcloud VPS-1 at $5.35/month is the cheapest plan we’d pick today, with no long contract.
  3. RackNerd’s 4 GB special at $4.00/month, billed yearly, renews at the same price, but has no refunds and deletes unpaid servers after 7 days.
  4. Netcup’s 8 GB VPS Lite 2 at $8.64/month excl. VAT is the pick for browser-heavy agents, with ID verification and a 3-month minimum.
  5. Vultr and DigitalOcean cost several times more for the same RAM. Pay that only if you’ll use the tooling.
Everything in this topic 5 more pages
  1. Install OpenClawHow to install OpenClaw on an Ubuntu 24.04 VPS: the official installer, onboarding, a service that survives reboots, Telegram, and a dashboard only you reach.
  2. VPS for n8nPicking a VPS for n8n? n8n's docs say 2 GB covers most use, 4 GB with Assistant. See four plans sized to that, with the real monthly cost and each catch.
  3. VPS for OpenClawOpenClaw needs 2 GB to relay chats and 4 GB to drive a browser. Four VPS plans sized from the official docs, with real monthly cost and the catch of each.
  4. Self-host n8nSelf host n8n on Ubuntu 24.04: Docker Compose, Caddy HTTPS, the encryption key, webhook URL, owner account, updates and volume backups, with real RAM needs.
  5. Self-hosted AIBuild a self hosted AI platform on an Ubuntu 24.04 VPS with Ollama, Open WebUI and Caddy HTTPS. Compare 7 tools, check real RAM needs, and deploy in 6 steps.