Transparency note: Some links in this article are affiliate links. If you sign up through them, AgentStack may earn a commission at no extra cost to you. We only recommend tools we evaluate rigorously.
Quick Verdict (TL;DR)
Best flat-rate production host: A 2 vCPU / 8 GB RAM KVM VPS such as Hostinger VPS (KVM 2 around $8.79/mo promo, or KVM 1 at ~$6.49/mo) runs n8n, PostgreSQL 16, and Caddy with zero per-execution fees .
Skip SQLite in production: Switching n8n's backend to PostgreSQL 16 takes ten lines of YAML and prevents database lock errors when parallel AI agent webhooks fire.
When NOT to self-host: If you never want to touch SSH, OS security patches, or backups, use n8n Cloud (€20–€24/mo) or deploy a managed container on Railway (expect $15–$45/mo for 24/7 always-on compute).
Most developers start automating AI agents with cloud plans and hit a wall once multi-step LLM chains run every few minutes.…