Skip to content
sandboxrouting

Fly.io Machines

fly, free every month, microVM isolation.

$2.50 every month

About 72 h of a 2 vCPU, 4 GiB sandbox a month, at $0.0348/h with every vCPU busy. The router reserves that much for each live box, so it never runs past the tier.

Terms

Free usage
$5 / month shared with sprites (counted as $2.50 each ; card required)
Free limits
3 machines
Paid after
~$0.035/h (2 shared vCPU / 4 GB)
Free concurrency
3 at once
Card
required
Adapter's note
Fly's Free plan: $5 of usage a month shared by Machines and Sprites (card required; up to 3 of each). Split evenly between fly and sprites here, since the router meters each apart; give one all of it in config if you use only one. New accounts also get a $1 trial for 7 days.
Checked
Nov 21, 2026 against fly.io/docs/about/pricing/

Fly's Free plan has one $5 a month for Machines and Sprites together, and the router meters each provider apart, so each counts $2.50: with both on, the two can't spend more than the $5. If you use only one, give it all: "fly": { "freeTier": { "kind": "monthly-credit", "usd": 5 } }.

The adapter

Fly.io Machines over the public REST API (https://api.machines.dev/v1, Bearer). Fly's Free plan includes $5 of usage a month, shared with Sprites; shared-CPU machines billed per second. Needs an app you own: FLY_APP (or providers.fly.options.app). Rate limit: about 1 request/s per action.

Keys
FLY_API_TOKEN , FLY_APP
Connects through
REST api.machines.dev/v1
Capabilities
Any OCI image
Isolation
microVM
Operating system
Linux
Longest sandbox
no limit declared
Longest command
no cap declared
Timeout
The provider stops it at the deadline
Billing
Wall clock, every second it runs
Source
src/providers/fly.ts, and the provider’s site
Route only here
const sbx = await router.create({ providers: ["fly"] });
Override its terms in sandboxrouting.json
{
  "providers": {
    "fly": {
      "freeTier": {
        "kind": "monthly-credit",
        "usd": 2.5
      },
      "priority": 10
    }
  }
}