Fly.io Machines pricing
Fly.io · Micro-VMs (per-second, scale-to-zero) · snapshot captured June 2026
Fly.io Machines is priced as micro-vms (per-second, scale-to-zero). Per-second billing of CPU/RAM presets; shared-cpu-1x/256 MB ~$0.0027/hr (~$1.94/mo). Extra RAM ~$5/GB per 30 days. Scale-to-zero supported (stopped Machines bill $0 for compute; attached volumes bill $0.15/GB-mo). Outbound egress from ~$0.02/GB. It scales to zero, so you pay nothing while idle. Egress: Outbound bandwidth billed per GB by region (from ~$0.02/GB).
Source: Fly.io pricing. Data as of June 2026.
Fly.io Machines pricing at a glance
| Cost factor | Fly.io Machines |
|---|---|
| Pricing model | Micro-VMs (per-second, scale-to-zero) |
| Per 1M requests | Not request-priced |
| Per GB-second | n/a |
| Free tier | No free allowance since 2024. Smallest shared-cpu-1x / 256 MB Machine ~$1.94/month always-on (~$0.0027/hr). Per-second billing; stopped Machines cost $0 (volumes still bill at $0.15/GB-mo). RAM ~$5 per GB per 30 days. |
| Scale to zero | Yes (no charge when idle) |
| Egress | Outbound bandwidth billed per GB by region (from ~$0.02/GB). |
| Regions | 35+ regions worldwide. |
Source: Fly.io pricing page. Data as of June 2026.
Source: Fly.io pricing. Snapshot June 2026 — verify on the vendor's pricing page. Serverless pricing changes frequently.
Worked example
A small API doing 1,000,000 requests/month, each running ~200 ms at 256 MB of memory (≈50,000 GB-seconds/month):
Fly.io Machines is not billed per request — it uses micro-vms (per-second, scale-to-zero), so a per-request figure is not comparable. Per-second billing of CPU/RAM presets; shared-cpu-1x/256 MB ~$0.0027/hr (~$1.94/mo). Extra RAM ~$5/GB per 30 days. Scale-to-zero supported (stopped Machines bill $0 for compute; attached volumes bill $0.15/GB-mo). Outbound egress from ~$0.02/GB. Use the platform's own model for this workload.
Computed from the committed June 2026 snapshot rates. See the calculator to change the assumptions, and methodology for the formula.
Cost pros & cons
Where Fly.io Machines saves money
- True micro-VMs with scale-to-zero (stopped = $0 compute)
- Per-second billing, no monthly platform minimum
- Run any Docker image close to users in 35+ regions
Watch-outs
- No free tier since 2024
- Scale-to-zero adds cold-start latency on the first request
- You manage more of the stack than with a pure FaaS
Fly.io Machines vs similar platforms
How Fly.io Machines compares with related serverless platforms on the headline rates:
| Platform | Model | Per 1M req | Per GB-s | Egress |
|---|---|---|---|---|
| Fly.io Machines (this platform) | Micro-VMs (per-second, scale-to-zero) | Not request-priced | n/a | $0.02/GB |
| AWS Fargate | Serverless containers (vCPU-hour + GB-hour) | Not request-priced | n/a | $0.09/GB |
| AWS Lambda | FaaS (request + GB-second) | $0.20 / 1M | $0.0000167 / GB-s | $0.09/GB |
| Cloudflare Workers | Edge FaaS (request + CPU-ms) | $0.30 / 1M | n/a | Free |
| Google Cloud Run | Serverless containers (vCPU-s + GiB-s + request) | $0.40 / 1M | $0.0000025 / GB-s | varies |
| Google Cloud Functions | FaaS (now on Cloud Run model) | $0.40 / 1M | $0.0000025 / GB-s | varies |
Frequently asked questions
How much does Fly.io Machines cost?
Per-second billing of CPU/RAM presets; shared-cpu-1x/256 MB ~$0.0027/hr (~$1.94/mo). Extra RAM ~$5/GB per 30 days. Scale-to-zero supported (stopped Machines bill $0 for compute; attached volumes bill $0.15/GB-mo). Outbound egress from ~$0.02/GB. Snapshot June 2026 — verify on the vendor's pricing page.
Does Fly.io Machines have a free tier?
Not a perpetual free runtime. No free allowance since 2024. Smallest shared-cpu-1x / 256 MB Machine ~$1.94/month always-on (~$0.0027/hr). Per-second billing; stopped Machines cost $0 (volumes still bill at $0.15/GB-mo). RAM ~$5 per GB per 30 days.
Does Fly.io Machines scale to zero?
Yes — Fly.io Machines scales to zero, so you pay nothing while it is idle (you are billed only for actual usage). No free tier (the old free allowance ended in 2024). A shared-cpu-1x/256 MB Machine is ~$1.94/mo always-on; $0 when stopped.
What does Fly.io Machines charge for egress?
Outbound bandwidth billed per GB by region (from ~$0.02/GB). Egress is one of the most overlooked serverless costs, so model your outbound data when comparing platforms.
Keep exploring
Source & accuracy
Figures are a dated snapshot from Fly.io's pricing page (snapshot captured June 2026). The worked example is a transparent calculation over those inputs (see methodology). Serverless pricing is volatile and varies by region, memory tier and discounts — verify current prices on the vendor's page before relying on them. This is an informational comparison, not a quote.
Last updated: 2026-06-21