Fly.io Machines vs Upstash Box
Fly.io Machines are microVMs for hosting your own apps in 17 regions: you bring the image, the tools and the agent. Upstash Box is built for agents: a ready container with a coding agent inside that pauses when idle and wakes on the next request, in AWS us-east-1 on self-serve plans.
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.
Upstash Box
Upstash Box is a cloud computer for AI agents from Upstash, the company known for serverless Redis, Vector and QStash.
Each box is a Docker container with its own filesystem, shell, git and an optional coding agent such as Claude Code, Codex, OpenCode or Cursor, which you drive from TypeScript or Python SDKs. A box pauses when it sits idle, keeps its files, and you pay for the CPU it actually uses. Upstash built it to run its own Context7 service and opened it to everyone in March 2026.
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 | Upstash Box: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month A software factory needs Docker. On Fly you install it in your own image and keep files on a Volume or with opt-in persist_rootfs. Upstash does not document Docker inside a box, which is itself a container. boat has Docker ready on every sandbox. | 123rd of 365, with limits $836 a month | 98th of 365, with limits $464 a month | 5th cheapest of 365 $634 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB | 186th of 361, with limits $816 a month | 170th of 361, with limits $450 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 Upstash fits short code runs fully, since an idle box costs no CPU and RAM is not billed. Fly is a compromise, and its lowest rate needs a 1-year reservation. | 83rd of 336, with limits $94 a month | 13th cheapest of 336 $119 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 boat and Upstash both rank near the top here; Upstash wakes a user's paused box on the next request. Fly's API takes about one create request per second per app. | 75th of 349, with limits $600 a month | 4th cheapest of 349 $222 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 Fly ranks far above Upstash for RL rollouts, with per-second billing and Docker you can install in your own image. | 52nd of 349, with limits $2,838 a month | 343rd of 349, with limits $8,000 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 | 67th cheapest of 359 $1,011 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 Upstash fits the CI preset as priced, but does not document Docker or /dev/kvm inside a box. Busy CI drains a shared Fly vCPU's burst balance. boat has Docker and /dev/kvm on every sandbox. | 154th of 374, with limits $288 a month | 122nd cheapest of 374 $1,480 a month | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB Upstash's keep-alive box is a flat-price dev box at $19 a month in this preset. boat's is a full VM with Docker, root and a 51 GB disk, at $26. | 160th of 371, with limits $35 a month | 8th cheapest of 371 $19 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 Neither Fly nor Upstash has a desktop. On Fly you add one to your image. Upstash runs Chromium on a virtual display with a view-only live view. boat streams a Linux desktop at 60fps with computer tools. | 140th of 367, with limits $173 a month | 123rd of 367, with limits $76 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 | 48th of 356, with limits $38 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 | 41st cheapest of 343 $400 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 far above Upstash for mass scraping, since it can spread scrapers across 17 regions, while Upstash self-serve runs in AWS us-east-1. | 47th of 327, with limits $1,232 a month | 201st of 327, with limits $8,000 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 | 255th of 351, with limits $259 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 | Upstash Box | boat |
|---|---|---|---|
| Kind of product | App hosting platform; you boot your own image as a microVM through a REST API. Fly sells Sprites separately for agent sandboxes | Agent sandbox: a ready box with a shell, git and an optional coding agent | Agent sandbox: a full VM per agent, ready to use |
| Isolation | Firecracker microVM with its own kernel, on Fly's own servers | One Docker container per box, on AWS | Full VM with its own kernel, on physical hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared |
| Docker inside | Yes, with root, if you install it in your image; Fly's own init by default | Not documented; the box is itself a container, and custom images are listed as coming soon | Docker, root and real systemd ready on every sandbox |
| Nested virtualization | /dev/kvm not documented | Not documented; boxes are containers | /dev/kvm for Android emulators and nested VMs |
| 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 | A paused box keeps its files; storage keeps billing while paused | Disk saved every minute and at each stop; no compute charge while stopped; kept at least 14 days, longer with a saved snapshot |
| Disk size | One Volume of up to 500GB per Machine | 10, 20 or 30 GB by box size | 51 GB at the default 4 vCPU / 8 GB size, 51 to 251 GB by size; fixed per size |
| Idle and wake | Fly Proxy stops or suspends idle Machines and wakes them on a request; suspend keeps memory up to 2GB | A box pauses when idle and a request to its public URL resumes it | Started and stopped through the API; auto-stop is a timer, not an idle check; resume reboots from disk |
| Fork | Clone copies a Machine's config; its Volume starts empty unless you restore a volume snapshot or fork the Volume | Snapshot a running box and start many new boxes from it | Fork a running sandbox from its last 1-minute snapshot |
| Desktop and browser | Not built in; you add them to your own image | Managed Chromium on a virtual display with AI page actions, CDP and a view-only live view; no desktop or VNC | Linux desktop streamed at 60fps, Chromium, computer tools and browser control |
| Coding agents | Not built in on Machines; you install agents in your image | Claude Code, Codex, OpenCode and Cursor built in, with run and stream APIs, webhooks and scheduled prompts | Seven harnesses preinstalled, 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 | Host proxy injects headers into outbound HTTPS on port 443 for any host, set when the box is created | Optional AI credentials proxy ($1 a day while on, plus $1 per 1,000 requests) for supported model providers and HTTPS APIs you register |
| Outbound rules | Network policies allow chosen ports and protocols and deny the rest | Allow all, deny all, or allow and deny by domain and CIDR, changeable on a running box | 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 | Billed per active CPU hour by box size; RAM not billed | Shared vCPUs with no baseline quota or burst balance; billed at full rate while running, busy or idle |
| Regions | 17 regions on six continents | AWS us-east-1 on self-serve plans; custom regions on Enterprise | Germany, Finland and France; you cannot pick one; no US or Asia region |
Every feature Battleships tracks (43)
| Feature | Fly.io Machines | Upstash Box | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | No documented way | 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 | No documented way | Yes |
| Browser | No documented way | Yes | Yes |
| Computer-use API | No documented way | No documented way | Yes |
| SSH | Yes | Yes | Yes |
| Persistent disk | Yes | Yes | Yes |
| Pause/resume | Yes | Yes | Yes |
| Automatic snapshots | Yes | No documented way | Yes |
| Fork/clone | Yes | Yes | Yes |
| Live fork (no pause) | Yes | Yes | 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 | No documented way | Yes |
| Public IPv4 | Yes | No documented way | No documented way |
| Egress allowlist | Yes | Yes | No documented way |
| Secret proxy | No documented way | Yes | Yes |
| Secret proxy for any API | No documented way | Yes | 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 | Yes | 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 | Not published | Yes |
| Usage per sandbox (API) | No documented way | Yes | Yes |
| Audit logs | Not published | Not published | No documented way |
| SSO | No documented way | No documented way | No documented way |
| SOC 2 | Yes | Yes | No documented way |
| HIPAA | Yes | No documented way | No documented way |
| EU data residency | Yes | No documented way | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
Fly.io Machines and Upstash Box are not in StarSling's CPU benchmark, 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. ComputeSDK measured Upstash Box at its default size: a median of 2.34 s to the first command with 100 at once (2026-11-06), and 445 ms one at a time (2026-08-07). Fly and boat are not in ComputeSDK.
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 Upstash Box 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 | Upstash Box, 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 | $21 · Pay as You Go | $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 | $21 · Pay as You Go | $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 | $900 · Pay as You Go · 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 | $306 · Pay as You Go | $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 | $1,822 · Pay as You Go | $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 here use shared vCPUs bought in 1-year reservation blocks for 40% off.
Upstash Box: A standard box is billed for the CPU it actually uses, at $0.10, $0.20 or $0.40 per active CPU hour by size, plus $0.10 per GB-month of storage; RAM is not billed, and Pay as You Go has no monthly fee. A keep-alive box costs a flat $8, $16 or $32 a month whether busy or not.
Upstash Box: 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, busy or idle. 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
Fly is a compromise in all five scenarios: it is an app platform, its lowest figures need a 1-year reservation, and its shared vCPUs guarantee 6.25% of each core, so long builds get throttled. Upstash fits four of the five. The 50-agent scenario does not fit because Upstash does not document Docker inside a box, and its egress price is not published. boat does not fit 1,000 short jobs at once: even the $2,000 plan includes 90 starts a minute and 2,400 a day, and starts above 270 a minute fail with 429. Upstash fits that burst for $1,822 a month.
| Scenario | Fly.io Machines | Upstash Box | 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 near users in many regions, host full apps next to your sandboxes, or need big Volumes.
- 17 regions worldwide. Useful when agents or users sit far apart: Fly runs Machines in 17 regions, from the US to Sydney and Johannesburg.
- Your own image, with a full app platform. Useful if you host whole apps: you boot any Docker image, with private networking, Anycast IPs, custom domains and raw TCP.
- Big disks and memory suspend. Useful for data-heavy work: a Volume holds up to 500GB, and small Machines suspend with their memory kept.
Use Upstash Box when
you want a coding agent running today in a light box that pauses when idle, wakes on a request, runs in the US, or starts in big bursts.
- Coding agents built in. Useful if you want agents running today: Claude Code, Codex, OpenCode and Cursor ship in every box with SDKs and webhooks.
- Idle costs no CPU. Good for agents that wait a lot: you pay only for CPU actually used, RAM is not billed, and a request wakes the box.
- Domain-level outbound rules. Useful when an agent may only reach a short list of domains or IP ranges, changeable on a running box.
Where boat fits
Fly gives you a fast microVM and leaves the sandbox for you to build. Upstash gives you a ready agent box that is a container. If your agents need a full VM with Docker, a desktop and a disk saved with no code, boat ships that on every sandbox. boat's limits: start caps per plan, a $20 monthly minimum, and no US or Asia region.
A full VM with Docker and /dev/kvm
An Upstash box is itself a container, and its docs do not document Docker or /dev/kvm inside it. On Fly you add Docker to your own image; Fly boots its own init by default and does not document /dev/kvm. boat has Docker, systemd and /dev/kvm ready.
Room on the disk
On Fly, the agent's tools and caches need a Volume billed for its full size around the clock, or persist_rootfs. Upstash keeps files while paused, on a disk of 30 GB at most, and storage bills while paused. boat saves a 51 GB or larger disk every minute and at each stop; a machine failure loses what was written after the last good snapshot.
A desktop the agent can see
boat streams a 60fps desktop with Chromium and computer tools, and you drive agents inside from outside with a prompt, steer and events API. Upstash's browser runs on a virtual display with a view-only live view. On Fly you build the desktop yourself.
Use boat when your agents need a full VM for hours: Docker, emulators, a desktop, coding agents driven from outside and a disk saved every minute and at each stop. Compare it one to one: boat vs Fly.io Machines and boat vs Upstash Box.
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 Upstash Box?
Sometimes, at Fly's lowest rate of shared vCPUs on a 1-year reservation. One coding agent on workdays is $15 a month on Fly and $21 on Upstash, and 300 user sandboxes are $110 against $306. One agent that never stops is lower on Upstash: $21 against $36 on Fly. For 1,000 short jobs at once Fly is $232 and Upstash $1,822. boat is $20, $200, $26 and $8,800 for the same four.
Which is faster, Fly.io Machines or Upstash Box?
Neither is in the CPU benchmark we use, so we cannot say. Fly's shared vCPUs guarantee 6.25% of a core and get throttled under long load, while its performance vCPUs get the full core at a higher rate. boat did 28.06 V8 Web Tooling runs per second in StarSling's run of 3 October 2026, on a Ryzen 9 9950X host.
Can Fly.io Machines or Upstash Box run Docker?
A Fly Machine is a microVM with root, so you can install and run Docker inside your own image. Upstash's docs do not document Docker inside a box, since each box is itself a container. boat has Docker, systemd and /dev/kvm ready on every sandbox.
Do they keep my files when they 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. An Upstash box keeps its files while paused, with storage still billed, on a disk of 10 to 30 GB. boat saves the whole disk every minute and at each stop, and keeps it at least 14 days, longer with a saved snapshot.
Which one has coding agents built in?
Upstash Box ships Claude Code, Codex, OpenCode and Cursor with run and stream APIs. Fly Machines have none built in, so you install and drive agents yourself. boat preinstalls seven harnesses with a prompt, steer and events API.
Where do Fly.io Machines and Upstash Box run?
Fly runs Machines in 17 regions on six continents. Upstash Box runs in AWS us-east-1 on self-serve plans, with custom regions on Enterprise. 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 Upstash Box
- 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