Tensorlake vs CodeSandbox SDK
Both run each sandbox in a Firecracker microVM that can save its memory and resume warm. Tensorlake is built for running many at once, with /dev/kvm, a desktop image, GPUs by request and your own cloud. CodeSandbox SDK is strongest at VMs that hibernate with no compute charge and wake on the next HTTP request, built from any Dockerfile; Together now calls it its deprecated SDK.
The companies and products
Tensorlake
Tensorlake is a San Francisco company that sells infrastructure for AI agents, with sandboxes as its main product.
Tensorlake Sandboxes are Firecracker microVMs that you create through an API and that boot in a few hundred milliseconds. CPU sandboxes have /dev/kvm, can resize CPU and memory while they run, and can suspend with their memory and running processes. You can copy a running sandbox into several warm clones. Around them Tensorlake sells pre-warmed pools, versioned Cloud Volumes, hosted Git and a bring-your-own-cloud option, aimed at teams running coding agents, evals and RL rollouts.
- Headquarters
- San Francisco
- Investors shown
- Redpoint and Amplify Partners
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. “8th cheapest of 365” means 7 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 | Tensorlake: 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 All three fit a software factory in our table: boat ranks 5th, Tensorlake 8th and CodeSandbox SDK 32nd of 365. Tensorlake and boat expose /dev/kvm for emulators; boat adds coding agents built in. | 8th cheapest of 365 $1,315 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 | 14th cheapest of 361 $1,730 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 fit short code runs well, since both keep memory and bill only while running. boat's start limits make big bursts a compromise. | 29th cheapest of 336 $250 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 Tensorlake allows 1,000 sandboxes at once on Pro, while CodeSandbox SDK's Scale plan stops at 250. boat ranks 3rd and Tensorlake 13th in our table; boat gives each user HTTPS URLs, SSH and raw ports on IPv6. | 13th cheapest of 349 $561 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 Tensorlake ranks 2nd of 349 in our table, built for rollouts a thousand at a time. CodeSandbox SDK's memory forks branch from one live state, but Scale caps at 250 VMs. boat's start limits make large bursts a compromise. | 2nd cheapest of 349 $5,637 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 | 35th cheapest of 359 $506 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 All three run fresh build machines. Tensorlake CPU sandboxes and boat expose /dev/kvm for Android or VM builds; CodeSandbox SDK does not document it. | 53rd cheapest of 374 $424 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 Both are built around sleeping idle sandboxes; neither documents a box that stays on all day as its main use. boat fits it: a default sandbox that runs 730 hours costs $26 a month. | 202nd of 371, with limits $250 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 Tensorlake has an XFCE desktop image with computer-use calls. On CodeSandbox SDK you add a VNC desktop to your own template and open it as an HTTPS host. boat streams a built-in 60 fps desktop with Chrome. | 10th cheapest of 367 $387 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 Tensorlake ships Firefox on a desktop, CodeSandbox SDK offers a headless Chromium template, and boat ships Chrome on a built-in desktop. | 12th cheapest of 356 $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 | 25th cheapest of 343 $250 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 | 123rd of 327, with limits $3,484 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 | 8th cheapest of 351 $250 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 | Tensorlake | CodeSandbox SDK | boat |
|---|---|---|---|
| Isolation | Firecracker microVMs with their own kernel; GPU sandboxes use gVisor | Firecracker microVM per sandbox | Full VM with its own kernel on hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared |
| Memory snapshots | Named sandboxes suspend with memory and running processes | Idle sandboxes hibernate with a memory snapshot and resume with processes running in about 0.5 to 2 s | No: the disk is saved every minute and at each stop; a resume is like a reboot |
| Clone a running sandbox | Copy a running or suspended sandbox into N warm clones with memory | Fork a hibernated sandbox from its snapshot, or a running one sharing its memory | Fork a running sandbox from its last 1-minute disk snapshot |
| Sandboxes at once | 1,000 on Pro, more on Enterprise | 250 on Scale, more on Enterprise | 100 on $20, 300 on $100, 2,000 on $2,000; starts per minute capped by plan |
| Idle handling | Idle timeout, 600 s by default, then suspend or terminate | Hibernates after an idle timeout, 30 minutes by default on paid plans, up to one day; wakes on the next HTTP request | Auto-stop 1 h after creation or resume by default (up to 30 days, or off on paid plans); it does not watch for idle |
| Nested virtualization | Yes: /dev/kvm in CPU sandboxes (not GPU sandboxes) | Not documented | Yes: /dev/kvm on every sandbox, so Android emulators and VMs run |
| Docker inside | Yes, on the tensorlake/ubuntu-systemd image | Docker and root; templates build from any Dockerfile | Docker, systemd and root; you start from boat's image or a saved snapshot |
| Desktop and computer use | ubuntu-vnc image: XFCE desktop with Firefox over VNC, with screenshot, mouse and keyboard calls | No built-in desktop; a headless Chromium template, or a VNC desktop you add to your own Dockerfile | Built-in desktop and Chrome streamed at 1920x1080, 60 fps, with computer tools and an embeddable stream |
| Inbound traffic | HTTP, WebSocket and gRPC on exposed ports (public or authenticated), SSH, and raw TCP through authenticated client tunnels; no dedicated IP | HTTPS host per port, public by default, signed tokens for private sandboxes; SSH and raw TCP not documented | Up to 50 HTTPS URLs, token-gated by default; SSH; raw ports on a public IPv6 address; no dedicated IPv4 |
| Outbound rules | allow_out and deny_out lists by domain, IP or CIDR, or no internet at all | No outbound allowlist documented | No provider-side allowlist; you set your own firewall as root |
| Coding agents | You install your own agent; managed images are plain OS bases | You install your own agent in the template and run it through the commands API | Seven harnesses installed (Claude Code, Codex, OpenCode and more), with a prompt, steer and events API |
| API keys | Stored secrets are injected into the sandbox as environment variables | Secrets passed in as environment variables; no credentials proxy documented | Optional AI credentials proxy ($1 a day while on, plus $1 per 1,000 requests); with it on, real keys of supported providers stay outside; other secrets still enter |
| GPUs | GPU sandboxes by request, on gVisor; reserved H100 at $3.95 per GPU-hour | None | None |
| Where it runs | Managed cloud with EU data residency supported (no region list published), or your own cloud through BYOC | No guaranteed region; a country hint steers scheduling | Germany, Finland and France; you cannot pick one; no US or Asia region |
Every feature Battleships tracks (43)
| Feature | Tensorlake | CodeSandbox SDK | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | Yes | Yes |
| Docker inside | Yes | Yes | Yes |
| Nested virtualization | Yes | No documented way | Yes |
| Root | Yes | Yes | Yes |
| Systemd | Yes | 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 | Yes | 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 | No documented way | No documented way | Yes |
| Secret proxy for any API | No documented way | No documented way | Yes |
| Preinstalled agents | No documented way | 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 | Yes | No documented way | No documented way |
| Open source | No documented way | No documented way | No documented way |
| Scoped API keys | Not published | Not published | Yes |
| Spend limits | Not published | Not published | Yes |
| Usage per sandbox (API) | No documented way | 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 | Yes | No documented way | No documented way |
| EU data residency | Yes | No documented way | No documented way |
| Zero data retention | Yes | Not published | Yes |
Performance
Tensorlake and CodeSandbox SDK are not in StarSling's CPU benchmark, 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. 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. For start time with 100 at once, ComputeSDK measured medians of 1.55 s for Tensorlake and 11.76 s for CodeSandbox SDK (2026-11-06), at each provider's 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. 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. Tensorlake 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.
| Scenario | Tensorlake, 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 | $250 · Pro | $193 · Scale | $20 · $20/mo |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $250 · Pro | $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,030 · Pro | $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 | $293 · Pro | $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 | $1,127 · Pro | $1,632 · Scale · with limits | $8,800 · $2000/mo · with limits |
Tensorlake: Pro is $250 per billing cycle, which includes 25,000 CU ($250) of usage, then $0.01 per CU. CPU is billed on active execution, with a minimum of 20% of allocated vCPU. RAM and disk bill on allocation while the sandbox runs, and a suspended sandbox pays $0.07 per GB-month of snapshot storage. Prepaid packs of $5, $10 or $20 and a free plan cover small use.
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 has no compute charge. Scale 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; unused time does not carry over. A 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 boat keeps its disk for at least 14 days. Saved snapshots above the included count and the optional AI credentials proxy still charge while sandboxes are stopped. The $20 plan includes 200 starts 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 user-sandboxes (300 at once) and 1,000-job scenarios need Enterprise. Its 20 GB disk and egress have no published price beyond that. Tensorlake Pro allows 1,000 sandboxes at once and fits every scenario; on Tensorlake, disk is 10 to 100 GiB and can only grow, and an ephemeral sandbox ends after 10 idle minutes by default. boat fits all but the 1,000-job burst: the $2,000 plan includes 90 starts a minute, and starts above 270 a minute fail with 429. A boat resume is like a reboot, and a machine failure loses the writes after the last 1-minute snapshot.
| Scenario | Tensorlake | CodeSandbox SDK | boat |
|---|---|---|---|
| One coding agent, workdays | 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 | None for this scenario |
|
|
Which one should you use?
Use Tensorlake when
you fan out hundreds of rollouts or user sandboxes at once, or need a desktop image, /dev/kvm, GPUs, outbound rules or sandboxes in your own cloud.
- Built for big fan-outs. Teams running hundreds of sandboxes at once get 1,000 on Tensorlake Pro, where CodeSandbox SDK's Scale plan stops at 250.
- A desktop image and /dev/kvm. Agents that click through apps get a ready XFCE desktop with Firefox, and CPU sandboxes expose /dev/kvm for emulators and VMs.
- GPUs, outbound rules and your own cloud. Tensorlake offers GPU sandboxes by request, outbound allow and deny lists, and BYOC on AWS, GCP, Azure and more.
Use CodeSandbox SDK when
your sandboxes sleep between visits and should wake on the next HTTP request with memory intact, you want your own Dockerfile image, and you accept that Together calls this SDK deprecated.
- Sleep with no compute charge, wake on request. Useful for previews used in short bursts: a hibernated VM has no compute charge and wakes on its next HTTP request with processes running.
- Your own image from any Dockerfile. Templates build from any Dockerfile, so each sandbox starts with your own packages and services.
- Lower bill for a workday agent. For one coding agent on workdays, the table comes to $193 a month on CodeSandbox SDK Scale against $250 on Tensorlake Pro.
Where boat fits
Tensorlake and CodeSandbox SDK are both built around sandboxes that sleep when idle and wake warm. If your agents instead do hours of steady work, with builds, emulators, a desktop and servers other people reach, boat gives each one a full VM that stays on, with coding agents built in. boat has no memory snapshots, no GPU and no region outside Europe.
Agents and a desktop built in
On both you install the agent yourself. On CodeSandbox SDK you also build a desktop into your template; Tensorlake has a separate desktop image. boat installs seven agents and streams a desktop with Chrome at 60 fps in every sandbox.
Keys kept outside
Both pass secrets into the machine the agent controls, where a prompt injection can read them. boat's optional proxy ($1 a day while on, plus $1 per 1,000 requests) keeps real keys of supported model providers outside.
Reach it like a server
CodeSandbox SDK hosts are HTTPS only, and Tensorlake reaches raw TCP only through authenticated client tunnels. boat gives up to 50 HTTPS URLs, SSH and raw ports on a public IPv6 address.
Use boat when your agents do steady work for hours: installs, builds, Docker, emulators, a desktop and servers other people reach, with coding agents built in. Compare it one to one: boat vs Tensorlake 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 Tensorlake cheaper than CodeSandbox SDK?
It depends on the workload. One coding agent on workdays is $193 a month on CodeSandbox SDK against $250 on Tensorlake. One agent running 24/7 is $250 on Tensorlake against $341, and 50 agents in parallel is $1,030 against $2,500. On boat those three come to $20, $26 and $317 a month.
Which is faster?
On CPU we cannot say: neither is in StarSling's benchmark. For start time with 100 at once, ComputeSDK measured 1.55 s for Tensorlake and 11.76 s for CodeSandbox SDK (2026-11-06). boat did 28.06 V8 Web Tooling runs/s, second of 15 in StarSling's run of 3 October 2026, on a Ryzen 9 9950X host.
Can Tensorlake and CodeSandbox SDK run Docker and emulators?
Both run Docker inside the sandbox: Tensorlake on its tensorlake/ubuntu-systemd image, CodeSandbox SDK from any Dockerfile. Tensorlake CPU sandboxes also expose /dev/kvm; CodeSandbox SDK does not document it. boat exposes /dev/kvm on every sandbox.
Do both keep a sandbox's memory when it sleeps?
Yes. Tensorlake's named sandboxes suspend with memory and running processes, and CodeSandbox SDK hibernates with a memory snapshot and can wake on an HTTP request. boat saves the disk every minute and at each stop, but 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, and self-serve sign-up still runs through CodeSandbox.
How many sandboxes can run at once?
Tensorlake Pro allows 1,000 at once and CodeSandbox SDK Scale allows 250, with more on each Enterprise plan. boat allows 2,000 at once on the $2,000 plan, but starts above 90 a minute cost extra and starts above 270 a minute fail.
Try boat
Install the CLI, then run boat new.
7-day free trial