Daytona vs CodeSandbox SDK

Daytona starts each sandbox as a container and sells Linux VM, Windows and GPU classes on top. CodeSandbox SDK gives every sandbox a Firecracker microVM, built from any Dockerfile, that hibernates with its memory and wakes on the next HTTP request. Together AI, which owns CodeSandbox, calls this SDK deprecated and names a successor.

The companies and products

Daytona

Daytona is a cloud for running AI-generated code: you create sandboxes from code through its API and SDKs.

By default a Daytona sandbox is a Linux container with its own namespaces and reserved vCPU, memory and disk. You can also pick a Linux VM class (pause, fork, memory snapshots, /dev/kvm), a Windows VM class, a GPU class with Nvidia and AMD cards, or macOS sandboxes in early access. It is built for teams that run agent code, code interpreters and evals through Python, TypeScript, Ruby, Go or Java SDKs.

Founded
2023

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. “19th cheapest of 365” means 18 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 workloadDaytona: price rankCodeSandbox SDK: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
All three run Docker and keep their disk. Daytona needs its Linux VM class for /dev/kvm, and CodeSandbox SDK does not document it. boat adds /dev/kvm, SSH, a desktop and installed coding agents on every sandbox.
19th cheapest of 365
$4,111 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
31st cheapest of 361
$6,104 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
Short code runs suit both. Daytona creates 300 to 600 sandboxes a minute by tier, and CodeSandbox SDK wakes a hibernated VM on the next request with its memory. boat's start limits make big bursts a compromise.
31st cheapest of 336
$271 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
Neither fits 300 sandboxes at once self-serve: Daytona's Tier 4 pool stops at 500 vCPU and CodeSandbox SDK's Scale plan at 250 VMs. boat fits on two seats of the $100 plan.
153rd of 349, with limits
$2,000 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
CodeSandbox SDK's memory forks let many rollouts branch from one running state, and Daytona's VM classes can fork with memory too. A boat fork copies the disk only, so each copy boots again.
134th of 349, with limits
$8,261 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
Both run eval tasks in fresh sandboxes. CodeSandbox SDK can fork each task from one memory snapshot; Daytona's vCPU pool sets how many run at once. boat starts each task from a saved snapshot within its plan's start limits.
192nd of 359, with limits
$2,000 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
Daytona caps a container or Linux VM sandbox at 4 vCPU by default, while CodeSandbox SDK goes up to 16 cores on Scale. Jobs that need Android emulators need /dev/kvm, which boat has on every sandbox.
309th of 374, with limits
$805 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
200th of 371, with limits
$245 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
Daytona has a VNC desktop and a computer-use API on Linux and Windows. On CodeSandbox SDK you add a VNC desktop to your own Dockerfile and open it as an HTTPS host. boat streams a 60 fps desktop.
29th cheapest of 367
$1,198 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
114th of 356, with limits
$598 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
42nd cheapest of 343
$404 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
203rd of 327, with limits
$8,073 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
18th cheapest of 351
$2,000 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
Daytona fits: it rents Nvidia and AMD GPUs by the hour. CodeSandbox SDK lists no GPU size, and boat has no GPU on any size.
19th cheapest of 102
$1,190 a month
Not ranked: misses a requirementNot ranked: misses a requirement
macOS agents
5 at once · 4 vCPU / 8 GB · 1,000 sessions of 20 min a month
Not ranked: misses a requirementNot ranked: misses a requirementNot ranked: misses a requirement

Key features

