Together Code Sandbox vs Azure Container Apps Sandboxes
Both give each sandbox its own VM and can save its memory. Together Code Sandbox saves a memory snapshot when a sandbox ends, but Together has to turn it on for your organization. Azure Container Apps Sandboxes runs in your own Azure account, suspends idle sandboxes with their memory, wakes them on traffic and lets you snapshot a running 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.
Azure Container Apps Sandboxes
Azure Container Apps Sandboxes is a service inside Microsoft Azure that gives each agent or user an isolated microVM you create, suspend and resume through an SDK.
It is part of Azure Container Apps, the hyperscaler's serverless container platform, and lives in your Azure subscription as a sandbox group resource. Each sandbox boots from an OCI image or a snapshot and has its own kernel. A stop keeps the disk, or the disk and the memory, and a memory-mode sandbox resumes in under a second. It is built for teams already on Azure that want stateful code execution with Azure networking, identity and billing.
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 | Azure Container Apps Sandboxes: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month A software factory needs Docker and a disk that lasts. Azure ranks #33 at $5,276 a month, with Docker on its azure-dev image. 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 | 33rd cheapest of 365 $5,276 a month | 5th cheapest of 365 $634 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB Azure ranks #52 for an always-on agent at $6,780 a month, with no session cap and suspend on idle. A Together sandbox runs until you end it or its ttl ends. 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 | 52nd cheapest of 361 $6,780 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 Azure ranks #39 for short code runs at $354 a month, and a sandbox can suspend with its memory and resume in under a second. 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 | 39th cheapest of 336 $354 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 Azure ranks #32 at $2,260 a month and suspends idle user sandboxes with their memory. On Together every port URL is public unless you set an experimental access policy. boat ranks #3 at $209. | 231st of 349, with limits $900 a month | 32nd cheapest of 349 $2,260 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. Azure's default quota of 300 active cores per region caps a fleet until support raises it, so it is a compromise here (#158). | 309th of 349, with limits $21,900 a month | 158th of 349, with limits $10,740 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 Azure ranks #85 for agent evals at $1,728 a month. Together documents a Harbor guide for agent evals. boat ranks #10 at $200 and has a Harbor integration too. | 260th of 359, with limits $450 a month | 85th cheapest of 359 $1,728 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 | 108th cheapest of 374 $1,046 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 | 327th of 371, with limits $262 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 Azure ranks #58 at $1,573 a month: you build a desktop into your own OCI image. On Together you build one into your image too. boat ranks #7 at $200 and streams a Linux desktop at 60 fps. | 105th of 367, with limits $600 a month | 58th cheapest of 367 $1,573 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 boat ranks #7 for browser agents and runs Chrome on a full machine. Azure (#129) and Together are compromises, because you install the browser yourself. | 195th of 356, with limits $900 a month | 129th of 356, with limits $795 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 | 112th cheapest of 343 $561 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 | 240th of 327, with limits $10,956 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 | 30th cheapest of 351 $517 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 | Azure Container Apps Sandboxes | boat |
|---|---|---|---|
| Getting started | The SDK and CLI must be enabled for your organization by Together | Azure subscription and Microsoft Entra ID with the SandboxGroup Data Owner role | Self-serve with a card (7-day trial); plans from $20 a month |
| Isolation | A VM per sandbox on Together's infrastructure | MicroVM per sandbox with its own kernel | Full VM with its own kernel, on AMD Ryzen 7 9700X and Ryzen 9 9950X hosts; vCPUs are shared |
| Machine size | 0.1 to 16 cores, 1 to 8 GB of memory per core; disk size not configurable | Fixed tiers; XL is 4 cores / 8 GiB | 2 to 16 vCPU with 2 GB per vCPU; 16 vCPU / 32 GB needs the $100 plan or higher |
| Docker, root and systemd | Commands run as user 1000 by default, root per exec on request; Docker inside not documented | Depends on the image: azure-dev ships Docker on systemd; the default ubuntu image has only Buildah | Docker, systemd and root in every sandbox |
| Nested virtualization | Not documented | Not documented | Yes, /dev/kvm in every sandbox |
| Shell access | Commands, interactive shells and files through the SDK and CLI; SSH not documented | Shell through the aca CLI, the SDK or the portal; SSH not documented | SSH, plus the API and CLI |
| Saving state | End a sandbox with a snapshot of its disk, or disk and memory | Suspend with memory and disk; resume in under a second with processes running | Disk saved every minute and at stop, with no code; memory is not saved, so a resume is like a reboot |
| Idle and wake | Runs until you end it or its ttl ends; no idle detection and no wake on request | No session cap; auto-suspends when idle and wakes on traffic | Auto-stop 1 h after creation or resume by default (up to 30 days, or off on paid plans); it does not watch for idle |
| Fork | The parent stops first, then you start many sandboxes from its snapshot, with memory if you ask | Snapshot a running sandbox with its memory and create new sandboxes from it | Fork a running sandbox from its last 1-minute snapshot; the original keeps running |
| Reaching the sandbox | A URL per port, open to everyone by default; an experimental policy limits access by IP or requires a token | Public HTTPS routes per published port; private endpoint from your VNet; no public IP | HTTPS URLs for up to 50 ports, token-gated by default; SSH; raw ports on a public IPv6 address |
| Outbound rules | No egress allowlist documented | Allow, deny, rewrite and header rules by host, path and method; VNet integration | No provider-side allowlist; you set your own firewall as root |
| Desktop and browser | No built-in desktop or stream; you install a browser or virtual display in your own image | No desktop or browser in the public images; you can build one into your own OCI image | Built-in 1920x1080, 60 fps desktop and Chrome, computer tools, embeddable stream |
| Coding agents and keys | You install your agent in your image and run it through execs; no credentials proxy documented | Copilot CLI and Claude Code images run through the exec API; an egress Transform rule can add a secret to outbound headers so it never enters the sandbox | Seven harnesses installed with an API to drive them; optional paid AI credentials proxy keeps supported providers' keys outside |
| Regions | Not published | 40 Azure regions on six continents | Germany, Finland and France; no US or Asia region, and you cannot pick one |
Every feature Battleships tracks (43)
| Feature | Together Code Sandbox | Azure Container Apps Sandboxes | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | Yes | Yes |
| Docker inside | Not published | Yes | Yes |
| Nested virtualization | No documented way | Not published | Yes |
| Root | Yes | Yes | Yes |
| Systemd | Not published | Yes | Yes |
| Desktop GUI | Not published | With your own setup | Yes |
| Browser | Not published | With your own setup | Yes |
| Computer-use API | Not published | No documented way | Yes |
| SSH | No documented way | No documented way | Yes |
| Persistent disk | With your own setup | Yes | Yes |
| Pause/resume | Yes | Yes | Yes |
| Automatic snapshots | No documented way | Yes | Yes |
| Fork/clone | Yes | Yes | Yes |
| Live fork (no pause) | No documented way | Yes | Yes |
| Memory fork | Yes | Yes | No documented way |
| Custom image (Docker or snapshot) | Yes | Yes | Yes |
| ≥24 h sessions | Yes | Yes | Yes |
| Idle auto-stop | No documented way | Yes | No documented way |
| Wake on request | No documented way | Yes | No documented way |
| HTTPS preview URLs | Yes | Yes | Yes |
| Raw TCP inbound | No documented way | No documented way | 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 | No documented way | Yes |
| MCP server | Yes | No documented way | 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 | No documented way | No documented way |
| Self-hosting | No documented way | No documented way | No documented way |
| BYOC | No documented way | No documented way | No documented way |
| Open source | No documented way | No documented way | No documented way |
| Scoped API keys | Not published | Not published | Yes |
| Spend limits | Yes | Yes | Yes |
| Usage per sandbox (API) | Yes | Yes | Yes |
| Audit logs | Not published | Yes | No documented way |
| SSO | Yes | Yes | No documented way |
| SOC 2 | Yes | Yes | No documented way |
| HIPAA | No documented way | Yes | No documented way |
| EU data residency | Not published | Yes | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
Neither Together Code Sandbox nor Azure Container Apps Sandboxes 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.
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 Azure Container Apps Sandboxes 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 | Azure Container Apps Sandboxes, 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 | $68 · Pay-as-you-go | $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 | $262 · Pay-as-you-go · 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 | $3,421 · Pay-as-you-go | $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 | $989 · Pay-as-you-go | $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 | $2,148 · Pay-as-you-go | $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.
Azure Container Apps Sandboxes: Azure bills per second on the Container Apps Consumption meters for the vCPU and memory of the sandbox's tier while it runs, including idle time before auto-suspend. The XL tier (4 cores / 8 GiB) is $0.432 an hour at East US rates. There is no plan fee, and a stopped sandbox pays no CPU or memory. Storage for images and snapshots is announced as billed per GiB.
Azure Container Apps 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 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. Azure bills every running second, so the always-on agent gets close only with a 3-year commitment. Its default quota is 300 active cores per region and subscription, so 300 user sandboxes and 1,000 jobs at once need a support request first. boat's $2,000 plan includes 90 starts a minute, and starts above 270 a minute fail with 429, so 1,000 short jobs at once do not fit.
| Scenario | Together Code Sandbox | Azure Container Apps Sandboxes | boat |
|---|---|---|---|
| One coding agent, workdays |
| None for this scenario | None for this scenario |
| One agent that never stops |
|
| 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 and want light VMs, from a tenth of a core, that you can save with their memory and branch from.
- Very small machines. Sandboxes start at a tenth of a core, with 1 to 8 GB per core, which suits large numbers of light tasks once Together enables them.
- Lower list rate per hour. Code Sandbox lists about $0.30 an hour at 4 vCPU / 8 GB, against $0.432 for Azure's XL tier at East US rates.
- Sandboxes next to your models. If you already run inference or fine-tuning on Together, sandboxes and model calls share one account.
Use Azure Container Apps Sandboxes when
your team runs on Azure and wants stateful sandboxes that suspend with their memory, wake on traffic and sit behind strict egress rules.
- Suspend with memory, wake on traffic. For stateful jobs that sleep between requests, a sandbox suspends with its memory and resumes in under a second.
- Inside your Azure account. Teams already on Azure get Entra ID, Azure billing, VNets and fine-grained egress rules, in 40 regions.
- Keys added at egress. An egress Transform rule can add a secret to outbound headers, so the key never enters the sandbox.
Where boat fits
If your agents work for hours or days, installing, building, testing and checking their work on a screen, look at boat. Each sandbox is a whole computer you can start today, with Docker, /dev/kvm, a desktop and coding agents built in. It saves its disk with no code and has no session cap once auto-stop is off.
A whole computer with Docker and /dev/kvm
Together does not document Docker inside a sandbox. On Azure, Docker depends on the image. Neither documents /dev/kvm. boat gives every sandbox root, systemd, Docker and /dev/kvm.
A screen and agents built in
On Together and on Azure you build the display and streaming stack into your image. boat has a 60 fps desktop, Chrome and seven coding agents you drive from outside through one API.
SSH and a lower hourly price
Neither documents SSH; boat gives every sandbox an SSH endpoint. A 4 vCPU / 8 GB boat sandbox costs $0.036 an hour, against about $0.30 on Together and $0.432 on Azure. boat bills that rate busy or idle, while Azure suspends idle sandboxes.
Use boat when your agents do real work for hours: installs, builds, Docker, emulators, a desktop and servers, on a full machine with SSH that keeps its disk with no code. Compare it one to one: boat vs Together Code Sandbox and boat vs Azure Container Apps 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 Azure Container Apps Sandboxes?
At Together's Code Sandbox list rates, compute only, Together costs less in every scenario we price. One agent on workdays costs $52 against $68 on Azure, 50 agents $2,619 against $3,421, sandboxes for your users $744 against $989, and 1,000 short jobs at once $1,488 against $2,148. Azure suspends idle sandboxes, so a mostly idle workload narrows the gap. boat costs $20, $317 and $200 for the first three, and does not fit the burst.
Which is faster, Together Code Sandbox or Azure Container Apps Sandboxes?
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 they run Docker?
On Azure it depends on the image: azure-dev ships Docker on systemd, while the default ubuntu image has only Buildah. 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?
Both can. Azure suspends a sandbox with its memory and resumes it in under a second, and can snapshot a running sandbox with its memory. Together saves memory when a sandbox ends. 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. Azure needs an Azure subscription, and boat is self-serve with a card, also for the 7-day trial.
Try boat
Install the CLI, then run boat new.
7-day free trial
More comparisons
- boat vs Together Code Sandbox
- boat vs Azure Container Apps Sandboxes
- 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