Namespace vs GitHub Codespaces
Namespace is a build platform: fast GitHub Actions runners with caches, plus Devboxes on Linux, macOS and Windows that stop after 3 to 24 hours by plan. GitHub Codespaces is a Linux dev container you open from a repository in VS Code or the browser, and it stops after 12 hours at most.
The companies and products
Namespace
Namespace is a dev platform for fast builds, tests and coding environments: CI runners, build caches and Devboxes, on its own hardware.
Most of Namespace is CI: a faster drop-in for GitHub Actions runners, with Docker, Bazel, Turborepo and Nix caching. Its Devboxes are remote Linux and macOS machines with persistent storage, made for people and AI coding agents. You run Claude Code, Codex, OpenCode, Amp, Copilot or Cursor in persistent Devbox sessions, and Namespace also hosts sessions for Claude Managed Agents, Cursor Cloud Agents, Devin and Amp. It is a different kind of product from boat, so this page compares the part where they overlap: a machine an agent works on.
- Products
- GitHub Actions runners, Docker, Bazel, Turborepo and Nix caching, Devboxes, and a compute API
- Hardware
- Its own hardware in its own racks: AMD EPYC for Linux and Windows, Apple M4 Pro or M5 Max for macOS
- Linux Devboxes
- Run a container image you choose and include Docker; the docs do not say if each one has its own kernel
- Devbox time limit
- 3 hours on Developer and Devbox Plus, 5 on Team, 24 on Business, even while you work; support can raise it to 24 hours at most
- Devbox count limit
- Per user / per workspace: 1/3 on Developer, 3/30 on Team, 5/50 on Business and Devbox Plus; stopped Devboxes count
- Free trial
- 30-day Developer trial with no card
- Compliance
- Trust center lists SOC 2 Type II
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. “87th cheapest of 374” means 86 of the other 373 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 | Namespace: price rank | GitHub Codespaces: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month Both give an agent Docker. Codespaces documents no /dev/kvm, and Namespace offers it on Linux compute instances. boat has Docker, systemd and /dev/kvm on every sandbox and is a full match here. | 74th of 365, with limits $3,745 a month | 290th of 365, with limits $4,618 a month | 5th cheapest of 365 $634 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB An assistant that never stops is cut off on both, at the Devbox plan limit on Namespace and at 12 hours on Codespaces. On a boat paid plan you turn auto-stop off (default 1 hour). | 316th of 361, with limits $6,645 a month | 320th of 361, with limits $6,970 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 | 244th of 336, with limits $250 a month | 283rd of 336, with limits $619 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 Both are a compromise for 300 machines for your own users: Namespace caps Devboxes at 50 per workspace, and GitHub does not publish how many codespaces can run at once. boat runs 300 at once on the $100 plan. | 279th of 349, with limits $2,068 a month | 276th of 349, with limits $1,964 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 | 345th of 349, with limits $9,012 a month | 276th of 349, with limits $9,489 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 | 282nd of 359, with limits $1,093 a month | 295th of 359, with limits $1,519 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 CI is Namespace's main product, with drop-in GitHub Actions runners and build caches, so it fits. Codespaces has no fork or snapshot API, and every run starts from a repo or a prebuild. boat also fits, with Docker and /dev/kvm on every sandbox, but it sells no managed runner or build cache. | 87th cheapest of 374 $765 a month | 317th of 374, with limits $909 a month | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB Both are a compromise for a box that stays up: a Namespace Devbox stops at 3, 5 or 24 hours by plan and a codespace at 12 hours. Both stop when idle and keep their files. A boat sandbox stays up once auto-stop is off, and bills at full rate while it runs. | 201st of 371, with limits $250 a month | 144th of 371, with limits $270 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 For a Linux computer-use agent both are a compromise. Namespace's click API and VNC desktop work on macOS Devboxes; on a Linux Devbox you install a desktop in your image. A codespace can add a noVNC desktop through the desktop-lite dev container feature. boat streams a built-in 60 fps Linux desktop with Chrome. | 108th of 367, with limits $1,032 a month | 297th of 367, with limits $1,367 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 | 191st of 356, with limits $789 a month | 306th of 356, with limits $678 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 | 191st of 343, with limits $332 a month | 324th of 343, with limits $922 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 | 225th of 327, with limits $9,012 a month | 279th of 327, with limits $18,637 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 Neither documents a way to copy a prepared running machine, so each parallel attempt starts again from an image or a repo. boat forks one running sandbox into many, and each fork counts as a start. | 112th of 351, with limits $339 a month | 284th of 351, with limits $445 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 Only Namespace fits: it runs macOS Devboxes on Apple Silicon. Codespaces and boat have no macOS. | 6th cheapest of 35 $1,255 a month | Not ranked: misses a requirement | Not ranked: misses a requirement |
Key features
| Feature | Namespace | GitHub Codespaces | boat |
|---|---|---|---|
| What it is | CI runners, build caches and Devboxes for people and coding agents | A cloud dev environment opened from a GitHub repository | A sandbox API for agents: full VMs you drive from code |
| Isolation | Linux Devboxes run a container image; the docs do not say if each has its own kernel (a third-party benchmark reports Firecracker) | A Docker container on its own newly built VM, with its own virtual network | Full VM with its own kernel on a host dedicated to boat; vCPUs are shared |
| CPU benchmark (Node.js V8 Web Tooling, 4 vCPU / 8 GB, StarSling run of 3 October 2026) | 24.90 runs/s, rank 2 of 15 (shared) | Not in the public benchmarks we use | 28.06 runs/s, rank 2 of 15 (shared), on a Ryzen 9 9950X host |
| How long a session can run | Devboxes stop at 3 hours on Developer and Devbox Plus, 5 on Team, 24 on Business, even while in use; support can raise it to 24 at most | Stops after 12 hours at most on every plan, even while in use | No cap once auto-stop is off on a paid plan; auto-stop defaults to 1 hour |
| Idle stop | Stops after an idle timeout (15 minutes to 8 hours) and starts again when you connect | Stops after 30 idle minutes by default (5 to 240); you restart it | Auto-stop is a timer from start or resume, not an idle check; a running sandbox bills busy or idle |
| Docker and nested virtualization | Docker in Linux Devboxes; /dev/kvm on Linux compute instances | Docker inside through a dev container feature, with sudo; /dev/kvm not documented | Docker, root, systemd and /dev/kvm on every sandbox |
| Operating systems | Linux, macOS on Apple Silicon, and Windows on Team plans and up | Linux only | Linux only; Windows programs run through Wine |
| Desktop and computer use | macOS Devboxes: screenshot and click API and a VNC desktop. Linux Devboxes: install a desktop and VNC in your image. Compute instances: VNC and RDP | VS Code, JupyterLab and a terminal; a noVNC desktop through the desktop-lite dev container feature, which you configure; no computer-use API | Built-in Linux desktop and Chrome at 1920x1080, 60 fps, with computer tools for agents |
| Files after a stop | A stopped Devbox keeps its storage until you delete it, billed at $0.20 per GB-month used | Files kept, billed at $0.07 per GB-month; a stopped codespace is deleted after 30 days by default (0 to 30) | Disk saved every minute and on stop; no machine or disk charge while stopped; disk kept at least 14 days (save a snapshot to keep it longer) |
| Fork and suspend | No fork documented; compute instances suspend and resume with RAM and disks kept | No copy or snapshot endpoint; new codespaces start from a repo or prebuild | Fork a running sandbox from its last 1-minute snapshot; saved snapshots as templates; resume is a reboot |
| Starting point | Any container image you choose, plus Devbox blueprints | Dev container config in the repo, with prebuilds built by GitHub Actions | boat's image or a saved snapshot, shareable by code; you cannot boot your own Docker or OCI image |
| Reaching the machine | HTTPS URLs that need a Namespace login; TCP through a running CLI port-forward; no public IP | A URL per forwarded port, private, organization or public; SSH and CLI tunnels; no public IP | Up to 50 HTTPS URLs, token-gated by default; SSH over IPv4 through a shared host and port; raw ports over IPv6 on some sandboxes; no dedicated IPv4 |
| Outbound internet and keys | Egress allowlists by domain; rules can inject a header from Namespace Vault outside the workload | Open internet; GitHub says there is no way to restrict it; secrets copied in as environment variables | Open internet, no provider-side allowlist; optional AI credentials proxy ($1 a day it is on, plus $1 per 1,000 requests) |
| Coding agents | You run Claude Code, Codex, OpenCode, Amp, Copilot or Cursor in persistent Devbox sessions; hosts Claude Managed Agents, Cursor, Devin and Amp sessions; no API to prompt or steer an agent from outside | GitHub Copilot as a VS Code extension; other agents you install yourself | Seven harnesses installed, including Claude Code, Codex and OpenCode, with an API to prompt, steer and stream events |
| Regions | Several regions; keeping a workload inside one region needs Enterprise | US East, US West, Europe West and Southeast Asia | Germany, Finland and France; you cannot pick a region; no US or Asia region |
Every feature Battleships tracks (43)
| Feature | Namespace | GitHub Codespaces | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | Yes | Yes |
| Docker inside | Yes | Yes | Yes |
| Nested virtualization | Yes | Not published | Yes |
| Root | Yes | Yes | Yes |
| Systemd | Not published | Not published | Yes |
| Desktop GUI | Yes | With your own setup | Yes |
| Browser | With your own setup | No documented way | Yes |
| Computer-use API | Yes | No documented way | Yes |
| SSH | Yes | Yes | Yes |
| Persistent disk | Yes | Yes | Yes |
| Pause/resume | Yes | Yes | Yes |
| Automatic snapshots | Yes | 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 | Yes | No documented way | Yes |
| Idle auto-stop | Yes | Yes | No documented way |
| Wake on request | Yes | No documented way | No documented way |
| HTTPS preview URLs | Yes | Yes | Yes |
| Raw TCP inbound | Yes | No documented way | Yes |
| Public IPv4 | No documented way | No documented way | No documented way |
| Egress allowlist | Yes | No documented way | No documented way |
| Secret proxy | Yes | No documented way | Yes |
| Secret proxy for any API | Yes | No documented way | Yes |
| Preinstalled agents | Yes | No documented way | Yes |
| Agent harness API | No documented way | No documented way | Yes |
| MCP server | Yes | No documented way | No documented way |
| GPU | No documented way | No documented way | No documented way |
| Windows | Yes | No documented way | No documented way |
| Arm64 | Yes | 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 | Yes | No documented way |
| SSO | Yes | Yes | No documented way |
| SOC 2 | Yes | Yes | No documented way |
| HIPAA | No documented way | No documented way | No documented way |
| EU data residency | Yes | Yes | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
In StarSling's run of 3 October 2026 (run 37073680030), the Node.js V8 Web Tooling benchmark at 4 vCPU / 8 GB did 28.06 runs/s on boat and 24.90 on Namespace. Both share rank 2 of 15, so the run cannot separate them. GitHub Codespaces is not in the public benchmarks we use, so we cannot say which is faster. StarSling does not name the Namespace product it tested. 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. Providers ran on different hardware in different regions.
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. Namespace measured on: Linux compute instance (unit-minutes, PAYG/overage $0.0015). 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.
| Scenario | Namespace, a month | GitHub Codespaces, 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 | $300 · Devbox on Business | $51 · Personal account: GitHub Free | $20 · $20/mo |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $426 · Devbox on Business · with limits | $270 · Personal account: GitHub Free · 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 | $2,448 · Devbox on Business | $3,019 · Personal account: GitHub Free | $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 | $1,264 · Devbox Plus · with limits | $850 · Personal account: GitHub Free · with limits | $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 | $3,287 · Devbox Plus · with limits | $1,889 · Personal account: GitHub Free · with limits | $8,800 · $2000/mo · with limits |
Namespace: Devboxes are billed in Devbox Minutes at $0.004 each: a 4 vCPU / 8 GB (size S) Devbox uses one a minute. Pay as you go, or Devbox Plus at $250 a month for 50,000 minutes and 400 GB-month of storage. Team ($100) and Business ($250) plan minutes do not cover Devboxes, but you need those plans for longer sessions and more Devboxes. Storage costs $0.20 per GB-month used.
GitHub Codespaces: Codespaces bills $0.09 per core-hour while a codespace is active, plus $0.07 per GB-month of storage while it exists. There is no 4-core 8 GB machine, so 4 vCPU jobs use the 4-core 16 GB one. Personal accounts get a free monthly quota and organizations do not.
GitHub Codespaces: Plans cost $20, $100, $500 or $2,000 a month. The whole plan price comes back as VM time for that month; unused time does not carry over. A 4 vCPU / 8 GB sandbox costs $0.036 an hour, billed per second while it runs. 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. The $20 plan includes 200 starts a day; extra starts cost $0.03 to $0.07 each. A card is required, also for the 7-day free trial.
Limits in those scenarios
Neither fits an agent that never stops: a Namespace Devbox stops at 3, 5 or 24 hours by plan and a codespace every 12 hours, and running processes end at each stop. Namespace caps Devboxes at 50 per workspace, stopped ones included, and GitHub does not publish how many codespaces can run at once, so 300 user sandboxes and 1,000 short jobs at once fit neither. Namespace does not publish an egress price. boat has its own limits: auto-stop is on by default (1 hour), a stopped disk is kept for at least 14 days unless you save a snapshot, resume is a reboot, and the 1,000-job burst needs more starts than the $2,000 plan includes; starts above 270 a minute fail.
| Scenario | Namespace | GitHub Codespaces | 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 Namespace when
you need macOS or Windows machines, faster GitHub Actions runners with build caches, or egress rules that limit agents to chosen domains.
- macOS and Windows machines. Pick Namespace if agents build iOS or Mac apps or test on Windows: it runs macOS on Apple Silicon and Windows machines.
- Faster CI with build caches. Pick Namespace if you want quicker GitHub Actions: it is a drop-in runner with Docker, Bazel, Turborepo and Nix caching.
- Egress rules and wake on connect. Pick Namespace if agents must reach only chosen domains, or boxes should stop when idle and start again when you connect.
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.
- Built into GitHub. Pick Codespaces if your team lives on GitHub: open a ready dev container from any repo, branch or pull request.
- Free hours for personal accounts. Pick Codespaces for occasional personal work: GitHub Free includes 120 core-hours and 15 GB-month of storage each month.
- Longer cap than Namespace's smaller plans. Pick Codespaces over Namespace's Developer, Devbox Plus or Team plans if one session must run past 3 or 5 hours, up to 12.
Where boat fits
Namespace and Codespaces are both machines for developers that agents can borrow, and both end a session at a fixed time. If you run agents that work on Linux for hours or days, boat gives each one a full VM with no session cap once auto-stop is off, a built-in desktop, and coding agents you drive from outside.
No clock on the session
A Namespace Devbox stops at 3, 5 or 24 hours by plan and a codespace at 12, even mid-task. On a boat paid plan you turn auto-stop off (default 1 hour). A boat resume is also a reboot, so this matters only for runs longer than those caps.
A full VM with /dev/kvm and a Linux desktop
Codespaces documents no /dev/kvm, and its desktop is a dev container add-on you configure. Namespace has /dev/kvm on compute instances and its click API on macOS. Every boat sandbox has Docker, systemd, /dev/kvm and a 60 fps desktop.
Fork a running machine
Neither documents a copy of a running machine, so each parallel attempt starts again from an image or a repo. boat forks a running sandbox from its last 1-minute snapshot; writes from the last minute or so can be missing.
Use boat when your agents work on Linux for hours or days: a full VM with no session cap once auto-stop is off, Docker and /dev/kvm, a built-in desktop, forks of running machines, and coding agents you drive from outside, at $0.036 an hour for 4 vCPU / 8 GB. Compare it one to one: boat vs Namespace and boat vs GitHub Codespaces.
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 Namespace cheaper than GitHub Codespaces?
For one coding agent on workdays, Codespaces costs $51 a month and Namespace $300, because an 8-hour Devbox session needs Namespace Business. For 50 agents in parallel, Namespace Business costs $2,448 and Codespaces $3,019. boat costs $20 and $317 for those two. Below about $20 of use a month, the free Codespaces quota on a personal account costs less than boat.
Which is faster, Namespace or GitHub Codespaces?
Codespaces is not in the public benchmarks we use, so we cannot say. In StarSling's run of 3 October 2026, Namespace did 24.90 V8 Web Tooling runs/s at 4 vCPU / 8 GB and boat did 28.06. Both share rank 2 of 15, so the run cannot separate them.
How long can a session run on Namespace and on Codespaces?
A Namespace Devbox stops at 3 hours on Developer and Devbox Plus, 5 on Team and 24 on Business; support can raise it to 24 at most. A codespace stops after 12 hours on every plan. Both limits apply even while you work. On a boat paid plan there is no cap once you turn auto-stop off; it defaults to 1 hour.
Can Namespace and Codespaces run Docker?
Yes, both run Docker inside. Namespace offers /dev/kvm on Linux compute instances, while GitHub does not document /dev/kvm in Codespaces. Every boat sandbox has Docker, systemd and /dev/kvm.
Do Namespace or Codespaces run macOS?
Namespace runs macOS Devboxes on Apple Silicon and Windows machines on Team plans and up. Codespaces is Linux only, and so is boat, which runs Windows programs through Wine.
Can I run Claude Code on Namespace or Codespaces?
Yes on both. On Namespace you run it in a persistent Devbox session, and partners such as Anthropic, Cursor and Devin run hosted sessions on Devboxes. On Codespaces you install it in the terminal, with your key as an environment variable. boat installs Claude Code, Codex and OpenCode with an API to drive them; with its paid AI credentials proxy on, real keys of supported providers stay outside the sandbox.
Try boat
Install the CLI, then run boat new.
7-day free trial