GitHub Codespaces vs Deno Sandbox
GitHub Codespaces is a cloud dev environment: a dev container for a GitHub repository that a person opens in VS Code and that stops after 12 hours at most. Deno Sandbox is a sandbox API: a small Firecracker microVM that Deno says starts in under 200 ms and runs locked-down code for up to 30 minutes. Deno Sandbox is closed to new customers since November 2026.
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.
Deno Sandbox
Deno Sandbox comes from the company behind the Deno runtime and runs untrusted or AI-generated code in Linux microVMs. Since November 2026 it is not part of Deno Deploy plans and is not available to new customers.
Each sandbox is a Firecracker microVM with 2 vCPU, 768 MB to 4 GB of memory and a 10 GB disk that is wiped when it ends, created from a TypeScript or Python SDK. A bootable volume (Chicago only) can be the root disk and keep its files. Deno Deploy can limit outbound traffic to a host allowlist and swap placeholder secrets for real ones. A sandbox can be promoted to a Deno Deploy app.
- Isolation
- Firecracker microVM per sandbox
- Lifetime
- Up to 30 minutes
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 | Deno Sandbox: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month Codespaces runs Docker in a dev container but stops at 12 hours. A Deno sandbox lives up to 30 minutes on 2 vCPU, and Deno does not document Docker inside it. boat is a full VM with Docker; turn auto-stop off (default 1 hour) on a paid plan for long work. | 290th of 365, with limits $4,618 a month | No published price | 5th cheapest of 365 $634 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB An assistant that lives on its machine all month needs restarts on both: a codespace stops after 12 hours, and a Deno sandbox after 30 minutes. A Deno bootable volume in Chicago can keep files for the next sandbox. On boat you turn auto-stop off on a paid plan. | 320th of 361, with limits $6,970 a month | No published price | 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 Deno Sandbox suits short code runs: Deno says a sandbox starts in under 200 ms, and CPU bills only while code runs. Each codespace builds a dev container on a new VM. Deno Sandbox is closed to new customers since November 2026. | 283rd of 336, with limits $619 a month | No published price | 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 Deno Sandbox is closed to new customers; existing organizations get 5 sandboxes at once by default. GitHub does not publish how many codespaces can run at once. boat plans allow 100 to 2,000 sandboxes at once. | 276th of 349, with limits $1,964 a month | No published price | 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 | No published price | 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 | No published price | 10th cheapest of 359 $200 a month |
| CI runners 40 at once · 8 vCPU / 16 GB · 6,000 sessions of 12 min a month Codespaces runs Docker but documents no /dev/kvm, Deno documents neither, and neither can fork a running machine. boat has Docker, /dev/kvm and fork of a running sandbox. | 317th of 374, with limits $909 a month | No published price | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB Codespaces is the stronger dev box of the two, a polished VS Code setup per repo, but it still stops after 12 hours. A stopped boat sandbox keeps its disk at least 14 days. | 144th of 371, with limits $270 a month | No published price | 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, which you set up yourself. On Deno you install a desktop with apt-get in a bootable volume, within 2 vCPU and 4 GB. boat streams a 1920x1080, 60 fps desktop with computer tools. | 297th of 367, with limits $1,367 a month | No published price | 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 | No published price | 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 | No published price | 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 | No published price | 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 Codespaces creates every copy again from the repository, and Deno boots copies from a read-only volume snapshot (Chicago only). boat forks one prepared sandbox while it runs. | 284th of 351, with limits $445 a month | No published price | 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 | No published price | 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 | No published price | Not ranked: misses a requirement |
Key features
| Feature | GitHub Codespaces | Deno Sandbox | boat |
|---|---|---|---|
| What it is | A cloud dev environment for a GitHub repository, opened in VS Code, the browser or the GitHub CLI | A sandbox API for untrusted or AI-generated code; closed to new customers since November 2026 | A sandbox you drive from code: full VMs with a desktop and coding agents installed |
| Isolation | A Docker container on its own newly built VM, with its own virtual network | Firecracker microVM with its own kernel | Full VM with its own kernel on hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared |
| Machine size | 2, 4, 8, 16 or 32 cores, with 4 GB of memory per core | 2 vCPU (no CPU option documented), 768 MB to 4 GB memory, 10 GB disk | 2 to 16 vCPU and 4 to 32 GB; 16 vCPU needs the $100 plan or higher |
| How long it runs | Stops after 30 idle minutes by default (up to 240) and after 12 hours at most, even while in use | Up to 30 minutes; for longer work, start a new sandbox or promote it to a Deno Deploy app | Auto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan for no session cap |
| Files after a stop | Files are kept and storage is billed; a stopped codespace is deleted after 30 days by default | Default root disk wiped at the end; a bootable volume (300 MB to 20 GB, Chicago only) can be the root disk and keeps its files | Disk saved every minute and at each stop, kept at least 14 days; memory and running programs are not saved |
| Fork and snapshots | No copy or snapshot endpoint; new codespaces start from a repo, branch, pull request or prebuild | Read-only snapshots of a volume that many new sandboxes can boot from (Chicago only); no fork of a running sandbox | Fork a running sandbox from its last 1-minute snapshot; saved snapshots as templates |
| Docker and nested virtualization | Docker inside the dev container through a dev container feature; /dev/kvm not documented | Root access; Docker and nested virtualization not documented | Docker, root, systemd and /dev/kvm on every sandbox |
| Desktop and editor | VS Code, JupyterLab and a terminal; a noVNC desktop through the desktop-lite dev container feature, which you configure | A VS Code editor in the browser and SSH; no desktop documented, you install one yourself | Linux desktop and Chrome streamed at 1920x1080, 60 fps, with computer tools |
| Coding agents | GitHub Copilot as a VS Code extension; other agents you install yourself | A root image with Claude Code, run through the shell command 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 | Any secret swapped in on outbound requests to approved hosts; the sandbox only sees a placeholder | Optional AI credentials proxy ($1 per day on, plus $1 per 1,000 requests) for supported model providers; other secrets still enter |
| Outbound rules | Open internet; GitHub says there is no way to restrict it | Host allowlist per sandbox (allowNet), enforced outside your code | Open internet, no provider-side allowlist |
| Reaching the sandbox | A URL per forwarded port, private, organization or public; SSH; no public IP | HTTPS URL per exposed port, public without authentication; SSH | Up to 50 HTTPS URLs, token-gated by default; SSH; public IPv6; raw ports on sandboxes without their own IPv4 work over IPv6 only |
| Start time | Builds a dev container on a new VM; prebuilds speed it up | Under 200 ms, as stated by Deno | Boots a full VM; not in the public start-time benchmarks we use |
| Regions | US East, US West, Europe West and Southeast Asia | Amsterdam and Chicago; volumes and snapshots only in Chicago | Germany, Finland and France; no US or Asia region, no region choice |
Every feature Battleships tracks (43)
| Feature | GitHub Codespaces | Deno Sandbox | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | Yes | Yes |
| Docker inside | Yes | Not published | Yes |
| Nested virtualization | Not published | No documented way | Yes |
| Root | Yes | Yes | Yes |
| Systemd | Not published | Not published | Yes |
| Desktop GUI | With your own setup | No documented way | Yes |
| Browser | No documented way | No documented way | Yes |
| Computer-use API | No documented way | No documented way | Yes |
| SSH | Yes | Yes | Yes |
| Persistent disk | Yes | Yes | Yes |
| Pause/resume | Yes | No documented way | Yes |
| Automatic snapshots | No documented way | No documented way | Yes |
| Fork/clone | No documented way | No documented way | Yes |
| Live fork (no pause) | No documented way | No documented way | Yes |
| Memory fork | No documented way | No documented way | No documented way |
| Custom image (Docker or snapshot) | Yes | Yes | Yes |
| ≥24 h sessions | No documented way | No documented way | Yes |
| Idle auto-stop | Yes | No documented way | No documented way |
| Wake on request | No documented way | No documented way | 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 | No documented way | Yes |
| Audit logs | Yes | Not published | No documented way |
| SSO | Yes | No documented way | No documented way |
| SOC 2 | Yes | Not published | No documented way |
| HIPAA | No documented way | Not published | No documented way |
| EU data residency | Yes | Yes | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
Neither GitHub Codespaces nor Deno Sandbox is in the public benchmarks we use, so we cannot say which is faster. Deno says a sandbox starts in under 200 ms; a codespace builds a dev container on a new VM. 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 Deno Sandbox 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 | Deno Sandbox, 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 | No published price | $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 | No published price | $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 | No published price | $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 | No published price | $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 | No published price | $8,800 · $2000/mo · with limits |
GitHub Codespaces: Codespaces bills $0.09 per core-hour for the whole time a codespace is active, used or not, plus $0.07 per GB-month of storage while it exists, stopped too. Personal accounts get a free monthly quota and organizations do not.
Deno Sandbox: Deno Sandbox is no longer included in Deno Deploy plans and is not available to new customers (November 2026). Deno publishes no current sandbox rates. The launch post listed $0.05 per hour of CPU time, $0.016 per GB-hour of memory and $0.20 per GiB-month of volume storage.
Deno Sandbox: 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
Deno Sandbox is closed to new customers, so it has no price in our scenarios. For existing organizations, a sandbox lives up to 30 minutes on 2 vCPU with up to 4 GB of memory, and 5 sandboxes run at once by default. Codespaces fits the workday agent at $51 a month and likely 50 agents at $3,019, but stops every 12 hours, so the always-on agent needs a restart script, and GitHub does not publish how many can run at once for 300 user sandboxes or 1,000 short jobs. boat fits four of the five scenarios. For 1,000 short jobs at once, 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 | Deno Sandbox | boat |
|---|---|---|---|
| One coding agent, workdays | 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 |
| Sandboxes for your users |
|
| None for this scenario |
| 1,000 short jobs at once |
|
|
|
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, on a machine of up to 32 cores, in the US, EU or Asia.
- 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.
- Bigger machines and longer sessions. Useful for heavy builds: machines go up to 32 cores and run up to 12 hours, against 2 vCPU and 30 minutes on Deno.
- Open to new customers, with free hours. Anyone can sign up, and a GitHub Free account includes 120 core-hours and 15 GB-month of storage each month.
Use Deno Sandbox when
Use Deno Sandbox if your organization already has it and you run short pieces of untrusted code that must start in milliseconds and reach only the hosts you allow. New customers cannot sign up since November 2026.
- Locked-down outbound traffic. Useful for running untrusted code: each sandbox can be limited to a list of hosts, enforced outside your code.
- Fast starts and active-CPU billing. Good for short bursts of code: Deno says a sandbox starts in under 200 ms, and CPU bills only while code runs.
- Keys kept outside the sandbox. Useful when agent code calls paid APIs: the sandbox sees only a placeholder, swapped for the real secret on approved hosts.
Where boat fits
If what you run is coding agents, both products set a clock: Codespaces stops at 12 hours and Deno at 30 minutes, and Deno Sandbox no longer takes new customers. boat gives each agent a full VM that keeps its disk between runs and forks while it runs, with agents, a desktop and HTTPS URLs ready.
Long sessions
A long agent task is stopped at 12 hours on Codespaces and at 30 minutes on Deno, so you write code to restart it and resume. A boat sandbox runs with no session cap once you turn auto-stop off on a paid plan (default 1 hour).
A full machine that keeps its work
Deno clears the default root disk at the end and has 2 vCPU and up to 4 GB; a Chicago bootable volume keeps files. Codespaces keeps files but documents no /dev/kvm and has no fork. boat has Docker, systemd and /dev/kvm, saves the disk every minute, and forks a running sandbox. Memory is not saved.
Agents and a desktop you drive from outside
On both you start and watch each agent through shell commands, and on both you add a desktop yourself. boat installs Claude Code, Codex and more with a prompt, steer and events API, plus a 60 fps desktop with Chrome.
Use boat when your code starts and drives agents that work for hours or days: full VMs with Docker, /dev/kvm and a desktop, coding agents installed, and machines that keep their disk and fork while running. Compare it one to one: boat vs GitHub Codespaces and boat vs Deno Sandbox.
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 Deno Sandbox?
We cannot compare today. Deno Sandbox is closed to new customers since November 2026, and Deno publishes no current sandbox rates. Codespaces comes to $51 a month for one coding agent on workdays, and boat to $20.
Which is faster, GitHub Codespaces or Deno Sandbox?
Neither is in the public benchmarks we use, so we cannot say which is faster. Deno says a sandbox starts in under 200 ms, while a codespace builds a dev container on a new VM, which prebuilds speed up.
Can GitHub Codespaces or Deno Sandbox run Docker?
Docker works inside a codespace through dev container features, with sudo, but GitHub does not document /dev/kvm. Deno's docs give root access but do not say Docker or nested virtualization works. Every boat sandbox has Docker, systemd and /dev/kvm.
How long can a codespace or a Deno sandbox run?
A codespace stops after 30 idle minutes by default and after 12 hours at most, even while in use. A Deno sandbox lives up to 30 minutes; its default root disk is wiped at the end, and a bootable volume in Chicago keeps files. 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 I run Claude Code in either?
Yes. In Codespaces you install it yourself, with your API key as a secret that arrives as an environment variable. Deno has a root image with Claude Code that you run through shell commands, and swaps in real keys only on approved hosts. boat has it installed, with an API to prompt, steer and watch it.
Where do they run?
Codespaces runs in US East, US West, Europe West and Southeast Asia. Deno Sandbox runs in Amsterdam and Chicago, with volumes only in Chicago. boat runs on machines in Germany, Finland and France, and you cannot pick a region.
Try boat
Install the CLI, then run boat new.
7-day free trial
More comparisons
- boat vs GitHub Codespaces
- boat vs Deno Sandbox
- 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