Fly.io Machines vs Google Agent Runtime

Fly.io Machines boot the image you build as a Firecracker microVM with root, made for hosting apps in 17 regions. Google Agent Runtime hosts agent code on Google Cloud, and its Agent Sandbox runs code as an unprivileged user in a gVisor-isolated container.

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.

Google Agent Runtime

Google Agent Runtime is the agent hosting part of Gemini Enterprise Agent Platform on Google Cloud, renamed from Vertex AI Agent Engine in April 2026.

It is a hyperscaler service, not a sandbox company. Agent Runtime deploys agents you build with ADK, LangGraph, LangChain, AG2 or LlamaIndex and bills them only while they work on a turn. Next to it, Agent Sandbox gives those agents a place to run code: a Code Execution sandbox, a shell or custom container sandbox, and a Computer Use browser. Each sandbox runs in a gVisor-isolated container in a Google-managed tenant project. Teams on GKE can also run the open-source GKE Agent Sandbox in their own cluster, with gVisor or Kata Containers, and manage it themselves.

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 rankGoogle Agent Runtime: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
Fly gives root, and you install Docker yourself; Google documents no root or Docker in its sandboxes, so Fly ranks well above Google here. boat fits with Docker and /dev/kvm ready.
123rd of 365, with limits
$836 a month
310th of 365, with limits
$5,801 a month
5th cheapest of 365
$634 a month
Always-on AI employees
50 machines 24/7 · 2 vCPU / 4 GB
Google fits here: Runtime hosts a long-lived agent and bills only its working turns. On Fly, lasting memory lives on a Volume, or on the root file system with opt-in persist_rootfs.
186th of 361, with limits
$816 a month
34th cheapest of 361
$7,519 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
Both are a compromise here. Fly suits short bursts with per-second billing and cheap shared CPU. Google's Code Execution sandbox is a ready Python and JavaScript interpreter with no network.
83rd of 336, with limits
$94 a month
251st of 336, with limits
$275 a month
189th of 336, with limits
$2,000 a month
Sandboxes for your users
300 at once · 2 vCPU / 4 GB · 30,000 sessions of 23 min a month
Fly can give each user a public URL through Fly Proxy, while Google documents no public URL for a sandbox. boat serves HTTPS on up to 50 ports per sandbox.
75th of 349, with limits
$600 a month
275th of 349, with limits
$1,916 a month
3rd cheapest of 349
$209 a month
RL rollouts
1,000 at once · 2 vCPU / 4 GB · 1,000,000 sessions of 3 min a month
52nd of 349, with limits
$2,838 a month
132nd of 349, with limits
$8,240 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
90th cheapest of 359
$2,060 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
Google fits CI here, with images built outside the sandbox and pushed to Artifact Registry. On Fly you install Docker yourself, and busy builds drain a shared vCPU's burst balance.
154th of 374, with limits
$288 a month
104th cheapest of 374
$989 a month
2nd cheapest of 374
$86 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
Fly lets you SSH into a Machine. Google documents no SSH and runs each command in a new shell. boat gives you SSH and a desktop.
160th of 371, with limits
$35 a month
317th of 371, with limits
$241 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
Google gives agents a browser with a VNC view and a click, type and screenshot API. On Fly you add a desktop to your own image. boat streams a full 60fps desktop with Chrome.
140th of 367, with limits
$173 a month
85th of 367, with limits
$1,648 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
132nd of 356, with limits
$824 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
56th cheapest of 343
$515 a month
6th cheapest of 343
$90 a month
Mass scraping & bots (undetectable)
1,000 at once · 1 vCPU / 2 GB · 3,000,000 sessions of 2 min a month
Fly ranks highest of the three here: it spreads scrapers across 17 regions and bills only the seconds they run.
47th of 327, with limits
$1,232 a month
212th of 327, with limits
$8,240 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
281st of 351, with limits
$412 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 MachinesGoogle Agent Runtimeboat
Kind of productApp hosting platform; you boot your own image as a microVM through a REST APIManaged agent hosting plus code, shell and browser sandboxes on Google CloudAgent sandbox: a full VM per agent, ready to use
IsolationFirecracker microVM with its own kernel, on Fly's own serversgVisor-isolated container in a Google-managed tenant projectFull VM with its own kernel, on physical hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared
Root, Docker and nested virtualizationRoot, and Docker you install yourself; Fly's own init by default (systemd as PID 1 is not a documented setup); /dev/kvm not documentedRuns as appuser with no sudo; images must not need root; Docker and /dev/kvm inside are not documentedRoot, systemd, Docker and /dev/kvm on every machine
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 clockPause keeps the file system at an unpublished rate; the sandbox is deleted when its TTL ends, but a snapshot (Preview) restores files and memory into a new sandboxThe disk is saved every minute and at each stop, kept at least 14 days with no compute charge; memory is not saved
Memory snapshots and branchingSuspend keeps memory for Machines up to 2GB; a clone copies the config, and its Volume starts empty unless you restore a volume snapshot or fork the VolumeSnapshots (Preview) keep memory and files; start many sandboxes from one snapshotFork a running sandbox from its last 1-minute snapshot; resume reboots from disk (no memory snapshots)
How long a machine livesNo documented maximum runtimeTTL of up to 7 days for a custom container and 14 days for Code Execution; a snapshot carries the state into a new sandboxAuto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan for no cap
Desktop and computer useNot built in; you set it up: add a desktop, a browser and a VNC stream to your own imageA browser with a VNC live view, a click, type and screenshot API, and CDP for Playwright (GA); a full desktop is not documentedDesktop and Chrome streamed at 1920x1080, 60fps, with computer-use tools
Coding agentsNot built in on Machines; you install agents in your image. Fly's separate Sprites product ships coding agentsManaged Agents API (Preview) runs Google's Antigravity harness; other harnesses you install in a custom imageSeven harnesses installed, including Claude Code, Codex and OpenCode, with a prompt, steer and events API
Hosting your agent codeYou run your agent as your own app on a MachineAgent Runtime deploys ADK, LangGraph, LangChain, AG2 and LlamaIndex agents; idle time between turns is not billedYou run your own agent loop inside a sandbox
Keeping keys out of the sandboxSecrets arrive as environment variables; you can deploy Fly's open-source tokenizer proxy yourselfYou provision and scope the credentials the agent usesOptional AI credentials proxy ($1 a day while on, plus $1 per 1,000 requests); with it on, real keys of supported providers stay outside; other secrets still enter
Reaching the machineSSH; public HTTPS and TCP through Fly Proxy, Anycast IPs, custom domains, private networkThrough Google's API or a private endpoint in your own VPC; SSH and a public URL are not documentedSSH; up to 50 HTTPS URLs, token-gated by default; public IPv6 and outbound IPv4; no dedicated IPv4
Wake and idleFly Proxy stops or suspends idle Machines and wakes them when a request arrivesRuntime bills only while an agent works on a turn; sandboxes bill while they existYou start and stop machines through the API; a stopped one has no compute charge; auto-stop is a timer, not an idle check
Outbound rulesNetwork policies allow chosen ports and protocols and deny the restOff unless the template turns it on; route through your VPC with Cloud NAT, a static IP, Cloud NGFW or Secure Web ProxyOpen internet on every plan; no provider-side allowlist
Regions17 regions on six continents23 locations in the US, Europe, the Middle East, Asia, Canada, Australia and BrazilGermany, Finland and France; no US or Asia region, and you cannot pick one
Every feature Battleships tracks (43)
FeatureFly.io MachinesGoogle Agent Runtimeboat
Full VM (own kernel)YesNo documented wayYes
Docker insideYesNo documented wayYes
Nested virtualizationNot publishedNo documented wayYes
RootYesNo documented wayYes
SystemdNot publishedNot publishedYes
Desktop GUINo documented wayNot publishedYes
BrowserNo documented wayYesYes
Computer-use APINo documented wayYesYes
SSHYesNo documented wayYes
Persistent diskYesYesYes
Pause/resumeYesYesYes
Automatic snapshotsYesYesYes
Fork/cloneYesYesYes
Live fork (no pause)YesYesYes
Memory forkNo documented wayYesNo documented way
Custom image (Docker or snapshot)YesYesYes
≥24 h sessionsYesYesYes
Idle auto-stopYesNo documented wayNo documented way
Wake on requestYesNo documented wayNo documented way
HTTPS preview URLsYesNo documented wayYes
Raw TCP inboundYesNot publishedYes
Public IPv4YesNo documented wayNo documented way
Egress allowlistYesYesNo documented way
Secret proxyNo documented wayNo documented wayYes
Secret proxy for any APINo documented wayNo documented wayYes
Preinstalled agentsNo documented wayYesYes
Agent harness APINo documented wayYesYes
MCP serverYesNo documented wayNo 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 wayYesNo documented way
SOC 2YesYesNo documented way
HIPAAYesYesNo documented way
EU data residencyYesYesNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

