Google Agent Runtime vs Modal VM Sandboxes

Google Agent Runtime hosts your agent code on Google Cloud. Its sandboxes run as an unprivileged user in gVisor-isolated containers. Modal VM Sandboxes give each agent a VM with its own kernel, root and Docker. Each one runs up to 24 hours, and a filesystem snapshot carries its files to a new sandbox.

The companies and products

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.

Modal VM Sandboxes

Modal is a serverless cloud for AI work, and VM Sandboxes are the version of its sandboxes that run in a virtual machine with their own Linux kernel.

You create a VM Sandbox from Python, TypeScript or Go code with runtime="vm", run commands in it, and terminate it when the job is done. Modal built the runtime on the Rust-based Cloud Hypervisor, so Docker, FUSE, systemd and nested cgroups work, with the same API, images and prices as its gVisor sandboxes. It became generally available on 1 October 2026. It suits teams that want many agent machines next to Modal's inference and training.

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. “34th cheapest of 361” means 33 of the other 360 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 workloadGoogle Agent Runtime: price rankModal VM Sandboxes: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
Modal's VM runs Docker and sudo installs, and a filesystem snapshot keeps files between sessions; Google's sandboxes run without root and document no Docker. boat has Docker too and saves its disk every minute with no code.
310th of 365, with limits
$5,801 a month
27th cheapest of 365
$633 a month
5th cheapest of 365
$634 a month
Always-on AI employees
50 machines 24/7 · 2 vCPU / 4 GB
Agent Runtime can host a long-lived assistant on Google Cloud, and a sandbox lives up to 7 days. A Modal VM Sandbox stops at 24 hours; you snapshot the filesystem and boot a new sandbox each day, and running programs start again. A boat VM has no session cap once auto-stop is off (default 1 hour).
34th cheapest of 361
$7,519 a month
Not ranked: misses a requirement6th cheapest of 361
$657 a month
Code interpreter bursts
100 at once · 1 vCPU / 2 GB · 200,000 sessions of 1 min a month
Google's Code Execution sandbox is a ready interpreter for short runs, and Google fits a burst of 1,000 short jobs at once.
251st of 336, with limits
$275 a month
Not ranked: misses a requirement189th 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
Google reaches a sandbox through its API or a private endpoint in your VPC, with no public URL documented. Modal offers encrypted and raw TCP tunnels. boat serves token-gated HTTPS on up to 50 ports.
275th of 349, with limits
$1,916 a month
Not ranked: misses a requirement3rd 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
Huge bursts of short rollouts are what Modal is built for, with 5,000 containers at once on Team. boat's $2,000 plan includes 90 starts a minute, and starts above 270 a minute fail with 429.
132nd of 349, with limits
$8,240 a month
163rd of 349, with limits
$11,982 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
90th cheapest of 359
$2,060 a month
Not ranked: misses a requirement10th cheapest of 359
$200 a month
CI runners
40 at once · 8 vCPU / 16 GB · 6,000 sessions of 12 min a month
Jobs that build containers need Docker, which Modal's VM has and Google does not document inside its sandboxes. boat gives every plan /dev/kvm; Modal offers it on Enterprise only, as an experimental option.
104th cheapest of 374
$989 a month
170th of 374, with limits
$655 a month
2nd cheapest of 374
$86 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
Google documents no SSH and runs commands through its API, and a Modal VM ends within 24 hours. A boat VM gives you SSH and a desktop and keeps a stopped disk for at least 14 days.
317th of 371, with limits
$241 a month
Not ranked: misses a requirement19th 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 you a browser with a VNC live view and CDP. On Modal you set it up from its runnable example (Xvfb, noVNC, Chromium and a Browser Use agent). boat streams a 60fps desktop with Chrome built in.
85th of 367, with limits
$1,648 a month
Not ranked: misses a requirement7th cheapest of 367
$200 a month
Browser-use agents
50 at once · 2 vCPU / 4 GB · 30,000 sessions of 10 min a month
132nd of 356, with limits
$824 a month
Not ranked: misses a requirement7th 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
56th cheapest of 343
$515 a month
Not ranked: misses a requirement6th 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
212th of 327, with limits
$8,240 a month
Not ranked: misses a requirement73rd 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
281st of 351, with limits
$412 a month
27th cheapest of 351
$464 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

