Fly.io Machines vs Unikraft Cloud
Both run your Docker image as a Firecracker microVM. Fly.io Machines are the building block of an app platform in 17 regions, billed per second. Unikraft Cloud turns a Dockerfile into a small microVM that wakes on the next request and sleeps when traffic stops, sold as flat pools of running capacity.
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.
Unikraft Cloud
Unikraft Cloud is a microVM cloud from Unikraft Inc. It runs any Dockerfile-based workload as a minimal Linux microVM, with cold starts it states as under 10 ms and scale-to-zero.
Your Dockerfile becomes the VM image at build time. Each instance runs on a customized Firecracker VMM and can go into standby when no traffic arrives. It is a general compute platform for dense, bursty work such as HTTP services, browsers and agent fleets. It sells flat self-serve plans, plus Enterprise dedicated hosts, on-prem and bring your own cloud. You reach instances through services, the CLI and a sandbox plugin for commands and files. For SSH or a desktop, you add them to your image with its official guides.
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 | Unikraft Cloud: 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 runs Docker and test suites inside the sandbox. Fly lets you install Docker yourself. Unikraft builds your Dockerfile into the VM image and documents no container runtime inside a running instance. | 123rd of 365, with limits $836 a month | Not ranked: misses a requirement | 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 | Not ranked: misses a requirement | 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 Short code runs suit both: Fly bills per second with no plan fee, and Unikraft sleeps instances between calls, though its self-serve plans run at most 24 instances at once. | 83rd of 336, with limits $94 a month | Not ranked: misses a requirement | 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 host one VM per user, and its API takes about one create request per second per app. Unikraft Pro runs 24 instances at once, so hundreds of active users need Enterprise. | 75th of 349, with limits $600 a month | Not ranked: misses a requirement | 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 | Not ranked: misses a requirement | 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 | Not ranked: misses a requirement | 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 keeps the CPU busy, which drains a shared Fly vCPU's burst balance, and Unikraft's 8 vCPU Team pool is shared by every running job. | 154th of 374, with limits $288 a month | Not ranked: misses a requirement | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB All three can keep one box around all month: $35 a month on Fly with a 1-year reservation, $39 for Unikraft's Team pool, and $26 on boat. Unikraft and boat fit fully; Fly is a compromise. | 160th of 371, with limits $35 a month | 121st cheapest of 371 $39 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 Unikraft has a desktop built in. You set it up: Unikraft has an official VNC desktop recipe you build into your image, and on Fly you add one to your image. boat gives each sandbox a 60fps desktop with Chromium. | 140th of 367, with limits $173 a month | Not ranked: misses a requirement | 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 | Not ranked: misses a requirement | 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 | Not ranked: misses a requirement | 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 well here, at $1,232 a month, because it can spread scrapers over 17 regions and bill only the seconds they run. Unikraft's self-serve pools are too small for this scale. | 47th of 327, with limits $1,232 a month | Not ranked: misses a requirement | 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 | Not ranked: misses a requirement | 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 | Unikraft Cloud | boat |
|---|---|---|---|
| Running capacity | Billed per Machine, no plan pool; the API takes about one create request per second per app | Plan pool shared by all running instances: 2 vCPU / 4 GiB, 8 vCPU / 8 GiB or 24 vCPU / 32 GiB; Enterprise for more | 100 to 2,000 sandboxes at once on paid plans, up to 16 vCPU / 32 GB each; starts capped per plan |
| CPU | Shared vCPUs guarantee 6.25% of a core plus bursts; performance vCPUs get the full core at a higher rate | vCPUs come from the plan pool; no CPU class published | Shared vCPUs with no baseline quota or burst balance; one price per size |
| Docker, systemd and root | Root and Docker you install yourself; Fly's own init by default (systemd as PID 1 is not a documented setup) | Runs as root; the Dockerfile becomes the VM image, and the docs describe no container runtime inside a running instance | Docker, real systemd and root ready on Ubuntu 24.04 |
| Custom image | Any Docker image you build | Any Dockerfile becomes the instance image | boat's Ubuntu image or a saved snapshot; you cannot boot your own Docker image |
| Nested virtualization | /dev/kvm not documented | Yes, with a per-instance flag and permission, Enterprise only | /dev/kvm for Android emulators and VMs on every plan |
| SSH | Yes, into a Machine | Yes, with setup: run sshd in your image and reach it through a TLS service port and a local tunnel; no built-in SSH endpoint | Built in on every sandbox, no tunnel |
| 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. One Volume per Machine, billed for its full size around the clock | Standby keeps the instance, with standby instances capped by plan (5, 50 or 5,000) | Disk saved every minute and at each stop; no compute charge while stopped; kept at least 14 days, longer with a saved snapshot |
| Idle and wake on request | Fly Proxy stops or suspends idle Machines and wakes them on a request; memory kept only up to 2GB | Standby after a 1 second idle cooldown by default, wakes on the next request; stateful mode keeps memory | No wake on request; auto-stop is a timer; you start a stopped sandbox through the API and it boots from disk |
| Fork and checkpoints | Clone copies a Machine's config; its Volume starts empty unless you restore a volume snapshot or fork the Volume | Checkpoint memory and volumes of a running microVM, then start new instances from it | Fork a running sandbox from its last 1-minute disk snapshot; memory is not copied |
| Desktop and computer use | Not built in; you add a desktop and browser to your own image | Not built in; an official VNC/noVNC desktop recipe you build into your image | 60fps desktop with Chromium, computer tools and browser control |
| Coding agents | Not built in on Machines; you install agents in your image. Fly's separate Sprites product ships coding agents | None installed; you add the agent to your own image | Seven harnesses installed, with a prompt, steer and events API |
| Keeping API keys out of the sandbox | Secrets arrive as environment variables; you deploy Fly's open-source tokenizer proxy yourself | Network shield injects secrets into any HTTP traffic, Enterprise only, limited access | Optional AI credentials proxy on every plan ($1 a day while on, plus $1 per 1,000 requests); other secrets still enter the sandbox |
| Inbound access | HTTPS and TCP through Fly Proxy, Anycast IPs, custom domains, private network | Load balancer services: HTTP on 80, HTTPS on 443, TLS-wrapped TCP on other ports, custom domains; no public IP per instance | Up to 50 HTTPS URLs, token-gated by default; public IPv6; SSH over a shared IPv4 host and port; no dedicated IPv4 |
| Outbound rules | Network policies allow chosen ports and protocols and deny the rest | Network shield filters traffic, Enterprise only, limited access | Open internet, no provider-side allowlist |
| Regions | 17 regions on six continents | Dallas, Frankfurt, San Francisco, Singapore and Washington DC, more on request | Germany, Finland and France; you cannot pick one; no US or Asia region |
Every feature Battleships tracks (43)
| Feature | Fly.io Machines | Unikraft Cloud | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | Yes | Yes |
| Docker inside | Yes | No documented way | Yes |
| Nested virtualization | Not published | Yes | Yes |
| Root | Yes | Yes | Yes |
| Systemd | Not published | Not published | Yes |
| Desktop GUI | No documented way | With your own setup | Yes |
| Browser | No documented way | With your own setup | Yes |
| Computer-use API | No documented way | No documented way | Yes |
| SSH | Yes | With your own setup | Yes |
| Persistent disk | Yes | Yes | Yes |
| Pause/resume | Yes | Yes | Yes |
| Automatic snapshots | Yes | Yes | Yes |
| Fork/clone | Yes | Yes | Yes |
| Live fork (no pause) | Yes | Yes | Yes |
| Memory fork | No documented way | Yes | 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 | 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 | No documented way | Yes |
| Agent harness API | No documented way | No documented way | Yes |
| MCP server | Yes | No documented way | No documented way |
| GPU | No documented way | Yes | 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 | Yes | No documented way |
| BYOC | No documented way | Yes | 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 | No documented way | Yes |
| Audit logs | Not published | Yes | No documented way |
| SSO | No documented way | No documented way | No documented way |
| SOC 2 | Yes | Yes | No documented way |
| HIPAA | Yes | Yes | No documented way |
| EU data residency | Yes | Yes | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
Fly.io Machines and Unikraft Cloud 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. Unikraft states cold starts under 10 ms, which is its own figure and measures start time, not CPU speed. Fly results would depend on shared or performance vCPUs.
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 Unikraft Cloud 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 | Unikraft Cloud, 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 | $39 · Hobby | $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 | $39 · Hobby | $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 | Not ranked: misses a requirement | $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 | Not ranked: misses a requirement | $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 | Not ranked: misses a requirement | $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 bill for their full size all month. The table uses shared vCPUs on a 1-year reservation for 40% off.
Unikraft Cloud: Unikraft charges a flat monthly fee for a pool of running capacity: free for 2 vCPU / 4 GiB, $39 for 8 vCPU / 8 GiB, $199 for 24 vCPU / 32 GiB. Standby instances do not count against the pool. It publishes no per-hour, disk or egress price, so anything bigger is an Enterprise quote.
Unikraft Cloud: 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
Fly is a compromise in every scenario because its lowest figures need a 1-year commitment and use shared vCPUs that guarantee 6.25% of each core, so long builds get throttled. Unikraft fits only the one-agent scenarios, where a single 4 vCPU / 8 GB agent fills the $39 Team pool; 50 agents, user sandboxes and 1,000 short jobs exceed every self-serve pool and need Enterprise. boat fits all but the burst: at 1,000 short jobs at once on the $2,000 plan, starts above 90 a minute are paid, and starts above 270 a minute fail with 429.
| Scenario | Fly.io Machines | Unikraft Cloud | 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 host web apps or services that must run near users in many regions, scale past a few machines on per-second billing, and need network policies and private networking.
- 17 regions worldwide. For apps near users everywhere: Fly runs Machines in 17 regions, from the US to Sydney and Johannesburg.
- Per-second billing with no pool. For teams that grow past a few machines: Fly bills each Machine per second with no plan fee or shared capacity cap.
- A full app platform. For hosting whole products: network policies, private networking, Anycast IPs and custom domains come on self-serve.
Use Unikraft Cloud when
you run many small services or headless browsers that sleep most of the time and must wake at once, want a free plan or flat prices, or want GPUs, on-prem or your own cloud under Enterprise.
- Millisecond starts and scale-to-zero. For many small services that sleep most of the time: instances go to standby after a second and, by Unikraft's own figure, cold start in under 10 ms.
- Memory checkpoints. For fast copies of warm state: checkpoint a running microVM's memory and volumes, then start new instances from it.
- A free plan, SOC 2 and your own hardware. Hobby is free with no card. Unikraft states a compliance certification, and Enterprise adds NVIDIA GPUs, arm64, dedicated hosts, on-prem or your own cloud.
Where boat fits
Fly.io Machines and Unikraft Cloud are built to host services that sleep and wake, and both leave you to build an agent's machine inside your own image. If you run coding or computer-use agents that work for hours, boat gives each one a full VM that saves its disk with no code, with a desktop and coding agents ready on every plan. boat's limits: start caps per plan, no GPU and no US or Asia region.
A whole machine to work in
Agents run docker compose, systemd services and emulators. Fly boots its own init by default and does not document /dev/kvm. Unikraft documents no container runtime inside an instance and keeps nested virtualization for Enterprise. boat has Docker, systemd and /dev/kvm on every sandbox.
Desktop, agents and keys built in
Neither has a desktop or coding agents built in; you add them to your image, and Unikraft has an official VNC recipe. Keeping keys out means running your own tokenizer app on Fly, or Unikraft's network shield on Enterprise. On boat the optional paid credentials proxy and seven coding agents come on every plan.
Full-size fleets, self-serve
Fifty 4 vCPU / 8 GB agents need 200 vCPU at once. Unikraft's biggest self-serve pool is 24 vCPU, and Fly's lowest rates use shared vCPUs that throttle long builds above a 6.25% baseline. boat runs that fleet for $317 a month, within its per-plan start caps.
Use boat when your agents need a full machine for hours with no image work: Docker, systemd, /dev/kvm, SSH, a desktop and browser, coding agents you drive 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 Unikraft Cloud.
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 Unikraft Cloud?
For one agent, Fly is lower at its 1-year shared vCPU rate: $15 a month on workdays and $36 running all month, against $39 for Unikraft's Team pool either way. boat is $20 and $26. For 50 agents Fly is $487 and boat $317, while no self-serve Unikraft plan is big enough. For many small services that sleep most of the time, Unikraft's flat pool can cost less, because standby instances do not count.
Which is faster, Fly.io Machines or Unikraft Cloud?
By design, Unikraft starts faster: it states cold starts under 10 ms and wakes on the next request. Neither is in the public CPU or start-time benchmarks we use, so we have no measured comparison. 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 inside Fly.io Machines or Unikraft Cloud?
On Fly you can install and run Docker yourself, since a Machine is a microVM with root; Fly does not document /dev/kvm. Unikraft builds your Dockerfile into the VM image and does not document a container runtime inside a running instance. 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. Unikraft instances go into standby, and the number of standby instances is capped by plan. 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 SSH into them?
You can SSH into a Fly Machine. On Unikraft, yes with setup: add an SSH server to your image, expose it as a TLS service and connect through a local tunnel; commands and files also go through its sandbox plugin and CLI. Every boat sandbox takes SSH directly, with no tunnel.
Where do they run?
Fly runs in 17 regions on six continents. Unikraft runs in Dallas, Frankfurt, San Francisco, Singapore and Washington DC, with more on request. 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 Unikraft Cloud
- 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