Reference at a glance
Every default and hard limit on one page. Each row links to the full rules.
Sandboxes
| Item | Default | Limit and rule |
|---|---|---|
| Lifetime | 300 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 time | Under 500 ms | |
| Size | Set by the template | 1 to 16 vCPU. Up to 32 GiB, in 512 MiB steps. Sizes |
Free disk on / | Set by memory | 5 GiB up to 512 MiB memory, 10 GiB up to 2 GiB, 20 GiB above. Free. |
| CPU type | arm64 | 64-bit Arm. CPU type uname -m prints aarch64. |
| OS of public templates | base | base Debian 12, small Ubuntu 24.04, claude Debian. Templates |
| Name | None | 1 to 64 letters, digits, - or _. CLI: @name. |
| Metadata | None | At most 64 string pairs. Keys 1 to 128 bytes, values up to 1,024 bytes. fdtn_ keys are reserved. |
Queue and storage
| Item | Value | At the limit |
|---|---|---|
| Running sandboxes | As many as you need | When machines are busy, creates wait in the queue. Limits |
| Queue wait | 30 minutes | 503 sandbox_capacity_unavailable |
| Queued creates | 200 per workspace | 429 sandbox_queue_full with Retry-After |
| Queue order | class=interactive | class=batch waits behind interactive. |
| Paused sandboxes | Free for 72 hours after the last pause | 100 GiB of memory in total with snapshots, then 429 paused_storage_limit |
| Snapshots | Kept until you delete them | 100 templates and snapshots, then 429 template_limit |
| Template uploads | 10 GiB per UTC day | 1 GiB per COPY upload (413); over the day 429 |
| Spending limit | $50 a month | Up to $1,000. New creates get 403; running sandboxes pause. Spending limits |
| Credit | Prepaid. $20 welcome credit, personal workspace | At $0: 403, running sandboxes pause |
Timeouts in the SDKs
Python uses seconds, TypeScript milliseconds. 0 means no limit (not for lifetime).
| Timeout | Python | TypeScript | Default |
|---|---|---|---|
| Sandbox lifetime | timeout | timeoutMs | 300 s, maximum 86,400 s |
| Command run time | commands.run(timeout=) | timeoutMs | 60 s. fdtn exec has no limit. |
| SDK wait, queued creates too | request_timeout | requestTimeoutMs | 60 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
| Item | Rule |
|---|---|
| Outbound | Full 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 |
| Inbound | https://<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 sandboxes | Dropped. Each sandbox has its own kernel, memory, disk and network. Isolation |
| Placement | Our machines or Host computers. --trusted (metadata fdtn_own_fleet_only=1) and the claude template use only ours. Trusted placement |
| API | https://api.sbx.fdtn.dev, key in X-API-Key. JSON body up to 1 MiB. Unknown fields get 400. HTTP API |
| Webhooks | HMAC-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