Fly.io MachinesNot measured
Google Agent RuntimeNot measured
boat28.06 runs/s

Neither Fly.io Machines nor Google Agent Runtime is in the public benchmarks we use, so we cannot say which is faster. In StarSling's run of 3 October 2026 (run 37073680030), boat did 28.06 V8 Web Tooling Benchmark runs per second at 4 vCPU / 8 GB, second of 15. Every boat sandbox in this run ran on an AMD Ryzen 9 9950X host. boat also places some sandboxes on AMD Ryzen 7 9700X hosts, which this run did not measure. On Fly, results depend on the CPU class: shared vCPUs guarantee only 6.25% of a core, and performance vCPUs get the full core.

V8 Web Tooling Benchmark at a 4 vCPU / 8 GB target, runs per second, higher is better. Source: StarSling's run of 3 October 2026 (run 37073680030), median of 5 sandboxes. Providers ran on different hardware in different regions. StarSling gives a shared rank when the run cannot separate two providers. Every boat sandbox in this run ran on an AMD Ryzen 9 9950X host. boat also places some sandboxes on AMD Ryzen 7 9700X hosts, which this run did not measure. Fly.io Machines and Google Agent Runtime 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 monthGoogle Agent Runtime, 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$73 · 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$301 · 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$3,626 · 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$1,030 · 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$2,060 · 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 at $0.15 per GB. The figures here use Fly's lowest rate: shared vCPUs bought in 1-year reservation blocks for 40% off.

