Together Code Sandbox vs Modal VM Sandboxes

Together Code Sandbox starts VMs from Docker-image snapshots and can save their memory to branch from. Together must enable it for your organization. Modal VM Sandboxes are self-serve VMs with their own kernel and Docker inside. Each one runs up to 24 hours, and a filesystem snapshot carries its files to the next one.

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.

Modal VM Sandboxes

Modal is a serverless cloud for AI work, and VM Sandboxes are the version of its sandboxes that run in a virtual machine with their own Linux kernel.

You create a VM Sandbox from Python, TypeScript or Go code with runtime="vm", run commands in it, and terminate it when the job is done. Modal built the runtime on the Rust-based Cloud Hypervisor, so Docker, FUSE, systemd and nested cgroups work, with the same API, images and prices as its gVisor sandboxes. It became generally available on 1 October 2026. It suits teams that want many agent machines next to Modal's inference and training.

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 rankModal VM Sandboxes: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
Modal and boat both run Docker in a VM. In the Software factory ranking, boat is #5 at $634 a month and Modal VM Sandboxes #27 at $633. A Modal VM ends within 24 hours, so you snapshot its filesystem or use a Volume; boat saves the disk with no code and adds a desktop. Together does not document Docker inside a sandbox.
67th of 365, with limits
$528 a month
27th cheapest of 365
$633 a month
5th cheapest of 365
$634 a month
Always-on AI employees
50 machines 24/7 · 2 vCPU / 4 GB
An agent that runs all month fits boat with auto-stop off on a paid plan. A Modal VM stops at 24 hours. You set it up: snapshot the filesystem and boot a new sandbox from it each day; running programs start again. 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 requirement6th 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 fit Modal well: per-second billing on the larger of request and use, and up to 5,000 containers at once on Team. Together's pricing page also lists Code Interpreter at $0.03 per 60-minute session. On boat, each start counts against the plan's start limits.
318th of 336, with limits
$2,190 a month
Not ranked: misses a requirement189th 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
Modal fits this scenario on its Team plan at $579 a month, with tunnels and connect tokens. On Together every port URL is public unless you set an experimental access policy. boat fits it at $200 a month; each start counts against the plan's start limits.
231st of 349, with limits
$900 a month
Not ranked: misses a requirement3rd 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
Together can start many copies from one memory snapshot, and Modal Team runs 5,000 containers at once with no per-start fee. Modal's own memory snapshots are in alpha and end the sandbox. boat caps starts per plan: the $2,000 plan includes 90 a minute, and starts above 270 a minute fail with 429.
309th of 349, with limits
$21,900 a month
163rd of 349, with limits
$11,982 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
260th of 359, with limits
$450 a month
Not ranked: misses a requirement10th cheapest of 359
$200 a month
CI runners
40 at once · 8 vCPU / 16 GB · 6,000 sessions of 12 min a month
Modal and boat both run Docker builds in a VM. boat exposes /dev/kvm on every plan for Android emulators. Modal offers nested virtualization on Enterprise only, as an experimental option. Together does not document Docker inside a sandbox.
253rd of 374, with limits
$180 a month
170th of 374, with limits
$655 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
Not ranked: misses a requirement19th 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 Modal ships a desktop. You set it up: Modal's runnable example installs Xvfb, x11vnc, noVNC and Chromium, and on Together you build them into your image. boat streams a 60fps desktop with Chrome and computer-use tools.
105th of 367, with limits
$600 a month
Not ranked: misses a requirement7th cheapest of 367
$200 a month
Browser-use agents
50 at once · 2 vCPU / 4 GB · 30,000 sessions of 10 min a month
On Together and Modal you add the browser to your own image; Modal's example installs Chromium and a Browser Use agent. boat ships Chrome on a full desktop in every sandbox.
195th of 356, with limits
$900 a month
Not ranked: misses a requirement7th 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 requirement6th 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 requirement73rd 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
27th cheapest of 351
$464 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 SandboxModal VM Sandboxesboat
IsolationA VM per sandbox on Together's infrastructureA VM with its own Linux kernel on Cloud HypervisorFull 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 TogetherSelf-serve; Starter is $0 with $30 of credit a monthSign 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 configurableCPU and memory requested per sandbox, billed on the larger of request and use; fixed 512 GiB root filesystem2, 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 systemdCommands run as user 1000 by default, root per exec on request; Docker inside a sandbox is not documentedYes; you start dockerd yourselfYes, in every sandbox
Nested virtualizationNot documentedEnterprise plan only, as an experimental optionYes, /dev/kvm on every plan for Android emulators and VMs
CPU benchmark (V8 Web Tooling, 4 vCPU / 8 GB, StarSling run of 3 October 2026)Not in the public benchmarks we useVM runtime 15.48 runs/s, gVisor 12.60, both rank 7 of 15 (shared); measured with cpu=428.06 runs/s, second of 15, on an AMD Ryzen 9 9950X host
Longest sessionRuns until you terminate it or its time to live, counted from creation, ends24 hours (default 5 minutes); continue in a new sandbox from a filesystem snapshotNo cap once auto-stop is off on a paid plan (default 1 hour, up to 30 days)
Saving stateEnd a sandbox with a snapshot of its disk, or disk and memory; a new sandbox from a memory snapshot resumes with its processes runningNo paused state. You set it up: snapshot the filesystem (kept 30 days by default, or with no expiry) and boot a new sandbox from it, or keep files in a Volume; memory snapshots in alpha end the sandbox and expire after 7 daysDisk saved every minute and at each stop, with no code; 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 askSnapshot a running sandbox's filesystem and boot any number of new sandboxes from itFork a running sandbox from its last 1-minute disk snapshot; writes from the last minute or so can be missing
Reaching the sandboxA URL per port, open to everyone by default; an experimental policy limits access by IP or requires a tokenEncrypted and raw TCP tunnels, connect tokens, inbound IP allowlistUp to 50 HTTPS URLs per sandbox, token-protected by default; raw ports over IPv6 on sandboxes with no IPv4 of their own
Outbound network rulesNo egress allowlist documentedBlock all, IP-range allowlist, domain allowlist (beta)Open internet, no provider-side allowlist
Desktop, browser, computer useNo built-in desktop or stream; install a browser or virtual display in your own imageNot built in. You set it up: Modal's runnable example installs Xvfb, x11vnc, noVNC, Chromium and a Browser Use agentLinux 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 evalsYou install the harness in the image; official examples cover the Claude Agent SDK and OpenCodeSeven harnesses preinstalled, including Claude Code, Codex and OpenCode, with a prompt, steer and events API
Keeping API keys out of the sandboxNo credentials proxy documentedYou set it up: run a credential-injecting proxy in a Sidecar (experimental), from an official exampleOptional AI credentials proxy ($1 a day plus $1 per 1,000 requests) for supported model providers and custom HTTPS APIs
RegionsNot publishedUS, EU and Asia-Pacific plus narrower regions; pinning costs 1.15x to 1.75xGermany, Finland and France; you cannot pick a region; no US or Asia region
Every feature Battleships tracks (43)
FeatureTogether Code SandboxModal VM Sandboxesboat
Full VM (own kernel)YesYesYes
Docker insideNot publishedYesYes
Nested virtualizationNo documented wayYesYes
RootYesYesYes
SystemdNot publishedYesYes
Desktop GUINot publishedWith your own setupYes
BrowserNot publishedWith your own setupYes
Computer-use APINot publishedWith your own setupYes
SSHNo documented wayWith your own setupYes
Persistent diskWith your own setupWith your own setupYes
Pause/resumeYesNo documented wayYes
Automatic snapshotsNo documented wayNo documented wayYes
Fork/cloneYesYesYes
Live fork (no pause)No documented wayNot publishedYes
Memory forkYesYesNo documented way
Custom image (Docker or snapshot)YesYesYes
≥24 h sessionsYesYesYes
Idle auto-stopNo documented wayYesNo documented way
Wake on requestNo documented wayNo documented wayNo documented way
HTTPS preview URLsYesYesYes
Raw TCP inboundNo documented wayYesYes
Public IPv4No documented wayNo documented wayNo documented way
Egress allowlistNo documented wayYesNo documented way
Secret proxyNo documented wayWith your own setupYes
Secret proxy for any APINo documented wayNo documented wayYes
Preinstalled agentsNo documented wayWith your own setupYes
Agent harness APINo documented wayNo documented wayYes
MCP serverYesNo documented wayNo documented way
GPUNo documented wayNo documented wayNo documented way
WindowsNo documented wayNo documented wayNo documented way
Arm64No documented wayNo documented wayNo documented way
Self-hostingNo documented wayNo documented wayNo documented way
BYOCNo documented wayNo documented wayNo documented way
Open sourceNo documented wayNo documented wayNo documented way
Scoped API keysNot publishedNot publishedYes
Spend limitsYesNot publishedYes
Usage per sandbox (API)YesNot publishedYes
Audit logsNot publishedYesNo documented way
SSOYesYesNo documented way
SOC 2YesYesNo documented way
HIPAANo documented wayYesNo documented way
EU data residencyNot publishedYesNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

