Together Code Sandbox vs smol machines
Together Code Sandbox runs VMs from Docker-image snapshots on Together's AI cloud and can save their memory when they end. Together must enable it for your organization. smol machines runs open-source microVMs you can sign up for today, on its hosted cloud, your laptop or your own servers.
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.
smol machines
smol machines makes isolated Linux microVMs that run the same way on your laptop, in their hosted cloud, or on your own servers.
The core is smolvm, an open-source microVM engine built on libkrun. Each machine has its own guest kernel. smol cloud is the paid hosted service. It runs machines behind a REST API, Node, Python and Rust SDKs, and a managed agents API. It is for developers who want one VM model from local development to production, with live branching of running machines.
- Uptime SLA
- 99.95% on Pro, Startup and Enterprise
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 | smol machines: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month smol machines runs Docker inside its VMs. Together does not document Docker inside a sandbox. boat adds systemd, /dev/kvm on every plan and SSH. | 67th of 365, with limits $528 a month | 105th of 365, with limits $604 a month | 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 needs a desktop, a browser and keys it cannot leak. boat has a desktop and Chrome built in, and its optional paid proxy keeps AI keys out. On smol cloud you set up the desktop and browser in your image, and stored credentials keep keys out as placeholders. Together documents neither. | 107th of 361, with limits $1,095 a month | 41st cheapest of 361 $1,038 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 smol machines fits short code runs well: a one-minute minimum, a /code endpoint for Python and JavaScript, and branches of a warm machine that pay the minimum once. Together's pricing page lists Code Interpreter at $0.03 per 60-minute session. | 318th of 336, with limits $2,190 a month | 16th cheapest of 336 $140 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 smol machines starts a stopped machine on the next command and serves up to 16 ports. On Together every port URL is public unless you set an experimental access policy. boat gives each user up to 50 HTTPS URLs, token-protected by default, with start limits per plan. | 231st of 349, with limits $900 a month | 12th cheapest of 349 $531 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 Both can start many runs from a saved memory state. smol branches a running machine with its memory and processes. Together saves the snapshot when the sandbox ends. A boat fork boots fresh from the last 1-minute disk snapshot. | 309th of 349, with limits $21,900 a month | 119th of 349, with limits $6,978 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 document a Harbor setup for agent evals. boat has a Harbor integration too, and ships seven coding agents with an API to prompt, steer and follow each run. | 260th of 359, with limits $450 a month | 49th cheapest of 359 $670 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 CI jobs that build Android apps or boot VMs need nested virtualization. boat exposes /dev/kvm on every plan. smol cloud exposes it on its Startup ($150 a month plus usage) and Enterprise plans. Together does not document it. | 253rd of 374, with limits $180 a month | 69th cheapest of 374 $514 a month | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB | 226th of 371, with limits $22 a month | 230th of 371, with limits $29 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 Neither Together nor smol cloud ships a hosted desktop. You set it up: smol's guide runs Chromium from an OCI image, and on Together you build it into your image. boat streams a Linux desktop at 60fps with computer-use tools. | 105th of 367, with limits $600 a month | 135th of 367, with limits $156 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 | 195th of 356, with limits $900 a month | 58th of 356, with limits $136 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 | 181st of 343, with limits $180 a month | 97th cheapest of 343 $242 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 | 126th of 327, with limits $3,600 a month | 145th of 327, with limits $4,344 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 | 95th of 351, with limits $150 a month | 59th of 351, with limits $377 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 | Together Code Sandbox | smol machines | boat |
|---|---|---|---|
| Isolation | A VM per sandbox on Together's infrastructure | libkrun microVM with its own guest kernel | 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 | Sign up for smol cloud ($100 of credit once), or run the open-source engine yourself | 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 | Up to 32 vCPU / 32 GB on Startup, 16 vCPU / 24 GB on Pro, 8 vCPU / 16 GB on Standard | 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 and root | Commands run as user 1000 by default, root per exec on request; Docker inside a sandbox is not documented | Docker runs inside the machine, with its data on the ext4 disk | Docker with Compose, systemd and root on every sandbox |
| Nested virtualization | Not documented | Yes on Startup ($150 a month plus usage) and Enterprise; refused on Standard and Pro | Yes on every plan: /dev/kvm for Android emulators and VMs |
| Shell access | Commands, interactive shells and files through the SDK and CLI; SSH is not documented | Command API, sessions and a WebSocket terminal capped at one hour per connection; no SSH route documented | SSH, plus exec and files over the API |
| Saving state | End a sandbox with a snapshot of its disk, or disk and memory | Filesystem in /workspace survives a stop; /tmp is emptied; stopped disk bills at $0.0001/GB-hour; checkpoints save a running machine with its RAM | Disk saved every minute and at each stop; memory is not saved, so a resume is like a reboot |
| Fork | The parent stops first, then you start many sandboxes from its snapshot, with memory if you ask | Branch a running machine with its memory and processes | Fork a running sandbox from its last 1-minute disk snapshot; the fork boots fresh |
| Idle and wake | Time to live counts from creation; no idle detection and no wake on request | A command or terminal starts a stopped machine; idle apps wake on the next request | 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 |
| Reaching the sandbox | A URL per port, open to everyone by default; an experimental policy limits access by IP or requires a token | Up to 16 published ports via token URLs or an authenticated connect route, plus a TCP tunnel route; no dedicated IP | Up to 50 HTTPS URLs, token-protected by default; a public IPv6 address; no static IPv4, and the IP changes at each resume |
| Outbound rules | No egress allowlist documented | Blocked, open, or an allowlist of hosts and CIDR ranges | Open internet, no provider-side allowlist |
| Desktop and browser | No built-in desktop or stream; install a browser or virtual display in your own image | You set it up: run Chromium from an OCI image (official guide); no hosted desktop or computer-use route in the cloud API | 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 | Managed agents API: Claude Code, Codex, OpenCode or any command as the harness, with turns, cancel, event stream, rewind and branch | Seven harnesses preinstalled, with a prompt, steer and events API |
| Keeping API keys out of the sandbox | No credentials proxy documented | Stored credentials: the guest sees a placeholder, swapped for the real value on HTTPS to allowed hosts; plain env secrets are readable | Optional AI credentials proxy, $1 per UTC day plus $1 per 1,000 requests; real keys of supported AI providers stay out; other secrets enter the sandbox |
| Self-hosting | No; the SDKs and CLI are open source, the platform is not | Open-source smolvm runs on your laptop or your own servers | No; hosted only, in Germany, Finland and France, with no region choice |
Every feature Battleships tracks (43)
| Feature | Together Code Sandbox | smol machines | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | Yes | Yes |
| Docker inside | Not published | Yes | Yes |
| Nested virtualization | No documented way | Yes | Yes |
| Root | Yes | Not published | Yes |
| Systemd | Not published | Not published | Yes |
| Desktop GUI | Not published | No documented way | Yes |
| Browser | Not published | With your own setup | Yes |
| Computer-use API | Not published | No documented way | Yes |
| SSH | No documented way | No documented way | Yes |
| Persistent disk | With your own setup | Yes | Yes |
| Pause/resume | Yes | Yes | Yes |
| Automatic snapshots | No documented way | No documented way | 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 | Yes | Yes |
| Agent harness API | No documented way | Yes | Yes |
| MCP server | Yes | Yes | No documented way |
| GPU | No documented way | No documented way | 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 | Yes | No documented way |
| Scoped API keys | Not published | Not published | Yes |
| Spend limits | Yes | Yes | Yes |
| Usage per sandbox (API) | Yes | Yes | Yes |
| Audit logs | Not published | Not published | No documented way |
| SSO | Yes | Yes | No documented way |
| SOC 2 | Yes | No documented way | No documented way |
| HIPAA | No documented way | No documented way | No documented way |
| EU data residency | Not published | No documented way | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
Together Code Sandbox and smol 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. smol machines publishes a boot time under 200 ms for smolvm. That is a 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 smol machines 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 | smol machines, 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 | $25 · Standard | $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 | $93 · Standard | $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 | $1,139 · Pro | $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 | $465 · Startup | $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 | $1,389 · Startup | $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.
smol machines: smol cloud charges $0.04 for every hour a machine runs, plus $0.05 per active vCPU-hour and $0.0162 per active GB-hour of memory, with a one-minute minimum. Disk bills at $0.0001 per GB-hour, also while stopped, and egress at $0.05 per GB. Standard is $0. Pro ($20 a month) and Startup ($150 a month) are fees on top of usage, not credit.
smol machines: 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. smol machines fits all five, but caps how many machines you hold and run by plan: 20 on Standard, 100 on Pro and 1,000 on Startup, and a stopped machine still holds a slot. So 50 agents need Pro and 1,000 jobs at once need Startup, whose fee comes on top of usage. boat caps starts per plan. On the $2,000 plan, 90 starts a minute are included, extra starts cost $0.03 to $0.07, and starts above 270 a minute fail with 429. boat never queues a start, so it does not fit 1,000 short jobs at once.
| Scenario | Together Code Sandbox | smol machines | 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 Together Code Sandbox when
you already run models on Together, can get the VMs enabled, and want very light sandboxes you save with their memory and branch from.
- Memory snapshots to branch from. Useful for rollouts and test variants: save a sandbox with its memory 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: a sandbox can be as small as a tenth of a core, priced per vCPU-hour and GiB-hour.
Use smol machines when
you want one open-source VM engine from your laptop to your own servers, live branches of a running machine, outbound allowlists, or a hosted cloud that starts large bursts of short jobs.
- Open source, from laptop to your own servers. Teams that want the same VM locally, in a hosted cloud and on their own servers get it from one open-source engine.
- Live branches with memory. Useful for RL and test fan-out: branch a running machine with its memory and processes, and pay the minimum once.
- Outbound allowlists and credentials for any host. Teams that must limit which hosts a machine reaches, or keep any secret out of the guest, get both on smol cloud.
Where boat fits
Look at boat if your agents do real work for hours, with Docker, emulators, a browser and servers other people reach. Each sandbox is a full VM with /dev/kvm, SSH, a desktop and seven coding agents on every plan. boat needs a card, has no region choice and caps starts per plan.
/dev/kvm and SSH on every plan
Together documents neither nested virtualization nor SSH. smol cloud exposes nested virtualization on Startup ($150 a month plus usage) and Enterprise, and documents no SSH route. boat has /dev/kvm, Docker, systemd and SSH on every plan.
A desktop and private hosting
Neither ships a hosted desktop, so you build one before a computer-use agent can click. Together port URLs are public by default, and smol publishes up to 16 ports. boat streams a 60fps desktop and serves up to 50 token-protected HTTPS ports.
Agents and keys built in
boat preinstalls seven coding agents you drive from outside. Its optional paid proxy keeps the real keys of supported AI providers out of the sandbox; other secrets still enter it. smol cloud has a managed agents API and placeholder credentials for any host. Together documents neither.
Use boat when your agents need a whole machine on every plan: Docker, /dev/kvm for emulators, SSH and a built-in desktop and browser, with coding agents you drive from outside. Compare it one to one: boat vs Together Code Sandbox and boat vs smol machines.
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 smol machines?
It depends on the line you compare. The tables price Together with Code Interpreter, which fits none of these scenarios because its sessions last 60 minutes. On that line, 50 agents cost $264 a month against $1,139 on smol, and 1,000 short jobs at once $6,000 against $1,389. Code Sandbox itself lists about $0.30 an hour at 4 vCPU / 8 GB. smol fits one agent 24/7 at $93 and sandboxes for your users at $465. boat comes to $26 and $200 for those two.
Which is faster, Together Code Sandbox or smol machines?
Neither is in the public benchmarks we use, so we cannot say. smol machines publishes a boot time under 200 ms for smolvm, which is a start time, not CPU speed. In StarSling's run of 3 October 2026, boat did 28.06 runs/s on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, on an AMD Ryzen 9 9950X host.
Can Together Code Sandbox or smol machines run Docker?
smol machines runs Docker inside a machine, and its guide says Docker data must live on the machine's ext4 disk. Together builds sandboxes from Docker images, but its SDK does not document Docker inside a sandbox. boat runs Docker, systemd and root on every sandbox.
Can either fork a running sandbox?
smol machines branches a running machine into children that keep its memory and processes. Together stops the parent first: a sandbox ends with a snapshot of its disk and memory, and you start many sandboxes from it. boat forks a running sandbox from its last 1-minute disk snapshot while the original keeps running; the fork boots fresh.
Can I sign up for Together Code Sandbox today?
Not on your own. The together-sandbox SDK and CLI must be enabled for your organization, so you ask Together for access. smol cloud is open to sign up, and boat is self-serve with a card and a 7-day trial.
Is smol machines open source?
The engine, smolvm, and the smol SDK are open source and run on your own computer or servers; smol cloud, the hosted service, is paid. Together open-sources its SDKs and CLI but not the platform. boat is a hosted service only.
Try boat
Install the CLI, then run boat new.
7-day free trial
More comparisons
- boat vs Together Code Sandbox
- boat vs smol machines
- 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