跳到正文
DEV Community· Vikas Singhal·· 1 小時前AI 評分51

Render 冷啟動替代方案比較:5 個每月 $2.19 起的常開託管平台

Render Alternatives Without Cold Starts: 5 Always-On Hosts From $2.19/mo

AI 導讀

文章比較 5 個 Render 常開替代方案,Fly.io 起價 $2.19/月,但須關閉預設 auto-stop;Render Starter 為 $7/月且不會休眠。

正文

You put a side project on Render's free tier, shared the link, and the first person to click it stared at a loading screen for a minute. That is Render's free instance doing exactly what its docs say it does.

Short answer: Render's cold starts only happen on the free tier: a free web service spins down after 15 minutes with no inbound traffic and takes about one minute to wake. Render's own paid Starter instance ($7/mo, 0.5 CPU, 512 MB) never sleeps. The always-on alternatives, cheapest first, are Fly.io from $2.19/mo (with auto-stop turned off), InstaPods at $3/mo flat, DigitalOcean App Platform at $5/mo, Railway Hobby at about $15/mo for a small 24/7 service, and Heroku Basic at $7/mo.

Disclosure: we build InstaPods, so it is on this list. Every price below was checked on the vendor's own page on 25 November 2026, and the sources are linked in each section.

Render alternatives compared

Platform Cheapest always-on option Price ($/mo) Does the cheap tier sleep? Billing
InstaPods Launch: 1 vCPU, 512 MB, 10 GB disk $3 flat No. Every plan runs 24/7 Flat monthly
Fly.io shared-cpu-1x, 256 MB (auto-stop off) $2.19 (iad/ewr) Yes by default: auto-stop is on in fly launch Usage, per second
DigitalOcean App Platform 1 shared vCPU, 512 MiB $5 No free backend tier (free is static sites only) Per second, monthly invoice
Railway Hobby plan, usage-billed ~$15 for 0.5 vCPU / 512 MB Free plan sleeps after 5-10 min; Hobby is always-on Plan fee + usage
Heroku Basic dyno, 0.5 GB $7 Eco ($5) sleeps after 30 min Prorated, capped monthly

For reference, Render itself: free instance sleeps after 15 minutes, Starter is $7/mo for 0.5 CPU and 512 MB, and the Hobby workspace is $0 on top of compute (render.com/pricing, render.com/docs/free).

Why does Render have cold starts?

Render has cold starts because its free instance type is built to scale to zero. Render's free tier docs say a free web service spins down after 15 minutes without inbound traffic, and the next request waits "about one minute" while Render spins it back up, with a loading page shown in the browser meanwhile. Each workspace gets 750 free instance hours a month.

That trade is fine for a demo and a problem for a webhook receiver, a bot, an API another service calls, or anything a customer clicks. A Stripe or GitHub webhook that waits a minute can time out on the sender's side.

The fix inside Render is simple: move to Starter at $7/mo (0.5c-512mb on the pricing page), which does not sleep. The options below either cost less than $7 for always-on, or give you more machine for about the same money.

InstaPods: $3/mo, never sleeps

InstaPods runs your app on a Linux server (we call it a pod) that stays up 24/7 on every plan, with no idle timeout to configure. The Launch plan is $3/mo for 1 vCPU, 512 MB RAM and 10 GB disk. Build is $7/mo for 2 vCPU, 2 GB RAM and 25 GB disk, the same price as Render Starter with four times the memory.

What changes compared to Render:

  • Flat price. No workspace fee and no per-second compute meter. The plan price is the bill.
  • One server, many processes. A web app, a worker and a cron job run on the same pod, where Render bills each as its own service. PostgreSQL, MySQL and Redis can be added from the Build plan.
  • SSH on every plan, plus a web terminal. Render's free instances have no SSH or shell.

Getting a project live is one command from the project folder:

curl -fsSL https://instapods.com/install.sh | sh
instapods deploy my-app

The trade-offs: two regions (Europe and US East), no autoscaling, and no free tier. Adding a card gives a one-time $10 credit, which covers about three months of Launch. The InstaPods vs Render page has the full feature-by-feature breakdown.

Fly.io: cheapest machine, but it stops by default

Fly.io has the lowest always-on price on this list, but only after you change its default. A shared-cpu-1x machine with 256 MB is $2.19/mo and the 1 GB size is $6.70/mo in Fly's cheapest US regions (iad, ewr), with other regions priced differently (docs.fly.io/about/pricing).

The catch is what fly launch writes into fly.toml. Per Fly's autostop docs, new apps get auto_stop_machines = "stop", auto_start_machines = true and min_machines_running = 0, so an idle app stops after several minutes and the next request cold-starts in "about 2 seconds or more". A suspended machine resumes in a few hundred milliseconds. That is far faster than Render's minute, but it is still a cold start.

To make Fly.io always-on, set this in fly.toml:

[http_service]
  auto_stop_machines = "off"
  min_machines_running = 1

Fly is the pick if you need many regions or want to run close to users in Asia or South America. It is CLI-first (fly deploy) and bills per second, so the monthly figure moves with what you run.

DigitalOcean App Platform: $5/mo, no free backend tier

DigitalOcean App Platform charges $5/mo for its smallest web service: 1 shared vCPU, 512 MiB RAM and 50 GiB of transfer (digitalocean.com/pricing/app-platform). The free tier covers static sites only (3 apps), so a backend service always runs on a paid instance, and DigitalOcean's pricing pages describe no sleep or scale-to-zero mode for it.

