Skip to content

n8n Hosting Cost: What Drives It and How to Estimate

n8n hosting cost depends on your workflows, your reliability needs and who does the maintenance. Here are the drivers and a worksheet, with no made-up numbers.

The cost of hosting n8n depends on four things: how many workflows run and how heavy they are, how reliable the setup must be, whether you pay a vendor or run it yourself, and how much staff time maintenance takes. We do not quote prices here, because they change and because a number without your workload is misleading. Instead, this article gives you the drivers and a worksheet to price your own case.

Choosing between managed and self-managed comes first, and the drivers below apply to both.

Two cost models

n8n Cloud is billed by plan. Plan names, included usage and limits are set by n8n, so check the n8n pricing page, which n8n's own documentation calls the source of truth for what each plan and edition includes.

Self-hosted n8n has no plan fee for the free Community edition, but you pay for the pieces around it. Paid self-hosted editions (Business and Enterprise) are unlocked with a licence key, so a business may add a licence cost on top of infrastructure.

Neither model is cheaper in general. Which one costs less depends on your workload and how you value maintenance time.

The cost drivers for self-hosting

Compute

The main process, and in larger setups the worker processes, need CPU and memory. Workflows that handle large payloads, loop over many items or run in parallel need more than small ones. Memory is a common limit, and a workflow that processes a large file can use a lot of it.

Database

By default n8n uses SQLite, and its documentation lists PostgreSQL as the other supported option. Queue mode, which is used to scale, should run on PostgreSQL, because n8n states that a distributed setup over SQLite is not supported. A managed PostgreSQL service costs more than a database on the same server and reduces your backup and upgrade work.

Execution data and storage

n8n stores execution history. In the executions settings, pruning is controlled by EXECUTIONS_DATA_PRUNE and EXECUTIONS_DATA_MAX_AGE (the docs list pruning as on by default, with a maximum age in hours), and you can limit what is saved with EXECUTIONS_DATA_SAVE_ON_SUCCESS and EXECUTIONS_DATA_SAVE_ON_ERROR. Saving everything for a long time grows the database and the backups. Saving less lowers storage cost but gives you less to debug with.

Redis and workers

Queue mode adds Redis as a message broker plus one or more worker processes, and n8n documents that both Redis and the database must be reachable. That means more services to run, monitor and pay for. Only add it when a single instance can no longer keep up.

Network, domain and TLS

You need a domain, HTTPS certificates and usually a reverse proxy. Webhooks must be reachable from the internet, so the public endpoint has to be stable.

Backups

Back up the database and the encryption key. Offsite storage and tested restores have a cost in storage and in time. Skipping them is cheaper until the day it is not.

Monitoring and alerting

Uptime checks, log storage and alerts for failed executions cost money or time. A silent failure in an automation can be more expensive than the server.

Maintenance time

Updates, security patches, incident response and answering questions about broken workflows take human time. This is the line most often missing from comparisons.

The cost drivers for Cloud

  • The plan tier and its included usage
  • Whether your volume fits inside the plan or pushes you into a higher one
  • Limits on features you rely on, which can differ between plans, so check the pricing page
  • Your own time building and maintaining workflows, which exists in both models

Hidden costs on both sides

External service costs. Many workflows call paid APIs, such as email senders, AI models or CRMs. These can exceed hosting. If you add AI steps, see How Much Does an AI Agent Cost? for what drives that spend.

Failed and retried executions. Retries that call a paid API repeat the cost.

Migration. Moving between Cloud and self-hosted needs time to re-create credentials, update webhook URLs and test.

Security work. Self-hosting makes you responsible for patching, access control and secrets handling.

Worksheet to estimate your own total

Fill this in with your own numbers, then add them up per month.

  1. Compute: the server or container cost for the main process and each worker.
  2. Database: managed service or the share of a server it uses.
  3. Redis, if you use queue mode.
  4. Storage and backups: database growth, offsite copies.
  5. Domain, TLS and any proxy or load balancer.
  6. Monitoring and logging tools.
  7. Licence or Cloud plan fee, if any.
  8. Staff time: hours per month for updates and incidents, multiplied by your hourly cost.
  9. External API costs that the workflows trigger.

Compare the total for self-hosting against the Cloud plan that would cover the same usage. Only compare complete totals.

Worked example, without figures

A team runs forty simple workflows that trigger a few times an hour and send messages. A single small instance with PostgreSQL, daily backups and pruning is likely enough, and the dominant cost is probably the person who maintains it. Cloud may be cheaper here because it removes that time.

A second team runs heavy, bursty jobs that process large files and must stay up during business hours. They need queue mode, a managed database and monitoring. Infrastructure cost rises with each part, yet staying on one instance risks failures. The right comparison for them includes the cost of downtime.

Ways to keep cost down without cutting corners

  • Prune execution data and save only what you need for debugging.
  • Start with one instance and add workers only when measurements show a need.
  • Fix inefficient workflows before buying more capacity.
  • Set alerts so retries do not silently multiply paid API calls.
  • Review usage regularly and adjust the plan or server size.

How we work with this at LaunchSprintAI

We design automations with cost drivers in view, so the workflow, not only the server, is efficient. AI tools assist engineers, and engineers review the workflow design and the configuration. If you would rather not run the server, our hosting offer covers n8n, see Managed n8n hosting. The guidance here stays product-neutral. If a workflow is part of a larger product, Managed Hosting vs VPS explains the wider tradeoff.

See our AI development page or start a project brief to talk through an automation.

Frequently asked questions

Can I run n8n on a very small server? For light use it may work. Measure memory and execution time with your real workflows before deciding.

Does queue mode lower cost? It raises capacity, and it adds services to pay for. Use it when a single instance is not enough.

Is n8n free to self-host? Without a licence key n8n runs as the free Community edition, but infrastructure and maintenance time are real costs, and n8n's licence terms apply. Read n8n's current terms.

Related reading

Related services

Also on LaunchSprintAI

Our hosting

Built your app with AI? Get it online.

MoodLensAI runs apps made with Claude Code, Codex or Cursor, plus n8n, WordPress and Laravel, on a managed server with HTTPS, backups and monitoring. Fixed monthly plans, no server administration.