FeatureGoogle Agent RuntimeModal VM Sandboxesboat
IsolationgVisor-isolated container in a Google-managed tenant projectVM with its own Linux kernel on Cloud HypervisorFull VM with its own kernel, on hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared
Root, Docker, systemdRuns as appuser with no sudo; images must not need root; Docker inside is not documentedYes; you start dockerd yourselfYes, in every sandbox
Nested virtualization/dev/kvm not documentedEnterprise plan only, as an experimental optionYes, /dev/kvm on every plan
CPU benchmark (V8 Web Tooling, 4 vCPU / 8 GB, StarSling run of 3 October 2026)Not in the public benchmarks we useVM runtime 15.48 runs/s, gVisor 12.60, both rank 7 of 15 (shared); measured with cpu=428.06 runs/s, rank 2 of 15 (shared), on a Ryzen 9 9950X host
Longest sessionTTL of up to 7 days for a custom container, 14 days for Code Execution24 hours (default 5 minutes); continue in a new sandbox from a filesystem snapshotAuto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan for no session cap
Files after a stopA paused sandbox keeps its files at a lower, unpublished rate; deleted when the TTL ends; snapshots (Preview) restore files and memory into a new sandboxNo paused state; filesystem snapshots (kept 30 days by default, or with no expiry) and Volumes keep files after a sandbox ends; your code takes the snapshotDisk saved every minute and at each stop with no code, kept at least 14 days; no compute charge while stopped, but extra saved snapshots and the AI credentials proxy still bill
Memory snapshots and branchingSnapshots (Preview) keep memory and files; start many sandboxes from one (same image and architecture)Filesystem snapshots boot any number of new sandboxes; memory snapshots are alpha and end the sandboxFork a running sandbox from its last 1-minute snapshot; no memory snapshots
Shell accessCommands run through API calls; SSH is not documentedRun commands from Python, TypeScript or Go code; raw TCP tunnels for your own SSH serverSSH, plus an API for commands
Desktop and computer useA browser in a container with a VNC live view, a click and type API, and CDPNot built in. You set it up: Modal's runnable example installs Xvfb, x11vnc, noVNC, Chromium and a Browser Use agent60fps desktop, Chrome and computer tools for agents built in
Reaching the sandboxThrough Google's API or a private endpoint in your VPC; a public URL is not documentedEncrypted and raw TCP tunnels, connect tokens, inbound IP allowlistUp to 50 HTTPS URLs, token-gated by default; raw ports over IPv6 only on sandboxes with no IPv4 of their own
Outbound network rulesOff unless the template turns it on; route through your VPC with Cloud NAT, Cloud NGFW or Secure Web ProxyBlock all, IP-range allowlist, domain allowlist (beta)Open internet, no provider-side allowlist
Coding agents and keysManaged Agents API (Preview) runs Google's Antigravity harness; you scope the credentialsYou install the harness in the image (examples for the Claude Agent SDK and OpenCode); a credential-injecting Sidecar proxy from an official example (experimental)Seven harnesses installed, with a prompt, steer and events API; optional paid credentials proxy keeps real keys of supported providers out
Hosting your agent codeAgent Runtime deploys ADK, LangGraph, LangChain, AG2 and LlamaIndex agents; idle time between turns is not billedSandboxes sit next to Modal's functions, inference and trainingYou run your own agent loop inside a sandbox
Regions23 locations across the US, Europe, the Middle East, Asia, Canada, Australia and BrazilUS, EU and Asia-Pacific; pinning a region costs 1.15x to 1.75xGermany, Finland and France; you cannot pick a region; no US or Asia region
Every feature Battleships tracks (43)
FeatureGoogle Agent RuntimeModal VM Sandboxesboat
Full VM (own kernel)No documented wayYesYes
Docker insideNo documented wayYesYes
Nested virtualizationNo documented wayYesYes
RootNo documented wayYesYes
SystemdNot publishedYesYes
Desktop GUINot publishedWith your own setupYes
BrowserYesWith your own setupYes
Computer-use APIYesWith your own setupYes
SSHNo documented wayWith your own setupYes
Persistent diskYesWith your own setupYes
Pause/resumeYesNo documented wayYes
Automatic snapshotsYesNo documented wayYes
Fork/cloneYesYesYes
Live fork (no pause)YesNot publishedYes
Memory forkYesYesNo documented way
Custom image (Docker or snapshot)YesYesYes
≥24 h sessionsYesYesYes
Idle auto-stopNo documented wayYesNo documented way
Wake on requestNo documented wayNo documented wayNo documented way
HTTPS preview URLsNo documented wayYesYes
Raw TCP inboundNot publishedYesYes
Public IPv4No documented wayNo documented wayNo documented way
Egress allowlistYesYesNo documented way
Secret proxyNo documented wayWith your own setupYes
Secret proxy for any APINo documented wayNo documented wayYes
Preinstalled agentsYesWith your own setupYes
Agent harness APIYesNo documented wayYes
MCP serverNo documented wayNo documented wayNo documented way
GPUNo documented wayNo documented wayNo documented way
WindowsNo documented wayNo documented wayNo documented way
Arm64YesNo documented wayNo documented way
Self-hostingNo documented wayNo documented wayNo documented way
BYOCNo documented wayNo documented wayNo documented way
Open sourceNo documented wayNo documented wayNo documented way
Scoped API keysNot publishedNot publishedYes
Spend limitsNot publishedNot publishedYes
Usage per sandbox (API)YesNot publishedYes
Audit logsNot publishedYesNo documented way
SSOYesYesNo documented way
SOC 2YesYesNo documented way
HIPAAYesYesNo documented way
EU data residencyYesYesNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