Google Agent Runtime: Google bills $0.085 per vCPU-hour and $0.009 per GiB-hour allocated, rounded to the second. Runtime skips idle time between turns, but sandboxes bill while they exist. A paused sandbox costs less at an unpublished rate, and disk, snapshot and egress rates are not published. The pricing page lists a free monthly allowance but does not say it covers sandboxes.

Google Agent Runtime: Plans cost $20, $100, $500 or $2,000 a month. The whole plan price comes back as VM time for that month, and unused time does not carry over. A default 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 all five scenarios: its lowest figures need a 1-year reservation and use shared vCPUs that guarantee only 6.25% of each core, so long builds get throttled, and its API starts about one Machine per second per app. Google does not fit the 50-agent fleet because it documents no Docker inside its sandboxes. Every Google row leaves disk and egress unpriced. boat does not fit the 1,000-job burst: the $2,000 plan includes 90 starts a minute and 2,400 a day, and starts above 270 a minute fail. With paid starts, that burst is $8,800 on boat and $2,060 on Google.

ScenarioFly.io MachinesGoogle Agent Runtimeboat
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
  • disk beyond 0 GiB: price unknown
  • 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
  • disk beyond 0 GiB: price unknown
  • 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
  • missing Docker inside
  • disk beyond 0 GiB: price unknown
  • 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
  • disk beyond 0 GiB: price unknown
  • 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
  • disk beyond 0 GiB: price unknown
  • 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 build your own sandbox image with root, host what it makes on public URLs, and run near users in 17 regions.

  • A root microVM with no time limit. Useful if you want your own image with root and Docker inside: Fly boots it as a microVM and documents no maximum runtime.
  • Public apps in 17 regions. Useful for showing what agents build: Fly Proxy gives HTTPS, TCP, custom domains and Anycast IPs in 17 regions.
  • Wake on request. Useful for services that sleep between requests: Fly Proxy wakes a Machine on traffic, and small Machines resume with memory kept.

