boat vs GitHub Codespaces

GitHub Codespaces is a cloud dev environment: a Linux dev container on its own VM, opened from a repository in VS Code or the browser, that stops after at most 12 hours. boat is a sandbox you drive from code: full VMs with /dev/kvm, a desktop and coding agents built in, that fork while running. A boat sandbox stops after 1 hour by default; on a paid plan you can turn auto-stop off.

Where boat stands out

Sandboxes that keep running and keep their files

On a paid plan you can turn auto-stop off (default 1 hour), and a boat sandbox then runs until you stop it. boat saves the disk every minute and at each stop. A stopped sandbox has no compute charge and keeps its disk for at least 14 days, longer with a saved snapshot. You can fork a running sandbox into copies. A codespace stops after 12 hours at most, even while in use, and after 30 idle minutes by default; the API has no copy endpoint.

A full VM with /dev/kvm and a built-in desktop

Every boat sandbox has root, systemd, Docker and /dev/kvm, plus a 60fps desktop with Chrome and computer tools for agents, and HTTPS URLs on up to 50 ports. A codespace is a dev container with an editor. GitHub documents no /dev/kvm, no built-in desktop (a noVNC desktop is a dev container add-on you configure) and no public address.

Coding agents you drive from outside

boat installs seven coding-agent harnesses in each sandbox, among them Claude Code, Codex and OpenCode, and you drive them through boat's API. The optional AI credentials proxy ($1 per day on, plus $1 per 1,000 requests) keeps the real keys of supported model providers out of the sandbox. Codespaces gives you Copilot as an editor extension and copies secrets 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.

GitHub Codespaces

GitHub Codespaces is GitHub's cloud development environment: a ready-to-code Linux machine for a repository, opened in the browser, VS Code or the GitHub CLI.

Codespaces is a different kind of product from boat: a dev environment for people who work on a GitHub repository, not a sandbox API for agents. Each codespace is a Docker container built from the repo's dev container config. It runs on its own newly built VM on Azure, with 2 to 32 cores. It is built for developers and teams who want every contributor to start from the same setup, with prebuilds, port forwarding and GitHub billing.

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 rankGitHub Codespaces: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
An agent on Codespaces gets Docker inside the dev container through a dev container feature. GitHub does not document /dev/kvm, and a codespace stops after 12 hours at most, so long build-and-test loops must restart. boat has Docker and /dev/kvm on every sandbox.
5th cheapest of 365
$634 a month
290th of 365, with limits
$4,618 a month
Always-on AI employees
50 machines 24/7 · 2 vCPU / 4 GB
An always-on assistant does not fit Codespaces well: every codespace stops after 12 hours at most, and after 30 idle minutes by default if nothing prints to a terminal. On a paid boat plan you turn auto-stop off (default 1 hour) and the sandbox runs until you stop it.
6th cheapest of 361
$657 a month
320th of 361, with limits
$6,970 a month
Code interpreter bursts
100 at once · 1 vCPU / 2 GB · 200,000 sessions of 1 min a month
Neither is built for one-minute runs. Each codespace builds a dev container on a new VM, which prebuilds speed up but do not remove. On boat, every create counts against the plan's start limits.
189th of 336, with limits
$2,000 a month
283rd of 336, with limits
$619 a month
Sandboxes for your users
300 at once · 2 vCPU / 4 GB · 30,000 sessions of 23 min a month
Codespaces are created for GitHub users on a repository, and GitHub does not publish how many can run at once, so 300 machines for your own users is not confirmed. boat runs 100 to 2,000 sandboxes at once, by plan.
3rd cheapest of 349
$209 a month
276th of 349, with limits
$1,964 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
276th of 349, with limits
$9,489 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
295th of 359, with limits
$1,519 a month
CI runners
40 at once · 8 vCPU / 16 GB · 6,000 sessions of 12 min a month
Codespaces has no fork and no snapshot API, so each run starts from a repo or a prebuild built by GitHub Actions. boat forks a warm sandbox from its last 1-minute snapshot, and each fork counts as a start.
2nd cheapest of 374
$86 a month
317th of 374, with limits
$909 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
Codespaces is a polished VS Code environment per repo, but it stops after 12 hours at most. A boat sandbox runs until you stop it once auto-stop is off (default 1 hour), and a stopped one keeps its disk for at least 14 days.
19th cheapest of 371
$26 a month
144th of 371, with limits
$270 a month
Computer-use agents
50 at once · 4 vCPU / 8 GB · 20,000 sessions of 15 min a month
A codespace can add a basic noVNC desktop through the desktop-lite dev container feature, which you set up yourself, with no computer-use API. boat streams a 60fps desktop with Chrome and has computer tools for agents built in.
7th cheapest of 367
$200 a month
297th of 367, with limits
$1,367 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
306th of 356, with limits
$678 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
324th of 343, with limits
$922 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
279th of 327, with limits
$18,637 a month
Parallel red teaming
200 at once · 2 vCPU / 4 GB · 5,000 sessions of 30 min a month
boat can fork one prepared sandbox into many while it runs; each fork counts as a start. On Codespaces every copy is created again from the repository or a prebuild.
3rd cheapest of 351
$200 a month
284th of 351, with limits
$445 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 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 requirement

Key features

FeatureboatGitHub Codespaces
IsolationEvery sandbox is a full VM with its own kernel, on a host dedicated to boat; vCPUs are sharedA Docker container on its own newly built VM, with its own virtual network
How long it runsStops after 1 hour by default; set up to 30 days, or turn auto-stop off on a paid plan and it runs until you stop it (trial: 2 hours at most)Stops after 30 idle minutes by default (up to 240) and after 12 hours at most, even while in use
Docker and nested virtualizationDocker, root, systemd and /dev/kvm on every sandboxRuns in a Docker container on a VM; Docker inside needs a dev container feature; /dev/kvm is not documented
Desktop and computer useBuilt-in desktop and Chrome streamed at 1920x1080, 60 fps, with computer tools for agents; no GPUVS Code, JupyterLab and a terminal; a Fluxbox desktop over noVNC through the desktop-lite dev container feature, which you configure; no computer-use API
Files after a stopDisk saved every minute and at each stop; a stopped sandbox has no compute charge and keeps its disk free for at least 14 days, and a saved snapshot keeps it with no expiryFiles are kept and storage is billed; a stopped codespace is deleted after 30 days by default (you can set 0 to 30 days)
Fork and snapshotsFork a running sandbox into copies from its last 1-minute snapshot (writes from the last minute can be missing); saved snapshots as templatesNo copy or snapshot endpoint; new codespaces start from a repo, branch, pull request or prebuild; export pushes unpushed changes to a branch
Starting pointboat's image or a saved snapshot, shareable by code; you cannot boot your own Docker or OCI imageDev container config in the repository, with prebuilds built by GitHub Actions
Driving it from codeAPI, SDK and CLI to create, fork, stop and run commands, on every planREST API and GitHub CLI to create, start, stop and delete; commands run over SSH
Coding agentsSeven harnesses installed, among them Claude Code, Codex and OpenCode, driven through boat's APIGitHub Copilot as a VS Code extension; other agents you install and run yourself
Keeping keys out of the sandboxOptional AI credentials proxy, off by default, $1 per day on plus $1 per 1,000 requests; with it on, real keys of supported model providers stay outside; other secrets still enter the sandboxSecrets are copied into the codespace as environment variables
Reaching the sandboxUp to 50 HTTPS URLs, token-gated by default; SSH; a public IPv6 address (some sandboxes have no IPv4 of their own, so raw ports there are IPv6 only); the IP changes at each resumeA URL per forwarded port, private, organization or public; SSH and CLI tunnels to your own machine; no public IP
Outbound internetOpen internet; no provider-side allowlist; egress not billedOpen internet; GitHub says there is no way to restrict it
RegionsGermany, Finland and France; you cannot pick a region; no US or Asia regionUS East, US West, Europe West and Southeast Asia
ComplianceSOC 2 in progress; no SOC 2 report todayGitHub Enterprise Cloud lists SOC 1, SOC 2 and SOC 3 reports and ISO 27001
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)
FeatureboatGitHub Codespaces
Full VM (own kernel)YesYes
Docker insideYesYes
Nested virtualizationYesNot published
RootYesYes
SystemdYesNot published
Desktop GUIYesWith your own setup
BrowserYesNo documented way
Computer-use APIYesNo documented way
SSHYesYes
Persistent diskYesYes
Pause/resumeYesYes
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 sessionsYesNo documented way
Idle auto-stopNo documented wayYes
Wake on requestNo documented wayNo documented way
HTTPS preview URLsYesYes
Raw TCP inboundYesNo documented way
Public IPv4No documented wayNo documented way
Egress allowlistNo documented wayNo documented way
Secret proxyYesNo documented way
Secret proxy for any APIYesNo documented way
Preinstalled agentsYesNo documented way
Agent harness APIYesNo documented way
MCP serverNo documented wayNo documented way
GPUNo documented wayNo documented way
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)YesNo documented way
Audit logsNo documented wayYes
SSONo documented wayYes
SOC 2No documented wayYes
HIPAANo documented wayNo documented way
EU data residencyNo documented wayYes
Zero data retentionYesNot published

