Freestyle vs GitHub Codespaces
Freestyle is a sandbox API for agents: full KVM virtual machines you create from code. They can pause with their memory, fork while running and wake on the next request. GitHub Codespaces is a dev environment for people: a dev container opened from a GitHub repository in VS Code or the browser. A codespace stops after 12 hours at most.
The companies and products
Freestyle
Freestyle sells full Linux virtual machines for AI agents, built for long running, complex tasks.
Each Freestyle VM is a KVM virtual machine with its own kernel, booted from a base snapshot. The default Ubuntu image has systemd, Docker and coding agent CLIs preinstalled. VMs can be paused with their memory, snapshotted while running, forked and woken by the next request. Every VM starts behind a default-deny firewall. You drive it from a TypeScript SDK, a CLI or an API.
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. “31st cheapest of 365” means 30 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 | Freestyle: 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 Freestyle gives an agent a full VM with systemd, Docker and KVM and no time cap. A codespace runs Docker through a dev container feature, documents no /dev/kvm and stops after 12 hours at most. boat also gives a full VM, with a desktop built in. | 31st cheapest of 365 $3,311 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 lives on its machine all month can stay on Freestyle. A codespace stops after 12 hours at most, so it needs a restart script. On boat, turn auto-stop off (default 1 hour) on a paid plan. | 49th cheapest of 361 $4,195 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 Freestyle fits short code runs, with VMs that pause with their memory and wake on the next request. Each codespace builds a dev container on a new VM; prebuilds speed this up. | 46th cheapest of 336 $482 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 Freestyle is built to give each of your users their own VM from code. Codespaces are created for GitHub users on a repository, and GitHub does not publish how many can run at once. | 26th cheapest of 349 $1,358 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 | 116th of 349, with limits $6,600 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 | 68th cheapest of 359 $1,046 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 Freestyle's own docs send sustained heavy CPU work to other providers. Codespaces has no fork or snapshot API, so each run starts from a repo or a prebuild. boat forks a warm sandbox from its last 1-minute snapshot, with start limits per plan. | 169th of 374, with limits $625 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 box per repo but stops after 12 hours at most. Freestyle keeps a VM running as long as you pay for it. boat keeps one running once auto-stop is off. | 102nd cheapest of 371 $151 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 On Freestyle you install GNOME or Xvfb and VNC from its guides. A codespace can add a basic noVNC desktop through the desktop-lite dev container feature, with no computer-use API. boat streams a 60 fps desktop with computer tools built in. | 51st cheapest of 367 $940 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 | 99th of 356, with limits $482 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 | 110th cheapest of 343 $482 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 | 183rd of 327, with limits $6,560 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 Freestyle and boat can both fork one prepared machine while it runs. On Codespaces every copy is created again from the repository or a prebuild. | 28th cheapest of 351 $482 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 | Not ranked: misses a requirement | Not ranked: misses a requirement | Not ranked: misses a requirement |
Key features
| Feature | Freestyle | GitHub Codespaces | boat |
|---|---|---|---|
| What it is | A sandbox API: full Linux VMs for AI agents, driven from an SDK, CLI or API | A cloud dev environment: a dev container per GitHub repository, opened in VS Code, the browser or the GitHub CLI | A sandbox API: full Linux VMs for agents, with a desktop and coding agents built in |
| Isolation | Full KVM VM with its own kernel; Freestyle says it oversubscribes host resources | A Docker container on its own newly built VM, with its own virtual network | Full 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 runs | No session cap; a VM runs and bills until you pause, stop or delete it | Stops after 30 idle minutes by default (up to 240) and after 12 hours at most, even while in use | Auto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan for no cap |
| Docker and nested virtualization | Root, systemd as pid 1, Docker from boot and full KVM support | Docker inside through a dev container feature, with sudo; /dev/kvm is not documented | Root, systemd, Docker and /dev/kvm on every sandbox |
| CPU benchmark (V8 Web Tooling, 4 vCPU / 8 GB, StarSling run of 3 October 2026) | 10.22 runs/s, 14th of 15 | Not in the public benchmarks we use | 28.06 runs/s, 2nd of 15 (rank shared), on a Ryzen 9 9950X host |
| Pause, fork and snapshots | Pause with memory, clone a running VM, snapshot memory and disk, wake on the next request | A stopped codespace keeps its files (deleted after 30 days by default); no copy or snapshot endpoint | Disk saved every minute and at each stop; fork a running sandbox's disk from its last 1-minute snapshot; memory is not saved |
| Starting point | Ubuntu 24.04 base snapshot with Docker, Node.js, Python and coding agent CLIs; Kali and BusyBox images | Dev container config in the repository, with prebuilds built by GitHub Actions | boat's image or a saved snapshot used as a template, shareable by code |
| Biggest machine | 32 vCPU / 64 GiB on Pro, 64 / 128 with Enterprise custom limits | Up to 32 cores, with 4 GB of memory per core | 16 vCPU / 32 GB on the $100 plan and above; 8 vCPU / 16 GB on the $20 plan |
| Desktop and computer use | You set it up: official guides install GNOME or headed Chromium with TigerVNC and noVNC | VS Code, JupyterLab and a terminal; a Fluxbox desktop over noVNC through the desktop-lite dev container feature, which you configure; no computer-use API | Linux desktop and Chrome streamed at 1920x1080 and 60 fps, with computer tools for agents |
| Coding agents | claude, codex, opencode and openclaw preinstalled; you drive them through exec, a PTY or the Claude Agent SDK | GitHub Copilot as a VS Code extension; other agents you install yourself | Claude Code, Codex, OpenCode and four more preinstalled, with a prompt, steer and events API |
| Keeping API keys out of the sandbox | Credentials injected at the edge for HTTPS headers, Postgres and S3; the VM must trust the Freestyle CA | Secrets are copied into the codespace as environment variables | Optional AI credentials proxy ($1 per UTC day on, plus $1 per 1,000 requests) for supported AI providers and HTTPS APIs you register; other secrets still enter the sandbox |
| Network rules | Default-deny firewall with allow rules by IP, VM, VPC or exact domain | Open internet; GitHub says there is no way to restrict it | Open internet, no provider-side allowlist |
| Reaching the machine | HTTPS on free style.dev names or your own domain, forward auth, firewall ingress rules, a public IPv6 per VM | A URL per forwarded port, private, organization or public; SSH and CLI tunnels; no public IP | Up to 50 HTTPS URLs per sandbox, token-protected by default; SSH through a shared IPv4 host and port; raw ports over IPv6 when the sandbox has no IPv4 of its own |
| Regions | Regions are not published | US East, US West, Europe West and Southeast Asia | Germany, Finland and France; you cannot pick a region, and snapshot copies can be stored outside the EU |
Every feature Battleships tracks (43)
| Feature | Freestyle | 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 | Yes | Not published | Yes |
| Desktop GUI | With your own setup | With your own setup | Yes |
| Browser | With your own setup | No documented way | Yes |
| Computer-use API | With your own setup | 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 | Yes | No documented way | Yes |
| Live fork (no pause) | Yes | No documented way | Yes |
| Memory fork | Yes | 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 | No documented way | No documented way | No documented way |
| GPU | Yes | 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 | Yes | Not published | Yes |
| Spend limits | Not published | 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 | Not published | Yes | No documented way |
| HIPAA | Not published | No documented way | No documented way |
| EU data residency | Not published | Yes | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
StarSling ran the V8 Web Tooling Benchmark at 4 vCPU / 8 GB on 3 October 2026 (run 37073680030). Freestyle did 10.22 runs per second, 14th of 15. boat did 28.06, 2nd of 15 (a rank shared with four providers), about 2.7 times the work. 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. GitHub Codespaces is not in the public benchmarks we use, so we cannot say how it compares.
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 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 | Freestyle, 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 | $27 · Free | $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 | $159 · Free | $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,139 · Pro | $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 | $581 · Pro | $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 | $1,305 · Pro · with limits | $1,889 · Personal account: GitHub Free · with limits | $8,800 · $2000/mo · with limits |
Freestyle: Freestyle bills per second for the vCPU ($0.04032 per hour), RAM ($0.0129 per GiB-hour) and disk allocated to a VM, busy or idle, after monthly allowances of 200 vCPU-hours, 400 GiB-hours of RAM and 60,000 GiB-hours of storage. On Free those allowances are hard stops and no card is needed. Hobby and Pro set a $50 or $500 monthly minimum that counts as usage. A paused VM bills only for storage.
GitHub Codespaces: Codespaces bills $0.09 per core-hour while a codespace is active, used or not, 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.
GitHub Codespaces: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month. Included VM time expires at the end of the billing period. A default 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 keeps its disk for at least 14 days. Saved snapshots above the included count and the AI credentials proxy still charge while sandboxes are stopped. 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 agent: its price there assumes a script that restarts it, and running processes end at each stop. GitHub does not publish how many codespaces can run at once, so 300 user sandboxes and 1,000 short jobs are not confirmed. Freestyle has no time cap and no idle timeout by default, so a VM bills until you pause it. Freestyle allows 10 VMs at once on Free, 40 on Hobby and 400 on Pro, so it does not fit 1,000 short jobs at once. boat's $20 plan includes 12 starts a minute, 60 an hour and 200 a day, with 100 sandboxes at once; the $2,000 plan includes 90, 600 and 2,400. An extra start costs $0.03 to $0.07. Above 6 times the included number (3 times per minute), a start fails with 429, and boat never queues it. So boat does not fit the burst either.
| Scenario | Freestyle | GitHub Codespaces | boat |
|---|---|---|---|
| One coding agent, workdays | None for this scenario | None for this scenario | None for this scenario |
| One agent that never stops | None for this scenario |
| None for this scenario |
| 50 agents in parallel | None for this scenario |
| None for this scenario |
| Sandboxes for your users | None for this scenario |
| None for this scenario |
| 1,000 short jobs at once |
|
|
|
Which one should you use?
Use Freestyle when
your code hands VMs to agents or users, especially when they sleep between requests and must resume with their memory, or need a default-deny firewall.
- Memory pause, live fork and wake on request. Useful for VMs that sleep between requests: they resume the same processes and can wake on the next incoming traffic.
- Built to be driven from code. Useful if your code hands machines to agents or users: create, fork and pause VMs from an SDK, with no 12-hour stop.
- Network controls per VM. Every VM starts with no network access, and you allow exactly the IPs, VMs, VPCs or domains it may reach.
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 codespace from any repo, branch or pull request, with the dev container ready.
- Free hours for personal accounts. Useful for occasional personal work: a GitHub Free account includes 120 core-hours and 15 GB-month of storage each month.
- Regions and compliance reports. Codespaces run in US East, US West, Europe West and Southeast Asia, and GitHub Enterprise Cloud lists audit reports.
Where boat fits
To run coding agents, you want a machine your code controls that keeps running, which the 12-hour stop makes hard on Codespaces. Freestyle covers that. boat covers it too, with a desktop for computer use and an API to drive the agents inside from outside. Pick Freestyle over boat when you need memory pause and wake on request; boat does not keep memory across a stop.
A full VM, with more CPU work in one run
In StarSling's run of 3 October 2026, boat did 28.06 runs per second and Freestyle 10.22. That boat sandbox ran on a Ryzen 9 9950X host; boat also places some sandboxes on AMD Ryzen 7 9700X hosts, which this run did not measure. Codespaces is not in that run and documents no /dev/kvm for emulators.
A desktop and a browser, ready
Every boat sandbox streams a 60 fps Linux desktop with Chrome and computer tools. On Freestyle you build GNOME or Xvfb, VNC and the click layer into your own snapshot. On Codespaces you configure the desktop-lite noVNC feature, with no computer-use API.
Agents driven from outside
boat gives you a prompt, steer and events API for the agents inside, and an optional paid credentials proxy that can switch accounts when credits run out. On Freestyle you parse CLI output from exec. On Codespaces keys sit in environment variables.
Use boat when your agents do real work for hours, such as builds, tests, Docker and emulators, and need a desktop and a browser ready, with an API to drive the agents inside from outside. Compare it one to one: boat vs Freestyle 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 Freestyle cheaper than GitHub Codespaces?
In most scenarios we priced, yes. One coding agent on workdays is $27 on Freestyle against $51 on Codespaces. 50 agents in parallel are $2,139 against $3,019. One agent running all month is $159 on Freestyle against $270 on Codespaces, which also needs a restart every 12 hours. boat comes to $20, $317 and $26 for the same three. Below about $20 of use a month, the free Codespaces quota on a personal account costs less than boat.
Which is faster, Freestyle or GitHub Codespaces?
We cannot say: Codespaces is not in the public benchmarks we use. In StarSling's V8 Web Tooling run of 3 October 2026 at 4 vCPU / 8 GB, Freestyle did 10.22 runs per second and boat did 28.06 on a Ryzen 9 9950X host.
Can I run an AI agent 24/7 on Freestyle or Codespaces?
On Freestyle, yes: there is no session cap, and a VM runs until you pause or stop it. A codespace stops after 12 hours at most, even while in use, so it needs restarts. On boat, auto-stop defaults to 1 hour; on a paid plan you can turn it off, and the sandbox then runs until you stop it.
Do both run Docker and Android emulators?
Both run Docker. Freestyle is a full KVM VM with nested virtualization, so emulators work. GitHub does not document /dev/kvm in a codespace, so emulators that need it are not a supported setup. Every boat sandbox has Docker, systemd and /dev/kvm.
How do they keep API keys safe?
Freestyle can inject credentials at its edge for HTTPS, Postgres and S3, so the VM does not hold them. Codespaces copies secrets in as environment variables. boat's optional paid credentials proxy keeps supported AI keys outside; other secrets still enter a boat sandbox.
Where does each one run?
Freestyle does not publish its regions. Codespaces runs in US East, US West, Europe West and Southeast Asia. boat runs on machines in Germany, Finland and France, you cannot pick a region, and snapshot copies can be stored outside the EU.
Try boat
Install the CLI, then run boat new.
7-day free trial