How Much Does It Cost to Self-Host n8n?

Real cost of self-hosting n8n in 2026: the workflow automation tool on a VPS vs cloud, with hardware, RAM, backups and a full monthly breakdown.

What running your own n8n automation server actually costs in 2026: hardware required, RAM profile, backups and the honest comparison vs n8n Cloud.

The short answer

$6–10/month on a Hetzner VPS comfortably runs n8n for a solo automation setup (a few thousand executions a day). Heavy use with long workflows or many queues doubles that.

Why self-hosting n8n at all

n8n is the open-source Zapier alternative: node-based workflow automation with 400+ integrations, AI nodes and a UI that non-developers understand. Self-hosting removes per-execution pricing entirely — you pay for the box, not the runs.

Hardware requirements (real-world 2026 profile)

n8n is a Node.js app + optional Postgres + optional Redis. The official docker image defaults to SQLite, which is fine for solo use:

Workload CPU RAM Disk Verdict
Solo / few workflows 1 vCPU 1 GB 10 GB Works, tight
Active solo (10+ workflows) 1 vCPU 2 GB 20 GB Comfortable
Team / heavy automation 2 vCPU 4 GB 40 GB Recommended
High-frequency (100k+ runs/mo) 2 vCPU 8 GB 40 GB + volume Get Postgres + Redis out of Docker defaults

The heaviest consumers: error retries, queue mode (Redis) and AI agent nodes (which hold LLM context in memory during execution).

VPS pricing (verified 2026-11-06)

The box this guide was originally built on, Hetzner’s CX22, is no longer in their catalogue — CX22 and CX32 were replaced, and their pricing page served no prices at all when I checked on 2026-11-06. Rather than quote numbers I could not read, the table below uses OVHcloud’s public catalogue, which does expose them:

Box Spec Price
VPS-1 2 vCores / 4 GB / 40 GB NVMe €4.49
VPS-2 4 vCores / 8 GB / 75 GB NVMe €8.49

Both include a daily backup and unmetered traffic, so the backup line that usually hides in these comparisons is zero here. The VPS-1 is the comfortable spot — n8n in queue mode runs on 4 GB without swapping.

The full monthly cost

Item Monthly cost
OVHcloud VPS-1 €4.49
IPv4 included
Daily backup included
Domain (n8n.yourdomain) ~€0.30 (amortized)
TLS (Caddy, auto) $0
Backups (restic → B2, 10 GB) €0.60
Uptime monitoring (Uptime Kuma same box) $0
Email notifications (Resend free tier) $0
Total ≈ €5.40/month

Add user-level Postgres + Redis if you scale past solo: they run on the same box at €0 extra until 4 GB RAM is tight.

Self-hosted vs n8n Cloud (verified 2026-11-06)

Self-hosted n8n Cloud
Base price €5.40/mo €20/mo Starter, billed annually (2.5k executions)
Executions Unlimited (your box) 2.5k Starter / 10k Pro (€50) / 40k Business (€667)
Workers/queue DIY Managed
Updates Docker pull Automatic
Support Community Priority (higher tiers)
Data control Complete Vendor

Cloud’s cheapest tier costs 3.7x the entire self-hosted stack and caps you at 2.5k executions a month. A modest automation habit of 10k executions lands on Pro at €50 — nine times the VPS — and Business, which is self-hosted only, starts at €667. Past 10k executions a month on hosted, check their overage terms before assuming the price holds.

The honest costs people miss

  • Database choice: SQLite works solo; migrating to Postgres later is a 1-hour operation (docker compose swap), not a crisis.
  • Worker memory: queue mode + many parallel branches can OOM a 2 GB box — monitor docker stats during peak.
  • Executions that call LLM/APIs: the n8n box is cheap, but executions that call OpenAI or paid integrations still cost whatever the target API charges. That’s not n8n’s fault — budget it separately.

Production checklist

  • Offsite restic backup weekly (+ test restore)
  • Caddy TLS in front of port 5678
  • Auth: login required (n8n env N8N_BASIC_AUTH_ACTIVE=true)
  • Daily docker compose pull for security updates
  • Log rotation for execution logs

Common problems

  • SQLite lock contention: multiple executions writing at once block each other — move to Postgres at 1k+ executions/day.
  • Forgotten webhook URLs: if n8n faces the internet, put it behind a subdomain with login; webhooks are public by design.
  • OOM during big loops: limit N8N_CONCURRENCY or split workflows.

Our recommendation

n8n on a €4.49 VPS: €5.40/month for unlimited executions. Start with SQLite, add Postgres at real scale, and only look at Cloud if your time to maintain it exceeds €20/month of value.

Related guides