Runloop vs CodeSandbox SDK
Both give each sandbox its own micro-VM. Runloop is built around coding agents, with hostname egress rules, arm64 and deploys into your own cloud. CodeSandbox SDK is strongest at VMs that hibernate with their memory and wake on the next HTTP request. Together AI's docs now call it deprecated and name a successor.
The companies and products
Runloop
Runloop is a US platform of sandboxes, called devboxes, for building, running and testing AI coding agents.
You get Linux devboxes built from Dockerfile-style blueprints, disk snapshots, HTTPS tunnels, agent gateways that hide API keys, browser and computer use, and Axons, event streams that drive agents such as Claude Code. Each devbox runs in a micro-VM on Runloop's own bare-metal hypervisor, with a container layer inside. It is built for teams that ship coding agents, plus evaluation and RL fine-tuning work on the Enterprise plan.
- Architectures
- x86_64 and arm64 base blueprints
- Own-cloud deploy
- Deploy to VPC on AWS, GCP and Azure (Enterprise)
- Regions
- Not documented or selectable
- Company
- Runloop AI, Inc.
CodeSandbox SDK
CodeSandbox SDK is an API from CodeSandbox, now a Together AI company, that starts sandboxed development VMs on the same infrastructure as the CodeSandbox editor.
Each sandbox is a Firecracker microVM built from a template or any Dockerfile. When it goes idle, it hibernates with a memory snapshot, and it resumes or forks from that snapshot in seconds. You drive it from a TypeScript SDK through terminals, commands, files and HTTPS hosts. Together's docs call it the deprecated offering and point new users to its successor, the together-sandbox SDK.
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. “24th cheapest of 365” means 23 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 | Runloop: price rank | CodeSandbox SDK: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month | 24th cheapest of 365 $8,152 a month | 32nd cheapest of 365 $3,731 a month | 5th cheapest of 365 $634 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB | 38th cheapest of 361 $10,194 a month | 50th cheapest of 361 $4,811 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 Runloop ranks 43rd and CodeSandbox SDK 44th for short code runs. boat's start limits make large bursts cost more. | 52nd cheapest of 336 $525 a month | 54th cheapest of 336 $642 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 boat ranks 2nd and Runloop 30th. CodeSandbox SDK wakes a user's sandbox on their next HTTP request, but Scale caps it at 250 at once. | 37th cheapest of 349 $3,301 a month | 140th of 349, with limits $1,707 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 Runloop ranks 8th for RL rollouts, with no published concurrency cap. CodeSandbox SDK's Scale plan stops at 250 VMs at once, but its memory forks let rollouts branch from one running state. | 8th cheapest of 349 $15,922 a month | 341st of 349, with limits $3,861 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 | 91st cheapest of 359 $2,562 a month | 77th cheapest of 359 $1,335 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 boat ranks 2nd, CodeSandbox SDK 70th and Runloop 92nd. CI that builds Android apps or VM images needs /dev/kvm, which boat has and neither other provider documents. | 125th cheapest of 374 $1,554 a month | 96th cheapest of 374 $860 a month | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB boat ranks 13th and Runloop 81st. Runloop needs an idle policy to run all month and has no public IP. CodeSandbox SDK hibernates after an idle timeout and does not document SSH. | 118th cheapest of 371 $410 a month | 316th of 371, with limits $240 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 CodeSandbox SDK ranks 33rd, Runloop 47th and boat 8th. Runloop ships browser and computer use. On CodeSandbox SDK you add a VNC desktop to your own template. boat streams its desktop at 60 fps. | 41st cheapest of 367 $2,306 a month | 54th cheapest of 367 $1,236 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 Runloop and boat ship a browser in the sandbox. On CodeSandbox SDK you start from the official headless Chromium template, or add a VNC desktop to your own Dockerfile. | 38th cheapest of 356 $1,153 a month | 125th of 356, with limits $741 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 | 73rd cheapest of 343 $781 a month | 119th cheapest of 343 $871 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 | 267th of 327, with limits $15,611 a month | 194th of 327, with limits $7,390 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 boat ranks 5th, CodeSandbox SDK 18th and Runloop 22nd. Runloop can limit each devbox to a hostname allowlist; CodeSandbox SDK documents none. | 16th cheapest of 351 $770 a month | 29th cheapest of 351 $505 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 | Runloop | CodeSandbox SDK | boat |
|---|---|---|---|
| Isolation | Micro-VM on a custom bare-metal hypervisor, plus a container layer | Firecracker microVM with its own kernel | Full VM with its own kernel, on physical hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared |
| CPU speed (V8 Web Tooling Benchmark, 4 vCPU / 8 GB) | 8.93 runs a second (StarSling run of 3 October 2026) | Not in that run | 28.06 runs a second in the same run, on an AMD Ryzen 9 9950X host |
| Sleep and wake | Suspend after idle with the disk kept, wake on an HTTP request to the tunnel (Pro plan) | Hibernates with a memory snapshot; an HTTP request wakes it with processes still running | Disk saved every minute and at each stop, kept at least 14 days; a resume is like a reboot, started by API |
| Fork | New devboxes from disk snapshots | Fork a hibernated sandbox from its memory snapshot, or a running one sharing its memory | Fork a running sandbox from its last 1-minute disk snapshot; memory is not copied |
| Nested virtualization | Not documented; the docs cover Docker-in-Docker blueprints | Not documented | Yes: /dev/kvm for Android emulators and VMs |
| Docker and root | Yes, on the Docker-in-Docker blueprints, as root | Docker and root; built from any Dockerfile | Docker, systemd and root |
| Images and CPU architecture | Blueprints built from Dockerfiles, x86_64 and arm64 | Templates or any Dockerfile, x86_64 | Start from boat's image or a saved snapshot; you cannot boot your own Docker image; x86_64 only |
| Disk | Up to 64 GiB, billed for the devbox's whole life | 20 GB on every size; more on request, price not published | 51 GB to 251 GB, fixed per size |
| Shell access | SSH through a TLS proxy | Terminals, commands and files through the SDK; SSH is not documented | SSH, plus exec and files over the API |
| Inbound networking | One HTTPS tunnel per devbox covering its ports, open or bearer token; no public IP documented | HTTPS host per port, public by default, signed tokens for private sandboxes; raw TCP and a public IP not documented | Up to 50 HTTPS URLs, token-gated by default; SSH; public IPv6 with raw ports (IPv6 only on sandboxes without their own IPv4) |
| Egress rules | Hostname allowlist with wildcards, or block all | No provider-side allowlist documented | Open internet, no provider-side allowlist; you set up firewall rules inside the VM |
| Keeping API keys out of the sandbox | Agent gateways for any API endpoint with bearer, header or basic auth | Secrets passed in as environment variables; no credentials proxy documented | Optional AI credentials proxy ($1 a day it is on plus $1 per 1,000 requests) for supported model providers and any HTTPS API; other secrets still enter the sandbox |
| Desktop and browser | Browser and computer use for agents | No built-in desktop; a headless Chromium template, and you can install a VNC desktop in your own Dockerfile | Built-in Linux desktop and Chrome streamed at 1920x1080, 60 fps, with computer-use tools |
| Coding agents | Claude Code, Codex, OpenCode, Gemini CLI and DeepAgents through public agent wrappers | You install your own agent in the template and run it through the commands API | Claude Code, Codex, pi, OpenCode, Prime Agent, Kimi Code, Mistral Vibe, with a prompt, steer and events API |
| Where it runs | Regions not documented; deploy to your own AWS, GCP or Azure account on Enterprise | A country hint steers scheduling, not guaranteed; no self-hosting | Germany, Finland and France; you cannot pick a region; snapshot copies can be stored outside the EU |
Every feature Battleships tracks (43)
| Feature | Runloop | CodeSandbox SDK | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | Yes | Yes |
| Docker inside | Yes | Yes | Yes |
| Nested virtualization | No documented way | No documented way | Yes |
| Root | Yes | Yes | Yes |
| Systemd | Not published | Not published | Yes |
| Desktop GUI | Yes | With your own setup | Yes |
| Browser | Yes | With your own setup | Yes |
| Computer-use API | Yes | No documented way | Yes |
| SSH | Yes | No documented way | Yes |
| Persistent disk | Yes | Yes | Yes |
| Pause/resume | Yes | Yes | Yes |
| Automatic snapshots | Yes | Yes | Yes |
| Fork/clone | Yes | Yes | Yes |
| Live fork (no pause) | Yes | Yes | Yes |
| Memory fork | No documented way | Yes | No documented way |
| Custom image (Docker or snapshot) | Yes | Yes | Yes |
| ≥24 h sessions | Yes | Yes | Yes |
| Idle auto-stop | Yes | Yes | No documented way |
| Wake on request | Yes | Yes | No documented way |
| HTTPS preview URLs | Yes | Yes | Yes |
| Raw TCP inbound | No documented way | No documented way | Yes |
| Public IPv4 | No documented way | No documented way | No documented way |
| Egress allowlist | 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 | Yes | No documented way | Yes |
| MCP server | Yes | No documented way | No documented way |
| GPU | No documented way | No documented way | No documented way |
| Windows | No documented way | No documented way | No documented way |
| Arm64 | Yes | No documented way | No documented way |
| Self-hosting | No documented way | No documented way | No documented way |
| BYOC | Yes | 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 | Not published | Yes |
| Usage per sandbox (API) | Yes | No documented way | Yes |
| Audit logs | Not published | Not published | No documented way |
| SSO | Yes | Yes | No documented way |
| SOC 2 | Yes | Yes | No documented way |
| HIPAA | Not published | No documented way | No documented way |
| EU data residency | No documented way | No documented way | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
On the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, in StarSling's run of 3 October 2026 (run 37073680030, marked partial by StarSling), boat did 28.06 runs a second, second of 15, and Runloop 8.93, 15th of 15. CodeSandbox SDK is not in that run, so we cannot say how its CPUs compare. 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. The test measures CPU work only, not start time or network speed.
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. CodeSandbox SDK 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 | Runloop, a month | CodeSandbox SDK, 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 | $113 · Basic | $193 · Scale | $20 · $20/mo |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $429 · Basic | $341 · Scale | $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 | $5,268 · Basic | $2,500 · Scale | $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,441 · Basic | $815 · Scale · 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,184 · Basic | $1,632 · Scale · with limits | $8,800 · $2000/mo · with limits |
Runloop: Runloop bills per second for allocated CPU ($0.108 per vCPU-hour) and memory ($0.0252 per GB-hour) while a devbox starts, runs, suspends or resumes: $0.63 an hour at 4 vCPU / 8 GB. Its disk bills $0.2499 per GB-month for the devbox's whole life. Basic has no plan fee. Pro adds $250 a month that is not usage credit, and unlocks suspend and resume.
CodeSandbox SDK: You buy VM credits at $0.01486 each, and each size burns a fixed number per hour: 20 for a 4 vCPU / 8 GB VM, about $0.30. Billing is per started minute while the VM runs, including idle time before it hibernates. A hibernated VM costs nothing. Scale adds a $170 monthly platform fee that is not usage credit. These prices are as checked on 28 September 2026, because CodeSandbox's pricing pages blocked our automated check on 8 November 2026.
CodeSandbox SDK: Plans cost $20, $100, $500 or $2,000 a month. The whole plan price comes back as VM time for that month and does not carry over. A sandbox bills per second while it runs, busy or idle: $0.036 an hour at 4 vCPU / 8 GB. A stopped sandbox has no compute charge and keeps its disk for at least 14 days, but saved snapshots above the included count and the AI credentials proxy still charge. The $20 plan includes 12 starts a minute and 200 a day; extra starts cost $0.03 to $0.07 each.
Limits in those scenarios
CodeSandbox SDK's Scale plan allows 250 VMs at once, so the 300-user and 1,000-job scenarios need Enterprise. Each VM has a 20 GB disk, with no published price for more. Runloop publishes no concurrency cap on paid plans and fits both, but its keep-alive timer tops out at 48 hours unless an idle policy replaces it, and its disk tops out at 64 GiB. Neither publishes an egress price. boat's limit that bites is start rate: the $2,000 plan includes 90 starts a minute, charges for more and refuses starts above 270 a minute, so 1,000 jobs at once does not fit there.
| Scenario | Runloop | CodeSandbox SDK | boat |
|---|---|---|---|
| One coding agent, workdays |
|
| 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 Runloop when
you launch large waves of agents or rollouts, need hostname allowlists or arm64, or want devboxes inside your own AWS, GCP or Azure account.
- Lock down the network. Useful if a sandbox must reach only a fixed list of hosts: Runloop allows listed hostnames, with wildcards, or blocks everything.
- Run it in your own cloud. On the Enterprise plan, Runloop can run devboxes inside your own AWS, GCP or Azure account.
- Big waves and arm64. Runloop publishes no concurrency cap on paid plans and offers arm64, so large rollout waves and arm64 builds fit.
Use CodeSandbox SDK when
your sandboxes sleep between visits and should wake on the next HTTP request with their memory intact, and you accept that Together calls this SDK deprecated.
- Memory hibernation and wake on request. Useful for sandboxes that sleep between visits: an HTTP request wakes a hibernated VM with its processes still running.
- Forks that share memory. Good for branching many runs from one warm state, such as rollouts or test variants.
- Bigger machines and SOC 2 on Enterprise. Teams that need up to 64 cores and 128 GB, or a compliance report, can get them through Enterprise sales.
Where boat fits
If your agents do real work for hours, such as installs, builds, Docker, emulators and servers other people reach, look at boat. Each sandbox is a full Linux machine with /dev/kvm, SSH and raw ports on IPv6, with the disk saved every minute on every plan. In StarSling's run of 3 October 2026, boat did 28.06 runs a second and Runloop 8.93.
Emulators and VMs start
Neither Runloop nor CodeSandbox SDK documents nested virtualization, so an Android emulator or a VM inside the sandbox is not a supported path. Docker-in-Docker does not cover them. boat exposes /dev/kvm.
Reach the machine more ways
Runloop reaches a devbox through one HTTPS tunnel and SSH over a TLS proxy. CodeSandbox SDK uses HTTPS hosts and its SDK, and does not document SSH. Neither documents a public IP. boat adds raw ports on public IPv6; its IP changes at each resume.
Agents and desktop installed
boat has seven coding agents installed and a 60 fps desktop with Chrome. Runloop ships agent wrappers and browser and computer use. On CodeSandbox SDK you install the agent and a VNC desktop in your own template.
Use boat when your agents do real work for hours: installs, builds, Docker, emulators and servers other people reach, on a full VM at $0.036 an hour for 4 vCPU / 8 GB, with the disk saved every minute. Compare it one to one: boat vs Runloop and boat vs CodeSandbox SDK.
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 Runloop cheaper than CodeSandbox SDK?
It depends on the shape. One coding agent on workdays costs $113 a month on Runloop and $193 on CodeSandbox SDK. 50 agents in parallel cost $5,268 a month on Runloop and $2,500 on CodeSandbox SDK. On boat those two cost $20 and $317.
Which is faster, Runloop or CodeSandbox SDK?
We cannot say. In StarSling's run of 3 October 2026 (run 37073680030), Runloop did 8.93 runs a second on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB. CodeSandbox SDK is not in that run. boat did 28.06 in the same run, on an AMD Ryzen 9 9950X host.
Can Runloop or CodeSandbox SDK run Docker and Android emulators?
Both run Docker inside the sandbox, Runloop on its Docker-in-Docker blueprints. Neither documents nested virtualization for Android emulators and VMs. boat exposes /dev/kvm for both.
Can I SSH into the sandbox?
Runloop offers SSH through a TLS proxy. CodeSandbox SDK connects through its SDK, with terminals, commands and files, and does not document SSH. Every boat sandbox has SSH as well as an exec and files API.
Which one can sleep and wake up on a request?
Both. CodeSandbox SDK hibernates with a memory snapshot, and an HTTP request wakes it with processes still running. Runloop can suspend an idle devbox and wake it on an HTTP request on the Pro plan. boat's auto-stop runs on a timer, and a resume is like a reboot.
Is CodeSandbox SDK still maintained?
CodeSandbox is now part of Together AI. Together's docs call the CodeSandbox-based SDK deprecated and name together-sandbox as its successor. The last SDK release was 2.4.2 in December 2025. Self-serve sign-up still runs through CodeSandbox.
Try boat
Install the CLI, then run boat new.
7-day free trial