Morph Cloud vs CodeSandbox SDK

Both give each sandbox its own kernel and can save a running machine with its memory. Morph Cloud sells full VMs that branch into many copies and wake on demand. CodeSandbox SDK sells Firecracker microVMs, built from any Dockerfile, that hibernate by themselves when idle and wake on the next HTTP request.

The companies and products

Morph Cloud

Morph Cloud sells full virtual machines for AI agents that can be snapshotted, branched and restored with their memory, which it calls Infinibranch.

You get MorphVM instances as low-level building blocks and Devboxes as ready workspaces on top of them, with SSH, preview URLs and a tmux API for running coding agents you install yourself. Everything is billed in MCUs, where one MCU is 1 vCPU, 4 GB of RAM or 16 GB of disk for an hour. It is built for teams that fan agents out from one saved state. It also sells managed GitHub Actions runners and a shared filesystem.

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. “20th cheapest of 336” means 19 of the other 335 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 workloadMorph Cloud: price rankCodeSandbox SDK: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
boat ranks 8th, CodeSandbox SDK 21st and Morph 134th. All three run Docker and full builds. On Morph and CodeSandbox SDK you install and drive the coding agent yourself.
215th of 365, with limits
$2,288 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
boat ranks 5th, CodeSandbox SDK 28th and Morph 160th. On boat, turn auto-stop off (default 1 h) on a paid plan for an agent that runs all month.
272nd of 361, with limits
$3,014 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
Both suit short code runs on machines that sleep with their memory: Morph ranks 16th and CodeSandbox SDK 44th. boat ranks 130th, because each run counts against its plan's start limits.
20th cheapest of 336
$154 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 Morph 17th. CodeSandbox SDK ranks 91st as a compromise, because its Scale plan caps at 250 VMs at once. boat gives each user HTTPS on up to 50 ports.
21st cheapest of 349
$905 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
All three are compromises: boat ranks 29th, Morph 61st and CodeSandbox SDK 205th. Morph and CodeSandbox SDK can both branch rollouts from one running state with its memory.
92nd of 349, with limits
$4,847 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
51st cheapest of 359
$675 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, Morph 29th and CodeSandbox SDK 70th. Morph also sells managed GitHub Actions runners. Only boat documents /dev/kvm for emulator builds.
37th cheapest of 374
$355 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, Morph 58th and CodeSandbox SDK 188th as a compromise. Morph and boat have SSH; CodeSandbox SDK connects through its SDK.
86th cheapest of 371
$116 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
boat ranks 8th with a 60 fps desktop. CodeSandbox SDK (33rd) lets you add a VNC desktop to your own template. On Morph (132nd) you install the browser and agent on its remote desktop.
219th of 367, with limits
$595 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
boat ranks 6th with Chrome ready. CodeSandbox SDK (83rd) offers a headless Chromium template, and on Morph (159th) you run headless Chrome yourself.
267th of 356, with limits
$250 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
286th of 343, with limits
$234 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
152nd of 327, with limits
$4,750 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
245th of 351, with limits
$228 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 requirementNot 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