Performance

boat28.06 runs/s
GitHub CodespacesNot measured

GitHub Codespaces is not in the public benchmarks we use, so we cannot say which is faster. For reference, boat did 28.06 runs/s on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, second of 15 in StarSling's run of 3 October 2026 (run 37073680030). 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.

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. GitHub Codespaces 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 monthGitHub Codespaces, 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$51 · Personal account: GitHub Free
One agent that never stops
4 vCPU / 8 GB, 50 GB disk, running 24/7 all month
$26 · $20/mo$270 · Personal account: GitHub Free · 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$3,019 · Personal account: GitHub Free
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$850 · Personal account: GitHub Free · 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$1,889 · Personal account: GitHub Free · 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 does not carry over. A default sandbox (4 vCPU / 8 GB) costs $0.036 per hour, billed per second while it runs, busy or idle. A stopped sandbox has no compute charge and keeps its disk for at least 14 days; saved snapshots above the included count and the AI credentials proxy still charge. Above the included starts (200 a day on $20), an extra start costs $0.03 to $0.07.

GitHub Codespaces: Codespaces bills $0.09 per core-hour for the whole time a codespace is active, used or not, until it is stopped or times out, plus $0.07 per GB-month for storage while it exists, stopped too. There is no 4-core machine with 8 GB, so a 4 vCPU / 8 GB job is priced on the 4-core 16 GB machine. Personal accounts get a free monthly quota and organizations do not.

Limits in those scenarios

Every codespace stops after 12 hours at most and after 30 idle minutes by default, so it does not fit the always-on scenario: its price there assumes a script that restarts it, and running processes end at each stop. GitHub says there are limits on how many codespaces you can create and run at once but does not publish them, so 300 user sandboxes and 1,000 short jobs show as not confirmed, and 50 agents are likely but not certain. On boat the limit is a sandbox count (100 to 2,000 at once, by plan) plus starts per minute, hour and day. The 1,000-job burst needs about 6,667 starts a day against 2,400 included on the $2,000 plan; extra starts are paid, starts above 270 a minute fail with 429, and boat never queues a start. boat sandboxes also stop after 1 hour by default until you change auto-stop.

ScenarioboatGitHub Codespaces
One coding agent, workdaysNone for this scenarioNone for this scenario
One agent that never stopsNone for this scenario
  • Personal account: GitHub Free: sessions capped at 12 h
50 agents in parallelNone for this scenario
  • how many machines can run at once: limit not published, probably fine at 50 (the typical published limit is 50)
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)
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)
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 GitHub Codespaces when

