boat vs Google Cloud Run

Cloud Run runs your container image and scales it up and down with traffic. boat gives each agent a whole Linux VM that keeps its disk, runs Docker and has coding agents installed.

Where boat stands out

A whole machine, not a container

A boat sandbox is a full VM with root, Docker, systemd, SSH and /dev/kvm for Android emulators and VMs. Cloud Run runs one container image with no privileged mode, so there is no Docker daemon and no KVM inside it, and its SSH is in Preview.

Files that stay, with snapshots and fork

boat keeps a real disk and saves it every minute and at each stop. A stopped sandbox has no compute charge and keeps its disk for at least 14 days. You can fork a running sandbox from its last 1-minute snapshot. Cloud Run deletes its in-memory files and ephemeral disk at shutdown; files stay only in a mounted Cloud Storage bucket or NFS share.

Agents, keys and a desktop built in

Claude Code, Codex and five other coding-agent harnesses are installed, and one prompt, steer and events API drives them from outside. With the optional paid credentials proxy on, real keys of supported providers stay outside the sandbox. A desktop with Chrome streams at 60 fps for computer use.

The companies and products

boat

boat.dev runs sandboxes for AI agents: each one is a full Linux VM with its own kernel.

You start a machine with one command or one API call, then SSH in, run Docker, open a desktop, or let a built-in agent (Claude Code, Codex, OpenCode and others) work in it. The disk stays between sessions, and a stopped sandbox costs nothing.

Google Cloud Run

Google Cloud Run is Google Cloud's serverless platform for running containers: a hyperscaler product for hosting apps and jobs, not an agent sandbox.

You give Cloud Run a Linux container image. It runs it as a service that scales with requests, as a job that runs to completion, as a worker pool, or as a single long-lived instance (Preview). Containers run in gVisor or in a microVM, with no privileged mode. The default filesystem is in memory, and an optional local ephemeral disk of up to 100 GiB is deleted at shutdown. It is built for teams that host web apps, APIs, background jobs and agent frameworks inside Google Cloud.

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. “5th cheapest of 365” means 4 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 workloadboat: price rankGoogle Cloud Run: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
A coding agent needs Docker, a disk that keeps the repo and long sessions. Cloud Run has no privileged mode, so a Docker daemon cannot run inside. Its local files are deleted at shutdown; you set up persistence by mounting a Cloud Storage bucket or NFS share.
5th cheapest of 365
$634 a month
117th of 365, with limits
$774 a month
Always-on AI employees
50 machines 24/7 · 2 vCPU / 4 GB
An assistant that runs all month needs its files across restarts. On Cloud Run you set it up: mount a Cloud Storage bucket or NFS share, because local files and the ephemeral disk are deleted at shutdown. boat saves the whole disk every minute.
6th cheapest of 361
$657 a month
124th of 361, with limits
$2,033 a month
Code interpreter bursts
100 at once · 1 vCPU / 2 GB · 200,000 sessions of 1 min a month
Cloud Run fits short code runs: services scale to zero, start on the next request, and Cloud Run sandboxes (Preview) block outbound traffic by default. boat includes a set number of starts per plan, so many short runs pay for extra starts.
189th of 336, with limits
$2,000 a month
128th of 336, with limits
$263 a month
Sandboxes for your users
300 at once · 2 vCPU / 4 GB · 30,000 sessions of 23 min a month
On Cloud Run you give each user a service or an instance. Cloud Run allows 100 instances per project and region by default, and the quota can be increased. Local files are deleted at shutdown unless you mount storage.
3rd cheapest of 349
$209 a month
197th of 349, with limits
$348 a month
RL rollouts
1,000 at once · 2 vCPU / 4 GB · 1,000,000 sessions of 3 min a month
39th of 349, with limits
$2,000 a month
100th of 349, with limits
$5,568 a month
Agent evals
250 at once · 4 vCPU / 8 GB · 15,000 sessions of 20 min a month
10th cheapest of 359
$200 a month
149th of 359, with limits
$896 a month
CI runners
40 at once · 8 vCPU / 16 GB · 6,000 sessions of 12 min a month
Cloud Run jobs run builds to completion, for up to 168 hours per task. Builds that need a Docker daemon or an Android emulator need privileged access, which Cloud Run does not offer. boat's $20 plan includes 200 starts a day; extra starts cost $0.03 to $0.07 each.
2nd cheapest of 374
$86 a month
90th cheapest of 374
$790 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
A dev box needs SSH, Docker and a disk that stays. Cloud Run has SSH in Preview, but no Docker daemon and no local disk that survives a stop.
19th cheapest of 371
$26 a month
164th of 371, with limits
$48 a month
Computer-use agents
50 at once · 4 vCPU / 8 GB · 20,000 sessions of 15 min a month
Cloud Run has an official guide: you set it up by building a desktop and Chromium into your image and streaming it over WebSockets. boat ships a desktop with Chrome, streamed at 60 fps.
7th cheapest of 367
$200 a month
52nd cheapest of 367
$1,179 a month
Browser-use agents
50 at once · 2 vCPU / 4 GB · 30,000 sessions of 10 min a month
7th cheapest of 356
$200 a month
59th of 356, with limits
$142 a month
Scraping & bots (startup scale)
50 at once · 1 vCPU / 2 GB · 100,000 sessions of 3 min a month
6th cheapest of 343
$90 a month
107th cheapest of 343
$443 a month
Mass scraping & bots (undetectable)
1,000 at once · 1 vCPU / 2 GB · 3,000,000 sessions of 2 min a month
73rd of 327, with limits
$1,800 a month
88th of 327, with limits
$2,098 a month
Parallel red teaming
200 at once · 2 vCPU / 4 GB · 5,000 sessions of 30 min a month
3rd cheapest of 351
$200 a month
89th of 351, with limits
$82 a month
GPU eval jobs
10 at once · 8 vCPU / 32 GB · 500 sessions of 30 min a month
Cloud Run has L4 and RTX PRO 6000 GPUs that scale to zero; boat has no GPUs.
Not ranked: misses a requirement58th of 102, with limits
$780 a month
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 requirement

Key features

FeatureboatGoogle Cloud Run
IsolationFull VM with its own kernel (x86_64), on physical hosts dedicated to boat; vCPUs are sharedContainer in gVisor (first generation) or a microVM (second generation)
Docker, systemd and /dev/kvmYes: root, Docker, systemd and nested virtualizationNo privileged mode and no write access to most of /dev, so a Docker daemon or KVM cannot run inside
Your own imageNot supported: start from boat's image or a saved snapshot, then install what you needAny Linux x86_64 container image
DiskWhole disk saved every minute and at each stop; a stopped sandbox keeps it for at least 14 days, longer with a saved snapshot; writes after the last good snapshot are lost if a machine failsIn-memory filesystem, plus an optional local ephemeral disk (up to 100 GiB); both are deleted when the instance stops. Cloud Storage or NFS can be mounted as volumes for files that must stay
Session lengthAuto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan for no cap60 minutes per request, 168 hours per job task (12 hours with a GPU), instances with a restart policy restart at least every 7 days
Snapshots and forkDisk snapshot every minute; fork a running sandbox from its last 1-minute snapshotNo disk snapshots or fork for services, jobs or instances; Cloud Run sandboxes (Preview) can save and reload their changed files as tar archives
Scale to zero and wake on requestNo; a stopped sandbox is started by APIYes; services scale to zero and start again on the next request
CPU28.06 runs/s on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, on a Ryzen 9 9950X host (StarSling run of 3 October 2026)Not measured. Services allocate the configured vCPUs (up to 8), for the instance's whole life with instance-based billing or only during requests with request-based billing; Cloud Run instances (Preview) use shared CPU with a 6.25% baseline per vCPU and a burst budget of up to 500 seconds
Biggest machine without a GPUUp to 16 vCPU / 32 GB (xlarge, on the $100 plan and above)Up to 8 vCPU / 32 GiB; 20 vCPU / 80 GiB with an RTX PRO 6000 GPU
GPUsNone; graphics run on the CPUNVIDIA L4 and RTX PRO 6000 Blackwell
Inbound accessHTTPS URLs for up to 50 ports, token-gated by default; SSH; raw ports (over IPv6 only on sandboxes without their own IPv4)One HTTPS port per service on a run.app URL or custom domain, with IAM or public access; SSH through IAP in Preview (gen2 services and instances, 24 h sessions); no raw TCP inbound
Outbound rulesOpen internet, no provider-side allowlistVPC firewall rules by IP and port through Direct VPC egress; static egress IP through Cloud NAT
Coding agentsSeven coding-agent harnesses installed, with a prompt, steer and events APIYou set it up: package an agent framework (such as ADK, LangGraph or n8n) or a coding agent CLI into your image
Keeping API keys out of the sandboxOptional credentials proxy ($1 per day on, plus $1 per 1,000 requests): real keys of supported providers stay outside; environment variables and other secrets still enterSecret Manager secrets exposed inside the container as environment variables or files
RegionsGermany, Finland and France; you cannot pick a region, and there is no US or Asia regionGoogle Cloud regions on every continent but Antarctica
Compliance and transparencySOC 2 is in progress. We're open about where we stand: live status and data retention policy.SOC 2
Every feature Battleships tracks (43)
FeatureboatGoogle Cloud Run
Full VM (own kernel)YesYes
Docker insideYesNo documented way
Nested virtualizationYesNo documented way
RootYesYes
SystemdYesNo documented way
Desktop GUIYesWith your own setup
BrowserYesWith your own setup
Computer-use APIYesWith your own setup
SSHYesYes
Persistent diskYesYes
Pause/resumeYesNo documented way
Automatic snapshotsYesNo documented way
Fork/cloneYesNo documented way
Live fork (no pause)YesNo documented way
Memory forkNo documented wayNo documented way
Custom image (Docker or snapshot)YesYes
≥24 h sessionsYesYes
Idle auto-stopNo documented wayYes
Wake on requestNo documented wayYes
HTTPS preview URLsYesYes
Raw TCP inboundYesNo documented way
Public IPv4No documented wayNo documented way
Egress allowlistNo documented wayYes
Secret proxyYesNo documented way
Secret proxy for any APIYesNo documented way
Preinstalled agentsYesNo documented way
Agent harness APIYesNo documented way
MCP serverNo documented wayYes
GPUNo documented wayYes
WindowsNo documented wayNo documented way
Arm64No documented wayNo documented way
Self-hostingNo documented wayNo documented way
BYOCNo documented wayNo documented way
Open sourceNo documented wayNo documented way
Scoped API keysYesNot published
Spend limitsYesYes
Usage per sandbox (API)YesYes
Audit logsNo documented wayYes
SSONo documented wayYes
SOC 2No documented wayYes
HIPAANo documented wayYes
EU data residencyNo documented wayYes
Zero data retentionYesNot published

Performance

boat28.06 runs/s
Google Cloud RunNot measured

Cloud Run is not in the public CPU benchmarks we use, so we cannot say which is faster. boat did 28.06 runs/s on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB in StarSling's run of 3 October 2026 (run 37073680030), second of 15. Every boat sandbox in this run ran on an AMD Ryzen 9 9950X host; boat also places sandboxes on Ryzen 7 9700X hosts, which this run did not measure. Cloud Run instances (Preview) use shared CPU with a 6.25% baseline per vCPU and bursts from a budget of up to 500 seconds. Cloud Run services instead get their configured vCPUs, which this page did not measure. For start time, ComputeSDK measured Cloud Run at 1.62 s median with 100 starts at once (2026-11-06) and 584 ms one at a time (2026-08-07), at its default size. boat is not in ComputeSDK.

V8 Web Tooling Benchmark at a 4 vCPU / 8 GB target, runs per second, higher is better. Source: StarSling's run of 3 October 2026 (run 37073680030), median of 5 sandboxes. Providers ran on different hardware in different regions. StarSling gives a shared rank when the run cannot separate two providers. Every boat sandbox in this run ran on an AMD Ryzen 9 9950X host. boat also places some sandboxes on AMD Ryzen 7 9700X hosts, which this run did not measure. Google Cloud Run 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.

