GitHub Codespaces vs Koyeb
GitHub Codespaces is a dev environment for people: a container on its own VM, opened from a GitHub repository in VS Code, that stops after 12 hours at most. Koyeb is a sandbox you drive from code: a microVM from any Docker image that can sleep when idle, wake on a request, and run on GPUs.
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.
Koyeb
Koyeb is a serverless cloud for apps, inference and sandboxes. In February 2026 it agreed to join Mistral AI.
A Koyeb sandbox is a Koyeb service: a microVM that starts from any Docker image. You drive it from Python or JavaScript SDKs or the Koyeb CLI: run commands, read files, expose a port and take snapshots. The default image comes with four coding agents. A sandbox can scale to zero when idle and wake on the next request, on CPU or GPU instance types. It suits teams that run AI agents or untrusted code next to apps they already host on Koyeb.
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 | Koyeb: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month A codespace runs Docker but stops at 12 hours. Koyeb does not document Docker inside a sandbox, and you keep files with SDK snapshots or a preview volume. boat runs Docker, saves its disk with no code and has no session cap once auto-stop is off. | 290th of 365, with limits $4,618 a month | 92nd of 365, with limits $366 a month | 5th cheapest of 365 $634 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB A codespace stops at 12 hours, and its processes end. On Koyeb you keep the sandbox awake, or take an SDK snapshot before Deep Sleep discards the VM. On boat, turn auto-stop off on a paid plan (default 1 hour). | 320th of 361, with limits $6,970 a month | 194th of 361, with limits $923 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 Koyeb fits short code runs well: small instances that sleep after 5 idle minutes and wake on the next request. Each codespace builds a dev container on a new VM. On boat each start counts against the plan's start cap. | 283rd of 336, with limits $619 a month | 6th cheapest of 336 $66 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 Koyeb is built to hand sandboxes to your own users from an SDK. Codespaces are created for GitHub users on a repository, and GitHub does not publish how many can run at once. boat gives each user a full VM with up to 50 HTTPS URLs. | 276th of 349, with limits $1,964 a month | 8th cheapest of 349 $495 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 | 233rd of 349, with limits $1,631 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 | 27th cheapest of 359 $429 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 Android or VM image builds need /dev/kvm. Neither Codespaces nor Koyeb documents it. Codespaces has no copy of a warm machine; Koyeb starts new sandboxes from SDK snapshots. boat exposes /dev/kvm and forks a running sandbox. | 317th of 374, with limits $909 a month | 143rd of 374, with limits $88 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 box per repo, but it stops after 12 hours. Koyeb has no forced session cap, but local disk is lost on redeploy and in Deep Sleep. A boat sandbox runs all month once auto-stop is off. | 144th of 371, with limits $270 a month | 232nd of 371, with limits $37 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 add-on. On Koyeb you add a desktop and VNC to your own Docker image. boat streams a built-in desktop and Chrome at 60 fps. | 297th of 367, with limits $1,367 a month | 128th of 367, with limits $123 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 | 237th of 356, with limits $123 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 | 242nd of 343, with limits $89 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 | 67th of 327, with limits $1,683 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 | 284th of 351, with limits $445 a month | 261st of 351, with limits $299 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 Koyeb runs GPU instances from an RTX 4000 SFF Ada up to H100, H200 and B200. Codespaces lists no GPU machine types in its current docs, and boat has no GPU. | Not ranked: misses a requirement | 3rd cheapest of 102 $628 a month | 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 | Koyeb | boat |
|---|---|---|---|
| What it is | A cloud dev environment for a GitHub repository, opened in VS Code, the browser or the GitHub CLI | A sandbox service started from any Docker image and driven from Python or JavaScript SDKs | A sandbox you drive from code, with an API and SDK on every plan |
| Isolation | A Docker container on its own newly built VM, with its own virtual network | Cloud Hypervisor microVM per instance | Full VM with its own kernel, on boat's own AMD Ryzen 7 9700X and Ryzen 9 9950X hosts; shared vCPUs |
| How long it runs | Stops after 30 idle minutes by default (up to 240) and after 12 hours at most, even while in use | No forced cap; auto-delete timers are optional | No cap once auto-stop is off on a paid plan; auto-stop defaults to 1 hour, up to 30 days |
| Files after a stop | Saved files are kept and storage is billed; processes end; stopped codespaces are deleted after 30 days by default | Local disk is lost on redeploy and in Deep Sleep; you keep files with SDK snapshots, or a volume (preview, 1 to 10 GB, not on eco instances) | Disk saved every minute and at each stop with no code; kept at least 14 days, longer with a saved snapshot |
| Sleep and wake | Stops when idle; you restart it yourself | Scales to zero after 5 idle minutes and wakes on the next request; Light Sleep wakes in about 200 ms (preview); not on eco instances | No wake on request; you start a stopped sandbox by API, CLI or dashboard; resume is like a reboot |
| Fork and snapshots | No copy or snapshot endpoint; new codespaces start from a repo, branch, pull request or prebuild | SDK snapshots of the filesystem, or with running processes, then new sandboxes from them | Fork a running sandbox from its last 1-minute disk snapshot; writes from the last minute or so can be missing; saved snapshots as templates |
| Docker and nested virtualization | Docker and sudo in the dev container; /dev/kvm not documented | Sandboxes start from Docker images; Docker inside a sandbox and /dev/kvm are not documented | Docker, root, systemd and /dev/kvm on every sandbox |
| Desktop and computer use | VS Code, JupyterLab and a terminal; a noVNC desktop through the desktop-lite add-on, which you configure | No desktop or browser preinstalled; you can add them to your own Docker image | Built-in desktop and Chrome at 1920x1080 and 60 fps, with computer tools for agents |
| Reaching the sandbox | A URL per forwarded port, private, organization or public; SSH; no public IP | One exposed HTTPS port at a time, plus an optional TCP proxy to one port (preview); no dedicated IP | Up to 50 HTTPS URLs per sandbox, token-protected by default; SSH; raw ports over IPv6 on sandboxes with no IPv4 of their own |
| Outbound rules | Open internet; GitHub says there is no way to restrict it | Block all outbound traffic, or allow listed IPs and CIDRs | Open internet; no provider-side allowlist |
| Coding agents | GitHub Copilot as a VS Code extension; other agents you install yourself | Default image installs Mistral Vibe, Codex, Gemini and OpenCode, run through the command API | Seven harnesses installed, with a prompt, steer and events API |
| Keeping API keys out of the sandbox | Secrets are copied into the codespace as environment variables | Secrets set as environment variables inside the service | Optional proxy ($1 a day while on, plus $1 per 1,000 requests) for supported model providers and custom HTTPS APIs; other secrets still enter the sandbox |
| GPUs | No GPU machine types in current docs | RTX 4000 SFF Ada up to H100, H200 and B200 | No GPU on any size |
| Regions | US East, US West, Europe West and Southeast Asia | EU, US and Asia | Germany, Finland and France; you cannot pick one; no US or Asia region |
Every feature Battleships tracks (43)
| Feature | GitHub Codespaces | Koyeb | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | Yes | Yes |
| Docker inside | Yes | Not published | Yes |
| Nested virtualization | Not published | No documented way | Yes |
| Root | Yes | Not published | 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 | No documented way | Yes |
| Persistent disk | Yes | With your own setup | 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 | Not published | 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 | Yes | 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 | No documented way | Yes |
| Secret proxy for any API | No documented way | No documented way | Yes |
| Preinstalled agents | No documented way | Yes | Yes |
| Agent harness API | No documented way | No documented way | Yes |
| MCP server | No documented way | Yes | No documented way |
| GPU | No documented way | Yes | 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 | Yes | No documented way |
| BYOC | No documented way | Yes | 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 | No documented way | 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
GitHub Codespaces and Koyeb are not in the public benchmarks we use, so we cannot say which is faster. Koyeb publishes a CPU share of at least 0.25 dedicated vCPU per GB of memory, bursting to all cores. 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 Koyeb 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 | Koyeb, 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 | $29 · Pro | $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 | $57 · Pro | $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 | $475 · Pro · with limits | $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 | $329 · Scale | $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 | $485 · Scale · with limits | $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 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.
Koyeb: Koyeb bills each instance per second at a fixed price per instance type: eco-xlarge (4 vCPU / 8 GB, 20 GB disk) costs $0.0576 an hour. The idle period before sleep bills at the full rate, and Deep Sleep costs nothing. Pro costs $29 a month with $10 of usage included, and Scale $299 a month with $100 included. Bandwidth above 1 TB a month costs $0.02 per GB in the US and EU.
Koyeb: Plans cost $20, $100, $500 or $2,000 a month, and 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, busy or idle. A stopped sandbox has no compute charge, and boat keeps its disk for at least 14 days. Saved snapshots above the included count and the optional AI credentials proxy still charge while sandboxes are stopped. The $20 plan includes 12 starts a minute, 60 an hour and 200 a day; create, fork and resume each count as one start, and an extra start costs $0.03 to $0.07. A card is required, also for the 7-day trial.
Limits in those scenarios
Every codespace stops after 12 hours at most, so it does not fit the always-on scenario without restarts. GitHub does not publish how many codespaces can run at once, so 300 user sandboxes and 1,000 short jobs show as not confirmed. Koyeb's priced eco-xlarge shape has a 20 GB disk with no published price for more. Koyeb does not document Docker inside a sandbox, so the 50-agent fleet is not confirmed there. Eco instances guarantee only half of each vCPU, which throttles the 1,000-job burst. boat's limits: auto-stop defaults to 1 hour, and each plan caps starts. For 1,000 short jobs at once, even the $2,000 plan needs paid extra starts and refuses starts above 270 a minute, so boat does not fit. boat has no US or Asia region and no GPU.
| Scenario | GitHub Codespaces | Koyeb | 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 | 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, in the US, EU or Asia.
- Built into GitHub. Useful if your team lives on GitHub: open a ready codespace from any repo, branch or pull request in VS Code.
- Same setup for every developer. Dev container configs and prebuilds built by GitHub Actions give every contributor the same ready machine.
- Free hours for personal accounts. A GitHub Free account includes 120 core-hours and 15 GB-month of storage each month, enough for light personal work.
Use Koyeb when
your app hands out sandboxes that sleep most of the time and wake on a request, need GPUs or your own Docker image, or must run in the US or Asia.
- Sandboxes you drive from code. Useful for apps that hand out sandboxes: an SDK runs commands, reads files and exposes a port on each microVM.
- Sleep when idle, wake on request. Good for sandboxes that sit idle between requests: they scale to zero and wake on the next one.
- GPUs and egress rules. Useful when a job needs a GPU or a locked-down network: GPUs up to H100, H200 and B200, and outbound IP allowlists.
Where boat fits
Codespaces stops coding agents at 12 hours. On Koyeb you keep files with SDK snapshots or a small preview volume, because Deep Sleep discards the VM. boat gives each agent a full VM that saves its disk with no code, with agents, a desktop and HTTPS URLs built in. It has no session cap once auto-stop is off on a paid plan (default 1 hour).
Disk saved with no code
A codespace stops at 12 hours even while in use, so you need a restart script, and its processes end. On Koyeb you take SDK snapshots or attach a preview volume of up to 10 GB. boat saves the disk every minute and at each stop. A boat resume is like a reboot, and a machine failure loses writes after the last good snapshot.
A full VM with /dev/kvm, a desktop and open ports
Neither documents /dev/kvm, so Android emulators and microVMs are not a supported setup. On both you add a desktop yourself. Koyeb exposes one HTTPS port at a time. boat has /dev/kvm, a 60 fps desktop and up to 50 HTTPS URLs.
Coding agents you drive from outside
On Codespaces you run agents over SSH, and on Koyeb through the command API, and API keys sit in environment variables. boat installs seven agents with a prompt, steer and events API. Its optional paid proxy keeps supported providers' keys out of the sandbox.
Use boat when your agents do hours of work on a full VM that saves its disk with no code: builds, Docker, emulators, a desktop with Chrome and preview servers, with agents installed. Turn auto-stop off on a paid plan for long work (default 1 hour). Compare it one to one: boat vs GitHub Codespaces and boat vs Koyeb.
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 Koyeb?
Not in the scenarios we priced. One coding agent on workdays is $51 a month on Codespaces against $29 on Koyeb. One agent all month is $270 against $57, and Codespaces only gets there with a restart every 12 hours. 50 agents in parallel are $3,019 against $475, though Koyeb does not document Docker inside a sandbox. boat comes to $20, $26 and $317 for the same three.
Which is faster, GitHub Codespaces or Koyeb?
Neither is in the public benchmarks we use, so we cannot say. Koyeb guarantees at least 0.25 dedicated vCPU per GB of memory and bursts above that. In StarSling's run of 3 October 2026, boat did 28.06 V8 Web Tooling runs/s at 4 vCPU / 8 GB on a Ryzen 9 9950X host.
Can I run an AI agent 24/7 on Codespaces or Koyeb?
Not on Codespaces without restarts: every codespace stops after 12 hours, even while in use. Koyeb has no forced session cap; its local disk is lost on redeploy and in Deep Sleep, so you keep files with SDK snapshots or a volume. boat has no session cap once auto-stop is off on a paid plan (default 1 hour).
Can GitHub Codespaces and Koyeb run Docker?
Docker works inside a codespace through dev container features. Koyeb sandboxes start from Docker images, but Koyeb does not document Docker inside them. Neither documents /dev/kvm. Every boat sandbox has Docker, systemd and /dev/kvm.
Do Codespaces or Koyeb have GPUs?
Koyeb runs instances from an RTX 4000 SFF Ada up to H100, H200 and B200, billed per second. Codespaces lists no GPU machine types in its current docs, and boat has no GPU.
Is boat SOC 2 compliant?
SOC 2 is in progress; there is no SOC 2 report today. We're open about where we stand: live status at status.ascii.dev and our data retention policy 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 Koyeb
- 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