your developers want a ready VS Code environment for a GitHub repository, opened from a branch or pull request, in the US, EU or Asia, with compliance reports available today.

  • Built into GitHub. Useful if your team lives on GitHub: open a codespace from any repo, branch or pull request, with the dev container already set up.
  • Free hours for personal accounts. Useful for occasional personal work: a GitHub Free account includes 120 core-hours and 15 GB-month of storage each month.
  • Regions in the US and Asia. Useful if your developers sit in the US or Asia: codespaces run in US East, US West, Europe West and Southeast Asia.
  • Compliance reports today. Useful if you need audit reports now: GitHub Enterprise Cloud lists several.

Use boat when

your code starts and drives agents that work for hours or days: full VMs with /dev/kvm, a built-in desktop and public HTTPS URLs, preinstalled coding agents, and sandboxes that fork while running. Turn auto-stop off on a paid plan; it defaults to 1 hour.

  • Sandboxes that keep running and keep their files. An agent on a long task on Codespaces stops at 12 hours and its processes end, so you need a script that restarts it and resumes the job. Every parallel attempt starts again from the repository. On boat, a resume is also like a reboot: memory and running programs are not saved.
  • A full VM with /dev/kvm and a built-in desktop. Android emulators and microVMs need /dev/kvm, computer-use agents need a screen and an API to drive it, and other services need raw ports. On Codespaces, GitHub documents no /dev/kvm and no public address, and you assemble the desktop and the control layer yourself.
  • Coding agents you drive from outside. On Codespaces you write the code that starts, prompts and watches each agent over SSH. An API key in an environment variable can be read by any code the agent runs; on boat that is also true unless the proxy is on.

Questions people ask

Is boat cheaper than GitHub Codespaces?

In four of the five scenarios we priced, yes. One coding agent on workdays is $20 a month on boat against $51. One agent running all month is $26 against $270, and Codespaces only gets there with a restart every 12 hours. 50 agents in parallel come to $317 against $3,019, and 300 user sandboxes to $200 against $850. For 1,000 short jobs at once, Codespaces is cheaper: $1,889 against $8,800 on boat with paid extra starts, and neither fits without higher limits. Below about $20 of use a month, the free Codespaces quota on a personal account costs less.

Can I run an AI agent in GitHub Codespaces 24/7?

Not without restarts. A codespace has a maximum lifetime of 12 hours, even while you use it, and stops after 30 idle minutes by default if nothing types or prints to a terminal. A boat sandbox stops after 1 hour by default. On a paid plan you can turn auto-stop off, and it then runs until you stop it.

Can I run Claude Code in GitHub Codespaces?

Yes. You install it yourself and run it in the terminal, with your API key as a Codespaces secret, which arrives as an environment variable. boat installs Claude Code, Codex, OpenCode and other harnesses, and gives you one API to drive them. With boat's paid AI credentials proxy on, the real keys of supported providers stay outside the sandbox.

Does Codespaces support Docker and nested virtualization?

Docker works inside a codespace through dev container features, and you have sudo. GitHub does not document /dev/kvm or nested virtualization for codespaces, so do not plan on Android emulators or microVMs there. Every boat sandbox has Docker, systemd and /dev/kvm.

Where does my data run?

boat sandboxes run on machines in Germany, Finland and France, and you cannot pick a region. Snapshot copies can be stored outside the EU. Codespaces runs in US East, US West, Europe West and Southeast Asia, and you pick the region when you create one.

Is boat SOC 2 compliant?

SOC 2 is in progress, so there is no SOC 2 report today. boat documents no HIPAA BAA and no SAML SSO. Measured sandbox uptime is 99.95% over all sandboxes, with no published SLA. Live status is at status.ascii.dev and the data retention policy at docs.boat.dev/data-retention.

Start a sandbox

Install the CLI, then run boat new.

7-day free trial

More comparisons