FeatureDaytonaCodeSandbox SDKboat
IsolationContainer with its own namespaces by default; Linux VM and Windows VM classes add a hardware virtualization boundaryFirecracker microVM with its own kernel for every sandboxEvery sandbox is a full VM with its own kernel, on hosts dedicated to boat; vCPUs are shared
CPU speed (V8 Web Tooling Benchmark, 4 vCPU / 8 GB, StarSling run of 3 October 2026)21.52 runs/s on the Linux VM class; the default container class has no result in this runNot in this run28.06 runs/s, second of 15, on an AMD Ryzen 9 9950X host; boat and Daytona's VM class share rank 2, so the run cannot separate them
Start time (ComputeSDK, each provider's default size)Container class: 595 ms median with 100 at once (6 November 2026); 300 to 600 creations a minute by tier11.76 s median with 100 at once (6 November 2026); 2.33 s one at a timeNot in ComputeSDK; $20 plan includes 12 starts a minute and 200 a day
Docker and nested virtualizationDocker in all classes; /dev/kvm on Linux VM sandboxes once KVM is turned on for your organizationDocker and root; templates build from any Dockerfile; nested virtualization not documentedDocker, root, systemd and /dev/kvm on every sandbox; you cannot boot your own Docker image
Pause with memoryLinux VM and Windows classes pause and resume with memory kept; containers stop and keep their diskEvery sandbox hibernates with a memory snapshot and resumes with processes running in about 0.5 to 2 sDisk saved every minute and at each stop; resume boots the machine again
ForkLinux VM and Windows classes fork with memory kept; containers: filesystem snapshots that new sandboxes start fromFork 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 disk snapshot
Wake on requestNo; you start a stopped sandbox through the APIYes; an HTTP request to a host wakes a hibernated sandboxNo; you start a stopped sandbox through the API
Biggest machine and disk4 vCPU / 8 GB per container or Linux VM sandbox by default, raisable; GPU sandboxes go higher16 cores / 32 GB on Scale, 64 cores / 128 GB on Enterprise; 20 GB disk, more on request16 vCPU / 32 GB on the $100 plan and above; 51 to 251 GB disk, fixed per size
Desktop and computer useVNC desktop (xfce4), computer-use API with screen recording on Linux and Windows; macOS in early accessNo built-in desktop; a headless Chromium template, and you can add a VNC desktop in your own Dockerfile1920x1080, 60 fps desktop with Chrome, computer tools for agents, embeddable stream
Reaching the sandboxHTTPS preview URLs on ports 1 to 65535, token-protected, signed or public; SSH through tokens; no public IPHTTPS host per port, public by default, signed tokens for private sandboxes; SSH, raw TCP and a public IP not documentedUp to 50 HTTPS URLs, token-gated by default; SSH; public IPv6 with raw ports (raw IPv4 only on sandboxes with their own IPv4)
Keeping keys out of the sandboxSecrets proxy swaps placeholders in HTTPS request headers for allowed hostsSecrets passed in as environment variables; no credentials proxy documentedOptional AI credentials proxy, off by default, $1 a day plus $1 per 1,000 requests; model providers and HTTPS APIs you register
Coding agentsYou set it up: install the agent and run it through process exec; guides cover Claude Code, Codex, OpenCode and othersYou set it up: install your own agent in the template and run it through the commands APISeven harnesses installed (Claude Code, Codex, pi, OpenCode and more), with a prompt, steer and events API
GPUs, Windows and macOSNvidia and AMD GPUs, on-demand or preemptible; Windows VM sandboxes; macOS in early accessLinux CPU sizesNo GPU on any size; Linux only, with Wine for Windows programs
RegionsUS and EU, plus dedicated regions or your own machines (BYOC)A country hint steers scheduling, for example to Europe, but placement is not guaranteedGermany, Finland and France; you cannot pick a region; no US or Asia region
Every feature Battleships tracks (43)
FeatureDaytonaCodeSandbox SDKboat
Full VM (own kernel)No documented wayYesYes
Docker insideYesYesYes
Nested virtualizationYesNo documented wayYes
RootYesYesYes
SystemdNot publishedNot publishedYes
Desktop GUIYesWith your own setupYes
BrowserYesWith your own setupYes
Computer-use APIYesNo documented wayYes
SSHYesNo documented wayYes
Persistent diskYesYesYes
Pause/resumeYesYesYes
Automatic snapshotsYesYesYes
Fork/cloneYesYesYes
Live fork (no pause)No documented wayYesYes
Memory forkYesYesNo documented way
Custom image (Docker or snapshot)YesYesYes
≥24 h sessionsYesYesYes
Idle auto-stopYesYesNo documented way
Wake on requestNo documented wayYesNo documented way
HTTPS preview URLsYesYesYes
Raw TCP inboundNo documented wayNo documented wayYes
Public IPv4No documented wayNo documented wayNo documented way
Egress allowlistYesNo documented wayNo documented way
Secret proxyYesNo documented wayYes
Secret proxy for any APIYesNo documented wayYes
Preinstalled agentsYesNo documented wayYes
Agent harness APINo documented wayNo documented wayYes
MCP serverYesNo documented wayNo documented way
GPUYesNo documented wayNo documented way
WindowsYesNo documented wayNo documented way
Arm64No documented wayNo documented wayNo documented way
Self-hostingNo documented wayNo documented wayNo documented way
BYOCYesNo 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
SSOYesYesNo documented way
SOC 2YesYesNo documented way
HIPAAYesNo documented wayNo documented way
EU data residencyYesNo documented wayNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

Daytona21.52 runs/s
CodeSandbox SDKNot measured
boat28.06 runs/s

In StarSling's run of 3 October 2026 (run 37073680030), the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, median of 5 sandboxes: boat did 28.06 runs per second (second of 15) and Daytona's Linux VM class did 21.52. Both share rank 2, so the run cannot separate them. In the same run's real-repo builds, boat took 135.8 s, 980 s and 428 s for Better-Auth, Mastra and OpenClaw, and Daytona's VM class took 156.6 s, 1,112 s and 571 s. CodeSandbox SDK is not in that run, so we cannot say how its CPU compares. For start time at each provider's default size, ComputeSDK measured Daytona's container class at 595 ms and CodeSandbox SDK at 11.76 s median with 100 at once (6 November 2026); boat is not in ComputeSDK. Every boat sandbox in the StarSling run ran on an AMD Ryzen 9 9950X host; boat also places sandboxes on Ryzen 7 9700X hosts, which this run did not measure. Providers ran on different hardware in different regions.

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. Daytona measured on: Linux VM sandbox (same rates; KVM / nested virt per-org feature). 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.

ScenarioDaytona, 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
$56 · Tier 3 ($500 top-up)$193 · Scale$20 · $20/mo
One agent that never stops
4 vCPU / 8 GB, 50 GB disk, running 24/7 all month
$245 · Tier 3 ($500 top-up)$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
$2,682 · Tier 3 ($500 top-up)$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
$2,000 · Tier 4 ($2,000 top-up every 30 days) · with limits$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
$2,000 · Tier 4 ($2,000 top-up every 30 days) · with limits$1,632 · Scale · with limits$8,800 · $2000/mo · with limits

Daytona: Daytona bills per second for the vCPU, memory and disk you reserve, including while a sandbox starts or stops, and keeps billing the disk while it is stopped. The first 5 GiB of disk are free, and new accounts get $200 of free compute. You pay from a prepaid wallet with no plan fee: open internet needs a $500 top-up (Tier 3), and the biggest pool needs $2,000 every 30 days (Tier 4).

CodeSandbox SDK: CodeSandbox SDK sells 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, and a hibernated VM costs nothing. The Scale plan adds a $170 monthly platform fee that is not usage credit. Prices as checked on 28 September 2026.

CodeSandbox SDK: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month. A 4 vCPU / 8 GB sandbox costs $0.036 an hour, billed per second, busy or idle. A stopped sandbox has no compute charge, but saved snapshots above the included count and the AI credentials proxy still charge. The $20 plan includes 200 starts a day; extra starts cost $0.03 to $0.07.

Limits in those scenarios

Daytona limits the total vCPU running at once, up to 500 vCPU on Tier 4, caps a container or Linux VM sandbox at 4 vCPU / 8 GB by default, and opens the internet from Tier 3. CodeSandbox SDK's Scale plan allows 250 VMs at once and 1,000 new sandboxes an hour, gives each a 20 GB disk, and does not publish the price of more disk. So 300 sandboxes for your users and 1,000 short jobs at once fit neither without custom limits. boat fits the 300 user sandboxes at $200 a month. boat never queues a start: for 1,000 short jobs at once, its $2,000 plan charges for starts above 90 a minute and refuses them above 270. Auto-stop defaults to 1 hour, and a stopped disk is kept at least 14 days.

ScenarioDaytonaCodeSandbox SDKboat
One coding agent, workdays
  • egress price not published
  • Tier 1 (email verified), Tier 2 (card + $25 top-up) reach only an allowlist (package registries, git, AI APIs)
  • disk beyond 20 GiB: price unknown
  • egress price not published
None for this scenario
One agent that never stops
  • egress price not published
  • Tier 1 (email verified), Tier 2 (card + $25 top-up) reach only an allowlist (package registries, git, AI APIs)
  • disk beyond 20 GiB: price unknown
  • egress price not published
None for this scenario
50 agents in parallel
  • egress price not published
  • Tier 1 (email verified), Tier 2 (card + $25 top-up) reach only an allowlist (package registries, git, AI APIs)
  • egress price not published
None for this scenario
Sandboxes for your users
  • max 500 vCPU running at once (needs 600)
  • max 1,000 GiB running at once (needs 1,200)
  • egress price not published
  • Tier 1 (email verified), Tier 2 (card + $25 top-up) reach only an allowlist (package registries, git, AI APIs)
  • Scale: max 250 concurrent
  • egress price not published
None for this scenario
1,000 short jobs at once
  • max 500 vCPU running at once (needs 2,000)
  • max 1,000 GiB running at once (needs 4,000)
  • egress price not published
  • Tier 1 (email verified), Tier 2 (card + $25 top-up) reach only an allowlist (package registries, git, AI APIs)
  • 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 Daytona when

your agents need GPUs, Windows or a ready desktop, many fast starts, or must run in the US or on your own machines.

  • GPUs by the hour. If your agents train or test models, Daytona rents Nvidia and AMD GPUs by the hour.
  • Windows and a ready desktop. If your agents need a Windows machine or a desktop to click through, Daytona has Windows VMs and a computer-use API.
  • Fast starts, US regions and your own machines. Daytona creates 300 to 600 sandboxes a minute by tier, and offers US and EU regions, dedicated regions and machines you bring.

Use CodeSandbox SDK when

your sandboxes sleep between visits and should wake on the next HTTP request with their memory intact, from your own Dockerfile, and you accept that Together calls this SDK deprecated.

  • Hibernate and wake on request. For previews used in short bursts, a hibernated VM wakes on the next HTTP request with its processes still running.
  • Memory forks on every sandbox. For branching many runs from one warm state, every CodeSandbox SDK sandbox can fork with its memory, not only a VM class.
  • Bigger machines and your own Dockerfile. Scale allows up to 16 cores and 32 GB per VM, and every template builds from any Dockerfile.

Where boat fits

If your agents run for hours doing installs, builds, tests, Docker and emulators, look at boat. Every boat sandbox is a full VM with /dev/kvm, SSH, a desktop and coding agents built in. A stopped sandbox has no compute charge and keeps its disk at least 14 days. Pick Daytona for GPUs and fast starts, and CodeSandbox SDK for memory hibernation.

A full VM with /dev/kvm and SSH

Daytona's default sandbox is a container with its own namespaces; you get /dev/kvm on its VM class once KVM is turned on for your organization. CodeSandbox SDK documents neither nested virtualization nor SSH, so emulator builds are not a documented path there.

A desktop with no setup

Daytona has a VNC desktop. On CodeSandbox SDK you add a VNC desktop to your own Dockerfile. boat streams a 1920x1080, 60 fps desktop with Chrome in every sandbox, which you can embed in your app.

Agents and keys already set up

On Daytona and CodeSandbox SDK you install the agent and write the code that starts, prompts and watches it. CodeSandbox SDK passes keys as environment variables. boat drives seven harnesses through one API, and its optional paid proxy keeps real keys of supported providers outside.

Use boat when your agents do real work for hours: installs, builds, Docker and emulators on a full VM with SSH, a desktop and coding agents built in. Compare it one to one: boat vs Daytona 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 Daytona cheaper than CodeSandbox SDK?

For one agent, yes: one coding agent on workdays comes to $56 a month on Daytona and $193 on CodeSandbox SDK, and one agent all month to $245 against $341. For 50 agents in parallel CodeSandbox SDK costs a bit less, $2,500 against $2,682. boat comes to $20, $26 and $317 for the same three.

Which is faster, Daytona or CodeSandbox SDK?

For CPU work we cannot say: CodeSandbox SDK is not in StarSling's run of 3 October 2026. For start time, ComputeSDK measured Daytona's container class at 595 ms and CodeSandbox SDK at 11.76 s median with 100 at once (6 November 2026). In the StarSling run Daytona's VM class did 21.52 runs per second and boat 28.06, in the same rank.

Can Daytona and CodeSandbox SDK run Docker?

Both run Docker inside the sandbox. Daytona also gives /dev/kvm on its Linux VM class once KVM is turned on for your organization; CodeSandbox SDK does not document nested virtualization. boat has Docker and /dev/kvm on every sandbox.

Which one pauses a sandbox with its memory?

Both can. Every CodeSandbox SDK sandbox hibernates with a memory snapshot and can wake on an HTTP request, while on Daytona the Linux VM and Windows classes pause with memory. boat saves the disk and boots again on resume.

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 is 2.4.2 (December 2025), and self-serve sign-up still runs through CodeSandbox.

Does either have GPUs or Windows?

Daytona does: it rents Nvidia and AMD GPUs by the hour and runs Windows VM sandboxes. CodeSandbox SDK and boat run Linux on CPU only; boat runs Windows programs through Wine.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons