Articles

Free backend hosting in 2026: Cloud Run vs Lambda vs Workers vs Oracle vs Render vs Railway vs Fly.io

Free tiers of Cloud Run, Lambda, Workers, Oracle Cloud, Render, Railway, Fly.io, Koyeb and Gregale: what each covers, when it sleeps and what happens past it.

Updated

Free backend hosting in 2026 comes in three kinds. Google Cloud Run and AWS Lambda give a monthly allowance and bill you past it. Cloudflare Workers, Render, Railway and Gregale give a quota and stop when you reach it. Oracle Cloud, Fly.io and Koyeb give you a small machine of your own. Which one fits depends on whether your app can sleep, how long its first request may wait, and whether going over should cost money or switch the app off.

Gregale publishes this page. Every limit names its vendor and comes from that vendor's own pricing page or docs, checked on November 28, 2026.

At a glance

Free tierFree each monthWhen the app is idleWhen you go past it
Gregale Free1 app with 256 MB and 20 GB-RAM-hours, 10 GiB of egressPauses about a second after each request; resumes in about a millisecondThe app stops until the month ends or you upgrade; Free never bills
Google Cloud Run180,000 vCPU-seconds, 360,000 GiB-seconds and 2 million requests (request-based billing)Scales to zero; idle instances cost nothing unless they are minimumsBilled at standard rates; sign-up needs a credit card or other payment method
AWS Lambda1 million requests and 400,000 GB-seconds, on the AWS Free and Paid plansRuns only per requestThe Paid plan bills it; the Free plan spends credits and closes after 6 months or when they run out
Cloudflare Workers100,000 requests a day, 10 ms of CPU time per request, 128 MB per isolateNo server to keep runningError 1027 until midnight UTC, or the route bypasses the Worker
Oracle Cloud Always Free2 AMD micro VMs (1/8 OCPU, 1 GB each) and 2 Arm OCPUs with 12 GB, plus 200 GB of block storageAlways on; Oracle may reclaim an instance idle for 7 daysAlways Free resources stay free; anything more needs a paid account
Render Free750 instance hours for web services in a workspaceSpins down after 15 minutes without inbound traffic; about a minute to wakeFree web services are suspended until the next month
Railway Free$1 of usage, up to 3 services with 0.5 GB and 1 vCPU eachSleeps 5 to 10 minutes after its last outbound trafficServices stop until the next billing cycle
Fly.io Free plan$5 of usage a month once a card is added ($1 once, for 7 days, without one), up to 3 MachinesMachines can stop when idle, or run all the timeThe account moves to Pay As You Go and the whole month is billed
Koyeb Free InstanceOne web service with 512 MB and 0.1 vCPU, in Frankfurt or Washington, D.C.Sleeps after an hour without trafficOne per organization and meant for testing; anything more is a paid Instance

Free databases

Free databaseWhat you getThe catch
Neon Free100 projects, 100 CU-hours and 1 GB of storage per project, no credit cardScales to zero after 5 minutes idle
Render Free Postgres1 GB, one database per workspaceExpires after 30 days, deleted 14 days later; no backups
Railway FreePostgres, Redis, MySQL or MongoDB with a 0.5 GB volumeDraws from the same $1 as your services; sleeps until a connection
Fly.io Managed PostgresThe $4 Developer plan, covered by the Free plan's $5Leaves about $1 for Machines
GregaleNo managed Postgres on FreeGregale Hobby: $10 a month for 5 apps, with one managed database

Which free tier fits your app

  • A bot or webhook that gets a few requests an hour. Use something that bills per request or pauses between requests: Cloud Run, Lambda, Workers or Gregale Free. Discord, Telegram and Slack can all send events to an HTTPS endpoint, so the bot does not need an always-on connection; see the Discord, Telegram and Slack guides.
  • An API that must answer quickly after a quiet hour. Render Free makes the first visitor wait about a minute and Koyeb's Free Instance sleeps after an hour. Gregale Free resumes a paused app in about a millisecond.
  • A process that must stay connected. A bot holding a WebSocket or a worker polling a queue never goes quiet. Oracle Cloud's Always Free VMs and Fly.io's Free plan (a 256 MB Machine running all month is $2.19) keep it running. Railway Free also keeps a process awake while it sends traffic, but by Railway's own figures its $1 covers only 100 MB of memory running all month.
  • A database as well. Neon Free pairs with any of these. Render's free Postgres expires after 30 days, so it suits a demo, not a product.
  • No bill, ever. Pick a tier that stops instead of charging: Workers, Railway, Koyeb's Free Instance, Oracle's Always Free, Gregale Free, or Render without a payment method on file. Cloud Run, Lambda on the Paid plan and Fly.io past its $5 bill you instead.

