COMPARISON / HOSTING

What Does It Cost to Deploy a Web App? Comparing Hosts Around $5 a Month

Use $5 a month as a benchmark for static hosting, always-on apps, and PostgreSQL. Compare pricing examples from Render, Railway, Fly.io, and KamuiDash.

Contents

If you want to publish a web app for about $5 a month, start with two questions. Does the server need to stay running when nobody is visiting? Where will user data live? You can serve a static landing page from $0. A small API can stay running on one instance from a little over $2 per 30 days. If you need PostgreSQL, estimate what it costs to try the app during a free trial and what it costs to keep it online afterward.

Prices are published rates in US dollars, checked November 9, 2026. Amounts exclude taxes.

Choose a host based on what needs to run

Figure 1. What does your app need?
Serve files

Landing page or portfolio → static hosting

Handle requests

Startup delay is acceptable → free tier or on-demand hosting
Requests need a prompt response → always-on hosting

Keep shared data

Posts or bookings → add a database to the hosting estimate

If the app handles requests, decide how much startup delay you can tolerate. Estimate storage separately for any shared data that must survive a restart.

Static sites can start at $0. Sites that serve HTML, CSS, and images, and apps whose built JavaScript runs entirely in the browser, can be deployed as static files. With Cloudflare Workers static assets, requests that return files without running Worker code are free. Check the cost of server-side work if your app handles form submissions or generates HTML on each request. Cloudflare static asset billing · Serving browser-based apps

A free web service can work for a demo that can wait. Render's free web service sleeps after 15 minutes without inbound traffic. The next request wakes it, which Render says takes about one minute. That may be fine for a demo you use yourself. For a webhook receiving notifications from another service, the sender may time out first. Free services share 750 instance hours per workspace per calendar month. Once those hours run out, free web services are suspended until the next month. Render's free web service limits

A low-traffic API can also start on demand. On Google Cloud Run, you can set the minimum instance count to zero and select request-based billing. Estimate your cost using the request count and the CPU and memory allocated during startup, request processing, and shutdown. The first request when there are zero instances has to wait for startup. Outbound traffic has separate pricing terms. Cloud Run pricing · Instance autoscaling

Compare four hosts for an always-on app

These estimates cover one small web server running for a month. Fly.io and KamuiDash use 720 hours, or 30 days. Render lists a monthly rate, and Railway bills for monthly usage. The table excludes extra charges for storage, custom domains, network traffic, and builds. Providers allocate CPU and measure memory differently.

On a narrow screen, scroll the table horizontally.

Estimated prices for one always-on web app
Provider and configuration Estimated cost for one app What to budget for
Fly.io shared-cpu-1x (Ashburn, US) $2.19 per 30 days (256 MB) or $3.69 per 30 days (512 MB) Costs depend on Machine runtime and region. Outbound traffic and other extras are billed separately. Pricing · Always-on settings
KamuiDash Nano or Small (Tokyo) $3 per 30 days (256 MiB) or $5 per 30 days (512 MiB) Base fee for one replica. Apps do not automatically sleep during idle periods. Usage beyond included allowances for traffic, deployment, and other items is billed separately. Pricing and plans · Runtime behavior
Railway Hobby From $5 per month Includes $5 of usage each month. You pay the difference if CPU, memory, outbound traffic, and other usage exceed $5. Unused allowance expires each month. Railway pricing
Render paid web service (0.5c-512mb, 512 MB) $7 per month One instance in a $0-per-month Hobby workspace. Paid web services do not sleep when idle. Check bandwidth and build-time overages. Pricing · Render FAQ

Fly.io can create two Machines on the first deployment with the default configuration. The table prices one Machine in Ashburn. If two 512 MB Machines both run continuously for 30 days, the Machines alone cost $7.38. Fly.io first-deploy settings

Railway's starting price depends on usage. Suppose you disable Serverless sleep and keep the app running. Across the billing period, it averages 0.5 GB of memory and 0.05 vCPU, with 1 GB of outbound traffic. The resource charges add up to $5 + $1 + $0.05 = $6.05. Hobby includes $5 of usage, so your total bill is $6.05. At 0.75 GB of average memory with everything else unchanged, the bill rises to $8.55. Include idle periods when estimating memory usage for an always-on app. Railway usage rates · Serverless settings

What PostgreSQL costs during a trial and afterward

A booking app can store its bookings in a separate database so they survive a redeploy. If you are trying it out, some plans let you test the app and the database together. If users will depend on it, check the cost after the trial ends.

KamuiDash charges $0 in base fees for the app and PostgreSQL for 30 days

The KamuiDash free trial lets you try a 256 MiB app and a PostgreSQL database with 3 GiB of storage in the same project for 30 days. Both base fees are $0, and the app does not automatically sleep when idle. Your bill is $0 if usage stays within the included allowances and you do not use a custom domain or object storage. KamuiDash free trial and pricing

With a payment method registered and automatic upgrade enabled, the project switches to PRO at the end of the 30 days. If you do not move to a paid plan, the project is suspended. You can resume by upgrading within 14 days of suspension. After that deadline, the project and database are deleted. What happens when the trial ends

Running the app and database on paid plans

These three examples put the app and PostgreSQL with the same provider. Add the app and database costs to estimate what you will pay after a trial ends.

Figure 2. Paid hosting for an app and database
AppPostgreSQL$5 benchmark
The dashed line marks $5. Render's $6.30 database cost includes $6 for compute and $0.30 for 1 GB of storage. Add any costs outside the chart, such as network traffic, based on your usage.

Hosting the database separately to reduce ongoing costs

Neon provides PostgreSQL independently of your app host. Its free plan includes 1 GB of database storage per project, and the database costs $0 within the monthly usage limits. If the Railway app stays at $6.05 per month including traffic sent to the external database, and Neon stays within its free limits, the total is $6.05 per month. Railway usage rates · Neon Free plan

Neon's Free plan suspends compute after five minutes of inactivity, so the next connection may have to wait for startup. Each project gets 100 CU-hours of compute (compute size multiplied by running time) and 5 GB of outbound transfer per month. If either runs out, database compute stays suspended until the next billing period while you remain on Free. The compute and transfer allowances reset each billing period. The 1 GB storage limit applies continuously. Neon Free plan limits

What to check before you publish

  1. Choose the components you need. Write down whether the app can use static hosting, needs a server, or needs a database. If it needs a server, decide how long the first request after an idle period can wait.
  2. Measure memory. Run the production startup command locally or in a test environment. Check memory right after startup, while idle, and during overlapping normal operations. If the app does not fit within 256 MiB, estimate using the next size up.
  3. Make a 30-day cost breakdown. Add what you will actually use, such as traffic, file storage, builds, and a custom domain. Sending a 1 MB image 10,000 times, for example, is about 10 GB a month. For some small apps, traffic can put you over budget before memory does.

To keep your first deployment within budget, compare the cost of running the components you need for a full month. If the estimate is too high, consider how much startup delay users can tolerate and whether the database can live with a separate provider.

KamuiDash is a PaaS for deploying web apps from GitHub and provisioning PostgreSQL in the Tokyo region.