Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions docs/sandbox/rate-limits.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- [Sandbox operations & requests to sandboxes](#sandbox-operations-%26-requests-to-sandboxes)
- [Concurrent Sandboxes](#concurrent-sandboxes)
- [Sandbox creation rate](#sandbox-creation-rate)
- [Egress connections](#egress-connections)
- [Reaching limits](#reaching-limits)
- [Increasing and avoiding rate limits](#increasing-and-avoiding-rate-limits)

Expand Down Expand Up @@ -50,6 +51,12 @@
<td style={{ textAlign: 'center', padding: '8px' }}>5 / sec</td>
<td style={{ textAlign: 'center', padding: '8px' }}>Custom</td>
</tr>
<tr>
<td style={{ fontWeight: 'bold', padding: '8px' }}>Egress connections per sandbox</td>
<td style={{ textAlign: 'center', padding: '8px' }}>2,500</td>
<td style={{ textAlign: 'center', padding: '8px' }}>2,500</td>
<td style={{ textAlign: 'center', padding: '8px' }}>Custom</td>
</tr>
</tbody>
</table>

Expand Down Expand Up @@ -112,6 +119,14 @@
### Enterprise tier
**Custom limit - 5+ sandboxes per second**

---

## Egress connections

**2,500 connections per sandbox**

This limit controls the maximum number of outbound (egress) network connections that can be established from a single sandbox.

## Reaching limits

When you reach the limits of your plan, subsequent requests/function calls will be effectively dropped and return the following:
Expand All @@ -120,7 +135,7 @@
- `RateLimitException` in the Python SDK

For example, if you're on the Pro tier (without any concurrency add-ons), you can create up to 100 sandboxes running concurrently.
If the 100 sandboxes are still running, requests for creating new sandboxes from the SDKs (`Sandbox.create()` in JS/TS or `Sandbox.create()` in Python) will fail and return `RateLimitError` or `RateLimitException` respectively.

Check warning on line 138 in docs/sandbox/rate-limits.mdx

View check run for this annotation

Mintlify / Mintlify Validation (e2b) - vale-spellcheck

docs/sandbox/rate-limits.mdx#L138

Did you really mean 'SDKs'?
Once the number of running sandboxes drops below 100, or you purchase a concurrency add-on, you’ll be able to create new sandboxes again.

## Increasing and avoiding rate limits
Expand Down