# The cheapest way to host an app built with AI, with Postgres and sign-in

What it costs each month to host one small app built with Claude Code, Cursor, or Codex, with invite-only sign-in, Postgres, and a daily job, on 15 platforms. Where $0 works, what it leaves out, and why floo's $4 Starter plan is the lowest price for the complete app.

Canonical URL: https://getfloo.com/blog/cheapest-way-to-host-an-app-built-with-ai

## TL;DR

**An app written for Cloudflare Workers can run for $0. For any other app your agent wrote, once it needs Postgres, invite-only sign-in, and a scheduled job, floo's Starter plan is $4 a month for one app, with all three built in and 4 credits of usage included. That's the lowest price we found for the complete app running your agent's code from its own Dockerfile.**

- The next cheapest complete setups we found were Render at about $14 and Heroku at about $31, both with sign-in from a third party.
- Railway Hobby is $5 plus usage past $5, with no built-in sign-in at that price.
- Vercel Pro plus Supabase Pro is about $45, and you write the sign-in code.
- Past the included credits, floo adds 10 credits for $10, and they never expire.

## The app we priced

One small app an agent wrote as code, in any language, used by a few people:

1. A web page only invited people can sign in to.
2. A Postgres database.
3. A job that runs once a day.

The host has to run the code the agent wrote, as it is, from its Dockerfile. App builders that host only apps made in their own editor are in the table for reference, with that noted. Each price below is the cheapest plan that runs all three for commercial use, from each vendor's own pricing page, read November 9 and 10, 2026. "Missing" is what you add yourself at that price.

## What it costs on 15 platforms

| Platform | Cheapest plan for this app | Per month | Missing at that price |
| --- | --- | --- | --- |
| **floo** | Starter, $4 with 4 credits of usage included | **About $10 for an app busy an hour a day** | Nothing for one app and one builder |
| Cloudflare | Workers Free or Paid, Access Free | $0 to $5 | Postgres (D1 is SQLite) unless you add Neon Free; code must be written for the Workers runtime; Access setup asks for a card |
| Retool | Free, up to 5 users | $0 | Runs apps built in Retool's editor, not your agent's code; the database pauses after a month idle |
| Lovable | Free | $0 | Runs apps built in Lovable; up to 10 people per project; Pro is $25 |
| Railway | Hobby | $5 plus usage past $5 | Built-in sign-in, which starts at a $5,000 monthly commitment |
| Firebase | Blaze, Postgres through Data Connect | About $9 after the trial | Sign-in gate; you write it |
| Netlify | Personal, or Pro for team login | $9, or $20 | Team login needs Pro |
| Render | Hobby: web $7, Postgres $6, cron from $1 | About $14 | Sign-in; a third-party provider |
| Vercel + Neon | Vercel Pro, Neon Free | $20 | Hobby is non-commercial |
| Replit | Core | $20 | Pro is $100 |
| Bolt.new | Pro | $25, or $18 billed annually | A documented scheduler |
| Heroku | Basic $7, Postgres Essential-0 $5, wwwhisper $19 | About $31 | Sign-in is the paid wwwhisper add-on |
| Fly.io | Managed Postgres Basic $38, smallest Machine $2.19 | About $40 | Sign-in; you can't pick the hour a daily job runs |
| Base44 | Builder, billed annually | $40 | Postgres; its database is NoSQL |
| Vercel + Supabase | Vercel Pro $20, Supabase Pro $25 | About $45 | Sign-in; you write it from the with-supabase template |

