Together Code Sandbox vs Unikraft Cloud
Together Code Sandbox starts VMs from Docker-image snapshots and can save their memory when they end. Together must enable it for your organization. Unikraft Cloud is self-serve: it turns a Dockerfile into a small microVM that sleeps when idle and wakes on the next request, with cold starts it states as under 10 ms.
The companies and products
Together Code Sandbox
Together AI is a cloud for running and training AI models, and Code Sandbox is its product for running code in isolated VMs.
You build a snapshot from a Docker image or Dockerfile on Together's builder, then start sandboxes from it and run commands and file operations through the together-sandbox SDK or CLI. When a sandbox ends you can save its disk, and its memory too, as a new snapshot to start more sandboxes from. It is aimed at model-generated code, agent tool calls and reinforcement learning rollouts, and Together must enable it for your organization. The pricing page also lists Code Interpreter at $0.03 per 60-minute session.
Unikraft Cloud
Unikraft Cloud is a microVM cloud from Unikraft Inc. It runs any Dockerfile-based workload as a minimal Linux microVM, with cold starts it states as under 10 ms and scale-to-zero.
Your Dockerfile becomes the VM image at build time. Each instance runs on a customized Firecracker VMM and can go into standby when no traffic arrives. It is a general compute platform for dense, bursty work such as HTTP services, browsers and agent fleets. It sells flat self-serve plans, plus Enterprise dedicated hosts, on-prem and bring your own cloud. You reach instances through services, the CLI and a sandbox plugin for commands and files. For SSH or a desktop, you add them to your image with its official guides.
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. “67th cheapest of 365” means 66 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 | Together Code Sandbox: price rank | Unikraft Cloud: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month A software factory runs Docker, databases and test suites inside the sandbox. Neither Together nor Unikraft documents a container runtime inside a running sandbox, and Unikraft keeps nested virtualization for Enterprise. boat has Docker, root and /dev/kvm on every sandbox. | 67th of 365, with limits $528 a month | Not ranked: misses a requirement | 5th cheapest of 365 $634 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB An assistant that lives on its machine all month needs room for many tools. Unikraft's Team pool is 8 vCPU / 8 GiB for all running instances; Pro is 24 vCPU / 32 GiB for $199. A Together sandbox runs until you end it or its time to live ends, with no idle detection. | 107th of 361, with limits $1,095 a month | Not ranked: misses a requirement | 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 that sleep between calls fit Unikraft's design: standby instances do not count against the running pool, and self-serve plans run up to 24 instances at once. Together's pricing page lists Code Interpreter at $0.03 per 60-minute session. | 318th of 336, with limits $2,190 a month | Not ranked: misses a requirement | 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 Unikraft Pro holds 5,000 standby instances but 24 running ones, so hundreds of active users need an Enterprise contract. Together port URLs are public unless you set an experimental access policy. On boat, 300 small sandboxes at once need the $100 plan with 2 seats. | 231st of 349, with limits $900 a month | Not ranked: misses a requirement | 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 Both can branch runs from a warm state: Together saves a sandbox with its memory when it ends, and Unikraft checkpoints a running microVM. Together's VMs need Together to enable them, and Unikraft's self-serve pools are small. | 309th of 349, with limits $21,900 a month | Not ranked: misses a requirement | 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 | 260th of 359, with limits $450 a month | Not ranked: misses a requirement | 10th cheapest of 359 $200 a month |
| CI runners 40 at once · 8 vCPU / 16 GB · 6,000 sessions of 12 min a month CI jobs that build Docker images or run Android emulators need a container runtime and /dev/kvm. boat has both on every plan, and each job start counts against its plan's start limits. Unikraft offers nested virtualization on Enterprise only. | 253rd of 374, with limits $180 a month | Not ranked: misses a requirement | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB Unikraft's $39 Team pool keeps one box around all month. On Unikraft you add sshd to your image and reach it through a TLS tunnel. Together offers shells through its SDK and CLI, with no SSH documented. boat takes SSH directly. | 226th of 371, with limits $22 a month | 121st cheapest of 371 $39 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 Computer-use agents need a desktop to see and click. boat streams one at 60fps. Unikraft documents a VNC desktop recipe that you build into your image. On Together you build the desktop into your image yourself. | 105th of 367, with limits $600 a month | Not ranked: misses a requirement | 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 | 195th of 356, with limits $900 a month | Not ranked: misses a requirement | 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 | 181st of 343, with limits $180 a month | Not ranked: misses a requirement | 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 | 126th of 327, with limits $3,600 a month | Not ranked: misses a requirement | 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 | 95th of 351, with limits $150 a month | Not ranked: misses a requirement | 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 | Together Code Sandbox | Unikraft Cloud | boat |
|---|---|---|---|
| Isolation | A VM per sandbox on Together's infrastructure | Minimal Linux microVM on a customized Firecracker VMM; full VMs on Enterprise | Full VM with its own kernel, on physical hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared |
| Getting started | The SDK and CLI must be enabled for your organization by Together | Self-serve plans, with a free Hobby plan and no card | Sign up with a card (7-day trial), then start a sandbox from the API, CLI or dashboard |
| Machine size | 0.1 to 16 cores, 1 to 8 GB of memory per core; disk size not configurable | Plan pool shared by all running instances: 2 vCPU / 4 GiB, 8 vCPU / 8 GiB or 24 vCPU / 32 GiB; per-instance maximum not published | 2, 4, 8 or 16 vCPU at 2 GB per vCPU; disk fixed per size, 51 to 251 GB; 16 vCPU needs the $100 plan or higher |
| Docker, root and systemd | Commands run as user 1000 by default, root per exec on request; Docker inside a sandbox is not documented | Runs as root; the Dockerfile becomes the VM image, and the docs describe no container runtime inside a running instance | Docker with Compose, systemd and root on Ubuntu 24.04 |
| Custom image | Snapshots built from your Docker image or Dockerfile | Any Dockerfile becomes the instance image | Start from boat's image or a saved snapshot; you cannot boot your own Docker image |
| Nested virtualization | Not documented | Yes, with a per-instance flag and permission, Enterprise only | Yes, /dev/kvm for Android emulators and VMs on every plan |
| Shell access | Commands, interactive shells and files through the SDK and CLI; SSH is not documented | Yes, with setup: run sshd in your image and reach it through a TLS service port and a local tunnel; commands and files also through the sandbox plugin and CLI | SSH built in on every sandbox, plus exec and files over the API |
| Idle and wake | Time to live counts from creation; no idle detection and no wake on request | Standby after a 1 second idle cooldown by default; incoming traffic wakes it; stateful mode resumes with warm caches | Auto-stop 1 hour after creation or resume by default, up to 30 days or off on paid plans; the timer does not watch for idle; started again by API |
| Snapshots and fork | End a sandbox with a snapshot of its disk and memory, then start many sandboxes from it; the parent stops first | Checkpoint memory and volumes of a running microVM with a pause of a few milliseconds, then start new instances from it | Disk saved every minute and at each stop; fork a running sandbox from its last 1-minute disk snapshot, without memory |
| Reaching the sandbox | A URL per port, open to everyone by default; an experimental policy limits access by IP or requires a token | Services on its load balancer: HTTP on 80, HTTPS on 443, TLS-wrapped TCP on other ports, custom domains; no public IP per instance | Up to 50 HTTPS URLs, token-protected by default; public IPv6; SSH over a shared IPv4 host:port; no dedicated IPv4 |
| Desktop and browser | No built-in desktop or stream; install a browser or virtual display in your own image | No prebuilt desktop; an official VNC/noVNC desktop recipe you build into your image | Linux desktop and Chrome streamed at 1920x1080, 60fps, with computer-use tools |
| Coding agents | You install your agent in your image and run it through execs; a Harbor guide for agent evals | None installed; you add the agent to your own image | Seven harnesses preinstalled, including Claude Code, Codex and OpenCode, with a prompt, steer and events API |
| Keeping API keys out of the sandbox | No credentials proxy documented | Network shield injects secrets into any HTTP traffic, Enterprise only, limited access | Optional AI credentials proxy on every plan, $1 a day plus $1 per 1,000 requests; covers supported model providers; other secrets still enter the sandbox |
| Regions | Not published | Dallas, Frankfurt, San Francisco, Singapore and Washington DC by default; more on request | Germany, Finland and France; you cannot pick a region; no US or Asia region |
Every feature Battleships tracks (43)
| Feature | Together Code Sandbox | Unikraft Cloud | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | Yes | Yes |
| Docker inside | Not published | No documented way | Yes |
| Nested virtualization | No documented way | Yes | Yes |
| Root | Yes | Yes | Yes |
| Systemd | Not published | Not published | Yes |
| Desktop GUI | Not published | With your own setup | Yes |
| Browser | Not published | With your own setup | Yes |
| Computer-use API | Not published | No documented way | Yes |
| SSH | No documented way | With your own setup | Yes |
| Persistent disk | With your own setup | Yes | Yes |
| Pause/resume | Yes | Yes | Yes |
| Automatic snapshots | No documented way | Yes | Yes |
| Fork/clone | Yes | Yes | Yes |
| Live fork (no pause) | No documented way | 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 | No documented way | Yes | No documented way |
| Wake on request | No documented way | Yes | No documented way |
| HTTPS preview URLs | Yes | Yes | Yes |
| Raw TCP inbound | No documented way | Not published | Yes |
| Public IPv4 | No documented way | No documented way | No documented way |
| Egress allowlist | No documented way | Yes | No documented way |
| Secret proxy | No documented way | Yes | Yes |
| Secret proxy for any API | No documented way | Yes | Yes |
| Preinstalled agents | No documented way | No documented way | Yes |
| Agent harness API | No documented way | No documented way | Yes |
| MCP server | Yes | No documented way | No documented way |
| GPU | No documented way | Yes | No documented way |
| Windows | No documented way | No documented way | No documented way |
| Arm64 | No documented way | Yes | No documented way |
| Self-hosting | No documented way | Yes | No documented way |
| BYOC | No documented way | Yes | No documented way |
| Open source | No documented way | No documented way | No documented way |
| Scoped API keys | Not published | Not published | Yes |
| Spend limits | Yes | Not published | Yes |
| Usage per sandbox (API) | Yes | No documented way | Yes |
| Audit logs | Not published | Yes | No documented way |
| SSO | Yes | No documented way | No documented way |
| SOC 2 | Yes | Yes | No documented way |
| HIPAA | No documented way | Yes | No documented way |
| EU data residency | Not published | Yes | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
Together Code Sandbox and Unikraft Cloud are not in the public benchmarks we use, 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. Unikraft states cold starts under 10 ms; that is its own figure and measures start time, not CPU 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. Together Code Sandbox and Unikraft Cloud 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 | Together Code Sandbox, a month | Unikraft Cloud, 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 | $5 · Together pay-as-you-go (prepaid credits; Code Interpreter only) · with limits | $39 · Hobby | $20 · $20/mo |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $22 · Together pay-as-you-go (prepaid credits; Code Interpreter only) · with limits | $39 · Hobby | $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 | $264 · Together pay-as-you-go (prepaid credits; Code Interpreter only) · with limits | Not ranked: misses a requirement | $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 | $900 · Together pay-as-you-go (prepaid credits; Code Interpreter only) · with limits | Not ranked: misses a requirement | $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 | $6,000 · Together pay-as-you-go (prepaid credits; Code Interpreter only) · with limits | Not ranked: misses a requirement | $8,800 · $2000/mo · with limits |
Together Code Sandbox: Together lists Code Sandbox at $0.0446 per vCPU-hour and $0.0149 per GiB-hour, about $0.30 an hour at 4 vCPU / 8 GB, from prepaid credits, once Together enables it for your organization. Billing granularity, snapshot storage and egress prices are not published. The pricing page also lists Code Interpreter at $0.03 per 60-minute session; the scenario tables use that line because Code Sandbox needs enablement.
Unikraft Cloud: Unikraft charges a flat monthly fee for a pool of running capacity: free for 2 vCPU / 4 GiB, $39 for 8 vCPU / 8 GiB, $199 for 24 vCPU / 32 GiB. Standby instances do not count against the pool. It publishes no per-hour, disk or egress price, so anything bigger is an Enterprise quote.
Unikraft Cloud: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month. A running sandbox bills per second at full rate, busy or idle: $0.036 an hour for 4 vCPU / 8 GB. A stopped sandbox has no compute charge and 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 12 starts a minute and 200 a day; extra starts cost $0.03 to $0.07. A card is required, also for the 7-day trial.
Limits in those scenarios
The tables price Together with the Code Interpreter line ($0.03 per 60-minute session), because Code Sandbox needs Together to enable it. Those sessions last 60 minutes and their machine size is not published, so that line fits none of the scenarios. Unikraft's limits are pools that all running instances share. One 4 vCPU / 8 GB agent fits the $39 Team pool, but 50 agents, sandboxes for your users and 1,000 short jobs at once are above every self-serve pool and need Enterprise. boat runs 100 sandboxes at once from the $20 plan, and with auto-stop off (default 1 h) there is no session cap. boat's limit is starts: at 1,000 short jobs at once on the $2,000 plan, starts above 90 a minute are paid, and starts above 270 a minute fail with 429. boat never queues a start, so it does not fit that scenario either.
| Scenario | Together Code Sandbox | Unikraft Cloud | 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 Together Code Sandbox when
you already run models on Together, can get the VMs enabled, and want light sandboxes, from a tenth of a core, that you save with their memory and branch from.
- Memory snapshots to branch from. Useful for rollouts and test variants: end a sandbox with its memory saved and start many copies with processes still running.
- Sandboxes next to your models. Handy if you already run inference or fine-tuning on Together: sandboxes and models share one account.
- Sizes cut to the job. Good for many light jobs: sandboxes start at a tenth of a core, priced per vCPU-hour and GiB-hour.
Use Unikraft Cloud when
you run many small services or browsers that sleep most of the time and must wake at once, want a free plan or flat prices, need US or Asia regions or SOC 2 Type II today, or want GPUs, on-prem or your own cloud under an Enterprise contract.
- Millisecond starts and scale-to-zero. Best for many small services that sleep most of the time and must answer the next request at once.
- A free plan and flat prices. Hobby is free with no card, Team is $39 and Pro $199 a month, and standby instances do not use the paid pool.
- Regions, SOC 2 and your own hardware. Runs in the US, Frankfurt and Singapore with a compliance report, and Enterprise adds GPUs, arm64, dedicated hosts, on-prem or your own cloud.
Where boat fits
Together and Unikraft both run code in small VMs that you drive through an SDK or CLI. For agents that work for hours, install tools, run Docker and serve apps, boat gives each one a full VM with the agent already installed. boat needs a card, has no region choice and caps starts per plan.
A whole machine the agent can work in
Neither Together nor Unikraft documents a container runtime inside a running sandbox. Unikraft SSH needs sshd in your image and a TLS tunnel, and its /dev/kvm is Enterprise only. Together documents no SSH. boat has root, systemd, Docker, SSH and /dev/kvm on every plan.
Agents and a desktop built in
On both, you build the agent, browser and desktop into your own image; Unikraft gives an official VNC recipe for it. boat preinstalls seven coding agents and streams a 60fps desktop. Its optional paid proxy keeps supported AI keys out of the sandbox; Unikraft's secret injection is Enterprise only.
Fleets of full-size sandboxes, self-serve
Fifty agents at 4 vCPU / 8 GB are above every Unikraft self-serve pool, and Together's VMs need Together to enable them. boat's paid plans run 100 to 2,000 sandboxes at once with no sales call; each plan also caps starts per minute, hour and day.
Use boat when your agents need a full machine with no image work: Docker, emulators, SSH, a desktop and a browser, coding agents you drive from outside, and fleets of full-size sandboxes with no sales call, within boat's per-plan start limits. Compare it one to one: boat vs Together Code Sandbox and boat vs Unikraft Cloud.
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 Together Code Sandbox cheaper than Unikraft Cloud?
For one 4 vCPU / 8 GB agent, Unikraft's Team pool costs a flat $39 a month. Together Code Sandbox lists about $0.30 an hour at that size, once Together enables it; the tables use its Code Interpreter line, which fits none of these scenarios. For 50 agents or hundreds of user sandboxes, no self-serve Unikraft plan is big enough. On boat, one agent costs $20 a month on workdays or $26 all month, 50 agents $317, and sandboxes for your users $200.
Which is faster, Together Code Sandbox or Unikraft Cloud?
Neither is in the public benchmarks we use, so we cannot say. Unikraft is built to start fast: it states cold starts under 10 ms and wakes on the next request. Together sandboxes have no wake on request, and you start them from snapshots through the SDK. boat did 28.06 runs/s on the V8 Web Tooling Benchmark in StarSling's run of 3 October 2026.
Can Together Code Sandbox or Unikraft Cloud run Docker?
Both build sandboxes from Docker images, but neither documents a container runtime inside a running sandbox. A boat sandbox is a full Ubuntu VM with Docker, systemd and /dev/kvm ready to use.
Can I SSH into Together Code Sandbox or Unikraft Cloud?
On Unikraft, yes, with setup: you add an SSH server to your image, expose it as a TLS service and connect through a local tunnel. Together gives you commands, interactive shells and files through its SDK and CLI, and documents no SSH. Every boat sandbox takes SSH directly.
Can I start using them today?
Unikraft Cloud, yes: the Hobby plan is free with no card. Together's SDK and CLI must be enabled for your organization, so you ask Together first. boat is self-serve with a card, and the 7-day trial needs a card too.
Is boat SOC 2 compliant?
SOC 2 is in progress at boat, so there is no SOC 2 report today. Unikraft says it is SOC 2 Type II certified, and Together's trust center lists a SOC 2 Type 2 report. boat's live status is at status.ascii.dev and its data retention policy at docs.boat.dev/data-retention.
Try boat
Install the CLI, then run boat new.
7-day free trial
More comparisons
- boat vs Together Code Sandbox
- boat vs Unikraft Cloud
- E2B vs Together Code Sandbox
- Daytona vs Together Code Sandbox
- Modal vs Together Code Sandbox
- Vercel Sandbox vs Together Code Sandbox
- Cloudflare Sandbox vs Together Code Sandbox
- Blaxel vs Together Code Sandbox
- Runloop vs Together Code Sandbox
- Tensorlake vs Together Code Sandbox
- Morph Cloud vs Together Code Sandbox
- CodeSandbox SDK vs Together Code Sandbox