FeatureMorph CloudCodeSandbox SDKboat
IsolationFull VM with its own kernelFirecracker microVM with its own kernelFull VM with its own kernel on hosts dedicated to boat; vCPUs are shared
Root, Docker and imageYes, including Docker in Docker and local KubernetesDocker and root; templates build from any DockerfileRoot, Docker and systemd; start from boat's image or a saved snapshot, not your own Docker image
Nested virtualizationExperimentalNot documentedYes, /dev/kvm for Android emulators and VMs
Pause with memoryPause keeps every process and memory; a paused VM bills only its snapshotHibernates with a memory snapshot at no cost and resumes in about 0.5 to 2 s; after a period of inactivity the snapshot is archived and resume takes longerNo; disk saved every minute and at each stop, and a resume is like a reboot
Fork a running machineBranch with its memory into as many copies as you ask for, in under 250 msFork a hibernated sandbox from its memory snapshot, or a running one that shares memory with its parentFork a running sandbox from its last 1-minute snapshot, without memory
Sleep and wakeA time to live you set can pause it; it wakes on the next HTTP request, SSH or exec callHibernates by itself after an idle timeout (30 minutes by default, up to one day); an HTTP request to a host wakes itAuto-stop timer from creation or resume (default 1 h); a stopped sandbox has no compute charge and is started by API
DiskSized as you choose; each 16 GiB counts as one MCU20 GB on every size; more on request, price not published51 to 251 GB, fixed per size
Shell accessSSH through Morph's gateway, plus an exec APITerminals, commands and files through the SDK; SSH not documentedSSH, plus exec and files over the API
Inbound accessNamed HTTP services with optional API key auth; SSH port forwarding; no public raw TCPHTTPS host per port, public by default, signed tokens for private sandboxes; raw TCP not documentedHTTPS URLs for up to 50 ports, token-gated by default; raw ports over IPv6 on sandboxes without their own IPv4
Desktop and browserBrowser-based remote desktop; you install the browser and any computer use agentNo built-in desktop; a headless Chromium template, and you can add a VNC desktop to your own Dockerfile1920x1080, 60 fps Linux desktop with Chrome and computer tools
Coding agentsYou install the agent and drive it through a tmux API that sends keys and reads the screenYou install your own agent in the template and run it through the commands APISeven harnesses preinstalled, with a prompt, steer and events API
Keeping API keys out of the sandboxNo documented key proxy; API keys are set inside the VMSecrets passed in as environment variables; no credentials proxy documentedOptional paid AI credentials proxy ($1 a day + $1 per 1,000 requests); other secrets still enter the sandbox
Guest systemsLinux, with experimental Windows and macOS (x86)LinuxLinux; Windows programs through Wine
Machines at onceUp to 64 vCPU and 8 Devboxes on Free, 256 vCPU on Team, 1,024 on Scale10 VMs on Build, 250 on Scale, more on Enterprise100 at once on $20, up to 2,000 on $2,000; starts capped per minute, hour and day
RegionsNot publishedA country hint steers scheduling, for example to Europe, but placement is not guaranteedGermany, Finland and France; no region choice; snapshot copies can be stored outside the EU
Every feature Battleships tracks (43)
FeatureMorph CloudCodeSandbox SDKboat
Full VM (own kernel)YesYesYes
Docker insideYesYesYes
Nested virtualizationYesNo documented wayYes
RootYesYesYes
SystemdYesNot publishedYes
Desktop GUIYesWith your own setupYes
BrowserNo documented wayWith your own setupYes
Computer-use APINo documented wayNo documented wayYes
SSHYesNo documented wayYes
Persistent diskYesYesYes
Pause/resumeYesYesYes
Automatic snapshotsYesYesYes
Fork/cloneYesYesYes
Live fork (no pause)YesYesYes
Memory forkYesYesNo documented way
Custom image (Docker or snapshot)YesYesYes
≥24 h sessionsYesYesYes
Idle auto-stopYesYesNo documented way
Wake on requestYesYesNo documented way
HTTPS preview URLsYesYesYes
Raw TCP inboundNo documented wayNo documented wayYes
Public IPv4No documented wayNo documented wayNo documented way
Egress allowlistNo documented wayNo documented wayNo documented way
Secret proxyNo documented wayNo documented wayYes
Secret proxy for any APINo documented wayNo documented wayYes
Preinstalled agentsNo documented wayNo documented wayYes
Agent harness APIYesNo documented wayYes
MCP serverNo documented wayNo documented wayNo documented way
GPUNo documented wayNo documented wayNo documented way
WindowsYesNo documented wayNo documented way
Arm64No documented wayNo documented wayNo documented way
Self-hostingNo documented wayNo documented wayNo documented way
BYOCNo documented wayNo documented wayNo documented way
Open sourceNo documented wayNo documented wayNo documented way
Scoped API keysYesNot publishedYes
Spend limitsNot publishedNot publishedYes
Usage per sandbox (API)YesNo documented wayYes
Audit logsYesNot publishedNo documented way
SSONot publishedYesNo documented way
SOC 2Not publishedYesNo documented way
HIPAANot publishedNo documented wayNo documented way
EU data residencyNot publishedNo documented wayNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

Morph CloudNot measured
CodeSandbox SDKNot measured
boat28.06 runs/s

Morph Cloud and CodeSandbox SDK are not in StarSling's CPU run, so we cannot say which is faster. In StarSling's run of 3 October 2026 (run 37073680030), boat did 28.06 runs/s on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, second of 15, on an AMD Ryzen 9 9950X host. boat also places some sandboxes on AMD Ryzen 7 9700X hosts, which this run did not measure. For start time, ComputeSDK measured CodeSandbox SDK at 11.76 s median with 100 at once (6 November 2026). Morph says it restores a snapshot in under 250 ms. boat is not in ComputeSDK.

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. Morph Cloud and CodeSandbox SDK 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.

ScenarioMorph Cloud, a monthCodeSandbox SDK, 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
$32 · Developer$193 · Scale$20 · $20/mo
One agent that never stops
4 vCPU / 8 GB, 50 GB disk, running 24/7 all month
$121 · Team$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
$1,459 · Scale$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
$325 · Scale$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
$869 · Scale$1,632 · Scale · with limits$8,800 · $2000/mo · with limits

Morph Cloud: Morph bills MCUs at $0.05 each: per hour, a machine uses the largest of its vCPUs, its RAM in 4 GiB steps or its disk in 16 GiB steps. The Free plan costs $0 and includes no MCUs. Team ($40 a month) and Scale ($250 a month) are prepaid MCU bundles at a discount. A paused VM bills only its snapshot storage.

CodeSandbox SDK: You buy VM credits at $0.01486 each, and a 4 vCPU / 8 GB VM burns 20 an hour, 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.

Limits in those scenarios