Use Google Agent Runtime when

you build agents with ADK or LangGraph on Google Cloud and want them hosted inside your own project and network, with short code runs or large bursts in a gVisor sandbox.

  • A managed home for your agent code. Useful if you build agents with ADK or LangGraph: Agent Runtime hosts them and skips billing for idle time between turns.
  • Inside your Google Cloud network. Useful if agents must stay in a Google Cloud perimeter, with egress off by default and routed through your own firewall.
  • Memory snapshots to branch from. Useful for trying many paths: a Google snapshot (Preview) keeps files and memory, and many sandboxes can start from one.

Where boat fits

Fly gives you a building block to turn into a sandbox, and Google gives you a gVisor container tied to its own agent stack. If you run coding agents that install, build and test for hours, boat gives each one a full VM with the tools, the desktop and the agents already inside.

Root, Docker and /dev/kvm ready

Google's sandboxes run as appuser with no sudo, and Google documents no Docker inside them. Fly gives root, but you install Docker into your image, and Fly does not document systemd as PID 1 or /dev/kvm. boat has root, systemd, Docker and /dev/kvm on every machine.

A disk saved every minute

On Fly, lasting files go on a Volume billed for its full size all month, or on the root file system with opt-in persist_rootfs. A Google sandbox is deleted when its TTL ends; a snapshot (Preview) carries its state into a new one. boat saves the disk every minute and at each stop. It does not save memory, and a machine failure loses writes after the last good snapshot.

Coding agents installed

Fly ships no agents on Machines, and Google runs its own Antigravity harness in Preview. boat installs Claude Code, Codex and five more harnesses and drives them from outside. Its optional paid proxy keeps real keys of supported AI providers outside.

Use boat when your agents need a real computer for hours: root, Docker, /dev/kvm, a desktop and public URLs on a full VM whose disk is saved every minute, with coding agents installed. Compare it one to one: boat vs Fly.io Machines and boat vs Google Agent Runtime.

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 Google Agent Runtime?

In all five scenarios we priced, yes, using Fly's shared vCPUs on a 1-year reservation. One agent running all month is $36 on Fly and $301 on Google, 50 agents in parallel are $487 against $3,626, and 1,000 short jobs at once are $232 against $2,060. boat comes to $26, $317 and $8,800 for the same three; the burst is high on boat because of paid extra starts. Fly's figures assume work that stays within a shared vCPU's 6.25% baseline.

Which is faster, Fly.io Machines or Google Agent Runtime?

Neither is in the public benchmarks we use, so we cannot say. Fly's speed depends on whether you pick shared or performance vCPUs.

Can Fly.io Machines or Google Agent Runtime run Docker?

On Fly you can install and run Docker inside a Machine yourself, since it is a microVM with root; Fly does not document /dev/kvm for nested VMs. Google's sandboxes run as the unprivileged user appuser with no sudo, and Google documents no Docker inside them; you build images outside and push them to Artifact Registry. boat has Docker, systemd and /dev/kvm ready on every machine.

Do they keep my files when a machine stops?

On Fly, files on the Machine's Volume last, and the root file system too with opt-in persist_rootfs, which Fly staff say not to trust with critical data. A paused Google sandbox keeps its files; when its TTL ends, a snapshot (Preview) restores files and memory into a new sandbox. boat saves the disk every minute and at each stop and keeps it at least 14 days.

Is Google Agent Runtime the same as Vertex AI Agent Engine?

Yes. Google renamed Vertex AI Agent Engine to Agent Runtime in April 2026, as part of Gemini Enterprise Agent Platform. Its code, shell and browser sandboxes are a separate part called Agent Sandbox.

Where does my data run?

Fly runs Machines in 17 regions on six continents, and Google runs Agent Runtime in 23 locations across the US, Europe, the Middle East, Asia, Canada, Australia and Brazil. boat runs on machines in Germany, Finland and France, and you cannot pick a region. Snapshot copies can be stored outside the EU.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons