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.

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 workloadTogether Code Sandbox: price ranksmol machines: price rankboat: 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 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

FeatureTogether Code Sandboxsmol machinesboat
IsolationA VM per sandbox on Together's infrastructurelibkrun microVM with its own guest kernelFull VM with its own kernel, on physical hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared
Getting startedThe SDK and CLI must be enabled for your organization by TogetherSign up for smol cloud ($100 of credit once), or run the open-source engine yourselfSign up with a card (7-day trial), then start a sandbox from the API, CLI or dashboard
Machine size0.1 to 16 cores, 1 to 8 GB of memory per core; disk size not configurableUp to 32 vCPU / 32 GB on Startup, 16 vCPU / 24 GB on Pro, 8 vCPU / 16 GB on Standard2, 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 rootCommands run as user 1000 by default, root per exec on request; Docker inside a sandbox is not documentedDocker runs inside the machine, with its data on the ext4 diskDocker with Compose, systemd and root on every sandbox
Nested virtualizationNot documentedYes on Startup ($150 a month plus usage) and Enterprise; refused on Standard and ProYes on every plan: /dev/kvm for Android emulators and VMs
Shell accessCommands, interactive shells and files through the SDK and CLI; SSH is not documentedCommand API, sessions and a WebSocket terminal capped at one hour per connection; no SSH route documentedSSH, plus exec and files over the API
Saving stateEnd a sandbox with a snapshot of its disk, or disk and memoryFilesystem in /workspace survives a stop; /tmp is emptied; stopped disk bills at $0.0001/GB-hour; checkpoints save a running machine with its RAMDisk saved every minute and at each stop; memory is not saved, so a resume is like a reboot
ForkThe parent stops first, then you start many sandboxes from its snapshot, with memory if you askBranch a running machine with its memory and processesFork a running sandbox from its last 1-minute disk snapshot; the fork boots fresh
Idle and wakeTime to live counts from creation; no idle detection and no wake on requestA command or terminal starts a stopped machine; idle apps wake on the next requestAuto-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 sandboxA URL per port, open to everyone by default; an experimental policy limits access by IP or requires a tokenUp to 16 published ports via token URLs or an authenticated connect route, plus a TCP tunnel route; no dedicated IPUp to 50 HTTPS URLs, token-protected by default; a public IPv6 address; no static IPv4, and the IP changes at each resume
Outbound rulesNo egress allowlist documentedBlocked, open, or an allowlist of hosts and CIDR rangesOpen internet, no provider-side allowlist
Desktop and browserNo built-in desktop or stream; install a browser or virtual display in your own imageYou set it up: run Chromium from an OCI image (official guide); no hosted desktop or computer-use route in the cloud APILinux desktop and Chrome streamed at 1920x1080, 60fps, with computer-use tools
Coding agentsYou install your agent in your image and run it through execs; a Harbor guide for agent evalsManaged agents API: Claude Code, Codex, OpenCode or any command as the harness, with turns, cancel, event stream, rewind and branchSeven harnesses preinstalled, with a prompt, steer and events API
Keeping API keys out of the sandboxNo credentials proxy documentedStored credentials: the guest sees a placeholder, swapped for the real value on HTTPS to allowed hosts; plain env secrets are readableOptional 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-hostingNo; the SDKs and CLI are open source, the platform is notOpen-source smolvm runs on your laptop or your own serversNo; hosted only, in Germany, Finland and France, with no region choice
Every feature Battleships tracks (43)
FeatureTogether Code Sandboxsmol machinesboat
Full VM (own kernel)YesYesYes
Docker insideNot publishedYesYes
Nested virtualizationNo documented wayYesYes
RootYesNot publishedYes
SystemdNot publishedNot publishedYes
Desktop GUINot publishedNo documented wayYes
BrowserNot publishedWith your own setupYes
Computer-use APINot publishedNo documented wayYes
SSHNo documented wayNo documented wayYes
Persistent diskWith your own setupYesYes
Pause/resumeYesYesYes
Automatic snapshotsNo documented wayNo documented wayYes
Fork/cloneYesYesYes
Live fork (no pause)No documented wayYesYes
Memory forkYesYesNo documented way
Custom image (Docker or snapshot)YesYesYes
≥24 h sessionsYesYesYes
Idle auto-stopNo documented wayYesNo documented way
Wake on requestNo documented wayYesNo documented way
HTTPS preview URLsYesYesYes
Raw TCP inboundNo documented wayNot publishedYes
Public IPv4No documented wayNo documented wayNo documented way
Egress allowlistNo documented wayYesNo documented way
Secret proxyNo documented wayYesYes
Secret proxy for any APINo documented wayYesYes
Preinstalled agentsNo documented wayYesYes
Agent harness APINo documented wayYesYes
MCP serverYesYesNo documented way
GPUNo documented wayNo documented wayNo documented way
WindowsNo documented wayNo documented wayNo documented way
Arm64No documented wayYesNo documented way
Self-hostingNo documented wayYesNo documented way
BYOCNo documented wayYesNo documented way
Open sourceNo documented wayYesNo documented way
Scoped API keysNot publishedNot publishedYes
Spend limitsYesYesYes
Usage per sandbox (API)YesYesYes
Audit logsNot publishedNot publishedNo documented way
SSOYesYesNo documented way
SOC 2YesNo documented wayNo documented way
HIPAANo documented wayNo documented wayNo documented way
EU data residencyNot publishedNo documented wayNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

Together Code SandboxNot measured
smol machinesNot measured
boat28.06 runs/s

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.

ScenarioTogether Code Sandbox, a monthsmol machines, 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
$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.

ScenarioTogether Code Sandboxsmol machinesboat
One coding agent, workdays
  • Together pay-as-you-go (prepaid credits; Code Interpreter only): sessions capped at 1 h
  • not confirmed: persistent disk
  • machine size not published
  • different kind of product: code interpreter
None for this scenarioNone for this scenario
One agent that never stops
  • Together pay-as-you-go (prepaid credits; Code Interpreter only): sessions capped at 1 h
  • not confirmed: persistent disk
  • machine size not published
  • different kind of product: code interpreter
None for this scenarioNone for this scenario
50 agents in parallel
  • Together pay-as-you-go (prepaid credits; Code Interpreter only): sessions capped at 1 h
  • not confirmed: persistent disk
  • machine size not published
  • different kind of product: code interpreter
None for this scenarioNone for this scenario
Sandboxes for your users
  • machine size not published
  • different kind of product: code interpreter
  • machine size per session not published
  • egress price not published
None for this scenarioNone for this scenario
1,000 short jobs at once
  • machine size not published
  • different kind of product: code interpreter
  • machine size per session not published
  • egress price not published
None for this scenario
  • 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 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