# E2B vs Vercel Sandbox: prices, limits and features.

**Their prices for 2 vCPU and 4 GB overlap: $0.17 / hour and $0.085 to $0.34 / hour, since CPU is billed only while busy.** Here is where they differ, from each one's own pages, plus a third option if neither fits.

## The short answer

E2B runs sandboxes for AI agents: Linux VMs started on demand from its SDKs. Vercel Sandbox runs untrusted code in Firecracker microVMs, billed on active CPU and provisioned memory.

### Pick E2B if you want

- a lower price while the CPU is busy: $0.17 against $0.34 an hour
- pause keeps memory: Yes, memory and running processes (Vercel Sandbox: No)
- fork and snapshots: Fork with memory and files; snapshots (Vercel Sandbox: Snapshots)
- self-host: A single-node runtime (Apache-2.0); BYOC on Enterprise, which Vercel Sandbox's pages do not state

### Pick Vercel Sandbox if you want

- a lower price while the CPU is idle: $0.085 against $0.17 an hour
- CPU billed only while busy; E2B bills CPU the whole time a sandbox runs
- largest size: 32 vCPU; 8 on Pro (E2B: 8 vCPU)

### Or Groundbox if you want

- a lower list price than both: $0.08 / hour
- CI runners too: yes, on the same key and bill
- longest session: 720 hours, renewable

Where E2B or Vercel Sandbox is ahead of Groundbox: self-host, largest size, security report.

## Side by side