CodeSandbox SDK's Scale plan allows 250 VMs at once, so the user-sandboxes scenario (300 at once) and the 1,000-job scenario need Enterprise. Morph Scale fits both: $325 and $869 a month. Each CodeSandbox VM has a 20 GB disk, and the price for more is not published. Morph prices each machine by its largest resource, so more than 16 GiB of disk per vCPU raises the bill. Neither publishes egress prices. boat does not fit the 1,000-job scenario: it charges for starts above 90 a minute and refuses starts above 270. A running boat sandbox bills at full rate, busy or idle. A stopped one has no compute charge, but extra saved snapshots and the optional AI credentials proxy still charge.

ScenarioMorph CloudCodeSandbox SDKboat
One coding agent, workdays
  • disk beyond 16 GiB: price unknown
  • egress price not published
  • disk beyond 20 GiB: price unknown
  • egress price not published
None for this scenario
One agent that never stops
  • disk beyond 16 GiB: price unknown
  • egress price not published
  • disk beyond 20 GiB: price unknown
  • egress price not published
None for this scenario
50 agents in parallel
  • disk beyond 16 GiB: price unknown
  • egress price not published
  • egress price not published
None for this scenario
Sandboxes for your users
  • egress price not published
  • Scale: max 250 concurrent
  • egress price not published
None for this scenario
1,000 short jobs at once
  • egress price not published
  • Scale: max 250 concurrent
  • egress price not published
  • 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 Morph Cloud when

your agents branch from one running state with its memory, need experimental Windows or macOS guests, or you want managed CI runners on the same bill.

  • Memory branching in under 250 ms. For agents that fan out from one running state: Morph copies a live VM with its memory into many branches at once.
  • Windows and macOS guests. Morph lists experimental Windows and macOS (x86) guests for agents that must test software on those systems.
  • Managed CI runners and a shared filesystem. Morph also sells GitHub Actions runners from the same MCU balance, and a filesystem many machines can mount at once.

Use CodeSandbox SDK when

previews or code runs should sleep on their own and wake with their memory on the next HTTP request. It also fits when you start from your own Dockerfile. Together calls this SDK deprecated.

  • Hibernates by itself, wakes on a request. For previews and code runs used in bursts: an idle sandbox sleeps with its memory and the next HTTP request wakes it.
  • Built from any Dockerfile. Teams with an existing Dockerfile can turn it into a sandbox template without building a separate VM image.
  • 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

Morph Cloud and CodeSandbox SDK are both strongest at saving a machine with its memory and waking it fast. boat fits agents that work for hours, installing, building and browsing. It gives them a full VM with the coding agents and a desktop set up, and saves the disk every minute.

Coding agents you drive from outside

On Morph you drive the agent by keystrokes through tmux. On CodeSandbox SDK you wire it through the commands API. boat ships seven agents with a prompt, steer and events API.

A desktop and a browser, ready to use

On Morph you install the browser and computer-use tools on its remote desktop. On CodeSandbox SDK you add a VNC desktop to your own template. boat streams a 60 fps desktop with Chrome in every sandbox.

/dev/kvm and SSH on every sandbox

Morph lists nested virtualization as experimental, and CodeSandbox SDK documents neither nested virtualization nor SSH. boat exposes /dev/kvm and SSH on every sandbox, so Android emulators and remote editors work.

Use boat when your agents do real work for hours: coding agents you prompt and steer by API, a desktop with Chrome, /dev/kvm, SSH and hosting on many ports. Check your plan's start limits first. Compare it one to one: boat vs Morph Cloud 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 Morph Cloud cheaper than CodeSandbox SDK?

In all five scenarios on this page, yes. One coding agent on workdays costs $32 a month on Morph against $193 on CodeSandbox SDK, and 50 agents in parallel cost $1,459 against $2,500. On boat these cost $20 and $317. boat costs less than both in four scenarios and does not fit the 1,000-job burst.

Which is faster, Morph Cloud or CodeSandbox SDK?

Neither is in StarSling's CPU run, so we cannot say. Morph says it restores a snapshot in under 250 ms, and ComputeSDK measured a CodeSandbox SDK start at 11.76 s median with 100 at once. Both are start times, not CPU scores.

Can Morph Cloud and CodeSandbox SDK run Docker?

Yes, both run Docker with root inside the sandbox, and CodeSandbox SDK builds sandboxes from any Dockerfile. Morph lists nested virtualization as experimental and CodeSandbox SDK does not document it. boat exposes /dev/kvm for Android emulators and VMs.

Can I SSH into each?

Morph Cloud gives SSH through its gateway. CodeSandbox SDK connects through its SDK, Node and browser clients, with terminals, commands and files; SSH is not documented. Every boat sandbox has SSH as well as an exec and files API.

Is CodeSandbox SDK still maintained?

CodeSandbox is now part of Together AI. Together's docs call this 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.

Do both keep a sandbox's memory when it sleeps?

Yes. Morph pauses a VM with its memory and bills only the snapshot. CodeSandbox SDK hibernates with a memory snapshot at no cost and archives it after a period of inactivity. boat keeps the disk, not the memory, so a resume is like a reboot.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons