GitHub Codespaces vs Azure Container Apps Sandboxes
GitHub Codespaces is a dev environment for people: a container opened from a repository in VS Code, which stops after 12 hours at most. Azure Container Apps Sandboxes is a sandbox for code: microVMs you create through an SDK, with no session cap, that suspend with their memory and wake on traffic.
The companies and products
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.
Azure Container Apps Sandboxes
Azure Container Apps Sandboxes is a service inside Microsoft Azure that gives each agent or user an isolated microVM you create, suspend and resume through an SDK.
It is part of Azure Container Apps, the hyperscaler's serverless container platform, and lives in your Azure subscription as a sandbox group resource. Each sandbox boots from an OCI image or a snapshot and has its own kernel. A stop keeps the disk, or the disk and the memory, and a memory-mode sandbox resumes in under a second. It is built for teams already on Azure that want stateful code execution with Azure networking, identity and 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. “290th cheapest of 365” means 289 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 | GitHub Codespaces: price rank | Azure Container Apps Sandboxes: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month Codespaces stops every 12 hours. Azure has no session cap, gives a shell through its aca CLI rather than SSH, and runs Docker in images that ship it. Neither documents /dev/kvm, and on both you build a desktop yourself. boat gives each agent SSH, Docker, /dev/kvm and a desktop. | 290th of 365, with limits $4,618 a month | 33rd cheapest of 365 $5,276 a month | 5th cheapest of 365 $634 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB An always-on assistant hits the 12-hour stop on Codespaces. On Azure it runs with no session cap and bills every running second. On boat you turn auto-stop off on a paid plan (default 1 hour), and it gets a desktop and SSH. | 320th of 361, with limits $6,970 a month | 52nd cheapest of 361 $6,780 a month | 6th cheapest of 361 $657 a month |
| Code interpreter bursts 100 at once · 1 vCPU / 2 GB · 200,000 sessions of 1 min a month Azure fits short code runs best of the three: sandboxes suspend with their memory, resume in under a second and wake on traffic. Each codespace builds a dev container on a new VM, and boat counts every create as a start against its plan's start limits. | 283rd of 336, with limits $619 a month | 39th cheapest of 336 $354 a month | 189th of 336, with limits $2,000 a month |
| Sandboxes for your users 300 at once · 2 vCPU / 4 GB · 30,000 sessions of 23 min a month Azure fits sandboxes for your users; its default quota of 300 active cores per region needs a support request for 300 sandboxes of 2 cores. GitHub does not publish how many codespaces can run at once. boat runs 100 to 2,000 sandboxes at once by plan. | 276th of 349, with limits $1,964 a month | 32nd cheapest of 349 $2,260 a month | 3rd cheapest of 349 $209 a month |
| RL rollouts 1,000 at once · 2 vCPU / 4 GB · 1,000,000 sessions of 3 min a month | 276th of 349, with limits $9,489 a month | 158th of 349, with limits $10,740 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 | 295th of 359, with limits $1,519 a month | 85th cheapest of 359 $1,728 a month | 10th cheapest of 359 $200 a month |
| CI runners 40 at once · 8 vCPU / 16 GB · 6,000 sessions of 12 min a month Azure can start runs from a memory snapshot of a warm sandbox, while Codespaces starts each one from a repo or a prebuild. boat forks a warm sandbox from its last 1-minute snapshot and adds /dev/kvm for Android and VM builds. | 317th of 374, with limits $909 a month | 108th cheapest of 374 $1,046 a month | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB Codespaces is the better dev box of the two, with VS Code and SSH, but it stops after 12 hours at most. Azure gives a shell through the aca CLI, SDK or portal and documents no SSH. boat has SSH and keeps its disk at least 14 days after a stop. | 144th of 371, with limits $270 a month | 327th of 371, with limits $262 a month | 19th cheapest of 371 $26 a month |
| Computer-use agents 50 at once · 4 vCPU / 8 GB · 20,000 sessions of 15 min a month A codespace can add a basic noVNC desktop through the desktop-lite dev container feature, and on Azure you build a desktop into your own OCI image. Neither documents a computer-use API. boat streams a 1920x1080, 60 fps desktop with computer tools. | 297th of 367, with limits $1,367 a month | 58th cheapest of 367 $1,573 a month | 7th cheapest of 367 $200 a month |
| Browser-use agents 50 at once · 2 vCPU / 4 GB · 30,000 sessions of 10 min a month | 306th of 356, with limits $678 a month | 129th of 356, with limits $795 a month | 7th cheapest of 356 $200 a month |
| Scraping & bots (startup scale) 50 at once · 1 vCPU / 2 GB · 100,000 sessions of 3 min a month | 324th of 343, with limits $922 a month | 112th cheapest of 343 $561 a month | 6th cheapest of 343 $90 a month |
| Mass scraping & bots (undetectable) 1,000 at once · 1 vCPU / 2 GB · 3,000,000 sessions of 2 min a month | 279th of 327, with limits $18,637 a month | 240th of 327, with limits $10,956 a month | 73rd of 327, with limits $1,800 a month |
| Parallel red teaming 200 at once · 2 vCPU / 4 GB · 5,000 sessions of 30 min a month Azure can seed many sandboxes from a memory snapshot, and boat forks one prepared sandbox into many from its disk. Codespaces creates every copy again from the repository or a prebuild. | 284th of 351, with limits $445 a month | 30th cheapest of 351 $517 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 requirement | 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 | Not ranked: misses a requirement |
Key features
| Feature | GitHub Codespaces | Azure Container Apps Sandboxes | boat |
|---|---|---|---|
| What it is | A cloud dev environment per GitHub repository, opened in VS Code, the browser or the GitHub CLI | A compute type inside Azure Container Apps: microVMs you create, suspend and resume through an SDK | A sandbox API for agents: full VMs you create, fork and drive from code |
| Isolation | A Docker container on its own newly built VM, with its own virtual network | A microVM per sandbox with its own kernel | A full VM with its own kernel on hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared |
| How long it runs | Stops after 30 idle minutes by default and after 12 hours at most, even while in use | No session cap; auto-suspends after an idle timeout (5 minutes by default) | Auto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan for no session cap |
| Docker and nested virtualization | Docker inside the dev container through a dev container feature; /dev/kvm not documented | Docker in images that ship it, like azure-dev; the default ubuntu image has only Buildah; /dev/kvm not documented | Docker, root, systemd and /dev/kvm on every sandbox |
| Getting a shell | SSH through the GitHub CLI, plus VS Code and the browser terminal | Interactive shell through the aca CLI, SDK or portal; SSH not documented | SSH, plus CLI and API exec |
| Desktop and computer use | VS Code, JupyterLab and a terminal; a noVNC desktop through the desktop-lite dev container feature, which you configure | No desktop or browser in the public images; you can build one into your own OCI image | Linux desktop and Chrome streamed at 1920x1080, 60 fps, with computer tools preinstalled |
| Suspend and resume | Files are kept on stop; running processes end and a restart boots again | Suspend with disk only, or disk and memory; a memory-mode resume takes under a second with processes running | Disk saved every minute and at each stop, kept at least 14 days; memory is not saved, so a resume is like a reboot |
| Fork and snapshots | No copy or snapshot endpoint; new codespaces start from a repo, branch, pull request or prebuild | Snapshot a running sandbox with its memory and create new sandboxes from it | Fork a running sandbox from its last 1-minute disk snapshot; saved snapshots as templates |
| Coding agents | GitHub Copilot as a VS Code extension; other agents you install yourself | Copilot CLI and Claude Code images, run through the exec API | Seven harnesses installed, including Claude Code, Codex and OpenCode, with a prompt, steer and events API |
| Keeping keys out of the sandbox | Secrets are copied into the codespace as environment variables | You set it up: an egress Transform rule adds a group secret or managed-identity token as a header, outside the sandbox; the built-in Copilot and Claude connections put tokens inside | Optional AI credentials proxy ($1 per day on, plus $1 per 1,000 requests): with it on, real keys of supported providers stay out; other secrets still enter |
| Inbound access | A URL per forwarded port, private, organization or public; no public IP | Public HTTPS routes per published port; private endpoint from your VNet; no public IP | Up to 50 HTTPS URLs, token-gated by default; SSH; public IPv6; raw ports on sandboxes without their own IPv4 work over IPv6 only |
| Outbound rules | Open internet; GitHub says there is no way to restrict it | Egress policy with allow, deny, rewrite and header rules by host, path and method; VNet integration | Open internet, no provider-side allowlist |
| Starting point | Dev container config in the repository, with prebuilds built by GitHub Actions | Any OCI image you import, or a snapshot | boat's image or a saved snapshot; you cannot boot your own Docker or OCI image |
| Regions | US East, US West, Europe West and Southeast Asia | 40 Azure regions, 9 of them in the EU | Germany, Finland and France; no US or Asia region, no region choice |
Every feature Battleships tracks (43)
| Feature | GitHub Codespaces | Azure Container Apps Sandboxes | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | Yes | Yes |
| Docker inside | Yes | Yes | Yes |
| Nested virtualization | Not published | Not published | Yes |
| Root | Yes | Yes | Yes |
| Systemd | Not published | Yes | Yes |
| Desktop GUI | With your own setup | With your own setup | Yes |
| Browser | No documented way | With your own setup | Yes |
| Computer-use API | No documented way | No documented way | Yes |
| SSH | Yes | No documented way | Yes |
| Persistent disk | Yes | Yes | Yes |
| Pause/resume | Yes | Yes | Yes |
| Automatic snapshots | No documented way | Yes | Yes |
| Fork/clone | No documented way | Yes | Yes |
| Live fork (no pause) | No documented way | Yes | Yes |
| Memory fork | No documented way | Yes | No documented way |
| Custom image (Docker or snapshot) | Yes | Yes | Yes |
| ≥24 h sessions | No documented way | Yes | Yes |
| Idle auto-stop | Yes | Yes | No documented way |
| Wake on request | No documented way | Yes | No documented way |
| HTTPS preview URLs | Yes | Yes | Yes |
| Raw TCP inbound | No documented way | No documented way | Yes |
| Public IPv4 | No documented way | No documented way | No documented way |
| Egress allowlist | No documented way | Yes | No documented way |
| Secret proxy | No documented way | Yes | Yes |
| Secret proxy for any API | No documented way | Yes | Yes |
| Preinstalled agents | No documented way | Yes | Yes |
| Agent harness API | No documented way | No documented way | Yes |
| MCP server | No documented way | No documented way | No documented way |
| GPU | No documented way | No documented way | No documented way |
| Windows | No documented way | No documented way | No documented way |
| Arm64 | No documented way | No documented way | No documented way |
| Self-hosting | No documented way | No documented way | No documented way |
| BYOC | No documented way | No documented way | No documented way |
| Open source | No documented way | No documented way | No documented way |
| Scoped API keys | Not published | Not published | Yes |
| Spend limits | Yes | Yes | Yes |
| Usage per sandbox (API) | No documented way | Yes | Yes |
| Audit logs | Yes | Yes | No documented way |
| SSO | Yes | Yes | No documented way |
| SOC 2 | Yes | Yes | No documented way |
| HIPAA | No documented way | Yes | No documented way |
| EU data residency | Yes | Yes | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
Neither GitHub Codespaces nor Azure Container Apps Sandboxes is in the public benchmarks we use, so we cannot say which is faster. Azure resumes a suspended sandbox in under a second with its processes running, while a stopped codespace boots again on restart. 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 and Azure Container Apps Sandboxes are not in the public benchmarks we use, so we cannot say which is faster.
Pricing in five scenarios
Each bill is priced from the providers' public price lists by the open Battleships engine, with the cheapest plan that runs the scenario. Start limits, per-start fees and plan minimums are in the price, boat's included.
| Scenario | GitHub Codespaces, a month | Azure Container Apps Sandboxes, a month | boat, 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 | $51 · Personal account: GitHub Free | $68 · Pay-as-you-go | $20 · $20/mo |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $270 · Personal account: GitHub Free · with limits | $262 · Pay-as-you-go · 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,019 · Personal account: GitHub Free | $3,421 · Pay-as-you-go | $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 | $850 · Personal account: GitHub Free · with limits | $989 · Pay-as-you-go | $200 · $100/mo × 2 seats |
| 1,000 short jobs at once 2 vCPU / 4 GB, 1,000 at once, 3 minutes each, 200,000 jobs a month | $1,889 · Personal account: GitHub Free · with limits | $2,148 · Pay-as-you-go | $8,800 · $2000/mo · with limits |
GitHub Codespaces: Codespaces bills $0.09 per core-hour while a codespace is active, used or not, plus $0.07 per GB-month of storage while it exists, stopped too. There is no 4-core machine with 8 GB, so 4 vCPU / 8 GB jobs are priced on the 4-core 16 GB machine. Personal accounts get a free monthly quota and organizations do not.
Azure Container Apps Sandboxes: Azure bills per second on the Container Apps Consumption meters for the vCPU and memory of the sandbox's tier while it runs, idle time before auto-suspend included. The XL tier (4 cores / 8 GiB) is $0.432 an hour at East US rates. Stopped sandboxes pay no CPU or memory, and there is no plan fee. Storage for images, snapshots and volumes is announced as billed per GiB.
Azure Container Apps 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 default sandbox (4 vCPU / 8 GB) costs $0.036 an hour, billed per second while it runs, busy or idle. A stopped sandbox has no compute charge; saved snapshots above the included count and the AI credentials proxy still charge. The $20 plan includes 200 starts a day; each extra start costs $0.03 to $0.07.
Limits in those scenarios
Codespaces does not fit the always-on scenario because every codespace stops after 12 hours, and GitHub does not publish how many can run at once, so 300 user sandboxes and 1,000 short jobs show as not confirmed. Azure has no session cap, but it bills every running second, so its always-on price ($262 a month) needs a 3-year commitment, and Azure does not state that the plan covers Sandboxes. Azure's default quota is 300 active cores per region and subscription, so 300 user sandboxes (600 cores) and 1,000 short jobs (2,000 cores) need a support request first. boat fits every scenario but the 1,000-job burst: the $2,000 plan includes 90 starts a minute, extra starts cost $0.03 to $0.07, and starts above 270 a minute fail with 429. boat never queues a start.
| Scenario | GitHub Codespaces | Azure Container Apps Sandboxes | boat |
|---|---|---|---|
| One coding agent, workdays | None for this scenario | None for this scenario | None for this scenario |
| One agent that never stops |
|
| None for this scenario |
| 50 agents in parallel |
| None for this scenario | None for this scenario |
| Sandboxes for your users |
| None for this scenario | None for this scenario |
| 1,000 short jobs at once |
| None for this scenario |
|
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, for work sessions under 12 hours.
- Built into GitHub. For teams on GitHub: open a ready VS Code environment from any repo, branch or pull request, set up by the dev container config.
- Made for people at an editor. For developers who want VS Code, JupyterLab or SSH from their own editor, with prebuilds so every contributor starts from the same setup.
- Free hours for personal accounts. For occasional personal work: a GitHub Free account includes 120 core-hours and 15 GB-month of storage each month.
Use Azure Container Apps Sandboxes when
your team runs on Azure and your code needs stateful sandboxes from your own image that suspend with their memory, wake on traffic or sit behind strict egress rules.
- Memory suspend and wake on traffic. For stateful jobs that sleep between requests: a sandbox suspends with its memory and resumes in under a second.
- Fine-grained outbound rules. For agents you want to fence in: allow, deny or rewrite each outbound request by host, path and method, with VNet integration.
- Your own image, inside Azure, in 40 regions. For teams already on Azure: Entra ID, Azure billing, your VNets and your own OCI images, with sandboxes in 40 regions.
Where boat fits
Codespaces is a dev environment for people, and Azure is a code sandbox inside your Azure account. If what you run is agents that work for hours on real software, with Docker, emulators, a browser and HTTPS URLs, boat gives each one a full VM built for that. It is a sandbox you drive from code, not a team IDE, and it does not suspend memory like Azure.
A whole computer with /dev/kvm and a desktop
Neither Codespaces nor Azure documents /dev/kvm, so Android emulators and nested VMs are not a documented path. On Codespaces you configure a noVNC desktop add-on, and on Azure you build a desktop into your own image. boat has /dev/kvm and a 60 fps desktop with computer tools on every sandbox.
Machines that keep running and keep their work
A codespace stops after 12 hours even while in use, so a long agent task needs a restart script and loses its processes. boat runs with no session cap once auto-stop is off (default 1 hour), and saves its disk every minute. A stopped boat sandbox has no compute charge; extra saved snapshots and the credentials proxy still charge.
Agents driven from outside
Codespaces copies secrets in as environment variables. On Azure you write an egress rule per API host to keep a key outside, and its built-in Copilot and Claude connections put tokens inside. boat drives seven agent harnesses through a prompt, steer and events API, and its optional paid proxy keeps supported providers' keys outside.
Use boat when your agents need a whole Linux computer for hours or days: SSH, Docker, /dev/kvm, a desktop and HTTPS URLs, with coding agents installed and an optional credentials proxy. Compare it one to one: boat vs GitHub Codespaces and boat vs Azure Container Apps 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 GitHub Codespaces cheaper than Azure Container Apps Sandboxes?
In four of the five scenarios we priced, a little: one coding agent on workdays is $51 a month on Codespaces against $68 on Azure, and 50 agents in parallel come to $3,019 against $3,421. Running all month, Azure is $262 against $270, and neither fits as priced. boat comes to $20, $317 and $26 for the same three.
Which is faster, Codespaces or Azure Container Apps Sandboxes?
Neither is in the public benchmarks we use, so we cannot say which is faster. Azure resumes a suspended sandbox in under a second with its processes running, while a stopped codespace boots again on restart.
Can I run an AI agent 24/7 on either?
Not on Codespaces without restarts: a codespace stops after 12 hours at most, even while in use. Azure has no session cap, but it bills every second a sandbox runs. A boat sandbox auto-stops after 1 hour by default; on a paid plan you can turn auto-stop off for no session cap.
Can they run Docker?
Codespaces runs Docker inside the dev container through a dev container feature, and you have sudo. On Azure, Docker comes with images that ship it, like azure-dev, while the default ubuntu image has only Buildah, and you can import your own image. Neither documents /dev/kvm. Every boat sandbox has Docker, systemd and /dev/kvm.
Can I SSH into them?
Codespaces supports SSH through the GitHub CLI. Azure gives an interactive shell through the aca CLI, the SDK or the portal, and does not document SSH. Every boat sandbox has an SSH endpoint.
Is boat SOC 2 compliant?
No SOC 2 report today; SOC 2 is in progress. GitHub Enterprise Cloud lists SOC 1, SOC 2 and SOC 3 reports, and Azure holds a SOC 2 Type 2 report whose scope list names the services it covers. Live status is at status.ascii.dev and our data retention policy is at docs.boat.dev/data-retention.
Try boat
Install the CLI, then run boat new.
7-day free trial
More comparisons
- boat vs GitHub Codespaces
- boat vs Azure Container Apps Sandboxes
- E2B vs GitHub Codespaces
- Daytona vs GitHub Codespaces
- Modal vs GitHub Codespaces
- Vercel Sandbox vs GitHub Codespaces
- Cloudflare Sandbox vs GitHub Codespaces
- Blaxel vs GitHub Codespaces
- Runloop vs GitHub Codespaces
- Tensorlake vs GitHub Codespaces
- Morph Cloud vs GitHub Codespaces
- CodeSandbox SDK vs GitHub Codespaces