Head to head · Code sandboxes · October 2026 research run
Freestyle vs Together Code Sandbox
Freestyle scores 62.4 (B) on agent readiness against Together Code Sandbox's 56 (C), and leads in 3 of 7 scored categories. Together Code Sandbox leads on maintenance & community and transparency & trust. Both do code sandboxes.
Best code execution sandboxes for AI agents · All 325 sandboxes comparisons
Which one, for what
Best for Suited to long-running agent work that needs a full Linux VM, memory-preserving pause, snapshots to branch from and private networking.
Ahead on
- Reliability, 47 against 32
- Security & auth, 53 against 46
- Payments & pricing, 68 against 30
Also in its favour
- Free to start without a card
Watch for
No terms of service or service agreement found on the site, and the privacy policy covers the website only
Best for Teams already buying from Together, and former CodeSandbox SDK users, who want Docker-defined sandboxes with disk and memory snapshots from Python or TypeScript.
Ahead on
- Maintenance & community, 83 against 71
- Transparency & trust, 59 against 44
Watch for
The SDK and CLI work only for organisations Together has enabled, and the docs say to contact Together for access
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Payments & pricing Freestyle +38
Freestyle 68
No x402, MPP or L402 found in the docs, the OpenAPI file or the pricing page (0). Per-unit prices are public, $0.04032 a vCPU-hour, $0.0129 a GiB-hour of memory, $0.000086 a GiB-hour of storage and $0.02 a GB of data transfer (20). The Free plan costs $0 with 200 vCPU-hours and 400 GiB-hours of memory a month and needs no card (20). A person has to sign in through a browser first. After that an agent can mint its own key with freestyle tokens create --output json, so 5 of 20 (5). Pricing re-read on 4 November, unchanged. 0 + 20 + 20 + 5 = 45. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 45 is 68.
Together Code Sandbox 30
No x402, MPP or L402 found (0). The pricing page still lists Code Sandbox at $0.0446 per vCPU-hour and $0.0149 per GiB of RAM per hour without a login, and does not say whether the rate covers the new SDK as well as the legacy one (20). The billing docs say Together has no free trial and that platform access needs a minimum $15 credit purchase (0). Access needs a browser signup, a payment and a request to Together to enable the organisation (0). 0 + 20 + 0 + 0 = 20. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 20 is 30.
Reliability Freestyle +15
Freestyle 47
Graded on the hosted lines. www.freestyle.sh/status is the vendor's own page with three components (Freestyle VMs, API, Dashboard), all operational, last updated 25 October 2026 on 4 November, with no incident list or component history (10 of 20). No readable history (5). Plan limits are published with numbers (10, 40 and 400 concurrent VMs, per-VM and total resource budgets), but no request rate limit for the API was found in the reviewed documentation (5 of 15). The OpenAPI file documents 429 LIMIT_EXCEEDED on VM creation and resize and marks which 409s are safe to retry, per the 8 October check (the file wasn't re-read on 4 November), resumable uploads take retryable chunks, and the SDK's terminal sessions reconnect with exponential backoff and jitter without rerunning a command. No Retry-After header or idempotency keys found. That is safe-retry guidance without idempotency keys, 12 in this run, where 8 was given on 8 October (12 of 15). The pricing page lists a 99.99% SLA for Enterprise with no SLA document published (5 of 10). The API is served under /v5 with no beta label (10). 10 + 5 + 5 + 12 + 5 + 10 = 47.
Together Code Sandbox 32
Read with the hosted lines. status.together.ai lists the website, the playground and inference models with no component for the sandbox service, and a vendor status page with no component for the product takes 15. Incident line kept at 5. The Together page posts no incident since 6 January 2025, while status.codesandbox.io, which lists the CodeSandbox API and two clusters, wasn't re-read on 4 November (codesandbox.io answers a bot check, so its terms are unread), per the 8 October check (5). No rate or concurrency limits found, and the migration guide says the concurrency count and limit are not exposed (0). Both SDKs retry 408, 429, 500, 502, 503 and 504 three times with exponential backoff from 0.5 seconds plus jitter, and the SDK references say snapshots.create is not idempotent and should be excluded from retries. That is safe-retry guidance with no idempotency keys (12). No SLA found, and the terms make no uptime guarantee outside an order form (0). The docs still say the SDK must be enabled for an organisation, on request to sales, which is not general availability (0). 15 + 5 + 0 + 12 + 0 + 0 = 32.
Transparency & trust Together Code Sandbox +15
Freestyle 44
The platform is closed. The SDK and CLI are MIT on npm, and no terms of service or service agreement was found on www.freestyle.sh (/terms, /tos and /legal still answer 404 on 4 November), so the terms of use are unclear (8 of 30). The privacy policy, last updated 15 June 2025, covers the website only, and no DPA, retention period or statement on customer VM data was found (3 of 30). The 9 September 2026 changelog deprecates the Git, code execution, web deployment and scheduled trigger APIs, and the OpenAPI file marks every unversioned route deprecated, in both cases without a removal date (6 of 20). The privacy policy names Google Analytics and PostHog for the website. No sub-processor list or data location for VMs was found (3 of 20). 8 + 3 + 6 + 3 = 20.
Together Code Sandbox 59
A closed service under Together's terms of service (19 May 2026). The SDKs, CLI and OpenAPI documents are MIT, which doesn't raise the line for a closed API, as for the Together inference and fine-tuning listings (15). The privacy policy (17 December 2025) says data is not used for training without opt-in. Its table of data types covers inference, fine-tuning and GPU clusters with no sandbox row, and no retention period for sandbox filesystems or snapshots was found beyond an optional snapshot ttl (12). The legacy @codesandbox/sdk page is still marked deprecated with no end date, the deprecations page covers models only, and breaking SDK changes are marked in the changelog. Kept as a partial (8). No sub-processor list or data locations for sandboxes found. A docs example names a cluster na-us-ce-01, and the trust centre was unread (3). 15 + 12 + 8 + 3 = 38.
Maintenance & community Together Code Sandbox +12
Freestyle 71
The newest dated change is the 14 October 2026 changelog entry (browser terminals, expiring identity tokens, 24-hour commands, scoped S3 access), 21 days before this check. freestyle 0.2.16 was published to npm on 27 September 2026, per the 8 October check (30). 25 npm versions between 13 August and 27 September 2026 per the 8 October check, and changelog entries on 9 September and 14 October, all inside the 90 days from 6 August. npm couldn't be re-read on 4 November (20). Closed service with a public changelog of four entries in 2026 and a Discord server, whose response times we did not check (8 of 15). One current official SDK, TypeScript, with the CLI in the same package (10 of 15). The package has three dependencies and no repository field, and no public CI was found, per the 8 October check (3 of 10). 30 + 20 + 8 + 10 + 3 = 71.
Together Code Sandbox 83
Last release together-sandbox 4.1.1 on 7 October 2026, 28 days before 4 November (30). Four tagged releases from 6 August, 4.0.3 (10 August), 4.0.4 (30 September), 4.1.0 (1 October) and 4.1.1 (7 October), each changing SDK or API code (20). The repository's open issues and pull requests weren't readable on 4 November (github.com refuses us), so the 8 October reading stands, when the 30 most recent items were team pull requests merged within days (12). Current official Python and TypeScript SDKs and a CLI, versioned together (15). Pull requests run the TypeScript unit tests, end-to-end tests run on pushes to main, and packages publish by OIDC trusted publishing. The Python tests are not in the pull request workflow, and run results weren't read (6). 30 + 20 + 12 + 15 + 6 = 83.
Security & auth Freestyle +7
Freestyle 53
Account API keys are named, shown once, listed and revoked from the CLI, with no scopes or expiry found. Identity access tokens are separate, limited to granted VMs and named Linux users and to the exec and terminal routes, and revocable one by one, and since the 14 October changelog they take an expiration time (22 of 30). No documented option carries a secret in a URL query string. A new VM has no inbound or outbound network until firewall rules allow it, and identity tokens cannot create team resources. Deleting a VM takes one call with no confirmation step (14 of 20). Credential injection at the edge puts API keys, Postgres passwords and Git tokens on outbound requests without storing them in the VM, and forward auth keeps session cookies out of the guest (12 of 15). Audit logs are listed for Enterprise only, and the April 2026 changelog describes a logs dashboard (5 of 15). /.well-known/security.txt answers 404, and no disclosure policy, bug bounty, SOC 2 or ISO 27001 statement was found, re-read on 4 November (0 of 20). 22 + 14 + 12 + 5 + 0 = 53.
Together Code Sandbox 46
Project-scoped API keys, revocable within about five minutes, with optional expiry and rotation guidance, read as the Together inference and fine-tuning listings read the same key model (30). The in-VM OpenAPI document still lists ?token= as a documented way to authenticate the WebSocket exec path, so the checklist's fixed 10 comes off (20). Each sandbox is a virtual machine. Every port is open to everyone unless the experimental inbound policy is set, no outbound rules exist, and project roles are admin and editor with no read-only role (8). The sandbox returns the output of code the agent ran, with no guidance on untrusted output found (8). Sandboxes can be listed with tags and status_reason. No audit log found (3). A PGP-signed security.txt (Expires 2028-09-30) points Contact and Policy at HackerOne with no acknowledgement time, the value this run gives a disclosure route with no stated time (7). 20 + 8 + 8 + 3 + 7 = 46.
Score by category
| Category | Weight | Freestyle | Together Code Sandbox | Edge |
|---|---|---|---|---|
| Reliability | 16% | 47 | 32 | Freestyle +15 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 86 | 86 | even |
| Agent ergonomics | 13% | 69 | 70 | Together Code Sandbox +1 |
| Security & auth | 14% | 53 | 46 | Freestyle +7 |
| Payments & pricing | 10% | 68 | 30 | Freestyle +38 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 71 | 83 | Together Code Sandbox +12 |
| Transparency & trust | 7% | 44 | 59 | Together Code Sandbox +15 |
| Negative events | ≤15 | 0 | 0 | |
| Total | B 62.4/100 | C 56/100 |
Facts side by side
| Fact | Freestyle | Together Code Sandbox |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Freestyle Cloud Inc. | Together AI |
| Hosted endpoint | https://api.freestyle.sh/v5 | https://api.bartender.codesandbox.io |
| Transports | HTTP | HTTP |
| Auth | API key | API key |
| Pricing | Freemium | Pay per use |
| x402 | no | no |
| Licence | Proprietary service with no published terms of service found. The freestyle SDK and CLI package on npm is MIT | Proprietary service under Together's terms of service. The SDKs, CLI and OpenAPI documents on GitHub are MIT |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-09-27 | 2026-10-07 |
| Terms last updated | no document linked | no date given |
| Privacy policy last updated | no document linked | no date given |
| Customer content may train models | not read yet | not found in the text |
| Terms restrict automated access | not read yet | not found in the text |
| Terms restrict benchmarking | not read yet | yes |
| Terms or service can change without notice | not read yet | not found in the text |
| Arbitration or class-action waiver | not read yet | not found in the text |
| Popularity | 72k npm/wk | 3 stars, 1.3k npm/wk |
How the scores have moved
Verdicts
Freestyle
A public OpenAPI 3.1 file describes 88 operations with a stable error code on every failure, and per-VM identity tokens keep the team API key away from end users. No terms of service, product privacy policy, request rate limit or incident history was found, and the only SDK is TypeScript.
Together Code Sandbox
Two public OpenAPI documents, MIT clients for Python and TypeScript, cursor pagination and SDK retries with guidance on which writes not to retry make the surface easy for an agent to drive. Access is the limit. Together enables the SDK per organisation on request, publishes no rate limits or SLA, and its status page has no sandbox component.
Before you call either
Freestyle
- Send a
firewallobject on everyPOST /v5/vms. It is required, and a VM with no rules has no outbound internet - Ask the owner to run
freestyle loginin a browser once, then mint a key withfreestyle tokens create --output json - Do not retry an exec that answers 409
VM_NON_RESPONSIVE. The command may already have run - Keep
exec-awaitunder 300 seconds on older guest agents. The 14 October changelog letsvm.exec()run up to 24 hours on VMs with an updated guest agent - Call the
/v5paths. The unversioned duplicates in the OpenAPI file are marked deprecated
Together Code Sandbox
- Confirm the organisation is on Together's allowlist before installing. A valid
TOGETHER_API_KEYalone is not enough - Build a snapshot first with
snapshots.create. No default image exists, and every sandbox needssnapshot_idorsnapshot_alias - Set
ttlat creation or callterminate(). Nothing stops a sandbox otherwise, and closing the Python client leaves it running - Store the snapshot alias, not the sandbox ID. A terminated sandbox can't restart, and its state lives at
sandbox:<id> - Exclude
snapshots.createfrom retries withshould_retry, and setexperimental.network_policybefore serving anything private on a port
Questions
Which is better for AI agents, Freestyle or Together Code Sandbox?
Freestyle scores 62.4 (B) on agent readiness against Together Code Sandbox's 56 (C), and leads in 3 of 7 scored categories. Together Code Sandbox leads on maintenance & community and transparency & trust.
Do Freestyle and Together Code Sandbox need an API key?
Both need an API key.
Can an agent call Freestyle and Together Code Sandbox without installing anything?
Yes. Freestyle has a hosted endpoint at https://api.freestyle.sh/v5 and Together Code Sandbox at https://api.bartender.codesandbox.io.
Other comparisons with Freestyle or Together Code Sandbox
- Amazon Bedrock AgentCore Code Interpreter vs Freestyle
- Amazon Bedrock AgentCore Code Interpreter vs Together Code Sandbox
- Blaxel Sandboxes vs Freestyle
- Blaxel Sandboxes vs Together Code Sandbox
- boat vs Freestyle
- boat vs Together Code Sandbox
- Celesto (formerly SmolVM) vs Freestyle
- Celesto (formerly SmolVM) vs Together Code Sandbox
- Cloudflare Sandbox SDK vs Freestyle
- Cloudflare Sandbox SDK vs Together Code Sandbox
- Daytona vs Freestyle
- Daytona vs Together Code Sandbox
- Deno Sandbox vs Freestyle
- Deno Sandbox vs Together Code Sandbox
- DigitalOcean Managed Agents vs Freestyle
- DigitalOcean Managed Agents vs Together Code Sandbox
- Docker Sandboxes vs Freestyle
- Docker Sandboxes vs Together Code Sandbox
- E2B vs Freestyle
- E2B vs Together Code Sandbox
- Freestyle vs InstaVM
- Freestyle vs Maritime
- Freestyle vs Microsoft Execution Containers
- Freestyle vs Modal Sandboxes
- Freestyle vs Morph Cloud
- Freestyle vs Offscreen
- Freestyle vs SPACE
- Freestyle vs Render Sandboxes
- Freestyle vs Runloop Devboxes
- Freestyle vs Sandbox0
- Freestyle vs Sprites
- Freestyle vs Vercel Sandbox
- InstaVM vs Together Code Sandbox
- Maritime vs Together Code Sandbox
- Microsoft Execution Containers vs Together Code Sandbox
- Modal Sandboxes vs Together Code Sandbox
- Morph Cloud vs Together Code Sandbox
- Offscreen vs Together Code Sandbox
- SPACE vs Together Code Sandbox
- Render Sandboxes vs Together Code Sandbox
- Runloop Devboxes vs Together Code Sandbox
- Sandbox0 vs Together Code Sandbox
- Sprites vs Together Code Sandbox
- Together Code Sandbox vs Vercel Sandbox
- Agent 37 Cloud vs Freestyle
- Agent 37 Cloud vs Together Code Sandbox
- DeltaBox Lite vs Freestyle
- DeltaBox Lite vs Together Code Sandbox
Machine-readable
- This page as Markdown
/compare/freestyle-vs-together-code-sandbox.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/freestyle.json·/api/v1/tools/together-code-sandbox.json - From a terminal
anchor compare freestyle together-code-sandbox(the CLI) - Over MCP
compare_tools {"a": "freestyle", "b": "together-code-sandbox"}at/mcp, no key