Northflank vs GitHub Codespaces

Northflank gives you sandboxes to drive from code: microVMs with their own kernel, GPUs, 17 regions and no session cap. GitHub Codespaces gives developers a ready VS Code environment per repository: a dev container on its own VM that stops after 12 hours at most.

The companies and products

Northflank

Northflank is a London developer platform for running services, jobs and databases on Kubernetes, and Sandboxes is its product for running untrusted code.

A Northflank sandbox is a container image deployed as a service. CPU sandboxes run in Kata microVMs with their own kernel, and GPU sandboxes run under gVisor. You create and drive them from the JavaScript or Python SDK, the CLI or the dashboard, on Northflank's cloud or inside your own. It suits teams that want one platform for apps, databases, GPUs and sandboxes.

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. “44th cheapest of 361” means 43 of the other 360 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 workloadNorthflank: price rankGitHub Codespaces: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
A coding agent works for hours. A codespace stops after 12 hours at most, even while in use. Northflank runs until you pause, and keeps volumes, and the rest of the disk through a filesystem snapshot. boat saves its disk every minute and at each stop.
186th of 365, with limits
$1,413 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 always-on assistant does not fit Codespaces well: every codespace stops after 12 hours at most. Northflank has no session cap. On boat, turn auto-stop off (default 1 hour) on a paid plan.
44th cheapest of 361
$2,551 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
Neither Codespaces nor a dev box is built for one-minute runs. Northflank has per-second plans from 0.1 vCPU and no start fees. boat counts each create as a start.
91st of 336, with limits
$114 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
Codespaces are created for GitHub users on a repository, and GitHub does not publish how many can run at once. Northflank does not publish a limit either. boat publishes 100 at once on $20 and up to 2,000 on $2,000.
94th of 349, with limits
$810 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
333rd of 349, with limits
$1,742 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
139th of 359, with limits
$685 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
Northflank boots your own image and bills per second. Codespaces starts from a repo or a prebuild built by GitHub Actions. boat forks a warm sandbox and has /dev/kvm, but cannot boot your own image.
36th cheapest of 374
$347 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
Codespaces is a polished VS Code environment per repo, but it stops after 12 hours at most. Northflank gives SSH with no session cap. A boat sandbox runs until you stop it once auto-stop is off.
124th cheapest of 371
$106 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
Neither ships a desktop for agents. A codespace can add a basic noVNC desktop through the desktop-lite feature; on Northflank you build one into your image. boat streams a 60 fps desktop with Chrome.
189th of 367, with limits
$367 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
83rd of 356, with limits
$359 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
94th cheapest of 343
$200 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
83rd of 327, with limits
$2,031 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
43rd of 351, with limits
$180 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
Northflank has GPU sandboxes from L4 to H100, H200 and B200. GitHub Codespaces and boat are CPU only in this comparison.
5th cheapest of 102
$692 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 requirementNot ranked: misses a requirement

Key features

