When should you self-host n8n for clients?
Self-host when the client needs data to stay on their own infrastructure, when execution volume would blow past Cloud pricing, or when the agent needs custom npm packages or code the Cloud sandbox won't run. These are real constraints, not preferences. If any one of them is a hard requirement, Cloud is off the table.
Data residency is the most common trigger. Healthcare, legal, and finance clients often can't send workflow data through a third-party host, or they have a compliance officer who says no. Self-hosting on the client's own cloud account (their AWS, their Hetzner, their region) keeps the data where their contracts require. This is where a lot of higher-paying AI agent development jobs live, because the constraint filters out freelancers who only know Cloud.
Volume is the second trigger. An agent doing tens of thousands of executions a month gets expensive on Cloud fast. At 40,000 executions you're looking at the $800 Business tier, versus a self-hosted box handling the same load for the cost of the server. The math flips hard past a certain scale.
The third trigger is code. n8n Cloud runs the Code node in a restricted sandbox. If the agent needs a specific npm library, shell access, or a long-running process, you need self-hosted. This shows up a lot in agent work that touches internal tools or unusual APIs.
If you do self-host for a client, do it on their infrastructure, not yours, and charge for the setup and the ongoing management. Never run a client's production workflow on a personal server you're maintaining for free. That's how you end up doing unpaid ops work for years.
How do you bill hosting on client work?
There are three clean ways to handle billing when you're hosting n8n for client work. Pick one and put it in writing.
- Pass Cloud through at cost. The client subscribes to n8n Cloud on their own card and you never touch the hosting bill. You quote the workflow as a fixed project and walk away with an optional maintenance retainer.
- Managed self-hosted on a retainer. You run n8n on the client's infrastructure and fold the setup and upkeep into a flat monthly fee. This is the model that pays best over time.
- Setup fee plus maintenance. A one-time charge for the server config, database, backups, and SSL, then a smaller monthly fee for monitoring and changes.
The retainer model is the best for your income. It turns a one-off build into recurring revenue, and the management fee is where self-hosting pays off for you, not the client. The trap to avoid is quoting a self-hosted build with no ongoing fee, because then you're on the hook for maintenance forever with nothing coming in.
Freelancers on n8n work command solid rates. Our June 2026 rates report breaks down what automation builders are actually charging, and hosting management is one of the cleaner ways to add recurring line items on top of project fees. For pricing the build itself, see how to price AI agent development projects.
Whatever you pick, write the hosting arrangement into the contract. Who owns the account. Who pays the bill. What happens to the workflows if the client stops paying you. Vague hosting terms cause more freelancer disputes than the actual build ever does.
What about reliability and handoff?
Cloud is more reliable out of the box because n8n handles the infrastructure, but self-hosted can match it if you set up PostgreSQL, backups, and error handling correctly. The reliability gap is real for a default self-hosted install. It mostly disappears with a proper production config. The handoff is where most client builds actually fail, regardless of hosting.
A self-hosted n8n running on SQLite with no backups is a time bomb. Move to PostgreSQL, set automated backups, and add a queue mode if the client has real volume. Skip that and the first server reboot can corrupt the database. Cloud gives you all of this by default, which is a chunk of what the $24/mo actually buys.
Regardless of where it runs, build workflows that fail loudly and recover cleanly. That means retries, error branches, and alerts the client actually sees. We cover this in depth in building client-ready n8n workflows. A reliable workflow on a cheap server beats a fragile one on premium infrastructure every time.
If you're still learning the build side, start with our step-by-step guide to building an AI agent in n8n, then come back to the hosting decision once you know what the workflow actually needs.
The verdict
Default to n8n Cloud for client work. It ships faster, the client owns the billing, and you're not the one holding the pager at 2am. Self-host only when a hard constraint forces it: data residency, high volume, or custom code. And when you do self-host, run it on the client's infrastructure and charge for the management. The freelancers who lose money on n8n are the ones self-hosting on a personal server to save the client $20 a month, then eating years of unpaid ops work. Don't be that person.
Want to find the clients who need this work? DevSnipe aggregates AI Agent Development jobs across 5 platforms, with 425 roles posted in the last 30 days alone. Browse the current openings on the AI agent development jobs board and filter for the n8n builds that fit how you want to host.
Frequently Asked Questions
Is n8n self-hosted really free?
The software is free and source-available under n8n's fair-code Sustainable Use License (the Community Edition has no execution limit), but running it isn't. You pay for a server, and a production-grade setup with PostgreSQL and backups runs about $24-30/mo on a provider like Hetzner. The bigger cost is your time maintaining it. Note that fair-code lets you run it for a client's internal use but not resell it as a hosted product.
Can I run a client's n8n workflow on my own server?
You can, but you shouldn't for production. If it runs on your personal server, you own the uptime forever and you're doing free ops work. Self-host on the client's own infrastructure and charge a management fee, or put them on n8n Cloud so they own the account.
How many executions do AI agents use on n8n Cloud?
One workflow run counts as one execution regardless of node count, but agents that loop through tool calls still run frequently. A chatbot handling 100 conversations a day is roughly 3,000 executions a month, which already exceeds the $24 Starter plan's 2,500 cap. Estimate volume before you pick a tier.
Which is better for data-sensitive clients?
Self-hosted, every time. Clients in healthcare, legal, or finance often can't route data through a third-party host. Running n8n on their own cloud account keeps the data in their region and under their compliance rules, which is exactly what those contracts require.
Does self-hosting n8n hurt reliability?
A default install on SQLite with no backups is fragile. A proper production setup with PostgreSQL, automated backups, and error handling matches Cloud reliability closely. The gap is about configuration, not the hosting model itself.
Should I charge clients for n8n hosting setup?
Yes. Charge a setup fee for self-hosted configuration (server, database, backups, SSL) and a monthly management fee on top. For Cloud, have the client pay n8n directly and offer a small maintenance retainer. Never fold hosting labor into a build price for free.