The fine print that decides it

  • Cloud Run and Lambda are allowances, not plans. Usage past them is billed to the payment method on the account. Request-based billing on Cloud Run counts only the time requests are in flight, so a low-traffic API rarely leaves the free tier.
  • Workers counts CPU time, not wall time. The Free plan allows 10 ms of CPU per request, which suits routing, auth checks and small JSON APIs. Work that waits on a database or an upstream API does not count against it.
  • Oracle's Arm allowance shrank. Always Free now covers 1,500 OCPU-hours and 9,000 GB-hours a month of Ampere A1, which is 2 OCPUs and 12 GB, in your home region only. Oracle may reclaim an instance whose 95th-percentile CPU, network and (on Arm) memory use all stay under 20% for 7 days. Creating one can also fail with "out of host capacity" until free shapes come back.
  • Fly.io bills the whole month once you pass $5. The account moves to Pay As You Go and that month's usage is billed from the first cent.
  • Render's free web services lose their local files on every spin-down. With a payment method on file, outbound bandwidth past the monthly amount is billed; without one, Render suspends Free services instead. Render may also suspend a Free web service that sends an uncommonly high volume of traffic.

What Gregale Free covers

Gregale bills each second an app runs, at its plan's memory plus 8 MB, and a request-serving app pauses about a second after its last request. In a measured FastAPI test, an isolated request kept the app billed for about 1.75 seconds. At 264 MB, Gregale Free's 20 GB-RAM-hours are about 77.6 billed hours, or about 160,000 well-spaced requests a month. Requests that arrive together share the same awake time, so bursty traffic stretches further.

Gregale Free is $0 for 1 app with 256 MB and 20 GB-RAM-hours a month, plus 10 GiB of egress, 1 GiB of object storage, one preview environment and a request timeout of up to 30 seconds. It needs no payment method: your first paid plan starts with a checkout. When the month's allowance runs out, the app stops until the next month instead of billing. An app that runs timers or background threads keeps running, and uses its allowance, while it works.

See Scale-to-zero pricing in 2026 for what the same apps cost once they outgrow a free tier.

Sources

Checked against each vendor's own pages on November 28, 2026: Cloud Run pricing, Google Cloud Free Program, AWS Lambda pricing, AWS Free Tier, Cloudflare Workers pricing, Cloudflare Workers limits, Oracle Cloud Always Free resources, Render free instances, Railway Free plan, Fly.io Free plan, Fly.io resource pricing, Koyeb Instances, Neon pricing, Gregale plans and Gregale billing.

Questions

What is the best free tier for hosting a backend?

It depends on whether the app can sleep. For an API with light traffic, Google Cloud Run (180,000 vCPU-seconds, 360,000 GiB-seconds and 2 million requests a month) and AWS Lambda (1 million requests and 400,000 GB-seconds) rarely leave their free allowances, but they bill usage past them. Cloudflare Workers, Railway Free, Render Free and Gregale Free stop at their limit instead. For a process that must stay running, Oracle Cloud Always Free gives you small always-on VMs.

Which free backend hosting needs no credit card?

Railway Free, Render Free, Neon Free and Gregale Free need no card. Fly.io gives $1 for 7 days without one and $5 of usage a month once a card is added. Google Cloud needs a credit card or other payment method to sign up, even for its free tier.

Which free tier keeps a bot or worker running all the time?

Oracle Cloud's Always Free VMs and Fly.io's Free plan, where a 256 MB Machine running all month is $2.19 of the $5. Render Free, Koyeb's Free Instance and Railway Free put idle apps to sleep. A Discord, Telegram or Slack bot can instead receive events over HTTPS, which works on tiers that sleep between requests.