Skip to content
sandboxrouting

Baseten Sandboxes

baseten, paid only, isolation not published.

$0.215/h

No free usage the router counts. At 2 vCPU and 4 GiB the router ranks it at $0.215/h. It is used only with allowPaid on.

Terms

Price
$0.0655/vCPU-h + $0.0211/GiB-h ($0.2154/h for 2 vCPU / 4 GiB)
Notes
10 at once; idle sandboxes go on standby (storage only)
Free concurrency
10 at once
Adapter's note
No free tier published; pay as you go. 10 sandboxes at once per organization, and a per-sandbox memory and vCPU cap per account (both raised through support).
Checked
Nov 21, 2026 against www.baseten.co/pricing/

Promigence, Novita, Zipbox, AgentBay, Runta, Watasu, OpenPond, GMI Agentbox, Baseten and Cyqle don't say how their sandboxes are isolated, so a request with minIsolation skips them.

The adapter

Baseten Sandboxes (baseten.co): isolated environments that go on standby when idle (files and processes kept, storage billed only) and resume on the next request. No free tier is published. $0.0655 per vCPU-hour and $0.0211 per GiB-hour while active ($0.2154/h for 2 vCPU / 4 GiB). 10 sandboxes at once per organization by default. Management API: https://api.baseten.co/v1/sandboxes/instances, authenticated with a sandbox access token (2 h) that POST /v1/token mints from the Baseten API key (https://docs.baseten.co/sandboxes/authentication.md, reference https://docs.baseten.co/reference/management-api/sandboxes/overview.md). Commands and files go to each sandbox's own runtime API at the `url` create returns, with the same token (OpenAPI https://docs.baseten.co/reference/sandbox-api/openapi.json). npm `@basetenlabs/sandbox`, PyPI `baseten`, Go `baseten-go/sandbox`, CLI `baseten sandbox`, MCP at <url>/mcp. A sandbox is addressed by its name, made from the router id; `create_if_not_exists` makes a retried create return the same one. Its lifetime is a DELETE expiration policy: TTL_MAX_AGE at create, a DATE when extended. Isolation is not published. A size above the account's per-sandbox limit answers 429, which reads as a rate limit.

Keys
BASETEN_API_KEY ( BASETEN_TEAM_ID optional)
Connects through
REST api.baseten.co/v1/sandboxes with a 2 h sandbox token from /v1/token, + each sandbox's runtime API
Capabilities
Public ports, Any OCI image, Native file listing, Extend a live box
Isolation
Not published, so a request with minIsolation skips it
Operating system
Linux
Longest sandbox
no limit declared
Longest command
no cap declared
Timeout
The provider stops it at the deadline
Billing
Wall clock, every second it runs
Source
src/providers/baseten.ts, and the provider’s site
Route only here
const sbx = await router.create({ providers: ["baseten"] });
Override its terms in sandboxrouting.json
{
  "providers": {
    "baseten": {
      "freeTier": {
        "kind": "none"
      },
      "priority": 10
    }
  }
}