Sources: [Cloudflare Workers](https://developers.cloudflare.com/workers/platform/pricing/), [Hyperdrive with Neon](https://developers.cloudflare.com/hyperdrive/examples/connect-to-postgres/postgres-database-providers/neon/), [Cron Triggers](https://developers.cloudflare.com/workers/configuration/cron-triggers/), [Retool](https://retool.com/pricing), [Lovable](https://docs.lovable.dev/introduction/subscription-plans), [Railway](https://docs.railway.com/reference/pricing/plans), [Firebase Data Connect](https://firebase.google.com/docs/data-connect/pricing), [Netlify](https://www.netlify.com/pricing/), [Render](https://render.com/pricing) and [Render cron jobs](https://render.com/docs/cronjobs), [Vercel Pro](https://vercel.com/docs/plans/pro-plan), [Neon](https://neon.com/pricing), [Replit](https://replit.com/pricing), [Bolt.new](https://bolt.new/pricing), [Heroku](https://www.heroku.com/pricing) and [wwwhisper](https://devcenter.heroku.com/articles/wwwhisper), [Fly.io](https://fly.io/docs/about/pricing/) and [Fly Managed Postgres](https://fly.io/docs/mpg/), [Base44](https://base44.com/pricing), [Supabase](https://supabase.com/pricing). Prices change; check the vendor's page before you pick.

The full feature comparison of the same platforms, with agent keys and audit logs, is in [The best platforms to host an internal tool built with Claude Code](https://getfloo.com/blog/best-platform-to-host-internal-tools-built-with-ai).

## When $0 is the right answer

Pick a free tier when the app fits inside it:

- **An app written for Cloudflare Workers.** Workers Free runs it with Cron Triggers, Access adds email sign-in for up to 50 users, and Neon Free through Hyperdrive adds Postgres, all for $0 within free limits. The app has to be JavaScript or TypeScript built for the Workers runtime, so a Next.js, Python, or Rails app your agent already wrote won't run as it is.
- **A tool for five people you are happy to build in Retool's editor.** Retool's free plan includes Postgres, invite-only sign-in, and scheduled workflows, though the database pauses after a month idle. It doesn't run code your agent wrote elsewhere.
- **A prototype a few people try.** Lovable Free hosts it for up to 10 people per project.

Outside Workers, none of these runs the code your agent wrote, from its own Dockerfile, with Postgres, invite-only sign-in, and a daily job together for $0. Vercel's Hobby plan would come close with Neon Free, but it is for non-commercial use only.

## What $4 gets you on floo

Starter is one app and one builder for $4 a month, with 4 floo credits included. One credit is $1 of usage, and every rate is published.

Everything the app needs is in one `floo.app.toml` file:

```toml
[app]
name = "stock-tracker"
access_mode = "accounts"

[services.web]
type = "web"
path = "."
port = 3000
ingress = "public"

[managed.default]
type = "postgres"

[cron.low-stock]
schedule = "0 8 * * *"
command = "node scripts/low-stock.js"
service = "web"
```

- **Sign-in.** `access_mode = "accounts"` puts invite-only sign-in in front of the app. Your code reads the signed-in person from request headers, with no auth code to write.
- **Postgres.** `[managed.default]` creates the database and sets `DATABASE_URL`.
- **The daily job.** `[cron.low-stock]` runs a command in the app's image on a UTC schedule.
- **Your own Dockerfile.** floo builds the Dockerfile in your repository, so your agent picks the language, the system packages, and the start command.

Your agent deploys it with one command, `floo deploy`. [The build guides](https://getfloo.com/docs/build/nextjs) cover Next.js, SvelteKit, Nuxt, Astro, React Router, Express, Rails, FastAPI, Flask, Django, and Go.

## When the app grows

The app stays warm between visits, and the database sleeps when nobody is using it, so a quiet app uses little. At floo's current rates, a small app busy about an hour a day comes to about $10 a month in all.

When less than 1 credit is left, floo adds 10 credits for $10, and those never expire. An admin can turn this top-up off in Billing. The app then pauses until next month's credits arrive. When more people build, Team is $250 a month with 250 floo credits. Every rate is on the [pricing page](https://getfloo.com/pricing).

## How we priced this

We priced one app for commercial use that answers at any hour: a web service, a Postgres database, invite-only sign-in for a few people, and one daily job. For each platform we took the cheapest plan that runs all of it, added the add-ons it needs, and noted what is left for you to build. Figures with "about" add separate products or estimate small usage. floo bills compute only while the app serves requests and keeps it warm between visits for about 4 cents a month, so its figure is for an app busy about an hour a day; platforms that bill a fixed instance price it the same at any load. floo is our product; every other figure links to the vendor's page.

## FAQ

### What is the cheapest way to host an app built with AI?

For an app written for Cloudflare Workers, $0 is possible with Neon Free for Postgres, Access for sign-in, and Cron Triggers. For an app your agent already wrote in any language, with Postgres, invite-only sign-in, and a daily job, floo's Starter plan is $4 a month for one app with all three built in and 4 credits of usage included. The next complete setups we found were Render at about $14 and Heroku at about $31, both with sign-in from a third party, and Vercel plus Supabase at about $45.

### Is there a free way to host an app built with Claude Code?

Yes, with limits. Cloudflare's free tier runs Workers with a SQLite database, Retool is free up to 5 users with a database that pauses after a month idle, and Lovable Free allows up to 10 people per project. Vercel's Hobby plan is for non-commercial use only. floo has no free plan.

### What happens when a floo Starter app uses more than its 4 credits?

Starter includes 4 floo credits a month, and one credit is $1 of usage. When less than 1 credit is left, floo adds 10 more for $10, and those never expire. An admin can turn that top-up off in Billing; the app then pauses until next month's credits arrive. A small app busy about an hour a day comes to about $10 a month in all at floo's current rates.

### Why does Railway's $5 plan cost more than $5?

Railway Hobby is $5 a month including $5 of usage, and usage past $5 is billed. It also has no built-in sign-in below a $5,000 monthly commitment, so a private app needs an auth provider such as Clerk.