| Feature | E2B | Vercel Sandbox | Groundbox |
| --- | --- | --- | --- |
| Price, 2 vCPU · 4 GB | [$0.17 / hour](https://e2b.dev/pricing) | [$0.085 to $0.34 / hour](https://vercel.com/docs/vercel-sandbox/pricing) | $0.08 / hour |
| Pause keeps memory | [Yes, memory and running processes](https://docs.e2b.dev/sandbox/persistence.md) | [No: the filesystem is saved, not memory](https://vercel.com/docs/sandbox/concepts/persistent-sandboxes) | Yes, memory and disk |
| CI runners too | [No: the pricing page lists sandboxes only](https://e2b.dev/pricing) | [No: the pricing page lists sandboxes only](https://vercel.com/docs/vercel-sandbox/pricing) | Yes, on the same key and bill |
| Isolation | [Firecracker microVM](https://e2b.dev/) | [Firecracker microVM](https://vercel.com/docs/sandbox/concepts/security) | Firecracker VM |
| Fork and snapshots | [Fork with memory and files; snapshots](https://docs.e2b.dev/sandbox/fork.md) | [Snapshots](https://vercel.com/docs/vercel-sandbox/pricing) | Fork a running sandbox; save points |
| Longest session | [24 hours on Pro, 1 hour on Hobby](https://docs.e2b.dev/sandbox.md) | [24 hours on Pro, 45 minutes on Hobby](https://vercel.com/docs/vercel-sandbox/pricing) | 720 hours, renewable |
| Self-host | [A single-node runtime (Apache-2.0); BYOC on Enterprise](https://docs.e2b.dev/byoc.md) | Not published | No |
| GPUs | [Not offered](https://e2b.dev/pricing) | Not published | Not offered |
| Largest size | [8 vCPU](https://e2b.dev/pricing) | [32 vCPU; 8 on Pro](https://vercel.com/docs/vercel-sandbox/pricing) | 16 vCPU |
| SDK languages | [JavaScript / TypeScript and Python](https://docs.e2b.dev/) | [JavaScript / TypeScript and Python](https://vercel.com/docs/vercel-sandbox) | TypeScript and Python |
| Security report | [SOC 2 Type II](https://e2b.dev/) | [SOC 2 Type II](https://vercel.com/docs/sandbox/concepts/security) | No SOC 2 report |
| Free to start | [A one-time $100 credit](https://e2b.dev/pricing) | [Hobby, within monthly quotas](https://vercel.com/docs/vercel-sandbox/pricing) | $5 of usage, no card |
| Plans | [Hobby $0 with a one-time $100 credit; Pro $150 / month plus usage](https://e2b.dev/pricing) | [Hobby free within monthly quotas; Pro usage comes out of the plan's $20 monthly credit, then rates apply](https://vercel.com/docs/vercel-sandbox/pricing) | Free: everything, with $5 of usage. $20 / month: $20 of usage included, then pay as you go |
| CPU | [$0.000014 per vCPU-second ($0.0504 per vCPU-hour)](https://e2b.dev/pricing) | [$0.128 per active CPU-hour (iad1); time waiting on I/O is not billed](https://vercel.com/docs/vercel-sandbox/pricing) | $0.04 per vCPU-hour, a dedicated core |
| Memory | [$0.0000045 per GiB-second, billed apart from CPU](https://e2b.dev/pricing) | [$0.0212 per GB-hour of provisioned memory (iad1)](https://vercel.com/docs/vercel-sandbox/pricing) | Included, up to 4 GB per vCPU |
| Billing | Not published | [Memory in 1-minute minimum increments; $0.60 per million sandbox creations](https://vercel.com/docs/vercel-sandbox/pricing) | Per second, no minimum |
| Sizes | [1 to 8 vCPU, 1 to 8 GiB](https://e2b.dev/pricing) | [1 to 32 vCPU, 2 GB per vCPU; 8 vCPU at most on Pro](https://vercel.com/docs/vercel-sandbox/pricing) | 1 to 16 vCPU, up to 4 GB per vCPU |
| Sandboxes at once | [10 on Hobby, 100 on Pro](https://e2b.dev/pricing) | [10 on Hobby, 10,000 on Pro](https://vercel.com/docs/vercel-sandbox/pricing) | 20 once a card is on file |
| Egress controls | [Block all, or allow and deny lists by IP, CIDR or domain](https://docs.e2b.dev/sandbox/internet-access.md) | [Allow all, deny all, or a domain and CIDR allowlist](https://vercel.com/docs/sandbox/concepts/firewall) | An allowlist of hosts per sandbox |

a rust mark means that side is ahead · each value links to its source · checked 2026-11-20

Each against Groundbox: [Groundbox vs E2B](https://groundbox.dev/compare/e2b) and [Groundbox vs Vercel Sandbox](https://groundbox.dev/compare/vercel-sandbox). Every other comparison is on [/compare](https://groundbox.dev/compare).

## Sources

### E2B

- [E2B pricing](https://e2b.dev/pricing), checked 2026-11-20
- [E2B home page](https://e2b.dev/), checked 2026-11-19
- [E2B docs](https://docs.e2b.dev/), checked 2026-11-19
- [E2B docs: sandbox](https://docs.e2b.dev/sandbox.md), checked 2026-11-20
- [E2B docs: persistence](https://docs.e2b.dev/sandbox/persistence.md), checked 2026-11-20
- [E2B docs: fork](https://docs.e2b.dev/sandbox/fork.md), checked 2026-11-19
- [E2B docs: internet access](https://docs.e2b.dev/sandbox/internet-access.md), checked 2026-11-19
- [E2B docs: BYOC](https://docs.e2b.dev/byoc.md), checked 2026-11-19

### Vercel Sandbox

- [Vercel Sandbox pricing](https://vercel.com/docs/vercel-sandbox/pricing), checked 2026-11-20
- [Vercel Sandbox docs](https://vercel.com/docs/vercel-sandbox), checked 2026-11-19
- [Vercel Sandbox: security](https://vercel.com/docs/sandbox/concepts/security), checked 2026-11-19
- [Vercel Sandbox: persistent sandboxes](https://vercel.com/docs/sandbox/concepts/persistent-sandboxes), checked 2026-11-20
- [Vercel Sandbox: firewall](https://vercel.com/docs/sandbox/concepts/firewall), checked 2026-11-19

## Try the third option free.

[Start free, no card](https://groundbox.dev/signup)[Groundbox vs E2B](https://groundbox.dev/compare/e2b)
