Hosting Next.js on Fly.io
Pricing data as of 2026-08-28 · refreshed weekly
EdgeSSLDIY: cdn, image opt, previews, auto-deploy
Fly.io is a paas platform. Next.js needs roughly 512MB RAM for a production server process, so the cheapest plan that actually fits depends on your traffic. Below is the cheapest Fly.io plan that fits each traffic level, computed from current list prices.
Note: the 512MB figure is for serving the built app. Production builds (next buildand friends) are heavier and belong in CI or on your laptop — run them on the same small instance and you'll hit out-of-memory errors that say nothing about its serving capacity.
Cheapest fitting plan by traffic
| Traffic | Plan | $/month | Notes |
|---|---|---|---|
| Hobby / side project (~5,000/mo) | shared-cpu-1x 512MB | $3.48 | Always-on est.; egress $0.02/GB (NA/EU) included in our totals |
| Startup / small business (~50,000/mo) | shared-cpu-1x 512MB | $4.8 | Always-on est.; egress $0.02/GB (NA/EU) included in our totals |
| E-commerce (~200,000/mo) | shared-cpu-1x 512MB | $18.96 | Always-on est.; egress $0.02/GB (NA/EU) included in our totals |
| High traffic (~1,000,000/mo) | shared-cpu-1x 512MB | $32.62 | Always-on est.; egress $0.02/GB (NA/EU) included in our totals |