← Sandboxes
Fly.io Sprites
provider: "sprites"
Sprites idle for free on their own and have no lifetime setting; kill() deletes the sprite. Its SDK asks for Node 24+.
Price per hour while running
| 1 vCPU · 2 GB | $0.082 |
| 2 vCPU · 4 GB | $0.165 |
| 4 vCPU · 8 GB | $0.329 |
| 8 vCPU · 16 GB | max 8 GB memory |
| 16 vCPU · 32 GB | max 8 vCPU |
| 32 vCPU · 128 GB | max 8 vCPU |
bills actual CPU and memory use; this is the full-use price; storage extra.
Source: fly.io/sprites, checked 2026-11-04.
install
npm i @sandboxrouter/sdk @fly/sprites
export SPRITES_TOKEN=...use Fly.io Sprites
import { Router } from "@sandboxrouter/sdk";
const router = new Router();
const sbx = await router.create({ vcpu: 2, memoryGb: 4 }, { provider: "sprites" });
const r = await sbx.exec("uname -a", { onStdout: (c) => process.stdout.write(c) });
await sbx.kill();Leave out provider and the router picks Fly.io Sprites whenever it's the best fit for the job, or falls back to it when another provider is busy.