Google Agent RuntimeNot measured
Modal VM Sandboxes15.48 runs/s
boat28.06 runs/s

In StarSling's run of 3 October 2026 (run 37073680030), on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, boat did 28.06 runs/s, second of 15. Modal's VM runtime did 15.48 and its gVisor runtime 12.60, both rank 7 (shared). That is about 1.8x the VM runtime. StarSling ran Modal with cpu=4 and the sandbox saw 4 CPUs (PR #121); sized that way, Modal bills 4 cores, $0.76/h. 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. Providers ran on different hardware in different regions. Google Agent Runtime is not in the public benchmarks we use, so we cannot say how it compares.

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. Modal VM Sandboxes measured on: VM Sandbox, request = size. 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. Google Agent Runtime is 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.

ScenarioGoogle Agent Runtime, a monthModal VM Sandboxes, 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
$73 · Pay as you go$0 · Starter$20 · $20/mo
One agent that never stops
4 vCPU / 8 GB, 50 GB disk, running 24/7 all month
$301 · Pay as you go$109 · Starter · with limits$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
$3,626 · Pay as you go · with limits$1,480 · Starter$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
$1,030 · Pay as you go$579 · Team$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
$2,060 · Pay as you go$1,911 · Team · with limits$8,800 · $2000/mo · with limits

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

Modal VM Sandboxes: Modal bills per second for the larger of what you request and what you use, until the sandbox ends. Modal prices CPU per physical core, and one core equals two vCPUs, so 4 vCPU / 8 GiB is $0.476 an hour when the request equals the size. Starter is $0 with $30 of credit a month, Team is $250 a month with $100 of credit, and pinning a region costs 1.15x to 1.75x.

Modal VM Sandboxes: Plans cost $20, $100, $500 or $2,000 a month. The whole plan price comes back as VM time for that month, and it does not carry over. A 4 vCPU / 8 GB sandbox costs $0.036 an hour, billed per second while it runs, busy or idle. The $20 plan includes 200 starts a day; extra starts cost $0.03 to $0.07. A stopped sandbox has no compute charge and keeps its disk for at least 14 days; saved snapshots above the plan's count and the AI credentials proxy still charge. A card is required, also for the 7-day trial.

Limits in those scenarios

A Modal VM Sandbox lives at most 24 hours. Its files carry over through a filesystem snapshot (kept 30 days by default, or with no expiry) or a Volume, which your code sets up, so the always-on scenario is marked as not fitting as-is. Modal's scenario bills assume a minimal CPU request that bursts above it; that extra CPU is shared and not guaranteed, so the 1,000-job burst is a compromise there. Google fits the one-agent, user and burst scenarios. Its sandboxes document no Docker, so the 50-agent fleet does not fit, and every Google row leaves disk and egress unpriced. On boat, the $2,000 plan includes 90 starts a minute and 2,400 a day, charges for extra starts and refuses starts above 270 a minute, so 1,000 jobs at once do not fit boat. boat's always-on agent needs auto-stop turned off (default 1 hour).

ScenarioGoogle Agent RuntimeModal VM Sandboxesboat
One coding agent, workdays
  • disk beyond 0 GiB: price unknown
  • egress price not published
None for this scenarioNone for this scenario
One agent that never stops
  • disk beyond 0 GiB: price unknown
  • egress price not published
  • Starter: sessions capped at 24 h
None for this scenario
50 agents in parallel
  • missing Docker inside
  • disk beyond 0 GiB: price unknown
  • egress price not published
None for this scenarioNone for this scenario
Sandboxes for your users
  • disk beyond 0 GiB: price unknown
  • egress price not published
None for this scenarioNone for this scenario
1,000 short jobs at once
  • disk beyond 0 GiB: price unknown
  • egress price not published
  • shared vCPUs on this tier (Modal (VM Sandboxes) sells dedicated cores separately as “VM Sandbox, request = size”): heavy, sustained CPU use can be slowed by other tenants
  • 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 Google Agent Runtime when

you build agents with ADK or LangGraph on Google Cloud and want them hosted inside your own project, network rules and regions, 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 sandbox egress off by default and routed through your own firewall.
  • Memory snapshots in 23 locations. Useful if you branch sandboxes with their memory, or need to run in Canada, Australia or Brazil as well as the US, Europe and Asia.

Use Modal VM Sandboxes when

you need root and Docker in a VM for jobs that finish within a day, run huge bursts of them, need strict outbound rules, or already run your models on Modal.

  • A real VM with root, Docker and snapshots. Useful if agents run sudo installs or Docker builds: each Modal VM Sandbox has its own kernel, root and systemd, and filesystem snapshots carry work to the next sandbox.
  • Very large bursts of short jobs. Useful for huge bursts that finish within a day: Modal runs 5,000 containers at once on Team.
  • One platform with inference and training. Useful if you already serve or train models on Modal: sandboxes and models sit on one account and one bill.

Where boat fits

Look at boat if your agents work for hours or days on one machine and come back to it. Google's sandboxes run without root and are deleted when their TTL ends. A Modal VM ends within 24 hours and continues only from a snapshot or Volume that your code sets up. boat gives each agent a full VM that saves its disk with no code, with root, Docker, a desktop and coding agents installed. boat has no memory snapshots, no US region, and caps starts per plan.

A machine that keeps its work, with no code

A Google sandbox is deleted when its TTL ends, 7 days at most for a custom container, unless you snapshot and restore it. A Modal VM ends within 24 hours and continues from a filesystem snapshot or a Volume. boat saves the disk every minute and at each stop. A resume is like a reboot, and a machine failure loses writes after the last good snapshot.

Root, Docker and /dev/kvm everywhere

Google's sandboxes run as appuser with no sudo and document no Docker, so the 50-agent Docker fleet does not fit there. Modal runs Docker, but nested virtualization is an experimental option on Enterprise only. boat has root, Docker and /dev/kvm on every plan.

Desktop, agents and more CPU work in one public run

Google gives you a browser view, and on Modal you build a desktop from its VNC example and install the agent harness. boat ships a 60fps desktop and seven harnesses. In StarSling's run of 3 October 2026, boat did 28.06 V8 Web Tooling runs/s against 15.48 on Modal's VM runtime, on a Ryzen 9 9950X host.

Use boat when your agents work for hours or days on a machine they come back to: root, Docker, /dev/kvm, SSH and a desktop on a full VM that saves its disk every minute with no code. Compare it one to one: boat vs Google Agent Runtime and boat vs Modal VM Sandboxes.

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 Google Agent Runtime cheaper than Modal VM Sandboxes?

Mostly no. One coding agent on workdays costs $0 on Modal inside Starter's $30 monthly credit, against $73 on Google. One agent running all month comes to $301 on Google against $109 on Modal, where it needs a new sandbox each day. Sandboxes for your users cost $1,030 on Google against $579 on Modal. For 1,000 short jobs at once, Google fits at $2,060, and Modal costs $1,911 on shared vCPUs. boat comes to $20, $26 and $200 for the first three, and does not fit the burst.

Which is faster, Google Agent Runtime or Modal VM Sandboxes?

Google's sandboxes are not in the public benchmarks we use, so we cannot compare them. In StarSling's run of 3 October 2026, Modal's VM runtime did 15.48 runs/s and its gVisor runtime 12.60 on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, and boat did 28.06 on an AMD Ryzen 9 9950X host.

Can Google Agent Runtime run Docker?

Shell commands in a Google sandbox run as the unprivileged user appuser with no sudo, custom images must not need root, and Google documents no Docker inside; you build images outside and push them to Artifact Registry. Modal VM Sandboxes run Docker if you start dockerd yourself, and boat runs Docker, systemd and /dev/kvm on every sandbox.

How long can a sandbox run on each?

A Google custom container sandbox lives up to 7 days and a Code Execution sandbox up to 14 days, then it is deleted; a snapshot (Preview) restores it into a new sandbox. A Modal VM Sandbox defaults to 5 minutes and runs 24 hours at most; for longer work, Modal recommends a filesystem snapshot and a new sandbox. boat has no session cap once auto-stop is off on a paid plan (the default is 1 hour).

Can either one serve a web app to the public?

Google's docs describe reaching a sandbox through its API or a private endpoint in your VPC, not a public URL. Modal offers encrypted and raw TCP tunnels. boat serves HTTPS on up to 50 ports, token-gated by default.

Is boat SOC 2 compliant?

No SOC 2 report today; SOC 2 is in progress. Modal has SOC 2 on every plan. Live status is at status.ascii.dev and our data retention policy at docs.boat.dev/data-retention.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons