Fly.io Machines vs Koyeb
Fly.io Machines are microVMs for hosting your own apps in 17 regions, and you build any sandbox on top yourself. Koyeb is a serverless cloud with a sandbox SDK, a default image with four coding agents, GPU instances and sandboxes that sleep when idle and wake on the next request.
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.
Koyeb
Koyeb is a serverless cloud for apps, inference and sandboxes. In February 2026 it agreed to join Mistral AI.
A Koyeb sandbox is a Koyeb service: a microVM that starts from any Docker image. You drive it from Python or JavaScript SDKs or the Koyeb CLI: run commands, read files, expose a port and take snapshots. The default image comes with four coding agents. A sandbox can scale to zero when idle and wake on the next request, on CPU or GPU instance types. It suits teams that run AI agents or untrusted code next to apps they already host on Koyeb.
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 | Koyeb: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month On Fly you keep files on a Volume or with opt-in persist_rootfs. On Koyeb you take SDK snapshots or attach a preview volume of 1 to 10 GB, and Docker inside a sandbox is not documented. boat saves its disk at each stop and has Docker and /dev/kvm built in. | 123rd of 365, with limits $836 a month | 92nd of 365, with limits $366 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 | 194th of 361, with limits $923 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 Koyeb ranks far above Fly and boat for short code runs, with small instances that scale to zero and wake on request. | 83rd of 336, with limits $94 a month | 6th cheapest of 336 $66 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 Koyeb both fit; Koyeb wakes sleeping sandboxes on request. Fly is a compromise, and its API takes about one create request per second per app. | 75th of 349, with limits $600 a month | 8th cheapest of 349 $495 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 above boat and Koyeb for RL rollouts in the default view, though none of the three is a full fit. | 52nd of 349, with limits $2,838 a month | 233rd of 349, with limits $1,631 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 Koyeb fits agent evals fully, while Fly is a compromise because its lowest-priced shared vCPUs throttle under steady load. | 124th of 359, with limits $457 a month | 27th cheapest of 359 $429 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 | 154th of 374, with limits $288 a month | 143rd of 374, with limits $88 a month | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB | 160th of 371, with limits $35 a month | 232nd of 371, with limits $37 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 Koyeb has a desktop built in. You set it up: add a desktop, a browser and VNC to your own Docker image. boat streams a 60fps desktop with Chromium. | 140th of 367, with limits $173 a month | 128th of 367, with limits $123 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 | 237th of 356, with limits $123 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 | 242nd of 343, with limits $89 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 above Koyeb and boat here: its bill is $1,232 a month against $1,683 on Koyeb and $1,800 on boat, and it can spread scrapers across 17 regions. | 47th of 327, with limits $1,232 a month | 67th of 327, with limits $1,683 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 | 261st of 351, with limits $299 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 Koyeb ranks 3rd for GPU eval jobs, with instances up to H100, H200 and B200. Fly has discontinued GPU Machines, and boat has no GPU on any size. | Not ranked: misses a requirement | 3rd cheapest of 102 $628 a month | 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 | Koyeb | boat |
|---|---|---|---|
| Kind of product | App hosting platform; Machines are its VM building block with a REST API. Fly sells Sprites separately for agent sandboxes | Serverless cloud for apps, inference and sandboxes, with Python and JavaScript sandbox SDKs | Agent sandbox: a full VM per agent, ready to use |
| Isolation | Firecracker microVM with its own kernel | Cloud Hypervisor microVM per instance | Full VM with its own kernel, on physical hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared |
| CPU | Shared vCPUs guarantee 6.25% of a core plus bursts; performance vCPUs get the full core at a higher rate | At least 0.25 dedicated vCPU per GB of memory, bursting to all cores | Shared vCPUs with no baseline quota or burst balance; 28.06 runs/s on the V8 Web Tooling Benchmark (StarSling run of 3 October 2026, 9950X host) |
| 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 | Starts from any Docker image; Docker inside a sandbox and nested virtualization not documented | Docker, root, real systemd and /dev/kvm on every sandbox; you cannot boot your own Docker image |
| 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 of up to 500GB per Machine, billed for its full size around the clock | Local disk is lost on redeploy and in Deep Sleep. You set it up: SDK snapshots save the filesystem for new sandboxes; volumes (preview, 1 to 10 GB, Frankfurt and Washington, not on eco instances) persist | The whole disk is saved every minute and at each stop, with no code; kept at least 14 days, longer with a saved snapshot. Memory and running programs are not saved |
| Sleep and wake | Fly Proxy stops or suspends idle Machines and wakes them on a request; suspend keeps memory up to 2GB | Scales to zero after at least 5 idle minutes and wakes on the next request; Light Sleep wakes in about 200 ms (preview). Not on eco instances | Stop and start through the API; auto-stop is a timer (1 hour by default), not an idle check; resume reboots from disk |
| Snapshots and fork | Clone copies a Machine's config; its Volume starts empty unless you restore a volume snapshot or fork the Volume; the root file system is not copied | SDK snapshots of the filesystem, or with running processes, then new sandboxes from them; retention and price not published | Fork a running sandbox from its last 1-minute snapshot; memory and processes are not copied |
| Desktop and browser | Not built in; you add a desktop and browser to your own image | Not preinstalled; you add a desktop and browser to a custom Docker image | 60fps Linux 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 | Default image preinstalls Mistral Vibe, Codex, Gemini and OpenCode, run through the command API; no prompt or steer API | Seven harnesses installed, including Claude Code and Codex, 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 | Secrets are set as environment variables inside the service | Optional AI credentials proxy ($1 a day while on, plus $1 per 1,000 requests); other secrets still enter the sandbox |
| Reaching the sandbox | Public HTTPS and TCP through Fly Proxy, Anycast IPs, custom domains, private network; static egress IP for $3.60 a month | One exposed HTTPS port at a time, plus an optional TCP proxy to one port (preview); no dedicated IP | 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 | Block all outbound traffic, or allow only listed IPs and CIDRs | Open internet on every plan; no provider-side allowlist |
| GPUs | GPU Machines discontinued, unavailable from 2026-08-01 | RTX 4000 SFF Ada up to H100, H200 and B200, and multi-GPU; some types need access on request | No GPU on any size |
| Regions | 17 regions on six continents | Frankfurt, Paris, Washington D.C., AWS US East, Singapore, Tokyo, San Francisco in preview | Germany, Finland and France; you cannot pick one; no US or Asia region |
Every feature Battleships tracks (43)
| Feature | Fly.io Machines | Koyeb | 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 | No documented way | Yes |
| Browser | No documented way | No documented way | Yes |
| Computer-use API | No documented way | No documented way | Yes |
| SSH | Yes | No documented way | Yes |
| Persistent disk | Yes | With your own setup | Yes |
| Pause/resume | Yes | Yes | Yes |
| Automatic snapshots | Yes | Yes | Yes |
| Fork/clone | Yes | Yes | Yes |
| Live fork (no pause) | Yes | Not published | 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 | Yes | Yes |
| Public IPv4 | Yes | No documented way | No documented way |
| Egress allowlist | Yes | Yes | No documented way |
| Secret proxy | No documented way | No documented way | 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 | No documented way | Yes |
| MCP server | Yes | Yes | 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 | No documented way | 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 | No documented way | Yes |
| Usage per sandbox (API) | No documented way | No documented way | 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 Koyeb 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 paper, Fly's shared vCPUs guarantee 6.25% of a core with a burst balance, while Koyeb guarantees at least 0.25 dedicated vCPU per GB of memory and bursts to all cores.
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 Koyeb 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 | Koyeb, 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 | $29 · Pro | $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 | $57 · Pro | $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 | $475 · Pro · 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 | $329 · Scale | $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 | $485 · Scale · 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 here use shared vCPUs bought in 1-year reservation blocks for 40% off, the lowest rate Fly sells.
Koyeb: Koyeb bills each instance per second at a fixed price per instance type; eco-xlarge (4 vCPU / 8 GB, 20 GB disk) costs $0.0576 an hour. The idle period before sleep bills at the full rate, and Deep Sleep costs nothing. Pro costs $29 a month with $10 of usage included, and Scale $299 a month with $100 included; the rest of the fee is not credit.
Koyeb: 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: its lowest prices need a 1-year reservation, and its shared vCPUs guarantee 6.25% of each core, so long builds drain the burst balance and get throttled. Koyeb's priced eco-xlarge shape has a 20 GB disk, takes no volume and does not scale to zero, and Koyeb does not document Docker inside a sandbox. At 1,000 short jobs at once nobody fits as priced: Fly's API takes about one create request per second per app, Koyeb's eco CPU is guaranteed only in part, and boat's $2,000 plan includes 90 starts a minute and refuses starts above 270 a minute with 429.
| Scenario | Fly.io Machines | Koyeb | 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 | None for this scenario |
| 1,000 short jobs at once |
|
|
|
Which one should you use?
Use Fly.io Machines when
you host apps or light services that must run near users on many continents, sleep between requests and wake on traffic, or need large volumes.
- 17 regions worldwide. Useful if users sit in South America, Oceania or Africa: Fly runs Machines in 17 regions on six continents.
- Bigger lasting volumes. Useful for agents with large data: a Fly Volume holds up to 500GB, while Koyeb's preview volumes stop at 10 GB.
- A full app platform around each Machine. Useful if you host whole products: Anycast IPs, custom domains, private networking and port-level network policies come with every Machine.
Use Koyeb when
you want a ready sandbox SDK, need GPUs next to your sandboxes, start from your own Docker image, or run sandboxes that sit idle and must wake on a request in the US or Asia.
- GPUs in the same platform. Useful when an agent or eval needs a GPU: Koyeb runs instances from RTX 4000 cards up to H100, H200 and B200.
- A sandbox SDK and agents out of the box. Useful if you want sandboxes without building the plumbing: Python and JavaScript SDKs run commands, read files, take snapshots and expose a port, and the default image has four coding agents.
- More guaranteed CPU. Useful for steady work: Koyeb guarantees at least 0.25 dedicated vCPU per GB of memory, against 6.25% of a core on Fly's shared vCPUs.
Where boat fits
If you run coding agents that work for hours, Fly and Koyeb leave you to set up the lasting disk, the desktop and the agent control. boat gives each agent a full VM that saves its disk with no code, with Docker, /dev/kvm, a desktop and coding agents ready. Pick Fly or Koyeb instead when you need regions outside Europe, GPUs, your own Docker image or wake on request.
A disk saved with no code, and forks
On Fly you keep files on one Volume, billed for its full size even while stopped, or turn on persist_rootfs. On Koyeb you take SDK snapshots or attach a preview volume of 1 to 10 GB. boat saves the disk every minute and at each stop, and can fork a running sandbox. boat does not save memory, and a machine failure loses what was written after the last good snapshot.
A full VM with systemd and /dev/kvm
Neither Fly nor Koyeb documents /dev/kvm, so Android emulators and nested VMs are not a documented path there. Fly boots its own init by default. boat has root, systemd, Docker and /dev/kvm on every sandbox.
Agents, desktop and keys handled
On both, secrets reach the sandbox as environment variables an agent's code can read, and you build the desktop yourself. Koyeb's image has agents, run through its command API. boat ships a 60fps desktop, seven coding agents with a prompt and steer API, and an optional paid credentials proxy.
Use boat when your agents work for hours on a full VM that saves its disk with no code: builds, Docker, emulators, a desktop browser and preview servers, with seven coding agents and an API to drive them. Compare it one to one: boat vs Fly.io Machines and boat vs Koyeb.
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 Koyeb?
Often, if you accept a 1-year reservation and shared vCPUs that guarantee 6.25% of a core. One agent on workdays is $15 on Fly against $29 on Koyeb, one always-on agent $36 against $57, and 300 user sandboxes $110 against $329 a month. For 50 agents in parallel they are close, $487 against $475; boat is $317. On boat the same rows are $20, $26 and $200, from a $20 monthly plan.
Which is faster, Fly.io Machines or Koyeb?
Neither is in the public benchmarks we use, so we cannot say. Koyeb guarantees more CPU on paper, at least 0.25 dedicated vCPU per GB of memory, while Fly's shared vCPUs guarantee 6.25% of a core; Fly's performance vCPUs get the full core at a higher rate.
Can I run Docker inside Fly.io Machines or Koyeb?
Both start from Docker images. On Fly you can install and run Docker inside a Machine yourself, since you have root; Fly does not document /dev/kvm. Koyeb documents neither Docker inside a sandbox nor nested virtualization. boat has Docker, systemd and /dev/kvm ready on every sandbox, but cannot boot your own Docker image.
Do they keep my files when a machine stops?
On Fly, files on the Volume last, up to 500GB; the root file system resets unless you turn on persist_rootfs. On Koyeb you take an SDK snapshot and start the next sandbox from it, or attach a 1 to 10 GB preview volume. boat saves the whole disk every minute and at each stop, and keeps it at least 14 days, longer with a saved snapshot.
Do Fly.io Machines or Koyeb have GPUs?
Koyeb does, from an RTX 4000 SFF Ada up to H100, H200 and B200, billed per second. Fly has discontinued GPU Machines, which are unavailable from 2026-08-01. boat has no GPU on any size.
Where do they run?
Fly runs Machines in 17 regions on six continents. Koyeb runs in Frankfurt, Paris, Washington D.C., AWS US East, Singapore and Tokyo, with San Francisco in preview. 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 Koyeb
- 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