Where to host an app built with AI: Vercel, Railway or Render
If your app needs a database and you want to start for free, choose Render: Postgres runs in the same account, and paid instances have fixed prices. Railway fits when you want the app and its database in one project for $5 a month and can accept a bill that depends on usage. Choose Vercel for a frontend that connects to a database from another provider, keeping in mind that its free plan is not for commercial use.
When you need a separate platform at all
AI app builders publish what you build themselves. Lovable has its built-in Cloud backend, and Bolt.new has Bolt Cloud with hosting and a database. A separate platform helps once the code goes into a Git repository, for example to keep developing it in Cursor, or so the app does not depend on the builder’s credits: in Lovable, when credits run out, apps that use the Cloud backend pause.
All three platforms deploy the app from GitHub on every push. They differ in where the database runs and how they count the bill.
How Vercel, Railway and Render differ
Render runs web services, background workers, cron jobs and static sites, and next to them Postgres and Redis-compatible Key Value databases. It connects to GitHub, GitLab and Bitbucket and can create a preview for every pull request. Every instance has a fixed monthly price, prorated by the second.
Railway keeps the app and Postgres, MySQL, Redis, MongoDB and ClickHouse databases in one project. It deploys on every push to GitHub and builds the app automatically or from a Dockerfile. You pay for the memory, CPU, storage and egress you actually use.
Vercel deploys sites, frontends and functions. Every push creates a preview deployment, and a merge into the production branch creates a production deployment. Vercel has no relational database of its own: you add Postgres, Redis or MongoDB from the Marketplace, from providers such as Neon, Supabase or Upstash, which bill for it separately. The vendor also documents deploying Bolt.new projects through Vercel Drop.
What it costs
Prices in USD from the pricing pages as checked on 24 November 2026. Vercel and Railway list them before VAT; whether Render’s prices include VAT is not stated by the vendor.
| Platform | Cheapest paid plan | What the fee covers |
|---|---|---|
| Railway | Hobby, $5 a month | $5 of usage, anything above billed on top |
| Vercel | Pro, $20 a month | one deploying seat and $20 of usage credit |
| Render | Pro, $25 a month per workspace | the plan without compute, instances billed on top |
On Render you do not have to take Pro, though. On the free Hobby plan you pay only for paid instances: the smallest web service (512 MB) costs $7 a month and the smallest Postgres database $6. An app with a database therefore costs $13 a month, an amount you know in advance.
On Railway, $7 of usage means a $7 bill. Memory costs about $10 per GB a month and CPU about $20 per vCPU. You can set a usage limit, but once it is reached your services are stopped.
On Vercel, usage above the $20 credit is billed on top with no cap, and each additional deploying seat costs $20.
What the free plans really include
- Render Hobby: a free web service sleeps after 15 minutes without traffic, and a workspace gets 750 free instance hours a month. The free Postgres database has 1 GB and expires after 30 days. You then have 14 days to move to a paid instance, or the database and its data are deleted.
- Railway Free: $1 of usage a month with no card, up to 0.5 GB RAM per service, and services sleep after 5 to 10 minutes without traffic. At sign-up you get a one-time $5 credit for 30 days.
- Vercel Hobby: 1 million function invocations, 100 GB of data transfer and 4 hours of Active CPU a month, but for personal or non-commercial use only. Once a limit is exceeded you usually have to wait 30 days, and extra usage cannot be bought.
None of these plans suits an app that must run all the time and earn money, but they are enough for a prototype.
Heroku and Fly.io as alternatives
Heroku has no free plan. The Eco plan costs $5 a month for 1,000 hours shared by Eco dynos, and Postgres starts at $5. Every dyno has a maximum price on the pricing page, so you know the bill in advance. Since February 2026, however, the platform has stopped developing new features.
Fly.io has no monthly fee. Once you add a card you get $5 of usage a month, the smallest machine costs $2.19 a month and Managed Postgres starts at $4. Deploying requires the flyctl tool, and once the $5 runs out you pay for the whole month’s usage from the first cent.
We compare all five platforms in the ranking of app hosting platforms.
How to decide
- Choose Render if you want to start for free with an app and a database, then pay a fixed amount, such as $13 a month for the smallest service and database.
- Choose Railway if you want several databases in one project and a $5 plan with $5 of usage, and a variable bill does not bother you.
- Choose Vercel if you deploy a frontend or functions, already keep the database with Neon or Supabase, and the project is non-commercial or you will pay for Pro.
- Before you buy, check that the free database will not expire in the middle of your testing.