Together Code Sandbox vs Agent 37

Together Code Sandbox starts VMs from Docker-image snapshots and can save their memory when they end, but Together has to turn it on for your organization. Agent 37 is self-serve: each agent gets its own instance, gVisor by default or a full VM by choice, that sleeps when idle, keeps its memory and wakes on the next message.

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.

Agent 37

Agent 37 hosts AI agents, one isolated, always-on sandbox per user, behind one API.

You create an instance from a template (Hermes, OpenClaw, Claude Code, Codex, OpenCode, Pi, Grok or your own Docker image) and talk to it through a chat API, files, exec, SSH and HTTPS URLs. The default instance is a container enforced by gVisor. A VM type gives a full Linux machine with its own kernel for Docker, Kubernetes and Android emulators. It is built for companies that give each of their customers an agent.

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 rankAgent 37: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
Agent 37 ranks #4 at $551 a month, with Docker and /dev/kvm on its VM type. Together does not document Docker inside a sandbox. boat ranks #5 at $634, with Docker, a desktop and a disk saved every minute.
67th of 365, with limits
$528 a month
4th cheapest of 365
$551 a month
5th cheapest of 365
$634 a month
Always-on AI employees
50 machines 24/7 · 2 vCPU / 4 GB
Agent 37 ranks #1 here at $279 a month: its instances sleep when idle and keep their memory. A Together sandbox runs until you end it or its ttl ends, with no idle detection. boat ranks #6 at $657, with no session cap once auto-stop is off on a paid plan.
107th of 361, with limits
$1,095 a month
Cheapest of 361
$279 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
Agent 37 ranks #1 at $22 a month for short code runs. Together runs short code through exec once it enables the product for you. Our rankings price Together's Code Interpreter line, so Together is a compromise in every use case. boat is a compromise here (#189) because of its start limits.
318th of 336, with limits
$2,190 a month
Cheapest of 336
$22 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
Agent 37 ranks #1 at $79 a month and runs up to 1,000 awake instances once you have topped up $1,000. boat ranks #3 at $209. On Together every port URL is public unless you set an experimental access policy.
231st of 349, with limits
$900 a month
Cheapest of 349
$79 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
Together can branch many copies from one memory snapshot once it enables the VM product for you. Agent 37 is a compromise here (#9), because its default type shares vCPUs. boat (#39) is a compromise too, because it limits starts per plan.
309th of 349, with limits
$21,900 a month
9th of 349, with limits
$363 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
Cheapest of 359
$58 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
253rd of 374, with limits
$180 a month
227th of 374, with limits
$96 a month
2nd cheapest of 374
$86 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
Agent 37 ranks #3 at $12 a month and boat #19 at $26. Together documents no SSH and no idle sleep.
226th of 371, with limits
$22 a month
3rd cheapest of 371
$12 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
Agent 37 ranks #3 at $120 a month: you build a noVNC template or use its Ubuntu VM template. On Together you build a desktop into your image yourself. boat ranks #7 at $200 with a 60 fps desktop built in.
105th of 367, with limits
$600 a month
3rd cheapest of 367
$120 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
47th of 356, with limits
$29 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
Cheapest of 343
$32 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
39th of 327, with limits
$648 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
Agent 37 ranks #1 here. boat ranks #3 at $200, with root, /dev/kvm and raw ports on a public IPv6 address. Together documents no outbound allowlist and no nested virtualization.
95th of 351, with limits
$150 a month
Cheapest of 351
$43 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 SandboxAgent 37boat
Getting startedThe SDK and CLI must be enabled for your organization by TogetherSelf-serve prepaid wallet with no plan feeSelf-serve with a card (7-day trial); plans from $20 a month
IsolationA VM per sandbox on Together's infrastructuregVisor by default; full VM as an opt-in instance typeFull VM with its own kernel, on AMD Ryzen 7 9700X and Ryzen 9 9950X hosts; vCPUs are shared
Machine size0.1 to 16 cores, 1 to 8 GB of memory per core; disk size not configurable4 vCPU maximum on every type; default type shares vCPUs, Performance type runs on dedicated cores at 4x the compute rate2 to 16 vCPU with 2 GB per vCPU; 16 vCPU / 32 GB needs the $100 plan or higher
Docker insideNot documented; Dev Containers and Docker Compose are not readYes on the VM type, at 2.5x the default compute rateYes, in every sandbox, with root and systemd
Nested virtualizationNot documented/dev/kvm on the VM type, with a ready Android templateYes, /dev/kvm in every sandbox
Shell accessCommands, interactive shells and files through the SDK and CLI; SSH not documentedSSH through an authenticated WebSocket tunnel, plus exec and files over the APISSH, plus the API and CLI
Saving memoryEnd a sandbox with a snapshot of its disk, or disk and memoryOpt-in auto-sleep after a quiet period, memory checkpointed, wakes on the next requestNo: disk saved every minute and at stop; resume reboots the machine
Fork and copiesThe parent stops first, then you start many sandboxes from its snapshot, with memory if you askFork any running, stopped or sleeping instance (disk copy, the fork boots fresh)Fork a running sandbox from its last 1-minute snapshot; the original keeps running
Idle and wakeRuns until you end it or its ttl ends; no idle detection and no wake on requestSleeps when idle and wakes on the next requestAuto-stop 1 h after creation or resume by default (up to 30 days, or off on paid plans); it does not watch for idle
Reaching the sandboxA URL per port, open to everyone by default; an experimental policy limits access by IP or requires a tokenHTTPS URL per port, signed URLs, custom domains; no public IPHTTPS URLs for up to 50 ports, token-gated by default; SSH; raw ports on a public IPv6 address
Desktop and browserNo built-in desktop or stream; you install a browser or virtual display in your own imageYou set it up: noVNC desktop through a template build, or the Ubuntu VM templateBuilt-in 1920x1080, 60 fps desktop and Chrome, computer tools, embeddable stream
Coding agentsYou install your agent in your image and run it through execs; a Harbor guide for agent evalsHermes, OpenClaw, Claude Code, Codex, Grok, OpenCode, Pi, with a chat API per instanceSeven harnesses installed, with a prompt, steer and events API
Keeping API keys out of the sandboxNo credentials proxy documentedManaged LLM, search and Composio through a per-instance token; your own keys go in as env varsOptional paid AI credentials proxy keeps supported providers' keys outside; other secrets still enter the sandbox
RegionsNot publishedUnited StatesGermany, Finland and France; no US or Asia region, and you cannot pick one
Every feature Battleships tracks (43)
FeatureTogether Code SandboxAgent 37boat
Full VM (own kernel)YesNo documented wayYes
Docker insideNot publishedNo documented wayYes
Nested virtualizationNo documented wayNo documented wayYes
RootYesYesYes
SystemdNot publishedNot publishedYes
Desktop GUINot publishedWith your own setupYes
BrowserNot publishedYesYes
Computer-use APINot publishedNo documented wayYes
SSHNo documented wayYesYes
Persistent diskWith your own setupYesYes
Pause/resumeYesYesYes
Automatic snapshotsNo documented wayYesYes
Fork/cloneYesYesYes
Live fork (no pause)No documented wayYesYes
Memory forkYesNo documented wayNo 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 wayNo documented wayNo documented way
Secret proxyNo documented wayYesYes
Secret proxy for any APINo documented wayNo documented wayYes
Preinstalled agentsNo documented wayYesYes
Agent harness APINo documented wayYesYes
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 limitsYesYesYes
Usage per sandbox (API)YesYesYes
Audit logsNot publishedNot publishedNo documented way
SSOYesNo documented wayNo documented way
SOC 2YesYesNo 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
Agent 37Not measured
boat28.06 runs/s

Neither Together Code Sandbox nor Agent 37 is in the public CPU benchmark 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 that run ran on an AMD Ryzen 9 9950X host; boat also places some sandboxes on other hosts and does not promise a CPU model. Agent 37's default instances share host resources, and its Performance type runs on dedicated cores.

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 Agent 37 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 monthAgent 37, 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$6 · Wallet (any top-up)$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$12 · Wallet (any top-up)$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$329 · Wallet ($50 lifetime top-ups)$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$33 · Wallet ($1,000 lifetime top-ups)$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$73 · Wallet ($1,000 lifetime top-ups) · 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; our rankings use that line because Code Sandbox needs enablement.

Agent 37: Agent 37 uses a prepaid wallet with no plan fee, metered per minute: $0.80 per vCPU and $0.70 per GB of RAM per month while running, and $0.09 per GB of disk per month even while asleep. Performance compute costs 4x and VM compute 2.5x the default rate.

Agent 37: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month. A 4 vCPU / 8 GB sandbox costs $0.036 an hour, billed per second while it runs, busy or idle. A stopped sandbox has no compute charge. Saved snapshots above the plan's count ($0.056 a day each) and the optional AI credentials proxy still charge while sandboxes are stopped. Starts above the plan's included number cost $0.03 to $0.07 each.

Limits in those scenarios

Together Code Sandbox needs Together to enable it for your organization, documents no Docker inside a sandbox, and publishes no concurrency or start limits. Agent 37 caps awake instances by total top-ups, up to 1,000 at $1,000, and its egress price is not published. Its default type shares vCPUs, so the 1,000-job burst is a compromise there. On boat, the $2,000 plan includes 90 starts a minute and 2,400 a day; extra starts cost $0.03 to $0.07, and starts above 270 a minute fail with 429, so the 1,000-job burst does not fit.

ScenarioTogether Code SandboxAgent 37boat
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
  • egress price not published
None 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
  • egress price not published
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
  • egress price not published
None 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
  • egress price not published
None 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: heavy, sustained CPU use can be slowed by other tenants
  • egress price not published
  • 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 and want light VMs, from a tenth of a core, that you can save with their memory and branch from.

  • Memory snapshots to branch from. A Together sandbox can end with its memory saved, and every copy started from it comes back with processes running.
  • Very small machines. Sandboxes start at a tenth of a core, which suits large numbers of light tasks once Together enables them.
  • Sandboxes next to your models. If you already run inference or fine-tuning on Together, sandboxes and model calls share one account.

Use Agent 37 when

you host one mostly idle assistant per customer in the US that should sleep with its memory kept and wake on the next message.

  • Sleeps when idle and keeps its memory. For assistants that wait most of the day, an Agent 37 instance sleeps, keeps its memory and wakes on the next message.
  • Self-serve, with agents installed. Agent 37 needs no approval, and ships Claude Code, Codex, OpenCode and other agents with a chat API per instance.
  • Lowest bills of the three in most scenarios. One always-on agent costs $12 a month on Agent 37, and 300 user sandboxes $33, on its default type with shared vCPUs.

Where boat fits

Together is a gated VM product and Agent 37 is built for mostly idle assistants. If your agents do hours of real work, with installs, builds, Docker and a browser, look at boat. It gives each one a full VM by default, saves the disk every minute and forks while it runs.

Docker and systemd in every sandbox

Together does not document Docker inside a sandbox. Docker on Agent 37 needs its VM type, which bills compute at 2.5x and has no init system. Every boat sandbox has Docker, systemd and /dev/kvm.

A disk saved with no code

Together saves state when a sandbox ends. Agent 37 backs up nightly, plus one on-demand slot. boat saves the disk every minute and at each stop. Writes from the last minute or so can be missing after a machine failure.

Private URLs and a screen

Together's port URLs are open to everyone unless you set an experimental policy. On Together you build a desktop into your image, and on Agent 37 you build a noVNC template or use its Ubuntu VM template. boat gives token-gated HTTPS on up to 50 ports, SSH and a 60 fps desktop with computer tools.

Use boat when your agents do real work for hours: installs, builds, Docker, emulators, a browser and servers, on a full machine that keeps its disk with no code. Compare it one to one: boat vs Together Code Sandbox and boat vs Agent 37.

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 Agent 37?

No. At Together's Code Sandbox list rates, compute only, one agent on workdays costs $52 against $6 on Agent 37, one always-on agent $217 against $12, and sandboxes for your users $744 against $33. Agent 37's numbers use its default type with shared vCPUs. boat costs $20, $26 and $200 for those three.

Which is faster, Together Code Sandbox or Agent 37?

We cannot say: neither is in the public CPU benchmark we use. 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 Agent 37 run Docker?

Agent 37 runs Docker on its VM type, which bills compute at 2.5x the default rate. Together builds sandboxes from Docker images but does not document Docker inside a sandbox. Every boat sandbox runs Docker with no extra setting.

Do they keep memory between sessions?

Both can. A Together sandbox can end with a disk and memory snapshot, and copies start from it with processes running. An Agent 37 instance sleeps when idle with its memory checkpointed and wakes on the next request. boat saves the disk only, so a resume is like a reboot.

Can I sign up for Together Code Sandbox right away?

No: the together-sandbox SDK and CLI must be enabled for your organization. Agent 37 and boat are both self-serve; boat needs a card, also for the 7-day trial.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons