A small Node.js application can cost less to run than the database it needs. That makes the app price a poor guide to the whole bill, especially when a free database expires or an introductory hosting rate requires several years of payment in advance.
Start with the cost of one running API and one place to keep its data. Render offers a clear paid app-and-Postgres starting point, while Hostinger bundles managed MySQL with its Node plans. Railway charges for the resources both services consume. The other hosts price those two services in different ways. With some, you also do more of the work to keep the database running.
These US-dollar prices were checked in October 2026. They leave out tax, domain renewals and extras you can choose to add. The smallest plan gives you a starting price. You still need to check whether it has enough room to run your app.
|
Provider |
Application charge |
Database charge or inclusion |
Commitment or ongoing cost |
|---|---|---|---|
|
Render |
Paid web compute from $7/month |
Paid Postgres from $6/month |
$13/month base; MySQL requires a different setup |
|
Hostinger |
Unlimited at $3.49/month equivalent |
Managed MySQL included |
$167.52 prepaid for 48 months; renews at $16.99/month equivalent |
|
Railway |
Hobby has a $5 monthly minimum with $5 usage |
Database consumes the same usage budget |
Resources above the included credit cost extra |
|
DigitalOcean App Platform |
Fixed shared container from $5/month |
Managed MySQL compute from $15.15/month, plus storage |
$20.15/month before database storage and extras |
|
GreenGeeks |
Pro at $4.95/month equivalent |
MariaDB included |
$59.40 for 12 months; annualized renewal $227.40 |
|
Fly.io |
Displayed 256 MB Machine example $2.19/month |
Separate Machine and volume, or managed Postgres |
Region, running time and storage affect the bill |
|
Hosting.com |
Standard Pro at $3.79/month equivalent |
MySQL/MariaDB support included |
$181.93 prepaid for 4 years; annualized renewal $239.88 |
|
Heroku |
Always-on Basic dyno $7/month |
Essential-0 Postgres $5/month |
$12/month base before add-ons |
|
Sevalla |
S1 application $10/month |
Database 1 $5/month |
$15/month base, plus builds and public bandwidth |
How Much Does It Cost to Build a Web Application
Relevant for application infrastructure, development budgets and overall application costs.
1. Render: A clear paid starting point with Postgres
Render is fairly easy to price if your app can use PostgreSQL. Its smallest paid web instance costs $7 a month, and paid Postgres starts at $6. The two cost $13 a month on the $0 Hobby workspace. That is before extra storage, data transfer or other services. If you choose a paid Pro workspace, add $25 a month plus compute to your budget.
The $7 web instance has 512 MB of memory and less than 1 CPU. If you need 1 CPU and 2 GB, the app alone costs $25 a month. Check how much the API needs both when it starts and while people use it. The smallest plan may not be large enough to keep it running.
The free plans have limits to account for too. A free web service sleeps after 15 minutes without traffic, and a free Postgres database expires after 30 days. Free web services also cannot attach persistent disks. You can use the free pair to try the service. Before you rely on it, budget for a paid place to keep the data.
MySQL changes the comparison. Render's MySQL route uses a Docker private service and persistent disk, with separate compute and storage charges. You also need to set up tools to back up the database. If you need managed MySQL, you cannot use the $13 Postgres total as your price.
2. Hostinger includes the database in a long prepaid term
Hostinger hosts your Node.js app and manages its MySQL database in the same plan. Unlimited costs $3.49 a month if you pay $167.52 for 48 months up front. That works out to $41.88 for the first 12 months of service. You still have to pay for all 48 months to get that rate.
When that term ends, the rate is $16.99 a month for the same term. That works out to $203.88 a year. Use this rate to compare the cost with a cloud host once the first deal ends. Also keep track of how many years you must pay for at once.
You can send your code through GitHub, an IDE or a ZIP upload. You can also restore the app and its database through Hostinger. You do not need to buy a second database service for those tools.
Price Cloud Startup too if your app needs more room. It costs $7.99 a month equivalent with $383.52 prepaid for 48 months, then renews at $25.99 a month equivalent. That plan lists 10 web apps, 4 CPU cores and 4 GB RAM. Compare it with Unlimited before you pay for the full term, especially if you plan to run more than one app on the account.
3. Railway bills the application and database by use
Railway charges at least $5 a month for Hobby, with $5 of use included. Both your app and your MySQL service use that credit. You do not pay a $5 fee on top of your first $5 of use. You do pay more if the two services use more than the credit covers.
Start with the memory charge to see how the bill adds up. At $0.00000386 per GB-second, keeping 1 GB allocated for a 30-day month costs about $10 before CPU, storage and transfer. You could split that 1 GB between services. The bill counts the memory they use in total. You pay $0.00000772 per vCPU-second for CPU use. Volumes cost $0.00000006 per GB-second, and data sent out of a service costs $0.05 per GB.
An API may get few requests while its database still uses memory. A low request count will not tell you the whole cost. Once the app is running, watch what both services use and compare the total with your credit.
Railway's MySQL template sets up a single node, which Railway maintains. You still need to check the backup settings and how to restore data to a given point in time. You also need to choose how to keep the service available if a node fails. Hobby also limits volume capacity to 5 GB and is intended for a single developer. Pro raises the minimum to $20 with $20 of included usage and unlimited workspace seats, so a team needs to allow for that cost.
4. DigitalOcean App Platform separates app and MySQL costs
Start with DigitalOcean's $5 App Platform container when pricing the app. You get 512 MiB of memory and a fixed share of CPU, with 50 GiB of data transfer out. This size lets you run one instance. It cannot add more instances on its own as demand grows.
You buy managed MySQL through DigitalOcean's separate database service. Its smallest listed compute size costs $15.15 a month for 1 GiB of memory and 1 vCPU. You choose how much database storage to add. It costs $0.215 per GiB-month within the listed range. The app and database compute cost $20.15 together, before storage or other extras.
The total is higher than the price for the app alone, though you get help running both services. App Platform handles builds, deployment and operating-system patches, while Managed MySQL supplies the separate database service. You can deploy from a code repository or a container image.
Two cheaper-looking options do not replace this combination. DigitalOcean's free App Platform tier serves static sites, and its $7 development database uses PostgreSQL. Neither gives you a cheaper way to run a live Node app with MySQL. Outbound use above the app's allowance adds $0.02 per GiB, so budget for data transfer even if the app fits on the first plan.
How to Reduce Software Development Costs
Relevant for businesses looking to control technology spending and long-term development costs.
5. GreenGeeks puts Node and MariaDB on one account
GreenGeeks puts the app and database on one plan if shared hosting meets your needs. Pro includes the Node environment, cPanel, SSL and MariaDB, without requiring a separate database service. MariaDB supports the MySQL protocol. If your app needs Oracle MySQL features, check that it will work with MariaDB first.
Pro is the cheapest plan you can use. It costs $4.95 a month when you pay for 12 months up front, or $59.40 for the first year. The $2.95 Lite card does not run Node.js. An estimate based on Lite would be too low even before you compared database costs.
When Pro renews, the rate is $18.95 a month, or $227.40 for a year. With Premium, you pay $107.40 for the first year. Its renewal rate works out to $371.40 a year. These totals exclude tax, domain renewals and extras.
This plan suits you if you want one bill for the app, database and usual hosting tools. Its price does not buy a dedicated server or application development help. GreenGeeks manages the host. You handle the code and its dependencies, and you deploy the app.
6. Fly.io requires a separate estimate for each resource
Fly.io offers small Machines whose prices vary by region. Its displayed example for a shared-CPU Machine with 256 MB memory is $2.19 a month. Two such running Machines would cost $4.38 before storage, which illustrates why the service can look inexpensive beside a larger managed bundle. You still need to check whether 256 MB is enough for your app or its database.
If you run the database yourself, add a Machine and a volume to keep its data. Volumes cost $0.15 per GB-month. Snapshot storage costs $0.08 per GB-month after the first 10 GB, while North American and European egress costs $0.02 per GB. A dedicated IPv4 address adds $2 a month if required. Add each charge to your budget if your setup needs it.
Managed Postgres starts at a much higher $38 a month, plus $0.28 per GB of database storage. You pay for that managed service on its own. The small Machine price does not include it.
You pay for Machines by the second while they run. You keep paying for storage you have set aside. Stopping an app does not erase all charges. You can ask the community for help for free, or pay $29 a month for Standard support. Consider Fly.io if you want to choose the region and control how you deploy, and are willing to price these parts on their own.
Hire Experienced Developers
From MVPs to full-scale solutions, Decipher Zone has delivered 350+ successful custom applications worldwide.
📞 Contact Us Now or 💬 Chat on WhatsApp
7. Hosting.com makes product selection part of the price check
If you buy standard shared hosting from Hosting.com, choose Pro to run Node. It advertises $3.79 a month for a 4-year term, with a stated payment of $181.93. Use that full payment in your budget. If you multiply the rounded monthly rate, you get a slightly different total.
That works out to about $45.48 for the first year of service. Pro renews at $19.99 a month, or $239.88 a year. MySQL/MariaDB support accompanies the application hosting, so you do not need to price a second managed database service to start.
Hosting.com also sells a distinct cPanel hosting product. It supports Node and MariaDB. On its Starter and Pro tiers, each database can use up to 1 GB. The separate cPanel Starter card shows $95.49 prepaid for 4 years, then $13.99 a month. That may suit an app with a small database. Make sure you choose the cPanel product and can stay within its limits.
The standard panel and cPanel plans let you host different numbers of sites. Their names and prices look similar, so write down which product you plan to buy. A cheap Starter price for one product does not tell you what Pro costs on the other.
8. Heroku has a modest always-on app and Postgres base
Heroku Basic costs $7 a month for an always-on dyno with 0.5 GB memory. Adding Essential-0 Postgres at $5 brings the base to $12 a month. The database includes 1 GB of storage and allows 20 connections, so check how your app shares connections and how much space its data needs, even if it gets few requests.
Eco lowers the application price to $5 a month, but sleeps after 30 minutes without activity and is restricted to personal accounts. If your backend needs to respond at all times, price Basic or another paid tier that can do that.
The dyno does not keep local files for good. Put records you need to keep in a datastore outside it. You still need to pay to keep that data even if you use a local SQLite file. Heroku warns that local SQLite data can disappear at least every 24 hours and does not stay synchronized across dynos.
Heroku supports Git and Docker deployment and handles operating-system patching. Basic lacks some of the tools for scaling and deploying that you get with the $25 Standard-1X tier. To use MySQL, you need to check and pay for a third-party service too. The $12 total is for Heroku's own app and Postgres pair.
9. Sevalla adds build and bandwidth charges to its base
Sevalla's smallest application tier, H1, costs $5 a month, but excludes custom domains. If your API needs its own domain, price S1 at $10 a month. It has 0.5 CPU and 1 GB memory.
Database 1 adds $5 a month for 0.25 CPU, 0.25 GB memory and 1 GB storage. The database and S1 cost $15 a month together, before you pay for builds or traffic sent out. Managed MySQL is available, along with MariaDB, PostgreSQL and other database options. The service backs up the database each day and lets you connect to it in private.
Standard builds cost $0.02 per minute, and external bandwidth costs $0.10 per GB. Internal bandwidth is free. If you build your app more often, you can pay more than someone with an app of the same size.
Check the cost of the next database size too. Database 2 costs $34 a month and supplies 2 GB memory with 5 GB storage. Price that tier before choosing the first one. You need to know if you can afford the upgrade when your database needs more space.
Calculate the next complete hosting bill
Write down what you will pay at first, then what you will pay at renewal or for a full month of use. If you pay up front, record the charge for the full term. For a usage platform, add application memory and CPU, database resources, persistent storage, transfer and any workspace charge.
Next, price the upgrade you are likely to need. It might be the next memory size, a database storage limit or a second running process. Check whether that next step fits your budget before you move a live database. Choose a plan whose full bill you can still pay when the app needs that upgrade.



