Groundbox vs E2B for agent sandboxes.
Both run sandboxes for agents as Firecracker VMs with pause, fork and egress rules. Pick E2B for a runtime you can host yourself, BYOC, or a SOC 2 Type II report. Pick Groundbox for memory included in the CPU price, sessions longer than 24 hours, and CI runners on the same key.
Side by side
| Feature | Groundbox | E2B |
|---|---|---|
| Price, 2 vCPU · 4 GB | $0.08 / hour | $0.17 / hour |
| Pause keeps memory | Yes, memory and disk | Yes, memory and running processes |
| CI runners too | Yes, on the same key and bill | No: the pricing page lists sandboxes only |
| Isolation | Firecracker VM | Firecracker microVM |
| Fork and snapshots | Fork a running sandbox; save points | Fork with memory and files; snapshots |
| Longest session | 720 hours, renewable | 24 hours on Pro, 1 hour on Hobby |
| Self-host | No | A single-node runtime (Apache-2.0); BYOC on Enterprise |
| GPUs | Not offered | Not offered |
| Largest size | 16 vCPU | 8 vCPU |
| SDK languages | TypeScript and Python | JavaScript / TypeScript and Python |
| Security report | No SOC 2 report | SOC 2 Type II |
| Free to start | $5 of usage, no card | A one-time $100 credit |
E2B runs sandboxes for AI agents: Linux VMs started on demand from its SDKs. A rust mark means that side is ahead. Where they are ahead, we say so. Every value of theirs links to the page it is from; “Not published” means their pages do not say. More comparisons: all comparisons.
Who each is for
Pick E2B for
- a runtime you can host yourself, and BYOC on Enterprise
- a one-time $100 credit on the free tier
- a SOC 2 Type II report
- up to 100 sandboxes at once on Pro, more with add-ons
Pick Groundbox for
- memory included in the CPU price ($0.04 per vCPU-hour), on dedicated cores
- pause, fork and save points of a running sandbox, and an egress allowlist
- a spend cap and scopes on every API key
- GitHub Actions runners on the same key and bill
Every detail
| Feature | Groundbox | E2B |
|---|---|---|
| Plans | Free: everything, with $5 of usage. $20 / month: $20 of usage included, then pay as you go | Hobby $0 with a one-time $100 credit; Pro $150 / month plus usage |
| CPU | $0.04 per vCPU-hour, a dedicated core | $0.000014 per vCPU-second ($0.0504 per vCPU-hour) |
| Memory | Included, up to 4 GB per vCPU | $0.0000045 per GiB-second, billed apart from CPU |
| Storage | 20 GB disk by default, up to 100 GB | Disk included: 10 GiB on Hobby, 20 GiB on Pro |
| Sizes | 1 to 16 vCPU, up to 4 GB per vCPU | 1 to 8 vCPU, 1 to 8 GiB |
| Default size | 2 vCPU, 4 GB RAM, 20 GB disk | 2 vCPU, 4 GiB |
| Longest session | 720 hours, renewable; 60 minutes by default | 1 hour on Hobby, 24 hours on Pro |
| Sandboxes at once | 20 once a card is on file | 10 on Hobby, 100 on Pro |
| Isolation | A Firecracker VM, a new one per job or sandbox | Firecracker microVM |
| Pause and resume | Yes, memory and disk; $0.05 per GB-month while paused | Yes: files, memory and running processes |
| Fork and snapshots | Fork a running sandbox with its files and processes; save points to rewind to | Fork with memory and files, up to 20 per call; snapshots |
| Egress controls | An allowlist of hosts per sandbox | Block all, or allow and deny lists by IP, CIDR or domain |
| GPUs | Not offered | Not offered |
| SDKs | TypeScript and Python, plus a REST API, CLI and MCP server | JavaScript / TypeScript and Python |
| Self-host | No | A single-node runtime under Apache-2.0; BYOC on Enterprise |
| Security reports | No SOC 2 report | SOC 2 Type II |
A month at list price
One sandbox with 2 vCPU and 4 GiB of memory, running 100 hours in a month:
| Groundbox | $8.00 ($0.04 per vCPU-hour, memory included). On the $20 plan it fits in the $20 of usage included. |
|---|---|
| E2B | $16.56 |
E2B bills memory apart from CPU. Pro is $150 a month on top; on Hobby a session stops after 1 hour. All our prices are on the pricing page.
Speed
We have not measured this service's sandboxes, and we publish no start or fork times for ours, so this page makes no speed claim. The speed figures we do publish are for CI runners, on the benchmark page. Method, scripts and every project's times: the benchmark page.
Switch in four steps
- Create an API key in the dashboard. An agent can also sign itself up with groundbox signup and send its person a claim link.
- Install an SDK: npm i @groundbox/sdk or pip install groundbox.
- Where your code creates a sandbox and runs a command in it, call create_sandbox and run_command. Files, fork, pause and stop have one method each, with the same names as the MCP tools.
- Or give the agent the MCP server instead of SDK code: it has the same tools.
Details in the docs: First sandbox, the SDKs and the MCP server.
import { Groundbox } from "@groundbox/sdk";
const groundbox = new Groundbox(); // reads GROUNDBOX_API_KEY
const sandbox = await groundbox.create_sandbox({ cpus: 2 });
const result = await groundbox.run_command(sandbox.id, "uname -a");Questions
| Is Groundbox cheaper than E2B? | At list price, one 2 vCPU, 4 GiB sandbox for 100 hours costs $8.00 on Groundbox and $16.56 on E2B, before plan fees and credits. |
| How do I move an agent from E2B to Groundbox? | Create an API key, install the TypeScript or Python SDK, and call create_sandbox and run_command where your code makes a sandbox and runs a command. The MCP server has the same tools. |
| How are sandboxes isolated on Groundbox and on E2B? | Each Groundbox sandbox is its own Firecracker VM on dedicated cores. E2B sandboxes are Firecracker microVMs too. |
| Can a Groundbox sandbox pause and fork? | Yes. Pause keeps memory and disk and costs $0.05 per GB-month. Fork copies a running sandbox's files and processes. |
| How long can a Groundbox sandbox run? | It stops after 60 minutes by default. The longest timeout is 720 hours, and it can be renewed. On E2B a session lasts at most 1 hour on Hobby and 24 hours on Pro. |
| Does Groundbox also run CI? | Yes. GitHub Actions runners from $0.003 a minute are on the same API key and bill as sandboxes. |
Sources
E2B's facts come from its own pages, read on the day shown. Prices change; their pages are the final word.
- E2B pricing, checked 2026-11-20
- E2B home page, checked 2026-11-19
- E2B docs, checked 2026-11-19
- E2B docs: sandbox, checked 2026-11-20
- E2B docs: persistence, checked 2026-11-20
- E2B docs: fork, checked 2026-11-19
- E2B docs: internet access, checked 2026-11-19
- E2B docs: BYOC, checked 2026-11-19