E2B alternatives from AWS, Azure, Google Cloud, Alibaba and Cloudflare
8 first-party sandbox and code-execution services from large cloud providers, each set against E2B's numbers. Pick these when identity, billing and networking should stay inside the cloud you already use.
Which cloud providers sell a first-party E2B alternative?
| Provider | 2 vCPU + 4 GiB / hr | vs E2B | Isolation | Max session | GPU | Self-host |
|---|---|---|---|---|---|---|
| E2B (baseline) | $0.166 (source: E2B Pricing) | 1.00x | Firecracker microVM | 1 h (Hobby), 24 h (Pro) | No | Yes |
| Alibaba Cloud vs E2B | $0.071 (source: Alibaba Cloud Agent Sandbox billing overview) | 0.43x | VM | not published | not published | not published |
| Cloudflare Sandbox SDK / Containers vs E2B | $0.180 (source: Cloudflare Containers pricing) | 1.09x | Firecracker microVM | not published | not published | not published |
| Google Agent Platform Code Execution vs E2B | $0.206 (source: Google Cloud Agent Platform pricing) | 1.24x | gVisor | State kept up to 14 days (configurable TTL) | not published | not published |
| Amazon Bedrock AgentCore Code Interpreter vs E2B | $0.217 (source: Amazon Bedrock AgentCore Pricing) | 1.31x | microVM | 15 min default, extendable to 8 h | not published | not published |
| Agent Sandbox on GKE vs E2B | not comparable | — | gVisor | not published | not published | not published |
| AWS Lambda MicroVMs vs E2B | not comparable | — | Firecracker microVM | not published | not published | not published |
| Azure Container Apps Dynamic Sessions vs E2B | not comparable | — | Hyper-V | Ends after configurable cooldown with no activity | not published | not published |
| Google Cloud Run vs E2B | not comparable | — | process sandbox | not published | not published | not published |
Includes AWS, Azure, Google Cloud, Alibaba Cloud and Cloudflare services. Each provider has its own page with every field, source and a pick-or-stay verdict against E2B.
Other E2B comparisons
- E2B alternatives cheaper than E2BWhich sandboxes cost less than E2B for the same box?
- Self-hosted E2B alternativesWhich E2B alternatives can I run on my own hardware or cluster?
- E2B alternatives with GPU sandboxesWhich E2B alternatives offer GPU sandboxes?
- E2B alternatives with microVM or VM isolationWhich E2B alternatives give each sandbox its own kernel?