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 workloadFly.io Machines: price rankUpstash Box: price rankboat: 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 requirementNot ranked: misses a requirementNot 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 requirementNot ranked: misses a requirementNot ranked: misses a requirement

Key features

FeatureFly.io MachinesUpstash Boxboat
Kind of productApp hosting platform; you boot your own image as a microVM through a REST API. Fly sells Sprites separately for agent sandboxesAgent sandbox: a ready box with a shell, git and an optional coding agentAgent sandbox: a full VM per agent, ready to use
IsolationFirecracker microVM with its own kernel, on Fly's own serversOne Docker container per box, on AWSFull VM with its own kernel, on physical hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared
Docker insideYes, with root, if you install it in your image; Fly's own init by defaultNot documented; the box is itself a container, and custom images are listed as coming soonDocker, root and real systemd ready on every sandbox
Nested virtualization/dev/kvm not documentedNot documented; boxes are containers/dev/kvm for Android emulators and nested VMs
Files after a stopRoot 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 clockA paused box keeps its files; storage keeps billing while pausedDisk saved every minute and at each stop; no compute charge while stopped; kept at least 14 days, longer with a saved snapshot
Disk sizeOne Volume of up to 500GB per Machine10, 20 or 30 GB by box size51 GB at the default 4 vCPU / 8 GB size, 51 to 251 GB by size; fixed per size
Idle and wakeFly Proxy stops or suspends idle Machines and wakes them on a request; suspend keeps memory up to 2GBA box pauses when idle and a request to its public URL resumes itStarted and stopped through the API; auto-stop is a timer, not an idle check; resume reboots from disk
ForkClone copies a Machine's config; its Volume starts empty unless you restore a volume snapshot or fork the VolumeSnapshot a running box and start many new boxes from itFork a running sandbox from its last 1-minute snapshot
Desktop and browserNot built in; you add them to your own imageManaged Chromium on a virtual display with AI page actions, CDP and a view-only live view; no desktop or VNCLinux desktop streamed at 60fps, Chromium, computer tools and browser control
Coding agentsNot built in on Machines; you install agents in your imageClaude Code, Codex, OpenCode and Cursor built in, with run and stream APIs, webhooks and scheduled promptsSeven harnesses preinstalled, including Claude Code, Codex and OpenCode, with a prompt, steer and events API
Keeping keys out of the sandboxSecrets arrive as environment variables; you deploy Fly's open-source tokenizer proxy yourselfHost proxy injects headers into outbound HTTPS on port 443 for any host, set when the box is createdOptional AI credentials proxy ($1 a day while on, plus $1 per 1,000 requests) for supported model providers and HTTPS APIs you register
Outbound rulesNetwork policies allow chosen ports and protocols and deny the restAllow all, deny all, or allow and deny by domain and CIDR, changeable on a running boxOpen internet on every plan; no provider-side allowlist
CPUShared vCPUs guarantee 6.25% of a core plus bursts; performance vCPUs get the full core at a higher rateBilled per active CPU hour by box size; RAM not billedShared vCPUs with no baseline quota or burst balance; billed at full rate while running, busy or idle
Regions17 regions on six continentsAWS us-east-1 on self-serve plans; custom regions on EnterpriseGermany, Finland and France; you cannot pick one; no US or Asia region
Every feature Battleships tracks (43)
FeatureFly.io MachinesUpstash Boxboat
Full VM (own kernel)YesNo documented wayYes
Docker insideYesNot publishedYes
Nested virtualizationNot publishedNo documented wayYes
RootYesNot publishedYes
SystemdNot publishedNot publishedYes
Desktop GUINo documented wayNo documented wayYes
BrowserNo documented wayYesYes
Computer-use APINo documented wayNo documented wayYes
SSHYesYesYes
Persistent diskYesYesYes
Pause/resumeYesYesYes
Automatic snapshotsYesNo documented wayYes
Fork/cloneYesYesYes
Live fork (no pause)YesYesYes
Memory forkNo documented wayNo documented wayNo documented way
Custom image (Docker or snapshot)YesYesYes
≥24 h sessionsYesYesYes
Idle auto-stopYesYesNo documented way
Wake on requestYesYesNo documented way
HTTPS preview URLsYesYesYes
Raw TCP inboundYesNo documented wayYes
Public IPv4YesNo documented wayNo documented way
Egress allowlistYesYesNo documented way
Secret proxyNo documented wayYesYes
Secret proxy for any APINo documented wayYesYes
Preinstalled agentsNo documented wayYesYes
Agent harness APINo documented wayYesYes
MCP serverYesYesNo documented way
GPUNo documented wayNo documented wayNo documented way
WindowsNo documented wayNo documented wayNo documented way
Arm64No documented wayYesNo documented way
Self-hostingNo documented wayNo documented wayNo documented way
BYOCNo documented wayNo documented wayNo documented way
Open sourceYesNo documented wayNo documented way
Scoped API keysNot publishedNot publishedYes
Spend limitsNo documented wayNot publishedYes
Usage per sandbox (API)No documented wayYesYes
Audit logsNot publishedNot publishedNo documented way
SSONo documented wayNo documented wayNo documented way
SOC 2YesYesNo documented way
HIPAAYesNo documented wayNo documented way
EU data residencyYesNo documented wayNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

Fly.io MachinesNot measured
Upstash BoxNot measured
boat28.06 runs/s

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.

ScenarioFly.io Machines, a monthUpstash Box, a monthboat, 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.

ScenarioFly.io MachinesUpstash Boxboat
One coding agent, workdays
  • different kind of product: app platform
  • files survive a stop only in one Fly Volume (root file system too with opt-in persist_rootfs): packages installed elsewhere reset
  • 1-year commitment
  • burstable CPU: 6.25% of each vCPU guaranteed, throttled above that
  • flat pool: the tier is billed whether used or not
  • egress price not published
None for this scenario
One agent that never stops
  • different kind of product: app platform
  • files survive a stop only in one Fly Volume (root file system too with opt-in persist_rootfs): packages installed elsewhere reset
  • 1-year commitment
  • burstable CPU: 6.25% of each vCPU guaranteed, throttled above that
  • flat pool: the tier is billed whether used or not
  • egress price not published
None for this scenario
50 agents in parallel
  • different kind of product: app platform
  • files survive a stop only in one Fly Volume (root file system too with opt-in persist_rootfs): packages installed elsewhere reset
  • 1-year commitment
  • burstable CPU: 6.25% of each vCPU guaranteed, throttled above that
  • not confirmed: Docker inside
  • flat pool: the tier is billed whether used or not
  • egress price not published
None for this scenario
Sandboxes for your users
  • different kind of product: app platform
  • 1-year commitment
  • burstable CPU: 6.25% of each vCPU guaranteed, throttled above that
  • egress price not published
None for this scenario
1,000 short jobs at once
  • different kind of product: app platform
  • 1-year commitment
  • burstable CPU: 6.25% of each vCPU guaranteed, throttled above that
  • egress price not published
  • 2,400 starts/day included, paid above that (needs ~6,667)
  • 600 starts/hour included, paid above that (needs ~1,000)
  • starts above 90/min are paid, and starts above 270/min fail with 429

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