FeatureNorthflankGitHub Codespacesboat
What it isA developer platform with sandboxes as one workload type, driven by SDK, CLI or APIA cloud dev environment: a dev container per repository, opened in VS Code, the browser or JupyterLabA sandbox platform: each agent gets its own full Linux VM, with coding agents installed
IsolationKata microVM with its own kernel for CPU sandboxes; gVisor for GPU sandboxesA Docker container on its own newly built VM, with its own virtual networkFull VM with its own kernel, on physical hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared
How long it runsNo documented cap; runs until you pause or delete it; no idle auto-pauseStops after 30 idle minutes by default (up to 240) and after 12 hours at most, even while in useAuto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan for no cap
Files after a stopAttached volumes survive (billed while paused); the rest of the disk resets unless you snapshot it before pausing and restore from it (microVM sandboxes only); processes resetFiles are kept and storage is billed; a stopped codespace is deleted after 30 days by default (0 to 30 days)The disk, saved every minute and at each stop, kept at least 14 days; memory and processes are not saved; a machine failure loses writes after the last good snapshot
Snapshots and forkFilesystem snapshots of a running or terminating sandbox (opt-in, microVM only); restore into a new sandboxNo copy or snapshot endpoint; new codespaces start from a repo, branch, pull request or prebuildAutomatic disk snapshots; fork a running sandbox from its last 1-minute snapshot
Starting pointAny container imageDev container config in the repository, with prebuilds built by GitHub Actionsboat's image or a saved snapshot; you cannot boot your own Docker or OCI image
Docker and nested virtualizationDocker can run on the sandbox's own kernel; /dev/kvm not documentedDocker inside needs a dev container feature; /dev/kvm not documentedDocker, root, systemd and /dev/kvm on every sandbox
Desktop and browserNo built-in desktop. You set it up: Northflank's guide runs Playwright browser agents from your own image; a desktop and stream you install yourselfVS Code, JupyterLab and a terminal; a Fluxbox desktop over noVNC through the desktop-lite dev container feature, which you configure; no computer-use API1920x1080, 60 fps Linux desktop and Chrome, computer tools for agents
Coding agentsHarnesses with Claude Code, Codex, Cursor, OpenCode, Pi, OMP or Devin CLI and a lifecycle API; you talk to the agent through a terminal or SSHGitHub Copilot as a VS Code extension; other agents you install and run yourselfSeven agents installed, with a prompt, steer and events API
Keeping API keys out of the sandboxHeader injection for listed hosts in the network policy API (documented for your own cluster); otherwise secrets are env vars or filesSecrets are copied into the codespace as environment variablesOptional AI credentials proxy, off by default, $1 a day plus $1 per 1,000 requests; keys of supported model providers stay outside; other secrets still enter the sandbox
Inbound accessHTTP ports on a code.run domain or your own domain, private by default; SSH; public TCP and UDP through a separate Layer 4 load balancerA URL per forwarded port, private, organization or public; SSH and CLI tunnels; no public IPUp to 50 HTTPS URLs, token-gated by default; SSH; public IPv6 address with raw ports (some sandboxes have no IPv4 of their own)
Outbound rulesNetwork policies with allow lists by IP, CIDR or domain, documented for your own cluster; static egress IPsOpen internet; GitHub says there is no way to restrict itOpen internet, no provider-side allowlist; you set it up: firewall rules inside the VM with root
GPUsL4, A100, H100, H200, B200, RTX PRO 6000 and moreNot part of this comparison; codespaces are priced as CPU machinesNo GPU on any size
Regions17 managed regions on six continents, or your own cloud accountUS East, US West, Europe West and Southeast AsiaGermany, Finland and France; you cannot pick a region; no US or Asia region
Every feature Battleships tracks (43)
FeatureNorthflankGitHub Codespacesboat
Full VM (own kernel)YesYesYes
Docker insideYesYesYes
Nested virtualizationNo documented wayNot publishedYes
RootNot publishedYesYes
SystemdNot publishedNot publishedYes
Desktop GUINo documented wayWith your own setupYes
BrowserWith your own setupNo documented wayYes
Computer-use APINo documented wayNo documented wayYes
SSHYesYesYes
Persistent diskWith your own setupYesYes
Pause/resumeYesYesYes
Automatic snapshotsYesNo documented wayYes
Fork/cloneYesNo documented wayYes
Live fork (no pause)YesNo documented wayYes
Memory forkNo documented wayNo documented wayNo documented way
Custom image (Docker or snapshot)YesYesYes
≥24 h sessionsYesNo documented wayYes
Idle auto-stopNo documented wayYesNo documented way
Wake on requestNo documented wayNo documented wayNo documented way
HTTPS preview URLsYesYesYes
Raw TCP inboundYesNo documented wayYes
Public IPv4No documented wayNo documented wayNo documented way
Egress allowlistYesNo documented wayNo documented way
Secret proxyYesNo documented wayYes
Secret proxy for any APIYesNo documented wayYes
Preinstalled agentsYesNo documented wayYes
Agent harness APINo documented wayNo documented wayYes
MCP serverNo documented wayNo documented wayNo documented way
GPUYesNo documented wayNo documented way
WindowsNo documented wayNo documented wayNo documented way
Arm64YesNo documented wayNo documented way
Self-hostingYesNo documented wayNo documented way
BYOCYesNo documented wayNo documented way
Open sourceNo documented wayNo documented wayNo documented way
Scoped API keysNot publishedNot publishedYes
Spend limitsNot publishedYesYes
Usage per sandbox (API)YesNo documented wayYes
Audit logsYesYesNo documented way
SSOYesYesNo documented way
SOC 2YesYesNo documented way
HIPAAYesNo documented wayNo documented way
EU data residencyYesYesNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

NorthflankNot measured
GitHub CodespacesNot measured
boat28.06 runs/s

Neither Northflank nor GitHub Codespaces is in the public CPU benchmark we use, so we cannot say which of the three is faster. In StarSling's run of 3 October 2026 (run 37073680030), boat did 28.06 V8 Web Tooling Benchmark runs per second at 4 vCPU / 8 GB, second of 15. Every boat sandbox in this run ran on an AMD Ryzen 9 9950X host. boat also places 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. Northflank and GitHub Codespaces 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.

ScenarioNorthflank, a monthGitHub Codespaces, a monthboat, 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
$30 · Developer Sandbox (free tier)$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
$106 · Developer Sandbox (free tier)$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
$1,290 · Developer Sandbox (free tier)$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
$359 · Developer Sandbox (free tier) · 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
$684 · Developer Sandbox (free tier) · with limits$1,889 · Personal account: GitHub Free · with limits$8,800 · $2000/mo · with limits

Northflank: Northflank bills per second for the plan size you pick, from $0.0038 an hour for 0.1 vCPU; 4 vCPU / 8 GB is $0.1333 an hour. There is no monthly fee and no start fee. There is no idle auto-pause, so a sandbox bills until you pause it. Volumes cost $0.11657 per GiB a month, also while paused, and outbound traffic costs $0.06 per GB.

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, so its always-on price assumes a script that restarts it. GitHub does not publish how many codespaces can run at once, so 300 user sandboxes and 1,000 short jobs are not confirmed. Northflank keeps files outside attached volumes only if you snapshot the filesystem before each pause and restore from it, and it does not publish how many sandboxes can run at once either. boat's limits: plans start at $20 a month, and the included time expires at the end of the month. A stopped sandbox has no compute charge, but saved snapshots above the included count and the AI credentials proxy still charge. In the burst, even the $2,000 plan charges $0.03 to $0.07 for starts above 90 a minute and refuses them above 270, so boat costs about $8,800 there.

