---
title: "Fly.io vs Railway in 2026: pricing, free tier and billing"
url: https://while.sh/en/comparisons/fly-io-vs-railway-2026/
author: "Grégoire Mougeolle, co-founder of Nextmap"
updated: 2026-11-18
---

# Fly.io vs Railway in 2026: which one to choose

Fly.io and Railway both bill by usage, per second, and appeal to the same developers. Yet they do not count the same way: machines at one, memory and CPU consumed at the other. We checked their prices in November 2026.

Fly.io and Railway appeal to the same developers: **no heavy subscription**, a bill **per second**, and an app running in a few minutes. Yet they count differently. **Fly.io** bills fixed-size **machines**, running or stopped. **Railway** bills **the memory and CPU consumed**, on top of a small subscription that includes usage credit.

> **Our verdict.** For a team tool your AI built, while: no machine or database to choose. The data is backed up every day in France, and the Pro plan covers the whole team, with no per-person price. Between the two, Fly.io costs less for a small app and runs in several regions of the world. Railway has a simple subscription, with unlimited seats.

## Fly.io and Railway at a glance

| | Fly.io | Railway |
|---|---|---|
| Subscription | None | Hobby at $5, Pro at $20, usage credit included |
| Free tier | No, $1 trial for 7 days | Yes, $1 of credit per month, after a 30-day trial with $5 |
| What is counted | Fixed-size machines, per second | Memory and CPU consumed, per second |
| A 512 MB machine, over 30 days | $3.69 | About $5 of memory, plus CPU consumed |
| Outbound transfer | $0.02 per GB in North America and Europe | $0.05 per GB |
| A data volume | $0.15 per GB per month | $0.15 per GB per month |
| The team | Not shown on the pricing page | Pro: unlimited seats |

Prices are in US dollars, as shown on the Fly.io and Railway pages. Railway's monthly amounts are our calculations from its per-second prices (sources 1 and 2).

## The price of a small app: Fly.io ahead of Railway

At Fly.io, a shared **512 MB machine costs $3.69** for 30 days of continuous runtime, and a personal organization whose bill stays **under $5 per month** pays nothing (source 1).

At Railway, the **Hobby plan costs $5 per month** and includes $5 of usage. Memory costs about **$10 per GB** for a full month, and CPU about **$20** per vCPU, in proportion to what is consumed (source 2). A small, lightly used 512 MB app roughly fits in the credit, and so pays the $5.

## Free tier: Railway ahead of Fly.io

Railway gives a **30-day trial with $5 of credit**, then a free plan with **$1 of credit per month**, with no credit card. Free services wake on request, with up to 1 vCPU and 0.5 GB of memory per service (source 2).

Fly.io no longer has a free tier for new organizations: **$1 of credit for 7 days**, then a credit card is required (source 1).

<figure class="illus"><img src="/illustrations/fly-railway-duel-1200.webp" srcset="/illustrations/fly-railway-duel-768.webp 768w, /illustrations/fly-railway-duel-1200.webp 1200w" sizes="(min-width: 48rem) 46rem, 100vw" width="1536" height="1024" loading="lazy" decoding="async" alt="Fly.io vs Railway: fixed-size machines billed per second at Fly.io, memory and CPU consumed on top of a subscription with credit at Railway, and cheaper data transfer at Fly.io" /><figcaption>Machines at Fly.io, consumption on top of a credit at Railway.</figcaption></figure>

On while, the trial is free with no sign-up, and your tool has its address in 3 minutes.

## Transfer and the database: Fly.io cheaper, Railway simpler

Fly.io bills outbound transfer at **$0.02 per GB** in North America and Europe, Railway at **$0.05** (sources 1 and 2). For an app that sends a lot of files, the gap matters.

For the database, Fly.io offers **Managed Postgres from $38 per month** (source 1). Volumes cost the same at both, $0.15 per GB per month.

## The team: Railway ahead of Fly.io

Railway's **Pro plan** costs $20 per month, includes $20 of usage and **unlimited seats** in the workspace (source 2). Fly.io's pricing page does not mention the team, and focuses on resources (source 1).

On while, the Pro plan covers the whole team, with no per-person price, and your colleagues sign in with their email account.

## No machine or database to manage: your AI and while

Fly.io and Railway serve a developer who picks machines, regions and a database. For a **team tool your AI built**, with Claude, ChatGPT or Cursor, there is a shorter path. **We built while for this case**: your AI puts the tool on while with its data, with no machine to size.

> You, to your AI: Take the repository of our scheduling tool, put it on while with its data, and keep it for the team.

- **Your colleagues** sign in with a while account for up to 3 people, or, on the Pro plan, with their email account, Google or Microsoft.
- **Each project has its budget**, with an alert at 80% and at 100%, and a tool open to everyone is never cut off.
- **The data** is backed up every day, and your tools are hosted in France by Nextmap.

To go further, read [Fly.io pricing](/en/comparisons/fly-io-pricing/), [Railway pricing](/en/comparisons/railway-pricing/), [Railway vs Render](/en/comparisons/railway-vs-render/) and [leave Fly.io without rewriting your code](/en/guides/migrate-from-fly/).

## Which one to choose

**Choose while if:**

- Your AI built the tool, and nobody should have to choose a machine or a database.
- It serves the team and sometimes a client, with its data backed up every day in France.
- You want one price for the whole team, without counting people.

**Between the two**, pick Fly.io for a small, lightly used app, heavy data transfer or several regions of the world. Pick Railway for a simple subscription with unlimited seats.

To try while, give this message to your AI. The trial is **free, with no sign-up**, and your tool has its address **in 3 minutes**.

```text titre="The message to give your AI"
Read while.sh/agents and help me get started with while.
```

## How we compared

On November 18, 2026, we read the Fly.io and Railway pricing pages, cited as sources. Railway's monthly amounts are our calculations from its per-second prices, over 30 days. Both sometimes change their plans: we update this page when they change.

## Sources

1. [Fly.io, Fly.io Resource Pricing](https://fly.io/docs/about/pricing/), 2026-11-18
2. [Railway, Pricing](https://railway.com/pricing), 2026-11-18

## Questions

### Fly.io or Railway, which one is cheaper?

For a small, lightly used app, Fly.io: a 512 MB machine costs $3.69 for 30 days, and a personal bill under $5 is waived. Railway Hobby costs $5 per month, usage credit included (sources 1 and 2). On while, the Libre plan has no subscription: you pay only for what runs, by the second.

### Does Railway have a free tier?

Yes. A trial gives $5 of credit for 30 days, then the free plan gives $1 of credit per month, with no credit card. Services wake on request (source 2). On while, the trial is free with no sign-up, and the Libre plan has no subscription.

### Does Fly.io have a free tier?

No, not for new organizations. A trial gives $1 of credit for 7 days, and a personal bill under $5 per month is waived (source 1). On while, the trial is free with no sign-up, and the Libre plan has no subscription.

### How does Railway bill?

Per second, on what is consumed: about $10 per GB of memory and $20 per vCPU for a full month, $0.15 per GB of volume and $0.05 per GB of egress. Hobby and Pro include $5 and $20 of usage (source 2).

### Which one is cheaper for data transfer?

Fly.io: $0.02 per outbound GB in North America and Europe, versus $0.05 per GB at Railway (sources 1 and 2). On while, the Libre plan has no subscription: you pay only for what runs, by the second.

### Is there an option with no machine or database to manage?

Yes. For a tool your AI built and the team shares, while takes care of it, with its data backed up every day and hosted in France by Nextmap.