Scenarioboat, a monthGoogle Cloud Run, 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
$20 · $20/mo$48 · Pay-as-you-go · with limits
One agent that never stops
4 vCPU / 8 GB, 50 GB disk, running 24/7 all month
$26 · $20/mo$83 · Pay-as-you-go · with limits
50 agents in parallel
50 machines of 4 vCPU / 8 GB at once, 8-hour sessions, 1,100 sessions a month, Docker inside
$317 · $20/mo × 3 seats$495 · Pay-as-you-go · with limits
Sandboxes for your users
2 vCPU / 4 GB, 30,000 sessions of 10 minutes a month, up to 300 at once
$200 · $100/mo × 2 seats$169 · Pay-as-you-go · with limits
1,000 short jobs at once
2 vCPU / 4 GB, 1,000 at once, 3 minutes each, 200,000 jobs a month
$8,800 · $2000/mo · with limits$307 · Pay-as-you-go · with limits

boat: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month. You pay per second while a sandbox runs: $0.036 an hour for 4 vCPU / 8 GB. A stopped sandbox has no compute charge; saved snapshots above the included count and the credentials proxy still charge. Each plan includes a set number of starts (the $20 plan: 12 a minute, 60 an hour, 200 a day); starts beyond that cost $0.03 to $0.07 each, and above 6 times the included number (3 times per minute) a start fails with 429.

Google Cloud Run: Cloud Run bills per vCPU-second and GiB-second, rounded up to 100 ms, after a monthly free tier. In Tier 1 regions, instance-based billing costs $0.000018 per vCPU-second and $0.000002 per GiB-second for the whole life of an instance. Request-based billing costs $0.000024 and $0.0000025 only while requests are handled, plus $0.40 per million requests. Worker pools, delayed jobs and committed-use discounts cost less, and Cloud Run instances (Preview) use a much lower rate for shared CPU.

Limits in those scenarios

No scenario in the table fully fits Cloud Run: local files are deleted at shutdown, and files stay only in a mounted bucket or NFS share. Its prices for 50 agents, user sandboxes and bursts use Cloud Run instances, which are in Preview and run on shared CPU with a 6.25% baseline per vCPU; its always-on price uses a 3-year commitment. Cloud Run allows 100 instances per project and region by default, and the quota can be increased. boat has its own limits: at 1,000 short jobs at once, the $2,000 plan includes 90 starts a minute, charges for starts above that and refuses starts above 270 a minute, so the burst costs $8,800 a month on boat against $307 on Cloud Run.

ScenarioboatGoogle Cloud Run
One coding agent, workdaysNone for this scenario
  • files survive a stop only in a mounted Cloud Storage bucket or NFS share: packages installed elsewhere reset
One agent that never stopsNone for this scenario
  • sessions end after 168 h: needs restarts to run 24/7
  • files survive a stop only in a mounted Cloud Storage bucket or NFS share: packages installed elsewhere reset
  • 3-year commitment
50 agents in parallelNone for this scenario
  • missing persistent disk, Docker inside
  • no persistent disk: files lost when it stops or sleeps
  • beta / preview pricing: may change
  • burstable CPU: 6.25% of each vCPU guaranteed, throttled above that
Sandboxes for your usersNone for this scenario
  • not confirmed: how many machines can run at once (you need 300; the typical published limit is 50)
  • beta / preview pricing: may change
  • burstable CPU: 6.25% of each vCPU guaranteed, throttled above that
1,000 short jobs at once
  • 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
  • not confirmed: how many machines can run at once (you need 1,000; the typical published limit is 50)
  • beta / preview pricing: may change
  • burstable CPU: 6.25% of each vCPU guaranteed, throttled above that
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

