Blaxel vs CodeSandbox SDK

Both run each sandbox as a Firecracker microVM that sleeps with its memory and wakes with its processes still running. Blaxel wakes in under 25 ms and adds network rules on the provider side. CodeSandbox SDK gives each VM a 20 GB disk, builds from any Dockerfile, wakes on an HTTP request, and lets you fork a running sandbox that shares its memory.

The companies and products

Blaxel

Blaxel is a San Francisco company that runs cloud infrastructure for AI agents. Since September 2026 it is part of Baseten.

You get sandboxes, batch jobs, MCP server hosting and a model gateway. Each sandbox is a Firecracker microVM with its own kernel. It goes to standby when nothing is connected and resumes in under 25 ms with its memory and running processes. It is built for agent products that start many sandboxes and keep them asleep most of the time.

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. “15th cheapest of 365” means 14 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 workloadBlaxel: price rankCodeSandbox SDK: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
Both fit with Docker in a microVM. boat adds built-in SSH, /dev/kvm for Android emulators and a 51 GB disk on the default size.
15th cheapest of 365
$2,373 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
17th cheapest of 361
$2,832 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 that sleep between calls. Blaxel bills only while a connection is open and wakes in under 25 ms; CodeSandbox SDK bills per started minute until it hibernates.
18th cheapest of 336
$144 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 users at once on a self-serve plan: Blaxel stops at 200 and CodeSandbox SDK's Scale plan at 250. boat allows 300 at once from its $100 plan.
105th of 349, with limits
$926 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
82nd of 349, with limits
$4,378 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
CodeSandbox SDK fits agent evals, while Blaxel's self-serve tiers cap how many run at once at 200. boat starts a fresh VM per task from a saved snapshot, within its start limits.
140th of 359, with limits
$704 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
55th cheapest of 374
$431 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
Neither has built-in SSH: Blaxel documents SSH through Tailscale, and CodeSandbox SDK connects through its SDK. boat is a plain machine with built-in SSH.
125th cheapest of 371
$114 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
Blaxel has a desktop image with VNC. On CodeSandbox SDK you add a VNC desktop to your own template. boat streams a built-in 60 fps desktop with Chrome.
17th cheapest of 367
$634 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
Blaxel's desktop image includes a browser. CodeSandbox SDK has an official headless Chromium template. boat has Chrome on a built-in desktop.
16th cheapest of 356
$317 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
19th cheapest of 343
$215 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
143rd of 327, with limits
$4,292 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
Blaxel adds domain-level egress rules on the provider side (public preview). CodeSandbox SDK documents no egress rules. boat gives root and you filter with nftables.
5th cheapest of 351
$217 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

