Head to head · Code sandboxes · October 2026 research run

Tensorlake Sandboxes vs Together Code Sandbox

Tensorlake Sandboxes scores 65.8 (B) on agent readiness against Together Code Sandbox's 56 (C), and leads in 5 of 7 scored categories. Together Code Sandbox leads on schema & documentation. Both do code sandboxes.

Best code execution sandboxes for AI agents · All 351 sandboxes comparisons

Which one, for what

Tensorlake Sandboxes B

Best for Long-lived, stateful agent machines that suspend and resume with memory, fork for parallel runs, and keep work in hosted Git or versioned volumes: coding agents, RL rollouts, evals and CI.

Ahead on

  • Reliability, 55 against 32
  • Agent ergonomics, 75 against 70
  • Security & auth, 55 against 46
  • Payments & pricing, 60 against 30

Also in its favour

  • Free to start without a card

Watch for

No request rate limits for the control-plane API found in the docs or OpenAPI file

Together Code Sandbox C

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

  • Schema & documentation, 86 against 79

Also in its favour

  • A hosted endpoint, with nothing to install

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 Tensorlake Sandboxes +30

Tensorlake Sandboxes 60

No x402, MPP or L402 (0). Per-unit prices published without login, per core-hour, GB-hour and GB-month, with a calculator (30). Free tier at $0 with "no credit card required" per the pricing FAQ and billing docs (30). Signup is in a browser at cloud.tensorlake.ai and keys are made in the dashboard; no programmatic signup or Stripe Projects route found (0). 0 + 30 + 30 + 0 = 60.

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 Tensorlake Sandboxes +23

Tensorlake Sandboxes 55

A status page at status.tensorlake.ai is linked from the home page, but its robots.txt answered 403, so we couldn't read component history (10 of 20, as the page exists but its history is unchecked). No readable incident record (5). No request rate limits for the API found; plan concurrency caps (1, 100, 1,000) and 64 PTY sessions a sandbox are published (5 of 15). The SDKs retry 429, 502, 503 and 504 on reads with Retry-After and randomised backoff, replay only requests that never reached the server, and the docs give a safe-retry route for creates through unique sandbox names (409 on a repeat) (15). The terms of 24 October 2026 commit to 99.9% monthly control-plane availability with service credits (10). Sandboxes are GA (10). 10 + 5 + 5 + 15 + 10 + 10 = 55.

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.

Security & auth Tensorlake Sandboxes +9

Tensorlake Sandboxes 55

Project-scoped API keys, revocable from the dashboard, with the permissions of a project member, no scopes, no expiry and rotation by create-then-delete (20). Each CPU sandbox is a microVM with its own kernel, and egress can be switched off or limited with allow and deny lists on a running sandbox, but internet access is on by default (12). The docs advise switching off internet for untrusted or LLM-generated code; we found no guidance on keeping credentials out of a sandbox (8). Process logs are searchable in the console and organisations have admin and member roles, but audit logs are available only on request to support (5). SOC 2 Type 2 and HIPAA per the pricing page and docs, with the report on request through the trust centre, and security@tensorlake.ai for questions. No security.txt (404), bug bounty or public advisories found (10). 20 + 12 + 8 + 5 + 10 = 55.

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.

Schema & documentation Together Code Sandbox +7

Tensorlake Sandboxes 79

Public OpenAPI 3.1 at docs.tensorlake.ai/api-reference/openapi.yaml, linked from llms.txt, with 43 operations across the sandbox API and the per-sandbox proxy (25). llms.txt, llms-full.txt and Markdown copies of pages (10). The reference explains when to use named or ephemeral sandboxes, wait: false, max_pending_secs and auto_resume, and what each status means (15). Typed fields with enums and documented constraints such as the 1 to 8 GB of RAM per vCPU ratio (12). Examples in CLI, Python and TypeScript on most pages, error codes such as SANDBOX_AUTO_RESUME_DISABLED and TOO_MANY_SESSIONS, and an SDK error guide, but no single error reference (12). API paths are versioned (v2 reference) and SDKs are tagged, but there's no public changelog (5). 25 + 10 + 15 + 12 + 12 + 5 = 79.

Together Code Sandbox 86

Two public OpenAPI documents in the repository and on GitHub Pages, the management API (3.1.0, 17 operations) and the in-VM API (3.0.3, 25 operations) (25). docs.together.ai has llms.txt and a Markdown twin of the page, and each package ships an LLMS.md with the references (10). The concept docs say when to snapshot memory rather than disk only and what ephemeral means, while 36 of 114 typed nodes in the management document carry a description (14). Enums for status, bounds on cpu, memory_bytes, ttl and limit, with experimental left loose (12). Examples in Python, TypeScript and the CLI, and an error object with code, message and errors. No list of error codes found, and 429 is not in the document (10). /v1 paths, semver packages and a generated CHANGELOG.md (15).

Agent ergonomics Tensorlake Sandboxes +5

Tensorlake Sandboxes 75

Process output can be streamed or followed per stream, and files are listed and read individually, but there's no field selection on sandbox objects (15). List sandboxes by status, cursor pagination with limit on archived sandboxes and directory listings, and tags in the CLI (15). Structured failure reasons (ConfigurationError, no_capacity, cancelled) carried in the SDKs' RemoteAPIError with the sandbox id, though proxy and file errors use plain text bodies in places (15). Delete is idempotent and a unique name makes create safe to retry, but there's no idempotency key (15 of 20). Python and TypeScript SDKs plus a Rust-based CLI, and a create works with an empty body using 1 vCPU, 1 GB and 10 GB defaults (15). We scored the API and SDKs; no MCP server was found. 15 + 15 + 15 + 15 + 15 = 75.

Together Code Sandbox 70

List calls take limit from 1 to 100, batch reads take IDs and exec output can be read from a lastSequence. No field selection (15). Cursor pagination on sandboxes and snapshots, with filters for status, source snapshot, tags and retired snapshots (20). Errors return code, message and per-parameter entries, the SDKs raise one HttpError with the status, and status_reason names causes such as out_of_capacity and oom_killed. No catalogue of codes found (14). Built-in retries, but no idempotency keys, sandbox IDs can't be chosen and snapshots.create can register duplicates (8). Python and TypeScript SDKs and a CLI, with defaults of 1 vCPU and 2 GiB. A snapshot must be built first because no default image exists (13).

Score by category

CategoryWeightTensorlake SandboxesTogether Code SandboxEdge
Reliability16%5532Tensorlake Sandboxes +23
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%7986Together Code Sandbox +7
Agent ergonomics13%7570Tensorlake Sandboxes +5
Security & auth14%5546Tensorlake Sandboxes +9
Payments & pricing10%6030Tensorlake Sandboxes +30
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8283Together Code Sandbox +1
Transparency & trust7%6359Tensorlake Sandboxes +4
Negative events≤1500
TotalB 65.8/100C 56/100

Facts side by side

FactTensorlake SandboxesTogether Code Sandbox
KindHTTP APIHTTP API
VendorTensorlakeTogether AI
Hosted endpointno (local only)https://api.bartender.codesandbox.io
TransportsHTTPHTTP
AuthAPI keyAPI key
PricingFreemiumPay per use
x402nono
LicenceApache-2.0Proprietary service under Together's terms of service. The SDKs, CLI and OpenAPI documents on GitHub are MIT
Tools exposed0none
Read-only variant documentednono
llms.txtyesyes
Last release2026-11-132026-10-07
Terms last updated2026-10-24no date given
Privacy policy last updated2026-09-23no date given
Customer content may train modelsnot found in the textnot found in the text
Terms restrict automated accessnot found in the textnot found in the text
Terms restrict benchmarkingnot found in the textyes
Terms or service can change without noticenot found in the textnot found in the text
Arbitration or class-action waivernot found in the textnot found in the text
Popularity1k stars, 26k npm/wk3 stars, 1.3k npm/wk

How the scores have moved

Verdicts

Tensorlake Sandboxes

Agents get microVM sandboxes that suspend with memory intact, fork while running and mount hosted Git, with a public OpenAPI file, llms.txt, per-hour prices and a free tier with no card. Request rate limits, a public changelog and a readable status history were not found, and internet access is on by default.

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

Tensorlake Sandboxes

  1. Give a sandbox a name when a retry must not create a second one; a repeat name returns 409, and get_or_create resolves it
  2. Create untrusted-code sandboxes with allow_internet_access: false, or list destinations in allow_out, since egress is on by default
  3. Only named sandboxes suspend and resume; an ephemeral one is gone when terminated, and its record stays under /archived-sandboxes for 48 hours
  4. On Usage Credits a zero balance stops running sandboxes, so check the balance before long jobs
  5. Set wait: false with max_pending_secs to get a 202 and poll, rather than blocking while capacity is short

Together Code Sandbox

  1. Confirm the organisation is on Together's allowlist before installing. A valid TOGETHER_API_KEY alone is not enough
  2. Build a snapshot first with snapshots.create. No default image exists, and every sandbox needs snapshot_id or snapshot_alias
  3. Set ttl at creation or call terminate(). Nothing stops a sandbox otherwise, and closing the Python client leaves it running
  4. Store the snapshot alias, not the sandbox ID. A terminated sandbox can't restart, and its state lives at sandbox:<id>
  5. Exclude snapshots.create from retries with should_retry, and set experimental.network_policy before serving anything private on a port

Questions

Which is better for AI agents, Tensorlake Sandboxes or Together Code Sandbox?

Tensorlake Sandboxes scores 65.8 (B) on agent readiness against Together Code Sandbox's 56 (C), and leads in 5 of 7 scored categories. Together Code Sandbox leads on schema & documentation.

Do Tensorlake Sandboxes and Together Code Sandbox need an API key?

Both need an API key.

Can an agent call Tensorlake Sandboxes and Together Code Sandbox without installing anything?

No hosted endpoint is listed for Tensorlake Sandboxes. Together Code Sandbox has a hosted endpoint at https://api.bartender.codesandbox.io.

Other comparisons with Tensorlake Sandboxes or Together Code Sandbox

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.