Cheapest cloud VPS and hosting for AI agents

Most agents need a small always-on process, a cron or webhook endpoint, and a database. A $5/month VPS gives full control; a platform free tier removes server work but adds limits. The table puts both side by side with the prices and limits we verified.

Prices verified on vendor pages for 9 of 9 providers below; the rest are marked unknown. Always confirm at checkout. Order: vendor discounts, then free tiers, then standard signups, A–Z. Affiliate status does not affect order.

Comparison table

ProviderOfferPublished pricing (verified)Free option
CloudflareFree tierWorkers Free: 100,000 requests/day; 10 ms CPU time per invocation; no card required to startYes
Fly.ioFree tierNew orgs: free trial up to 2 hours Machine runtime or 7 days (whichever first); no card to start; no ongoing free tier after trialYes
GitHubFree tierGitHub Free personal accounts: 120 hrs compute + 15 GB-month storage/mo included for CodespacesYes
RailwayFree tier$5 one-time trial (30 days), then Free plan $1 credit/mo (no rollover)Yes
RenderFree tierFree compute plans for web services, Key Value, and Postgres (limits apply); Hobby workspace $0/mo + compute; static sites always freeYes
VercelFree tierHobby $0/mo for personal/non-commercial use; usage caps (cannot buy overages on Hobby)Yes
99Stack CloudStandard signupExamples (per 99stack.com product pages): SSD VPS Shared Small 1 vCPU/512 MB/10 GiB from $0.0068/hr ($5/mo); NVIDIA H100 (12 vCPU/240 GB RAM) $2.8767/hr ($2,100/mo).Not verified
SoftShellWebStandard signupStore prices (USD/mo): EU KVM VPS from $5 (1 core/1GB/20GB) to $98 (8 core/32GB); USA KVM SSD VPS from $5 (1GB) to $160 (32GB); Shared Basic $5 (20GB, 10 domains) (per softshellweb.com/client/store).Not verified
xCloudStandard signupPricing per xcloud.host/pricing: managed hosting (they provision, patch and run the server; WordPress, Node.js, Laravel, Docker, Next.js) from $5/mo, sized by memory (e.g. Cloudflare Enterprise CDN $5/domain/mo, Mail Delivery $3/mo for 3,000 emails with a 100/mo free tier).Yes

Pros and cons

Derived only from facts on the vendor pages we checked.

Cloudflare

Pros:

Cons:

Fly.io

Pros:

Cons:

GitHub

Pros:

Cons:

Railway

Pros:

Cons:

Render

Pros:

Cons:

Vercel

Pros:

Cons:

99Stack Cloud

Pros:

Cons:

SoftShellWeb

Pros:

Cons:

xCloud

Pros:

Cons:

How to choose

FAQ

What is the cheapest way to host an AI agent?

For light request/response agents, a free serverless tier. For always-on agents, the cheapest verified VPS plans in the table start around the prices shown.

Can I run a headless browser on a $5 VPS?

Often only one at a time, and memory is tight. A hosted browser API may be cheaper than a larger VPS.

Related

Categories: Hosting category hub · Compute category hub

Other comparisons: Cheapest residential proxies compared · Rotating proxies for web scraping compared · Cheap GPU rental and GPU cloud deals · H100 rental price comparison · Email verification APIs compared · Cold email deliverability and inbox warmup tools · Transactional email API pricing · SERP and search APIs compared · Screenshot APIs and headless browser APIs compared · AI SEO writing and optimization tools compared · Web scraping API deals