Foundational Compute

Reference at a glance

Every default and hard limit on one page. Each row links to the full rules.

Sandboxes

ItemDefaultLimit and rule
Lifetime300 s (5 minutes)Up to 24 hours (above: 400). CLI minimum 30 s. Each fdtn command or open terminal sets time left to at least 5 minutes. Lifecycle
Start timeUnder 500 ms
SizeSet by the template1 to 16 vCPU. Up to 32 GiB, in 512 MiB steps. Sizes
Free disk on /Set by memory5 GiB up to 512 MiB memory, 10 GiB up to 2 GiB, 20 GiB above. Free.
CPU typearm6464-bit Arm. CPU type uname -m prints aarch64.
OS of public templatesbasebase Debian 12, small Ubuntu 24.04, claude Debian. Templates
NameNone1 to 64 letters, digits, - or _. CLI: @name.
MetadataNoneAt most 64 string pairs. Keys 1 to 128 bytes, values up to 1,024 bytes. fdtn_ keys are reserved.

Queue and storage

ItemValueAt the limit
Running sandboxesAs many as you needWhen machines are busy, creates wait in the queue. Limits
Queue wait30 minutes503 sandbox_capacity_unavailable
Queued creates200 per workspace429 sandbox_queue_full with Retry-After
Queue orderclass=interactiveclass=batch waits behind interactive.
Paused sandboxesFree for 72 hours after the last pause100 GiB of memory in total with snapshots, then 429 paused_storage_limit
SnapshotsKept until you delete them100 templates and snapshots, then 429 template_limit
Template uploads10 GiB per UTC day1 GiB per COPY upload (413); over the day 429
Spending limit$50 a monthUp to $1,000. New creates get 403; running sandboxes pause. Spending limits
CreditPrepaid. $20 welcome credit, personal workspaceAt $0: 403, running sandboxes pause

Timeouts in the SDKs

Python uses seconds, TypeScript milliseconds. 0 means no limit (not for lifetime).

TimeoutPythonTypeScriptDefault
Sandbox lifetimetimeouttimeoutMs300 s, maximum 86,400 s
Command run timecommands.run(timeout=)timeoutMs60 s. fdtn exec has no limit.
SDK wait, queued creates toorequest_timeoutrequestTimeoutMs60 s. Set 1,800 s for the queue.

When the SDK stops waiting (httpx.ReadTimeout / TimeoutError), the create stops too. No sandbox is left running. Python timeouts

Network and placement

ItemRule
OutboundFull internet, included, with fair-use limits. Blocked: mail ports 25, 465, 587; private, loopback, link-local and metadata ranges; mining pools; Tor exit nodes. Narrow it with allow_internet_access, network.allowOut, network.denyOut. Network rules
Inboundhttps://<port>-<sandbox-id>.sbx.fdtn.dev. Private by default (token in e2b-traffic-access-token); public if set at create. Port 49983 is reserved. Ports
Between sandboxesDropped. Each sandbox has its own kernel, memory, disk and network. Isolation
PlacementOur machines or Host computers. --trusted (metadata fdtn_own_fleet_only=1) and the claude template use only ours. Trusted placement
APIhttps://api.sbx.fdtn.dev, key in X-API-Key. JSON body up to 1 MiB. Unknown fields get 400. HTTP API
WebhooksHMAC-SHA256 signed. Answer 2xx within 10 s. 5 retries over about 15 hours; can arrive twice or out of order. Webhooks

Errors: HTTP API errors · Troubleshooting

Next