| title | Rate limits |
|---|---|
| sidebarTitle | Rate limits |
This page describes API and sandbox rate limits of the E2B platform.
- Sandbox lifecycle and management API
- Sandbox operations and requests to sandboxes
- Concurrent Sandboxes
- Sandbox creation rate
- Egress connections
- Reaching limits
- Increasing and avoiding rate limits
Here's a limits breakdown table based on the plan:
| Plan | Hobby | Pro | Enterprise |
|---|---|---|---|
| Sandbox lifecycle & management API | 20,000 / 30s | 20,000 / 30s | Custom |
| Sandbox operations | 40,000 / 60s per IP | 40,000 / 60s per IP | Custom |
| Concurrent sandboxes | 20 | 100 - 1,100* | Custom |
| Sandbox creation rate | 1 / sec | 5 / sec | Custom |
| Egress connections per sandbox | 2,500 | 2,500 | Custom |
20,000 requests per 30 seconds
This rate limit applies to lifecycle and management operations such as sandbox create, kill, update, list, and other.
40,000 requests per 60 seconds
This rate limits applies to operations to/within running sandboxes such as running code, listing files, running commands, etc. This also includes requests made to custom ports in the sandbox.
This limit is enforced globally across all sandbox operations from a single IP address.
Number of concurrent sandboxes differs based on the pricing tier.
Up to 20 concurrent sandboxes
Starts at 100 concurrent sandboxes
Can go up to 1,100 with additional [add-ons available for purchase](https://e2b.dev/dashboard/?tab=billing).Custom limit - 1,100+ concurrent sandboxes
This limit controls how quickly you can create new sandboxes.
1 sandbox per second
5 sandboxes per second
Custom limit - 5+ sandboxes per second
2,500 connections per sandbox
This limit controls the maximum number of outbound (egress) network connections that can be established from a single sandbox.
When you reach the limits of your plan, subsequent requests/function calls will be effectively dropped and return the following:
- the
429 Too Many RequestsHTTP status code (when calling API/sandbox ports directly) RateLimitErrorin the JS/TS SDKRateLimitExceptionin 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.
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.
You can avoid rate limits by upgrading your plan or contacting our sales team to discuss your specific requirements and we can provide tailored limits to meet your needs at enterprise@e2b.dev.