What Does It Cost to Host an App?
Hosting a small app can cost nothing. A busy one with video can cost thousands a month. Here is every line on the hosting bill, what drives each one, and typical ranges by stage.

Key takeaways
- A static site or small app can host for free or close to it. A typical early app with a database and sign-in runs $0 to $100 a month; growing apps $50 to $500.
- The database and bandwidth for files are the lines that grow fastest. Video and large images change the bill more than user counts do.
- Managed platforms bundle hosting, database, auth and storage, which costs a little more per unit and far less in setup and maintenance time.
The quick answer
Hosting an app costs $0 to $20 a month for a static site or a frontend-only app, $0 to $100 a month for an early app with a database, sign-in and some file uploads, and $50 to $500 a month for a growing app when you assemble the services yourself, matching the infrastructure range in our app cost guide. Busy apps with heavy media can reach thousands. These are typical estimates; your bill depends on usage, not on how many screens the app has.
"Hosting" is really a bundle of services, each priced differently. Understanding the lines tells you which ones to watch.
The hosting bill, line by line
Frontend hosting and CDN
The files that make up your web app's interface, served from a content delivery network close to each visitor. For most apps this is free or a few dollars a month on modern static hosts, because the files are small and cached. It grows only with very high traffic.
Database
Usually managed Postgres or a similar service. Free tiers cover prototypes; first paid tiers on popular managed providers start around $25 a month and include a fixed amount of storage and compute. Costs rise with database size, number of connections and heavy queries. Poorly indexed queries are a common reason a database bill jumps; fixing them is often cheaper than upgrading.
Authentication
Sign-in, sessions and password resets. Many providers include a generous number of monthly active users before charging. Enterprise extras such as single sign-on are priced separately and can be expensive. Phone sign-in adds SMS costs per code.
File storage and bandwidth
Uploaded images, documents, audio and video. Storage itself is cheap per gigabyte; delivery (bandwidth or egress) is where costs hide, because every view downloads the file again. Resizing and compressing images, and caching them on a CDN, keeps this line small. Video is in a different category: it needs transcoding and streaming, typically billed per minute stored and delivered.
Server-side functions
Code that runs on the server: payment webhooks, sending email, calling AI or other APIs with secret keys. Serverless functions are billed per invocation and run time, and are usually small for early apps. Always-on servers cost a fixed monthly amount whether or not anyone uses them.
Transactional email (sign-up confirmations, receipts, notifications) through an email service. Free tiers commonly cover a modest number of emails per month; paid tiers are typically priced by volume. Marketing email to large lists is priced separately and costs more.
Everything else
- Domain: roughly $10 to $20 a year for common endings.
- Realtime connections for chat or multiplayer, priced by concurrent connections or messages.
- Scheduled jobs and background queues.
- Monitoring, logs and backups, often included at a basic level and paid beyond it.
- Paid APIs such as maps, SMS or AI, which are usage costs rather than hosting but land on the same monthly bill.
Typical monthly costs by stage
Rough estimates for a web app with a database, sign-in and image uploads, assembled from mainstream managed services:
- Prototype, under 100 users: $0 to $25. Free tiers cover nearly everything.
- Early product, hundreds to a few thousand users: $25 to $150. A paid database tier, an email plan, a little storage.
- Growing product, tens of thousands of users: $150 to $1,000. Larger database, more bandwidth, monitoring, backups with longer retention.
- Media-heavy or realtime-heavy apps: can exceed these at any stage. Price bandwidth and connections early.
Managed bundle or assemble it yourself
You can rent a virtual server for a fixed monthly price and run everything on it. It is cheap per unit and expensive in time: security updates, backups, scaling and 3 a.m. outages are now your job. Managed platforms bundle the database, auth, storage and functions, cost a bit more per unit, and remove most of that work. For a small team, the managed route is almost always cheaper once your time is counted.
The trade-off to watch is lock-in. Prefer platforms built on open, standard pieces (Postgres, standard auth, exportable files) so you can move if prices or needs change.
Five habits that keep the bill small
- 01Compress and resize every upload on the way in. Most phone photos are several megabytes; a feed rarely needs more than a few hundred kilobytes per image.
- 02Paginate everything that can grow. A list that loads 5,000 rows to show 20 costs database time and bandwidth on every visit.
- 03Avoid polling. Checking the server every second for changes multiplies requests; use realtime updates or longer intervals.
- 04Delete what you do not need. Old logs, abandoned uploads and expired sessions quietly grow storage.
- 05Review the bill monthly for the first six months, line by line, and ask why each number moved.
How hosting works on Startbase
Startbase splits hosting into two parts. Publishing a web app, site or game is included on every plan: it goes live on a startbase.app address, with custom domains on paid plans. The backend, Startbase Cloud, is managed Supabase infrastructure (Postgres database, auth, storage, edge functions) plus emails, scheduled jobs and AI features, and it runs on Cloud Credits, a separate dollar balance. A backend that is always on costs about $20 a month in Cloud Credits; an unpublished app's database pauses after two days without use and wakes on the next visit, while published apps never pause for being idle (Cloud docs). You add Cloud Credits by card or turn on auto top-up, and a new organization starts with $1 free. Plans themselves are on the pricing page.
Because the backend is standard Supabase, you can also bring your own Supabase project, or host the frontend elsewhere after pushing the code to GitHub.
Review this app for hosting costs. Make sure uploaded photos are resized to at most 1600 px and compressed before storage, and that lists load thumbnails instead of full images. Add indexes for the queries on the bookings and messages tables, paginate any list that can grow past 50 rows, and make sure no page polls the server more than once every 30 seconds. Tell me which of these changes reduce database or bandwidth use the most.
Estimating your own bill
- 01Estimate monthly active users and what each does: page views, uploads, messages.
- 02Multiply uploads by average file size and views per file to get storage and bandwidth.
- 03Check each provider's free tier limits against those numbers.
- 04Add 50 percent headroom for spikes and growth.
- 05Review actual usage after the first month and adjust; estimates are always wrong in some direction.
Frequently asked questions
Can I host an app for free?
Often, at the start. Static frontends host free on many platforms, and managed backends have free tiers suited to prototypes. Costs begin with real usage, larger databases and production reliability needs.
What makes hosting costs grow fastest?
File delivery (especially video and large images), database size and heavy queries, realtime connections, and paid APIs such as SMS, maps and AI.
Is a cheap virtual server better than a managed platform?
It is cheaper per unit but costs your time for updates, backups, security and outages. For small teams, managed platforms usually cost less overall.