FeatureBlaxelCodeSandbox SDKboat
IsolationFirecracker microVM with its own kernelFirecracker microVM with its own kernelFull VM with its own kernel, on hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared
Sleep and wakeStandby about 5 to 15 seconds after the last connection; wakes in under 25 ms with memory and processesHibernates with a memory snapshot after an idle timeout (up to one day); resumes with processes running in about 0.5 to 2 s; an HTTP request can wake itAuto-stop timer (default 1 hour), not idle detection; resume boots the VM again
ForkFork with memory and running processes (private preview)Fork a hibernated sandbox from its snapshot, or a running one sharing its memoryFork a running sandbox from its last 1-minute snapshot (disk only)
DiskWritable files live in RAM (about half of it) and are kept in standby; one block volume at creation, or Agent Drive (private preview)20 GB disk per VM; more on request, price not published51 GB to 251 GB, fixed per size, saved every minute and at each stop; kept at least 14 days while stopped
Nested virtualizationNot documented; upstream Firecracker does not give guests /dev/kvmNot documentedYes: /dev/kvm, so Android emulators and VMs run inside
Shell accessRoot and a terminal through bl connect; SSH through Tailscale (documented tutorial)Terminals, commands and files through the SDK; SSH is not documentedBuilt-in SSH, root and systemd, plus exec and files over the API
Docker and imagesDocker with a Docker-in-sandbox image; custom images from Docker imagesDocker and root; templates build from any DockerfileDocker with systemd and root; start from boat's image or a saved snapshot, not your own Docker image
Inbound trafficPreview URL per port, public or token-protected; no public inbound IPHTTPS host per port, public by default, signed tokens for private sandboxes; raw TCP not documentedSSH, up to 50 HTTPS URLs per sandbox (token-gated by default), raw ports over public IPv6
Outbound rulesDomain allow and deny lists with method and path rules (public preview), dedicated egress IPs (free during beta)No egress allowlist or static egress IP documentedOpen internet; filter inside the VM with nftables
Keeping API keys outProxy fills secrets into outbound HTTPS requests to any host (public preview)Secrets passed in as environment variables; no credentials proxy documentedOptional AI credentials proxy ($1 a day plus $1 per 1,000 requests); keys of supported model providers stay outside, other secrets still enter the sandbox
Desktop and browserDesktop image with VNC and a browserHeadless Chromium template; you can install a VNC desktop in your own DockerfileBuilt-in Linux desktop and Chrome streamed at 1920x1080, 60 fps, with computer-use tools
Coding agentsClaude Code and Codex images you drive from their terminal or your own harnessYou install your own agent in the template and run it through the commands APISeven harnesses installed, including Claude Code and Codex, driven by a prompt, steer and events API
Sandboxes at once (self-serve)10, 50 or 200 by tier, standby sandboxes included10 on Build and Pro, 250 on Scale100 to 2,000 by plan, with a limit on starts per minute
RegionsUS (Oregon, North Virginia), London, FrankfurtA 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)
FeatureBlaxelCodeSandbox SDKboat
Full VM (own kernel)YesYesYes
Docker insideYesYesYes
Nested virtualizationNo documented wayNo documented wayYes
RootYesYesYes
SystemdNo documented wayNot publishedYes
Desktop GUIYesWith your own setupYes
BrowserYesWith your own setupYes
Computer-use APIYesNo documented wayYes
SSHWith your own setupNo 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 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
GPUNo documented wayNo documented wayNo documented way
WindowsNo documented wayNo 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 limitsNo documented wayNot publishedYes
Usage per sandbox (API)YesNo documented wayYes
Audit logsNot publishedNot publishedNo documented way
SSOYesYesNo documented way
SOC 2YesYesNo documented way
HIPAAYesNo documented wayNo documented way
EU data residencyYesNo documented wayNo documented way
Zero data retentionYesNot publishedYes

Performance

Blaxel18.03 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 and 8 GB, Blaxel did 18.03 runs per second (rank 7 of 15, shared) and boat 28.06 (second of 15). Every boat sandbox in that run ran on an AMD Ryzen 9 9950X host; boat also places sandboxes on other hosts. CodeSandbox SDK is not in that run, so we cannot say how it compares at CPU work. For start time, ComputeSDK measured Blaxel at 364 ms and CodeSandbox SDK at 11.76 s median with 100 at once (6 November 2026), each at its default size. 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. Blaxel measured on: Sandbox (active time, RAM-only pricing, CPU bundled). 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.

ScenarioBlaxel, 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
$33 · Pay-as-you-go Tier 1$193 · Scale$20 · $20/mo
One agent that never stops
4 vCPU / 8 GB, 50 GB disk, running 24/7 all month
$120 · Pay-as-you-go Tier 1$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,489 · Pay-as-you-go Tier 1$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
$396 · Pay-as-you-go Tier 2 · 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
$876 · Pay-as-you-go Tier 2 · with limits$1,632 · Scale · with limits$8,800 · $2000/mo · with limits

Blaxel: Blaxel charges $0.0000115 per GB of allocated RAM per active second, with CPU included: 8 GB comes with 4 cores, about $0.33 an hour. Active means a connection is open. In standby you pay only snapshot storage ($0.20 per GB-month). Self-serve tiers unlock as you top up your wallet.

CodeSandbox SDK: CodeSandbox SDK sells 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. 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. The whole plan price comes back as VM time for that month, and it does not carry over. A default sandbox costs $0.036 an hour, billed per second while it runs, 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

Blaxel's self-serve tiers allow 10, 50 or 200 sandboxes at once, counting those in standby, and CodeSandbox SDK's Scale plan allows 250, so neither fits 300 users or 1,000 short jobs at once without a sales plan. Blaxel's Tier 0 and Tier 1 delete sandboxes after up to 7 or 30 days. CodeSandbox SDK gives each VM 20 GB of disk and publishes no price for more disk or for egress; Together's docs call this SDK deprecated. boat allows 300 at once from its $100 plan, but at 1,000 jobs at once its $2,000 plan charges for starts above 90 a minute and refuses them above 270.

ScenarioBlaxelCodeSandbox SDKboat
One coding agent, workdaysNone for this scenario
  • disk beyond 20 GiB: price unknown
  • egress price not published