Together Code SandboxNot measured
Modal VM Sandboxes15.48 runs/s
boat28.06 runs/s

On the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, in StarSling's run of 3 October 2026 (run 37073680030), boat did 28.06 runs/s, second of 15. Modal's VM runtime did 15.48 and its gVisor runtime 12.60, both rank 7 (shared). On real repos in the same run, total seconds were 135.8 vs 180.8 (Better-Auth), 980 vs 1,205 (Mastra) and 428 vs 659 (OpenClaw), boat vs Modal VM. StarSling ran Modal with cpu=4, and the sandbox saw 4 CPUs (PR #121); sized that way, Modal bills 4 cores, $0.76/h. 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. Providers ran on different hardware in different regions. Together Code Sandbox is not in the public benchmarks we use, so we cannot say how it compares.

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. Modal VM Sandboxes measured on: VM Sandbox, request = size. 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 is not in the public benchmarks we use, so we cannot say which is faster.

Pricing in five scenarios

Each bill is priced from the providers' public price lists by the open Battleships engine, with the cheapest plan that runs the scenario. Start limits, per-start fees and plan minimums are in the price, boat's included.

ScenarioTogether Code Sandbox, a monthModal VM Sandboxes, 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$0 · Starter$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$109 · Starter · with limits$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,480 · Starter$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$579 · Team$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,911 · Team · with limits$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.

Modal VM Sandboxes: Modal prices CPU per physical core, and one core equals two vCPUs. It bills by the second for the larger of the CPU and memory you request and what you use, until the sandbox ends. A 4 vCPU / 8 GiB sandbox is 2 cores + 8 GiB: $0.476 an hour when the request equals the size. The scenario bills use a minimal request that bursts above it, which is not guaranteed. Starter is $0 with $30 of credit a month. Team is $250 a month with $100 of credit. Pinning a region multiplies the price by 1.15x to 1.75x.

Modal VM Sandboxes: 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. A Modal VM Sandbox runs 24 hours at most. Files carry over through a filesystem snapshot (kept 30 days by default, or with no expiry) or a Volume, which your code sets up. The always-on scenario has no break, so Modal needs a snapshot and a new sandbox each day and is marked as not fitting as-is. Modal fits the workday, 50-agent and user-sandbox scenarios. Its bills assume a minimal CPU request that bursts above it; that extra CPU is shared and not guaranteed. boat runs 100 sandboxes at once on the $20 plan and 2,000 on the $2,000 plan. Even the $2,000 plan includes only 90 starts a minute; 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 SandboxModal VM Sandboxesboat
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
  • Starter: sessions capped at 24 h
None 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
  • shared vCPUs on this tier (Modal (VM Sandboxes) sells dedicated cores separately as “VM Sandbox, request = size”): heavy, sustained CPU use can be slowed by other tenants
  • 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 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: sandboxes start at a tenth of a core, priced per vCPU-hour and GiB-hour.

Use Modal VM Sandboxes when

you want self-serve VMs with Docker today for jobs that finish within a day, need huge bursts, a large disk, regions outside Europe or strict outbound rules, or already run models on Modal.

  • Self-serve VMs with Docker inside. Good if you want to start today: sign up, set runtime to vm, and run Docker, FUSE and systemd in a real kernel.
  • Very large bursts and a big disk. Useful for huge waves of short jobs: Team runs 5,000 containers at once, and each VM has 512 GiB of disk.
  • Regions and outbound rules. Helpful when an agent must run near users worldwide or reach only chosen hosts: pin a region, and block or allowlist outbound traffic.

Where boat fits

Look at boat if your agents work for hours or days on a machine they come back to. Each sandbox is a full VM with Docker, /dev/kvm, a desktop and seven coding agents, and boat saves its disk every minute with no code. boat needs a card, has no region choice and no GPU, and caps starts per plan.

A machine that keeps its work with no code

boat saves the disk every minute and at each stop, and a stopped sandbox has no compute charge. A Modal VM ends within 24 hours, so you snapshot its filesystem or use a Volume. Together saves a snapshot when a sandbox ends. A boat resume is like a reboot, and writes after the last good snapshot can be lost if a machine fails.

Emulators and private ports on every plan

Together documents neither Docker inside nor nested virtualization, and its port URLs are public by default. Modal offers nested virtualization on Enterprise only, as an experimental option. boat has /dev/kvm on every plan, and its HTTPS URLs on up to 50 ports are token-protected by default.

More CPU work per second in one public run

In StarSling's run of 3 October 2026, boat did 28.06 runs/s against 15.48 for Modal's VM runtime and 12.60 for gVisor, on a 9950X host. boat also places sandboxes on other hosts, which this run did not measure. Together was not in the run.

Use boat when your agents work for hours or days in a machine they come back to: installs, builds, Docker, emulators, a desktop and servers others reach, on a VM that saves its disk with no code. Compare it one to one: boat vs Together Code Sandbox and boat vs Modal VM Sandboxes.

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 Modal VM Sandboxes?

Per hour at list price, Together Code Sandbox is about $0.30 at 4 vCPU / 8 GB, and Modal $0.476 at 2 cores + 8 GiB (Modal counts 1 core as 2 vCPU). The tables price Together with Code Interpreter, which fits none of these scenarios because its sessions last 60 minutes. Modal fits one agent on workdays inside Starter's $30 monthly credit, 50 agents in parallel at $1,480 and sandboxes for your users at $579. boat comes to $20, $317 and $200 for the same three.

Which is faster, Together Code Sandbox or Modal VM Sandboxes?

Together Code Sandbox is not in the public benchmarks we use, so we cannot say. In StarSling's run of 3 October 2026, Modal's VM runtime did 15.48 runs/s and its gVisor runtime 12.60 at 4 vCPU / 8 GB. boat did 28.06 in the same run, on an AMD Ryzen 9 9950X host. Modal ran with cpu=4, which Modal bills as 4 cores.

Can Together Code Sandbox run Docker?

Together builds sandboxes from Docker images, but its SDK runs commands as user 1000 by default and does not document Docker inside a sandbox. Modal VM Sandboxes run Docker once you start dockerd. boat has Docker, systemd and root ready in every sandbox.

How long can each sandbox run?

A Together sandbox runs until you terminate it or its time to live ends, counted from creation, with no idle detection or wake on request. A Modal VM Sandbox runs 5 minutes by default and 24 hours at most; a filesystem snapshot carries its files to a new sandbox. boat has no session cap once auto-stop is off on a paid plan; the default is 1 hour.

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. Modal VM Sandboxes are self-serve on Starter ($0 with $30 of credit a month). boat is self-serve with a card, and the 7-day trial needs a card too.

Can either save a sandbox with its memory?

Together can save disk and memory when a sandbox ends, and new sandboxes come back with processes running. Modal has memory snapshots in alpha: taking one ends the sandbox, and it expires after 7 days. boat saves the disk every minute and at each stop, not memory, so a resume is like a reboot.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons