boat vs Google Cloud Build
Google Cloud Build is a CI service. Each build runs a list of Docker steps on a fresh VM worker, and Google destroys that VM when the build ends, within 24 hours at most. boat gives each agent its own VM that keeps its disk between runs, can be reached from the internet and comes with coding agents installed.
Where boat stands out
A machine that stays, not a build that ends
A boat sandbox is a full VM with its own kernel. It saves its disk every minute and at each stop, and has no session cap once auto-stop is off (default 1 hour). Memory and running programs are not saved, so a resume is like a reboot. A Cloud Build build starts on a fresh VM, discards its volumes when it ends, and stops at 24 hours.
Reachable from the internet
boat gives every sandbox up to 50 HTTPS URLs, token-gated by default, plus SSH and a public IPv6 address, so an agent can run an app and you or your users can open it. Some sandboxes have no IPv4 address of their own, so a raw port on them is reachable over IPv6 only. Cloud Build builds take no inbound traffic and have no SSH; you see a build through its logs.
Coding agents installed, keys kept out on request
boat installs seven coding-agent harnesses in each sandbox, among them Claude Code, Codex and OpenCode, and you drive them from outside with a prompt, steer and events API. With the optional AI credentials proxy on ($1 a day plus $1 per 1,000 requests), the real keys of supported providers never enter the sandbox; other environment variables and secrets still do. Cloud Build runs the steps in your config and passes Secret Manager values in as environment variables.
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.
- Isolation
- Full VM per sandbox, own kernel
- Regions
- EU: Germany, Finland, France
Google Cloud Build
Google Cloud Build is Google Cloud's managed CI/CD service: it runs builds, tests and image pushes from a config file.
You write a build config in YAML or JSON. Cloud Build starts a new VM for the build and runs each step as a Docker container on it, in a shared default pool or in a private pool that can join your VPC. Builds start from the API, the gcloud CLI or triggers on GitHub, GitLab and Bitbucket, and the results go to Artifact Registry. It is built for teams on Google Cloud that want builds wired into IAM, Secret Manager and their projects. It is a different kind of product from boat, so this page compares the parts that overlap: running code an agent wrote on a remote machine.
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 workload | boat: price rank | Google Cloud Build: price rank |
|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month A software factory needs a machine that keeps its work between sessions. Cloud Build destroys the worker VM after each build. You set up persistence yourself: a step copies chosen directories to Cloud Storage at the end of a build, and another copies them back at the start of the next. | 5th cheapest of 365 $634 a month | 347th of 365, with limits $12,657 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB An always-on assistant hits Cloud Build's 24-hour build timeout, so it restarts on a fresh worker at least once a day. On boat, a paid plan can turn auto-stop off (default 1 hour) to remove the session cap. | 6th cheapest of 361 $657 a month | 97th of 361, with limits $13,125 a month |
| Code interpreter bursts 100 at once · 1 vCPU / 2 GB · 200,000 sessions of 1 min a month Short code runs suit Cloud Build's per-second billing and 2,500 free build-minutes a month, as long as you stay under 30 builds at once in the default pool or have private-pool quota. On boat, the $20 plan includes 12 starts a minute and 200 a day; extra starts cost $0.03 to $0.07 each. | 189th of 336, with limits $2,000 a month | 157th of 336, with limits $600 a month |
| Sandboxes for your users 300 at once · 2 vCPU / 4 GB · 30,000 sessions of 23 min a month Cloud Build builds take no inbound traffic and expose no ports or URLs, so your users cannot open an app running inside one. | 3rd cheapest of 349 $209 a month | 313th of 349, with limits $4,170 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 | 181st of 349, with limits $17,985 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 | 209th of 359, with limits $3,600 a month |
| CI runners 40 at once · 8 vCPU / 16 GB · 6,000 sessions of 12 min a month Both fit CI. Cloud Build is a CI service with Git triggers, SLSA level 3 provenance and Google Cloud wiring. boat runs CI jobs on a full VM with Docker and /dev/kvm, started from the API or CLI. | 2nd cheapest of 374 $86 a month | 197th of 374, with limits $1,728 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB | 19th cheapest of 371 $26 a month | 351st of 371, with limits $511 a month |
| Computer-use agents 50 at once · 4 vCPU / 8 GB · 20,000 sessions of 15 min a month Cloud Build steps can run scripted headless browser tests, but there is no built-in desktop stream or interactive access to a running step. boat streams a 1920x1080, 60 fps desktop with Chrome for computer use. | 7th cheapest of 367 $200 a month | 341st of 367, with limits $3,585 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 | 156th of 356, with limits $1,785 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 | 164th of 343, with limits $900 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 | 275th of 327, with limits $18,000 a month |
| Parallel red teaming 200 at once · 2 vCPU / 4 GB · 5,000 sessions of 30 min a month Parallel attacks on Cloud Build each start from a fresh worker; the docs describe no fork of a running build. boat forks a running sandbox from its last 1-minute snapshot, so writes from the last minute or so can be missing. | 3rd cheapest of 351 $200 a month | 137th of 351, with limits $885 a month |
| GPU eval jobs 10 at once · 8 vCPU / 32 GB · 500 sessions of 30 min a month | Not ranked: misses a requirement | Not ranked: misses a requirement |
| 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 |
Key features
| Feature | boat | Google Cloud Build |
|---|---|---|
| Kind of product | Cloud VMs for agents: each one keeps running, keeps its disk and can host services | CI builds: a list of Docker steps that runs once and ends |
| Isolation | Every sandbox is a full VM with its own kernel, and it stays between runs | Each build gets a fresh VM worker, destroyed after the build; steps run as Docker containers on it |
| Docker and nested virtualization | Docker with BuildKit and Compose, root, systemd and /dev/kvm on every sandbox | Docker builds through the docker builder step; no /dev/kvm documented |
| How long one session runs | No session cap once auto-stop is off (default 1 hour, paid plans only) | 24 hours at most per build |
| Files after a run | Disk saved every minute and at each stop; memory, running programs and /tmp are not saved. A stopped sandbox keeps its disk at least 14 days, longer as a saved snapshot | Volumes are discarded when the build ends. You set it up: copy chosen directories to Cloud Storage at the end of a build and back at the start of the next (official guide) |
| Pause, resume and fork | Stop and resume from disk; fork a running sandbox from its last 1-minute snapshot | Start, list and cancel builds; the docs describe no pause, resume or fork |
| Reaching the sandbox | Up to 50 HTTPS URLs per sandbox, token-gated by default; SSH; public IPv6. No static IPv4, and the IP changes at each resume | No inbound ports, URLs or SSH into the worker; you read logs |
| Outbound internet | Open internet on every plan; no provider-side allowlist | Open in the default pool; private pools can cut public internet off or follow your VPC firewall rules |
| Keeping keys out of the sandbox | Optional AI credentials proxy ($1 a day it is on, plus $1 per 1,000 requests): real keys of supported providers stay out of the sandbox; other secrets still enter it | Secret Manager values are put into build steps as environment variables |
| Coding agents | Seven harnesses installed, among them Claude Code, Codex and OpenCode, with a prompt, steer and events API | None built in. You set it up: run an agent CLI image as a build step; it takes no follow-up prompt while it runs |
| Desktop and computer use | Built-in desktop and Chrome streams at 1920x1080, 60 fps, with computer tools for agents and an embeddable stream | No built-in desktop stream or interactive access; a step image can run headless Chrome or Xvfb for scripted browser tests |
| Custom images | Saved snapshots (templates), shareable by code; you cannot boot your own Docker or OCI image, but Docker runs inside | Any container image as a build step, from Docker Hub, Artifact Registry or another registry |
| Git triggers and provenance | None built in; you start sandboxes from the API or CLI | Triggers on GitHub, GitLab and Bitbucket pushes; SLSA level 3 build provenance |
| Regions | Germany, Finland and France; you cannot pick one, and there is no US or Asia region | Google Cloud regions worldwide, 13 of them in Europe; you pick the region |
| Compliance and transparency | SOC 2 is in progress. We're open about where we stand: live status and data retention policy. | SOC 2 |
Every feature Battleships tracks (43)
| Feature | boat | Google Cloud Build |
|---|---|---|
| Full VM (own kernel) | Yes | Yes |
| Docker inside | Yes | Yes |
| Nested virtualization | Yes | No documented way |
| Root | Yes | Yes |
| Systemd | Yes | Not published |
| Desktop GUI | Yes | No documented way |
| Browser | Yes | With your own setup |
| Computer-use API | Yes | No documented way |
| SSH | Yes | No documented way |
| Persistent disk | Yes | With your own setup |
| Pause/resume | Yes | No documented way |
| Automatic snapshots | Yes | No documented way |
| Fork/clone | Yes | No documented way |
| Live fork (no pause) | Yes | No documented way |
| Memory fork | No documented way | No documented way |
| Custom image (Docker or snapshot) | Yes | Yes |
| ≥24 h sessions | Yes | Yes |
| Idle auto-stop | No documented way | No documented way |
| Wake on request | No documented way | No documented way |
| HTTPS preview URLs | Yes | No documented way |
| Raw TCP inbound | Yes | No documented way |
| Public IPv4 | No documented way | No documented way |
| Egress allowlist | No documented way | Yes |
| Secret proxy | Yes | No documented way |
| Secret proxy for any API | Yes | No documented way |
| Preinstalled agents | Yes | No documented way |
| Agent harness API | Yes | No documented way |
| MCP server | No documented way | No documented way |
| GPU | No documented way | No documented way |
| Windows | No documented way | No documented way |
| Arm64 | No documented way | No documented way |
| Self-hosting | No documented way | No documented way |
| BYOC | No documented way | No documented way |
| Open source | No documented way | No documented way |
| Scoped API keys | Yes | Not published |
| Spend limits | Yes | Not published |
| Usage per sandbox (API) | Yes | Yes |
| Audit logs | No documented way | Not published |
| SSO | No documented way | Yes |
| SOC 2 | No documented way | Yes |
| HIPAA | No documented way | Yes |
| EU data residency | No documented way | Yes |
| Zero data retention | Yes | Not published |
Performance
Cloud Build is 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 runs/s on the V8 Web Tooling Benchmark 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 sandboxes on AMD Ryzen 7 9700X hosts, which this run did not measure, and does not promise a CPU model.
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 Build 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.
| Scenario | boat, a month | Google Cloud Build, 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 | $127 · 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 | $526 · 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 | $6,336 · 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 | $1,785 · 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 | $3,585 · Pay as you go · with limits |
boat: 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 expires at the end of the billing period. A 4 vCPU / 8 GB sandbox costs $0.036 an hour, billed per second while it runs. A stopped sandbox has no compute charge, but saved snapshots above the included count and the AI credentials proxy still charge. Starts above the plan's included number cost $0.03 to $0.07 each.
Google Cloud Build: Cloud Build has no plan fee. It bills per build-minute while a build runs, with partial minutes billed per second and no charge while queued. The price depends on the machine type, on default or private pool, and on the region. In Iowa (us-central1), a private-pool e2-standard-4 (4 vCPU / 16 GiB) costs $0.012 a minute ($0.72 an hour), and e2-standard-2 costs $0.006 a minute in every region. Each billing account gets 2,500 free build-minutes a month on e2-standard-2 in the default pool, and extra disk and network egress are billed on top.
Limits in those scenarios
On Cloud Build every scenario runs into the same limit: it is a CI runner, so Google destroys the worker VM and its files when each build ends. The agent that never stops also hits the 24-hour build timeout. The default pool allows at most 30 builds at once, so 50 agents, 300 user sandboxes or 1,000 jobs need a private pool and enough vCPU quota in your region. On boat, the 1,000 short jobs at once hit the start limits: the $2,000 plan includes 90 starts a minute and 2,400 a day, starts above that are paid, and starts above 270 a minute fail with 429 and must be sent again. boat also keeps a stopped sandbox's disk for at least 14 days only, unless you save a saved snapshot. If a machine fails, you lose what was written after the last 1-minute snapshot. boat has no GPU on any size.
| Scenario | boat | Google Cloud Build |
|---|---|---|
| One coding agent, workdays | None for this scenario |
|
| One agent that never stops | None for this scenario |
|
| 50 agents in parallel | None for this scenario |
|
| Sandboxes for your users | None for this scenario |
|
| 1,000 short jobs at once |
|
|
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 Build when
you need CI builds that run on every push inside your Google Cloud projects, with VPC access, signed provenance and no monthly fee.
- Part of your Google Cloud project. Useful if your stack lives on Google Cloud: builds use IAM, Secret Manager and Artifact Registry, and private pools reach your VPC.
- CI that starts itself, with provenance. Useful if you want builds on every push: triggers watch GitHub, GitLab and Bitbucket, with SLSA level 3 provenance.
- Network rules for builds. Useful if builds must stay off the public internet: private pools can turn public egress off or follow VPC firewall rules.
- No monthly fee, free minutes. Useful for small or occasional jobs: no plan fee and 2,500 free build-minutes a month on e2-standard-2.
Use boat when
your agents need a machine of their own: a full VM that keeps its disk between runs, runs as long as the work takes once auto-stop is off, serves apps to the internet and comes with coding agents installed.
- A machine that stays, not a build that ends. An agent that installs tools and edits a repo loses that work when a Cloud Build run ends, unless you set it up: a step copies chosen directories to Cloud Storage at the end and another copies them back at the start. You script that copy and wait for it in each build.
- Reachable from the internet. An agent that builds a web app needs someone to open it. On Cloud Build nobody can, so previews, webhooks and user-facing sandboxes need a separate service such as Cloud Run in front.
- Coding agents installed, keys kept out on request. With secrets as environment variables, code an agent wrote can read and leak the key. A build config also cannot take a follow-up prompt, so steering an agent mid-task means writing that plumbing yourself.
Questions people ask
Is boat cheaper than Google Cloud Build?
For agents that run for hours, yes in the scenarios we priced. We priced 4 vCPU agents on Cloud Build as a private-pool e2-standard-4 (4 vCPU / 16 GiB) at Iowa list price, $0.72 an hour, because Cloud Build has no 4 vCPU / 8 GB type; other regions cost up to about 40% more. One agent on workdays (176 h) comes to $20 on boat and $127 on Cloud Build. One agent running all month (730 h) comes to $26 on boat and $526 on Cloud Build, which must also restart the build every 24 hours. 50 agents in parallel (8,800 h) come to $317 against $6,336. For 1,000 short jobs at once (200,000 jobs of 3 minutes on 2 vCPU), Cloud Build's default-pool e2-standard-2 comes to $3,585 after the free minutes, and boat comes to $8,800 on the $2,000 plan with paid extra starts. Neither fits as is: Cloud Build's default pool runs at most 30 builds at once, and boat refuses starts above 270 a minute.
Can I run an AI coding agent in Google Cloud Build?
Yes, you set it up: run the agent's CLI as a build step. The build ends within 24 hours, takes no inbound traffic, and destroys its worker VM and files when it finishes, unless you copy them to Cloud Storage. You also cannot send it a follow-up prompt while it runs. boat installs the agents in each sandbox and lets you drive them with a prompt, steer and events API.
Does Cloud Build run in a VM or a container?
Both: Cloud Build gives each build a fresh VM worker and runs each step as a Docker container on it, but you get no shell on the worker. A boat sandbox is also a full VM, and it stays: root, systemd, Docker and /dev/kvm, reachable over SSH.
How many Cloud Build builds can run at once?
In the default pool, 10 to 30 builds at once and 5 to 100 E2 vCPU, and Google says those limits cannot be raised. Private pools have no fixed build cap. A per-region vCPU quota limits them (up to 2,400 E2 vCPU by default), and you can ask to raise it; a new project can start at 0. boat limits sandboxes at once by plan: 100 on $20, 300 on $100, 1,000 on $500 and 2,000 on $2,000. boat also limits starts per minute, hour and day on each plan.
Where does my data run?
boat runs sandboxes on machines in Germany, Finland and France, and you cannot pick a region. Snapshot copies can be stored outside the EU. You can turn snapshots and monitoring off. Cloud Build runs in the Google Cloud region you choose, which includes 13 regions in Europe and many more worldwide.
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. boat measured 99.95% sandbox uptime over the history of all sandboxes, and publishes no SLA. Live status is at status.ascii.dev and the data retention policy at docs.boat.dev/data-retention. Cloud Build is covered by Google Cloud's compliance programs.
Start a sandbox
Install the CLI, then run boat new.
7-day free trial