None for this scenario
One agent that never stopsNone for this scenario
  • disk beyond 20 GiB: price unknown
  • egress price not published
None for this scenario
50 agents in parallelNone for this scenario
  • egress price not published
None for this scenario
Sandboxes for your users
  • Pay-as-you-go Tier 2: max 200 concurrent
  • Scale: max 250 concurrent
  • egress price not published
None for this scenario
1,000 short jobs at once
  • Pay-as-you-go Tier 2: max 200 concurrent
  • 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 Blaxel when

your sandboxes sit idle most of the time and must wake in milliseconds, when you need domain-level egress rules or dedicated egress IPs, or when they must run in the US.

  • Wakes in milliseconds. For sandboxes that sit idle most of the time: one sleeps seconds after the last connection and wakes in under 25 ms.
  • Network rules on the provider side. For teams that must fence agents in: allow or deny domains, down to methods and paths (public preview), with dedicated egress IPs.
  • US and Europe regions. For products with users in the US: Blaxel runs in Oregon and North Virginia as well as London and Frankfurt.

Use CodeSandbox SDK when

you want to fork many runs from one warm, running state, wake sandboxes on HTTP requests, or build from your own Dockerfile, and you accept that Together calls this SDK deprecated.

  • Forks that share memory. For branching many runs from one warm state: fork a running sandbox while it shares memory with its parent.
  • A disk in every VM. For repos and dependencies that outgrow memory: each VM gets a 20 GB disk instead of files held in RAM.
  • Wake on request and big machines on Enterprise. An HTTP request wakes a hibernated VM. Scale goes to 16 cores and 32 GB, and Enterprise to 64 cores and 128 GB.

Where boat fits

Blaxel and CodeSandbox SDK are both built around sandboxes that sleep with their memory and wake fast. If your agents instead work for hours on builds, tests, Docker and emulators, boat gives each one a whole Linux machine with a disk, SSH, a desktop and agents installed.

A whole Linux machine

Neither Blaxel nor CodeSandbox SDK documents /dev/kvm, so Android emulators and nested VMs are not a supported path. Neither has built-in SSH: Blaxel documents it through Tailscale, and CodeSandbox SDK connects through its SDK.

A bigger disk

Blaxel keeps writable files in RAM unless you attach a volume. CodeSandbox SDK gives 20 GB with no published price for more. A default boat sandbox has 51 GB, saved every minute and at each stop. boat does not keep memory, so a resume is like a reboot.

Agents and a desktop installed

On both you connect the agent harness yourself. boat installs Claude Code, Codex and more with a prompt and steer API, and streams a 60 fps desktop. boat runs only in Germany, Finland and France.

Use boat when your agents do real work for hours: builds, tests, Docker and emulators on a whole Linux machine with SSH, a disk saved every minute, and agents installed. boat does not keep memory across a stop. Compare it one to one: boat vs Blaxel 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 Blaxel cheaper than CodeSandbox SDK?

In all five scenarios we priced, yes. One coding agent on workdays costs $33 a month on Blaxel and $193 on CodeSandbox SDK, and 50 agents in parallel cost $1,489 against $2,500. boat comes to $20 and $317 for the same two.

Which is faster, Blaxel or CodeSandbox SDK?

For CPU work we cannot say: CodeSandbox SDK is not in StarSling's run of 3 October 2026, where Blaxel did 18.03 runs per second and boat 28.06. For start time, ComputeSDK measured Blaxel at 364 ms and CodeSandbox SDK at 11.76 s median with 100 at once (6 November 2026).

Can Blaxel and CodeSandbox SDK run Docker?

Yes. Blaxel runs Docker with its Docker-in-sandbox image, and CodeSandbox SDK builds sandboxes from any Dockerfile and runs Docker inside. An Android emulator needs /dev/kvm, which neither documents, while boat exposes it in every sandbox.

Can I SSH into Blaxel or CodeSandbox SDK?

Neither has built-in SSH. Blaxel gives a terminal through bl connect and documents SSH through Tailscale. CodeSandbox SDK gives terminals, commands and files through its SDK. Every boat sandbox has an SSH server as well as an exec and files API.

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. Self-serve sign-up still runs through CodeSandbox.

What happened to Blaxel after Baseten?

Blaxel joined Baseten on September 10, 2026. Baseten says the product and the support team stay the same and features keep shipping.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons