How Fly.io charges
Fly.io bills for what you provision, by the second. A machine has a CPU preset and memory, with a monthly figure that assumes it runs for 30 days: a shared-cpu-1x with 1 GB is $6.70, a shared-cpu-2x with 2 GB is $13.39, and a performance-1x with 2 GB is $33. Extra memory is $6 per GB a month. A stopped machine is not free: you pay $0.15 per GB a month for its root filesystem.
Volumes are $0.15 per GB a month whether or not a machine is attached, snapshots are $0.08 per GB after the first 10 GB each month, outbound data is $0.02 per GB in North America and Europe, and a dedicated IPv4 address is $2 a month. Prices differ by region.
Fly.io has no free tier for new organisations. It offers a trial of up to two hours of machine runtime or seven days, whichever comes first, and then needs a card.