ScenarioNorthflankGitHub Codespacesboat
One coding agent, workdaysNone for this scenarioNone for this scenarioNone for this scenario
One agent that never stopsNone for this scenario
  • Personal account: GitHub Free: sessions capped at 12 h
None for this scenario
50 agents in parallel
  • how many machines can run at once: limit not published, probably fine at 50 (the typical published limit is 50)
  • how many machines can run at once: limit not published, probably fine at 50 (the typical published limit is 50)
None for this scenario
Sandboxes for your users
  • not confirmed: how many machines can run at once (you need 300; the typical published limit is 50)
  • not confirmed: how many machines can run at once (you need 300; the typical published limit is 50)
None for this scenario
1,000 short jobs at once
  • not confirmed: how many machines can run at once (you need 1,000; the typical published limit is 50)
  • not confirmed: how many machines can run at once (you need 1,000; the typical published limit is 50)
  • 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

Which one should you use?

Use Northflank when

code starts and drives your sandboxes, when they run for days, or when you need GPUs, your own container image or your own cloud account.

  • No session cap. For agents that run for days: a Northflank sandbox runs until you pause it. A codespace stops after 12 hours at most.
  • Built for code to drive. For agent platforms: SDKs, any container image, filesystem snapshots and agent harnesses, plus GPUs from L4 to B200.
  • Lower bills in these scenarios. At list prices Northflank costs less than Codespaces in all five scenarios on this page.

Use GitHub Codespaces when

your developers want a ready VS Code environment for a GitHub repository, opened from a branch or pull request, with free hours on personal accounts.

  • Built into GitHub. For teams on GitHub: open a codespace from any repo, branch or pull request, with the dev container and prebuilds ready.
  • Free hours for personal accounts. A GitHub Free account includes 120 core-hours and 15 GB-month of storage each month; organizations get no free quota.
  • A polished editor. For developers: VS Code in the browser or desktop, JupyterLab, port forwarding and Copilot, with no setup.

Where boat fits

Look at boat if code, not a developer, starts the machine and drives an agent inside it. Codespaces is built for people in an editor, and Northflank leaves the desktop and the agent control layer to you. boat ships a desktop, /dev/kvm and seven agents behind one API in every sandbox.

Runs as long as the work

A codespace stops after 12 hours at most, and its processes end. Northflank has no cap, but files outside volumes need a snapshot before each pause. With auto-stop off on a paid plan, boat has no session cap and saves the disk every minute. Memory and running programs are not saved.

A full VM with /dev/kvm and a desktop

Neither Northflank nor Codespaces documents /dev/kvm. A codespace can add a noVNC desktop you configure, and on Northflank you build one. boat has /dev/kvm and a 60 fps desktop with Chrome and computer tools in every sandbox.

Agents driven from your code

Northflank Harnesses are reached through a terminal or SSH, and Codespaces offers Copilot in the editor. boat installs seven agents behind a prompt, steer and events API. boat runs only in Germany, Finland and France.

Use boat when your code starts and drives agents that work for hours or days: full VMs with /dev/kvm, a built-in desktop, public HTTPS URLs and coding agents installed. boat runs only in Germany, Finland and France, has no GPU and limits starts per minute. Compare it one to one: boat vs Northflank 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 Northflank cheaper than GitHub Codespaces?

At list prices, yes, in all five scenarios on this page. One coding agent on workdays is $30 a month on Northflank against $51 on Codespaces, and 50 agents in parallel are $1,290 against $3,019. boat is $20 and $317 for those two. Below about $20 of use a month, the free Codespaces quota on a personal account costs less than either.

Which is faster, Northflank or GitHub Codespaces?

We cannot say: neither is in the public CPU benchmark we use.

Can I run an AI agent 24/7 on each?

On Northflank, yes: a sandbox runs until you pause or delete it. On Codespaces, not without restarts: a codespace stops after 12 hours at most, even while in use. A boat sandbox stops after 1 hour by default; on a paid plan you can turn auto-stop off.

Do they keep files when they stop?

A stopped codespace keeps its files and is deleted after 30 days by default. Northflank keeps attached volumes, and the rest of the disk if you take a filesystem snapshot before the pause. boat saves the disk every minute and at each stop and keeps it at least 14 days; memory and running programs are not saved.

Can I run Docker on each?

Yes. Northflank sandboxes have their own kernel, and a codespace runs Docker through a dev container feature. Neither documents /dev/kvm. boat has Docker, systemd and /dev/kvm on every sandbox.

Is boat SOC 2 compliant?

SOC 2 is in progress, so there is no SOC 2 report today. Northflank lists SOC 2 Type 2, HIPAA and ISO 27001, and GitHub Enterprise Cloud lists SOC 1, SOC 2, SOC 3 and ISO 27001. Live status is at status.ascii.dev and the 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