Fly.io Machines vs Replit
Fly.io Machines are microVMs that your code starts and stops through a REST API, running the image you build, in 17 regions. Replit is an AI app builder: you describe an app, Replit Agent writes it, and Replit hosts it.
The companies and products
Fly.io Machines
Fly.io is an app hosting platform, and Machines are the microVMs underneath it that you can also start and stop through a REST API.
A Fly Machine boots your Docker image as a Firecracker microVM on Fly's own servers, in one of 17 regions. You pick a shared or performance CPU preset and mount one Volume at a time for data that must last. Fly Proxy can stop, suspend and wake Machines as traffic comes and goes. Machines themselves are an app-hosting building block; for agent sandboxes Fly also sells Sprites (see boat vs Sprites), so this page compares only the Machines product.
Replit
Replit is an AI app builder and hosting platform: you describe an app in chat, Replit Agent writes it, and Replit publishes it.
You work in a browser workspace where Replit Agent sets up the project, writes the code, tests it and fixes problems, with system packages managed by Nix. When the app is ready you publish it as an Autoscale, Static, Scheduled or Reserved VM deployment, with Postgres and object storage next to it. It is built for people and teams who want a working app, not for programs that need to create many machines by API. This page compares the parts where the two overlap.
Which use cases each one fits
For each use case, Battleships prices every sandbox provider on the same workload and sorts them from the cheapest monthly bill up. “123rd cheapest of 365” means 122 of the other 364 providers run that workload, with every feature it needs, for less. “With limits” means the provider runs it but misses something, so it is listed after every full match. Open a use case for its whole ranking and what each provider misses.
| Use case and its workload | Fly.io Machines: price rank | Replit: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month Fly can start one Machine per agent from code, but you build the image and its tools. Replit's MCP server drives Replit Agent per app, with up to 10 parallel Agent tasks on Pro. boat fits fully, at $634 a month in this preset. | 123rd of 365, with limits $836 a month | 204th of 365, with limits $2,000 a month | 5th cheapest of 365 $634 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB An always-on assistant on Replit is one Reserved VM app billed all month. A Fly Machine has no time cap, and files last on its Volume or with opt-in persist_rootfs. | 186th of 361, with limits $816 a month | 246th of 361, with limits $2,033 a month | 6th cheapest of 361 $657 a month |
| Code interpreter bursts 100 at once · 1 vCPU / 2 GB · 200,000 sessions of 1 min a month Fly is the better of the two for short bursts: per-second billing with no plan fee, and cheap shared CPU for code that mostly waits. | 83rd of 336, with limits $94 a month | 225th of 336, with limits $146 a month | 189th of 336, with limits $2,000 a month |
| Sandboxes for your users 300 at once · 2 vCPU / 4 GB · 30,000 sessions of 23 min a month Fly can create a Machine per user through its API, about one create request per second per app. Replit does not publish how many deployments can run at once. | 75th of 349, with limits $600 a month | 229th of 349, with limits $825 a month | 3rd cheapest of 349 $209 a month |
| RL rollouts 1,000 at once · 2 vCPU / 4 GB · 1,000,000 sessions of 3 min a month | 52nd of 349, with limits $2,838 a month | 253rd of 349, with limits $4,226 a month | 39th of 349, with limits $2,000 a month |
| Agent evals 250 at once · 4 vCPU / 8 GB · 15,000 sessions of 20 min a month | 124th of 359, with limits $457 a month | 266th of 359, with limits $685 a month | 10th cheapest of 359 $200 a month |
| CI runners 40 at once · 8 vCPU / 16 GB · 6,000 sessions of 12 min a month CI jobs keep the CPU busy, which drains a shared Fly vCPU's burst balance. Replit's Nix-based environment docs do not describe Docker for container builds. | 154th of 374, with limits $288 a month | 278th of 374, with limits $425 a month | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB A Replit workspace is a good place to code by hand, though its CPU and memory per plan are no longer published. On Fly you build the dev box image yourself. | 160th of 371, with limits $35 a month | 181st of 371, with limits $109 a month | 19th cheapest of 371 $26 a month |
| Computer-use agents 50 at once · 4 vCPU / 8 GB · 20,000 sessions of 15 min a month Replit's VNC pane streams a desktop to a person, and its docs describe no computer-use API. On Fly you add a desktop to your own image. boat ships a 60fps desktop with computer tools. | 140th of 367, with limits $173 a month | 225th of 367, with limits $619 a month | 7th cheapest of 367 $200 a month |
| Browser-use agents 50 at once · 2 vCPU / 4 GB · 30,000 sessions of 10 min a month | 229th of 356, with limits $90 a month | 277th of 356, with limits $317 a month | 7th cheapest of 356 $200 a month |
| Scraping & bots (startup scale) 50 at once · 1 vCPU / 2 GB · 100,000 sessions of 3 min a month | 233rd of 343, with limits $67 a month | 282nd of 343, with limits $217 a month | 6th cheapest of 343 $90 a month |
| Mass scraping & bots (undetectable) 1,000 at once · 1 vCPU / 2 GB · 3,000,000 sessions of 2 min a month Fly ranks highest of the three here: its bill is $1,232 a month against $1,800 on boat, and it can spread scrapers across 17 regions. | 47th of 327, with limits $1,232 a month | 147th of 327, with limits $4,378 a month | 73rd of 327, with limits $1,800 a month |
| Parallel red teaming 200 at once · 2 vCPU / 4 GB · 5,000 sessions of 30 min a month | 168th of 351, with limits $63 a month | 241st of 351, with limits $215 a month | 3rd cheapest of 351 $200 a month |
| GPU eval jobs 10 at once · 8 vCPU / 32 GB · 500 sessions of 30 min a month | Not ranked: misses a requirement | Not ranked: misses a requirement | Not ranked: misses a requirement |
| macOS agents 5 at once · 4 vCPU / 8 GB · 1,000 sessions of 20 min a month | Not ranked: misses a requirement | Not ranked: misses a requirement | Not ranked: misses a requirement |
Key features
| Feature | Fly.io Machines | Replit | boat |
|---|---|---|---|
| Kind of product | App hosting platform; Machines are its microVM building block with a REST API. Fly sells Sprites separately for agent sandboxes | AI app builder with browser workspaces and app hosting | Agent sandbox: a full VM per agent, ready to use |
| Isolation | Firecracker microVM with its own kernel | Not documented for workspaces; the security page says strong logical separation between users | Full VM with its own kernel, on physical hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared |
| Creating machines from code | REST API to create, start and stop Machines, about one create request per second per app | MCP server tools to create, update and publish apps; the docs describe no API to start many machines | API, SDK and CLI to create, stop, resume and fork sandboxes, within each plan's start caps (the $20 plan includes 200 starts a day) |
| Docker, systemd and nested virtualization | Root and Docker you install yourself; Fly's own init by default (systemd as PID 1 is not a documented setup); /dev/kvm not documented | System packages come from Nix; the docs do not describe Docker, systemd or /dev/kvm | Docker, root, real systemd and /dev/kvm on every sandbox |
| Files after a stop | Root file system resets by default; opt-in persist_rootfs keeps it, but Fly staff say not to trust it with critical data. Lasting data goes on one Volume, billed for its full size around the clock | Workspace files persist, and Agent checkpoints save files, database and settings at milestones; published apps keep data in Postgres or App Storage | Disk saved every minute and at each stop; no compute charge while stopped; kept at least 14 days, longer with a saved snapshot |
| Pause and memory | Suspend keeps memory for Machines up to 2GB; the snapshot is dropped on deploy or host move | No pause documented; the docs do not describe stopping a Reserved VM to save money | Resume reboots from disk; memory is not saved |
| Waking on a request | Fly Proxy stops or suspends idle Machines and wakes them when a request arrives | Autoscale starts on the first request and goes idle after 15 minutes, with no compute charge while idle and a $2 monthly base fee | No wake on request; you start and stop sandboxes through the API |
| Desktop and computer use | Not built in; you add a desktop and browser to your own image | VNC pane that streams a native desktop to your browser; the docs describe no computer-use API | 60fps desktop and Chromium, computer tools and browser control, embeddable stream |
| Coding agents | Not built in on Machines; you install agents in your image. Fly's separate Sprites product ships coding agents | Replit Agent, which you can also drive from an MCP client (create, update, ask, publish) | Seven harnesses installed, including Claude Code, Codex and OpenCode, with a prompt, steer and events API |
| Keeping keys out of the sandbox | Secrets arrive as environment variables; you deploy Fly's open-source tokenizer proxy yourself | Replit manages keys for OpenAI, Anthropic, Google, Grok and OpenRouter models, billed to credits; other keys are secrets in the app | Optional AI credentials proxy ($1 a day while on, plus $1 per 1,000 requests) for model providers and custom HTTPS APIs; other secrets still enter the sandbox |
| Reaching the machine | Public HTTPS and TCP services through Fly Proxy, Anycast IPs, custom domains, private network between Machines | Published apps on HTTPS domains, custom domains and private deployments; SSH into the workspace on paid plans | Up to 50 HTTPS URLs, token-gated by default; SSH; public IPv6 and outbound IPv4; no dedicated IPv4 |
| Outbound rules | Network policies allow chosen ports and protocols and deny the rest | No outbound allowlist documented; static outbound IPs on Enterprise | Open internet on every plan; no provider-side allowlist |
| CPU | Shared vCPUs guarantee 6.25% of a core plus bursts; performance vCPUs get the full core at a higher rate | Reserved VMs come in fixed sizes with dedicated vCPUs, such as 4 vCPU / 16 GB; workspace CPU per plan is not published | Shared vCPUs with no baseline quota or burst balance; one price per size |
| Regions | 17 regions on six continents | Published apps in North America, Europe, Asia, South America and Australia on Core and up; data mainly in the US | Germany, Finland and France; you cannot pick one; no US or Asia region |
Every feature Battleships tracks (43)
| Feature | Fly.io Machines | Replit | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | Yes | Yes |
| Docker inside | Yes | Not published | Yes |
| Nested virtualization | Not published | No documented way | Yes |
| Root | Yes | Not published | Yes |
| Systemd | Not published | Not published | Yes |
| Desktop GUI | No documented way | Yes | Yes |
| Browser | No documented way | No documented way | Yes |
| Computer-use API | No documented way | No documented way | Yes |
| SSH | Yes | Yes | Yes |
| Persistent disk | Yes | Yes | Yes |
| Pause/resume | Yes | No documented way | Yes |
| Automatic snapshots | Yes | Yes | Yes |
| Fork/clone | Yes | Yes | Yes |
| Live fork (no pause) | Yes | No documented way | Yes |
| Memory fork | No documented way | No documented way | No documented way |
| Custom image (Docker or snapshot) | Yes | Yes | Yes |
| ≥24 h sessions | Yes | Yes | Yes |
| Idle auto-stop | Yes | Yes | No documented way |
| Wake on request | Yes | Yes | No documented way |
| HTTPS preview URLs | Yes | Yes | Yes |
| Raw TCP inbound | Yes | Not published | Yes |
| Public IPv4 | Yes | No documented way | No documented way |
| Egress allowlist | Yes | No documented way | No documented way |
| Secret proxy | No documented way | Yes | Yes |
| Secret proxy for any API | No documented way | No documented way | Yes |
| Preinstalled agents | No documented way | Yes | Yes |
| Agent harness API | No documented way | Yes | Yes |
| MCP server | Yes | Yes | No documented way |
| GPU | No documented way | No documented way | No documented way |
| Windows | No documented way | No documented way | No documented way |
| Arm64 | No documented way | Not published | No documented way |
| Self-hosting | No documented way | No documented way | No documented way |
| BYOC | No documented way | No documented way | No documented way |
| Open source | Yes | No documented way | No documented way |
| Scoped API keys | Not published | Not published | Yes |
| Spend limits | No documented way | Yes | Yes |
| Usage per sandbox (API) | No documented way | Yes | Yes |
| Audit logs | Not published | Yes | No documented way |
| SSO | No documented way | Yes | No documented way |
| SOC 2 | Yes | Yes | No documented way |
| HIPAA | Yes | No documented way | No documented way |
| EU data residency | Yes | Yes | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
Fly.io Machines and Replit are not in the public benchmarks we use, so we cannot say which is faster. In StarSling's run of 3 October 2026 (run 37073680030), boat did 28.06 V8 Web Tooling Benchmark runs per second at 4 vCPU / 8 GB, second of 15. Every boat sandbox in this run ran on an AMD Ryzen 9 9950X host. boat also places some sandboxes on AMD Ryzen 7 9700X hosts, which this run did not measure. On Fly, results depend on the CPU class: shared vCPUs guarantee 6.25% of a core, and performance vCPUs get the full core.
V8 Web Tooling Benchmark at a 4 vCPU / 8 GB target, runs per second, higher is better. Source: StarSling's run of 3 October 2026 (run 37073680030), median of 5 sandboxes. Providers ran on different hardware in different regions. StarSling gives a shared rank when the run cannot separate two providers. Every boat sandbox in this run ran on an AMD Ryzen 9 9950X host. boat also places some sandboxes on AMD Ryzen 7 9700X hosts, which this run did not measure. Fly.io Machines and Replit are not in the public benchmarks we use, so we cannot say which is faster.
Pricing in five scenarios
Each bill is priced from the providers' public price lists by the open Battleships engine, with the cheapest plan that runs the scenario. Start limits, per-start fees and plan minimums are in the price, boat's included.
| Scenario | Fly.io Machines, a month | Replit, a month | boat, a month |
|---|---|---|---|
| One coding agent, workdays 4 vCPU / 8 GB, 50 GB disk, 8 hours a day, 22 days a month, files kept between days | $15 · Pay As You Go · with limits | $122 · Pro $100 (annual) · with limits | $20 · $20/mo |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $36 · Pay As You Go · with limits | $122 · Pro $100 (annual) · with limits | $26 · $20/mo |
| 50 agents in parallel 50 machines of 4 vCPU / 8 GB at once, 8-hour sessions, 1,100 sessions a month, Docker inside | $487 · Pay As You Go · with limits | $6,092 · Pro $2,500 (annual) · with limits | $317 · $20/mo × 3 seats |
| Sandboxes for your users 2 vCPU / 4 GB, 30,000 sessions of 10 minutes a month, up to 300 at once | $110 · Pay As You Go · with limits | $403 · Pro $250 (annual) · with limits | $200 · $100/mo × 2 seats |
| 1,000 short jobs at once 2 vCPU / 4 GB, 1,000 at once, 3 minutes each, 200,000 jobs a month | $232 · Pay As You Go · with limits | $825 · Pro $1,000 (annual) · with limits | $8,800 · $2000/mo · with limits |
Fly.io Machines: Fly bills each Machine per second while it runs, by CPU preset and memory, with no plan fee. Stopped Machines pay for their root file system, and Volumes are billed for their full size all month. The figures use Fly's lowest rate, shared vCPUs bought in 1-year reservation blocks for 40% off.
Replit: Replit plans (Core $20, Pro from $100) turn into monthly credits for Agent work and hosting. A Reserved VM has a fixed monthly price per size, such as $130 for 4 vCPU / 16 GB with dedicated vCPUs, and bills busy or idle. That size has twice the RAM of the boat size we compare. Agent usage is left out of the figures.
Replit: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month. A 4 vCPU / 8 GB sandbox costs $0.036 an hour, billed per second while it runs. A stopped sandbox has no compute charge; extra saved snapshots and the optional AI credentials proxy still charge. The $20 plan includes 200 starts a day; extra starts cost $0.03 to $0.07 each.
Limits in those scenarios
Both are marked as a compromise in every scenario, because both are app platforms. Fly's low figures need a 1-year reservation and use shared vCPUs that guarantee 6.25% of each core, so long builds get throttled, and its API takes about one create request per second per app. Replit prices each agent as a Reserved VM that runs all month, does not publish how many can run at once (300 or 1,000 are not confirmed), and does not document Docker. On boat, the 1,000-job burst needs more starts than the $2,000 plan includes, so paid extra starts bring its bill to $8,800, and starts above 270 a minute fail with 429.
| Scenario | Fly.io Machines | Replit | boat |
|---|---|---|---|
| One coding agent, workdays |
|
| None for this scenario |
| One agent that never stops |
|
| None for this scenario |
| 50 agents in parallel |
|
| None for this scenario |
| Sandboxes for your users |
|
| None for this scenario |
| 1,000 short jobs at once |
|
|
|
Which one should you use?
Use Fly.io Machines when
you want to boot your own image as microVMs from code, near users in many regions, with wake on request and port-level network rules.
- Your own image, started by API. Useful if you build your own platform: your code boots any Docker image as a microVM and stops it when done.
- 17 regions worldwide. Useful if your users are spread out: Fly runs Machines in 17 regions, from the US to Sydney and Johannesburg.
- Wake on request and port-level rules. Useful for services that sleep between requests: Fly Proxy wakes Machines on traffic, and network policies limit ports and protocols.
Use Replit when
you want Replit Agent to build a web app from a description and host it for you, with a database, storage and hosting that sleeps when idle.
- An app built and hosted for you. Useful if you want a working app from a description: Replit Agent writes, tests and publishes it for you.
- Databases and storage next to the app. Useful for small products: each published app gets Postgres and App Storage without running them yourself.
- Hosting with no compute charge when idle. Useful for web apps with uneven traffic: Autoscale wakes on the first request and has no compute charge while idle, plus a $2 monthly base fee.
Where boat fits
Fly gives you microVMs to fill with your own image, and Replit builds and hosts apps around its own agent. If you run agents that install, build, test and browse for hours, boat gives each one a full VM with those pieces in place. boat's limits: start caps per plan, no hosted database and no US or Asia region.
A disk saved with no code
Agents leave tools, repos and caches all over the disk. On Fly they last on a Volume you pay for around the clock, or with persist_rootfs. Replit's published apps keep data in Postgres or App Storage, not on their filesystem. boat saves the whole disk every minute and at each stop; a machine failure loses what was written after the last good snapshot.
Docker, systemd and /dev/kvm
Fly Machines run Fly's own init by default, and Fly does not document /dev/kvm. Replit's docs do not describe Docker. Every boat sandbox has Docker, systemd and /dev/kvm on its own kernel.
Agents driven from outside
On Fly you build the image with agents, browser and desktop, then run your own tokenizer for keys. Replit's MCP server drives Replit Agent. boat preinstalls seven coding agents with a prompt, steer and events API, plus an optional paid keys proxy.
Use boat when your agents do real work for hours: full VMs with Docker, systemd and /dev/kvm, a disk saved every minute and at each stop, a desktop and coding agents you drive from outside. Compare it one to one: boat vs Fly.io Machines and boat vs Replit.
boat's own limits
- Plans start at $20 a month. The plan price comes back as VM time for that month. Unused time does not carry over. Source
- Starts (create, fork, resume): the $20 plan includes 12 a minute, 60 an hour and 200 a day. The $2,000 plan includes 90 a minute, 600 an hour and 2,400 a day. Extra starts cost $0.03 to $0.07. A start fails with 429 above 3 times the included starts per minute, or 6 times per hour or per day. Source
- A stopped sandbox has no compute charge. boat keeps its disk for at least 14 days. A saved snapshot keeps it longer; extra saved snapshots and the AI credentials proxy are paid. Source
- Auto-stop defaults to 1 hour. You can turn it off on a paid plan. The trial allows 2 hours at most. Source
- boat saves the disk every minute and at each stop. Memory, running programs and /tmp are not saved: a resume is like a reboot. A machine failure loses writes after the last good snapshot. Source
- Machines run in Germany, Finland and France only. Snapshot copies can be stored outside the EU. Source
- Public IPv6 and outbound IPv4. No dedicated IPv4. The IP changes at each resume. Source
- Hosts are AMD Ryzen 7 9700X and Ryzen 9 9950X. vCPUs are shared. No GPU. You cannot boot your own Docker image. Source
Questions people ask
Is Fly.io Machines cheaper than Replit?
In the agent scenarios we priced, yes. One coding agent on workdays is $15 a month on Fly and $122 on Replit, 50 agents in parallel are $487 against $6,092, and sandboxes for your users are $110 against $403. Fly's figures use shared vCPUs on a 1-year reservation, and Replit's use Reserved VMs that bill all month. boat comes to $20, $317 and $200 for the same three.
Which is faster, Fly.io Machines or Replit?
Neither is in the public benchmarks we use, so we cannot say. On Fly it depends on the CPU class, since shared vCPUs guarantee 6.25% of a core. boat did 28.06 V8 Web Tooling runs per second at 4 vCPU / 8 GB in StarSling's run of 3 October 2026, on a Ryzen 9 9950X host.
Can I run Docker on Fly.io Machines or Replit?
On Fly you can install and run Docker yourself, since a Machine is a microVM with root; Fly does not document /dev/kvm. Replit's docs set up environments with Nix packages and do not describe Docker. Every boat sandbox has Docker, systemd and /dev/kvm ready.
Do my files survive a stop?
On Fly, the Volume keeps files, and opt-in persist_rootfs keeps the root file system, which Fly says not to trust with critical data. On Replit, workspace files and Agent checkpoints stay, and published apps keep data in Postgres or App Storage. boat saves the whole disk every minute and at each stop, and keeps it at least 14 days, longer with a saved snapshot.
Can I use either one as an AI agent sandbox?
Fly can be one if you build it: you package the tools, browser and agents into an image and add a Volume; Fly also sells Sprites for agent sandboxes. Replit is an app builder, and from outside its MCP server drives Replit Agent. boat ships the sandbox, agents and desktop in every sandbox.
Where does my data run?
Fly runs Machines in 17 regions worldwide. Replit hosts data mainly on Google Cloud in the United States, and on Core and up publishes apps in five regions. boat runs sandboxes in Germany, Finland and France, you cannot pick a region, and snapshot copies can be stored outside the EU.
Try boat
Install the CLI, then run boat new.
7-day free trial
More comparisons
- boat vs Fly.io Machines
- boat vs Replit
- E2B vs Fly.io Machines
- Daytona vs Fly.io Machines
- Modal vs Fly.io Machines
- Vercel Sandbox vs Fly.io Machines
- Cloudflare Sandbox vs Fly.io Machines
- Blaxel vs Fly.io Machines
- Runloop vs Fly.io Machines
- Tensorlake vs Fly.io Machines
- Morph Cloud vs Fly.io Machines
- CodeSandbox SDK vs Fly.io Machines