Which one should you use?

Use Google Cloud Run when

you need GPUs, regions outside the EU, your own container image, or request-driven code that scales to zero inside an existing Google Cloud setup.

  • GPUs that scale to zero. For GPU inference or GPU evals: L4 and RTX PRO 6000 instances that start in about 5 seconds and scale to zero.
  • Serverless scaling and global regions. For request-driven code: services scale to zero, wake on the next request and run in regions on every inhabited continent.
  • Any container image. For teams with a container image ready: Cloud Run runs any Linux x86_64 image as is.
  • Inside Google Cloud. For teams already on Google Cloud: IAM, VPC firewall rules, Secret Manager and billing exports work the same as everywhere else.

Use boat when

your agents do real work for hours on one machine: Docker, builds, tests, emulators and a browser, with a disk saved every minute and coding agents installed.

  • A whole machine, not a container. Coding agents run docker compose, test containers and emulators. On Cloud Run you build those dependencies into the image ahead of time or run them in another service, because a Docker daemon and KVM cannot run inside.
  • Files that stay, with snapshots and fork. On Cloud Run you set it up: keep the repo and caches on a mounted bucket or NFS share, or copy them out before a stop. Packages installed outside the mount reset on each new instance. On boat, if a machine fails, you lose what was written after the last good snapshot.
  • Agents, keys and a desktop built in. On Cloud Run you set these up: build the agent harness, the desktop and the browser into your image (Google has a guide for the desktop). Secret Manager puts secrets inside the container as environment variables or files, where code in the container can read them.

Questions people ask

Is boat cheaper than Google Cloud Run?

It depends on the workload. In the scenario table boat costs less for one workday agent ($20 vs $48 a month), one agent that never stops ($26 vs $83, Cloud Run on a 3-year commitment) and 50 agents in parallel ($317 vs $495). Cloud Run costs less for user sandboxes ($169 vs $200) and for 1,000 short jobs at once ($307 vs $8,800, where boat pays for extra starts). None of the Cloud Run setups fully fit, because local files are deleted at shutdown. Below about $20 of use a month, Cloud Run's free tier costs less than boat's smallest plan.

Can I run Docker inside Google Cloud Run?

No. Cloud Run's container contract says there is no equivalent to Docker's privileged mode, so a Docker daemon cannot run inside. boat sandboxes are full VMs with Docker, systemd and /dev/kvm. boat does not boot your own Docker image; it starts from boat's image or a saved snapshot.

Does Cloud Run keep files between runs?

Not on its local disk. Cloud Run's filesystem is in memory, and the optional ephemeral disk (up to 100 GiB) is also deleted when the instance stops. You mount Cloud Storage or NFS for anything that must stay. boat saves the whole disk every minute and at each stop, and keeps a stopped sandbox's disk for at least 14 days, longer with a saved snapshot.

Can I SSH into Cloud Run?

Yes, in Preview since October 2026. SSH works through gcloud and IAP for second-generation services and Cloud Run instances, with sessions of up to 24 hours. boat gives every sandbox SSH.

Can I run an AI coding agent on Cloud Run?

Yes. You package one into a container image and run it, within the request, job or instance time limits. boat has Claude Code, Codex and five other coding-agent harnesses installed, and an API to prompt, steer and follow them.

Does Cloud Run have GPUs?

Yes. Cloud Run offers NVIDIA L4 and RTX PRO 6000 Blackwell GPUs with instance-based billing, and GPU services can scale to zero. GPU jobs can run for up to 12 hours (Preview). boat has no GPUs.

Is boat SOC 2 compliant?

SOC 2 is in progress, so there is no SOC 2 report today. No HIPAA BAA and no SAML SSO are documented. Live status is at status.ascii.dev and our data retention policy is at docs.boat.dev/data-retention.

Start a sandbox

Install the CLI, then run boat new.

7-day free trial

More comparisons