App Platform is the natural move if you already use DigitalOcean for Droplets, Spaces or managed databases, because everything shares one account and one invoice. It deploys from GitHub the way Render does, and the cheapest dedicated-CPU instance is $29/mo if you need guaranteed CPU later.

Managed databases on DigitalOcean are a separate line item, so a web service plus Postgres costs noticeably more than the $5 headline. The 512 MiB tier also has no horizontal scaling.

Railway: always-on on Hobby, priced by usage

Railway is always-on once you are on the Hobby plan. Its pricing page says Free-plan services are serverless and "sleep after 5 to 10 minutes without outbound traffic", while Hobby and above run always-on. When a sleeping service wakes, Railway warns the first request may get a 502.

Hobby is $5/mo and includes $5 of usage. After that, Railway bills per second at about $20 per vCPU per month and about $10 per GB of RAM per month. A service holding 0.5 vCPU and 512 MB around the clock is roughly $10 + $5 = $15/mo, so about $10 over the included credit (our arithmetic from Railway's listed rates; real apps rarely use their full allocation, so many bills are lower).

Railway's strength is the developer experience: the canvas view, instant preview environments, and databases one click away. Its weakness for small always-on apps is that the bill is a meter, not a number. We compare the two head to head in Railway vs Render.

Heroku: the familiar option at Render's price

Heroku's Basic dyno is $7/mo for 0.5 GB of RAM and is listed as "Always on" on heroku.com/pricing. That is exactly Render Starter's price, so Heroku only makes sense as a Render alternative if your team already knows its buildpacks and add-on marketplace.

Avoid the Eco dyno if cold starts are the reason you are leaving Render. Eco is $5/mo for a 1,000-hour pool shared across all your Eco dynos, and an Eco web dyno sleeps after 30 minutes of inactivity (Heroku Dev Center). That is twice as long as Render's 15 minutes before sleep, but it still sleeps.

If you are weighing Heroku more broadly, our Heroku alternatives post covers the same always-on question from the other direction.

What about Koyeb?

Koyeb is worth knowing about but did not make the table, because its free instance has the same problem as Render's. Koyeb's free instance (0.1 vCPU, 512 MB, one per organization) scales to zero after 1 hour without traffic and that cannot be turned off, with wake-up stated at 1-5 seconds (koyeb.com/docs/run-and-scale/scale-to-zero).

Its paid CPU instances start at $1.61/mo for eco-nano (0.1 vCPU, 256 MB), available only in Washington D.C., Frankfurt and Singapore, per its instances reference. We could not find which Koyeb plans can buy that size, so check before you count on it.

When should you stay on Render?

Render is still the better choice in a few honest cases:

  • You need a free tier. InstaPods has none, DigitalOcean's covers static sites only. If the budget is genuinely $0 and a minute of wake-up is acceptable, Render free is fine.
  • You want managed Postgres with automated backups and point-in-time recovery without running anything yourself.
  • You want per-service autoscaling or preview environments built into the platform.
  • You are already paying for Starter. Render's paid instances do not sleep, so you do not have a cold-start problem to solve. Your reasons to move are price per GB of RAM or wanting several processes on one machine.

How to move a Render web service to InstaPods

Moving a typical Node.js or Python web service from Render to InstaPods is five steps:

  1. Copy your environment variables out of the Render dashboard.
  2. From the project folder, run instapods deploy my-app. The CLI detects Node.js, Python, PHP or a static site, installs dependencies and returns a live HTTPS URL.
  3. Set the variables with instapods env set my-app KEY=value or in the dashboard.
  4. If you used Render Postgres, pg_dump it and restore into PostgreSQL on your pod (Build plan and up).
  5. Point your custom domain at the pod and the certificate is issued automatically.

There are guides for Python and Node.js apps, and agents can do the whole move through our MCP server.

FAQ

Does Render have cold starts?

Only on the free instance type. Render spins down a free web service after 15 minutes with no inbound traffic, and waking it takes about one minute. Paid instances, starting with Starter at $7/mo (0.5 CPU, 512 MB), stay running.

What is the cheapest Render alternative that never sleeps?

Fly.io's shared-cpu-1x machine at 256 MB is $2.19/mo in its cheapest US regions, if you turn off auto-stop. InstaPods Launch is $3/mo flat for 1 vCPU, 512 MB RAM and 10 GB disk and never sleeps. DigitalOcean App Platform starts at $5/mo for 512 MiB.

Is Railway an always-on alternative to Render?

On the Hobby plan, yes. Railway's pricing page says Free-plan services are serverless and sleep after 5 to 10 minutes without outbound traffic, while Hobby and above run always-on. Hobby is $5/mo with $5 of usage included, and a 0.5 vCPU / 512 MB service running all month works out to about $15/mo at Railway's listed rates.

Do Fly.io apps sleep?

By default, yes. fly launch writes auto_stop_machines = stop and min_machines_running = 0, so a new app stops when idle and cold-starts in about 2 seconds or more. Set auto_stop_machines to off, or min_machines_running to 1, to keep it running.

When should I stay on Render?

Stay on Render if you want a free tier for demos, managed Postgres with automated backups and point-in-time recovery, or per-service autoscaling. Render's paid Starter instance at $7/mo already has no cold starts, so if you are paying for it, sleep is not your problem.


Originally published on instapods.com. Prices checked 25 November 2026.

What are you running on Render's free tier right now, and is the cold start actually hurting you, or is it just the demo link people click once? Curious where people draw the line before paying $7.

來源:DEV Community · dev.to