# Groundbox vs Vercel Sandbox for agent sandboxes.

**Vercel Sandbox runs Firecracker microVMs and bills CPU only while it is busy.** Pick Vercel Sandbox for many sandboxes at once, a choice of regions, an egress firewall that can add credentials, or code already on Vercel. Pick Groundbox for memory included in the CPU price, sessions longer than 24 hours, and CI runners on the same key.

[Start free, no card](https://groundbox.dev/signup)How to switch

2 vCPU · 4 GB, one hourlist prices

Groundbox$0.08 / hour

Vercel Sandbox$0.085 to $0.34 / hour

Vercel Sandbox bills CPU only while busy; the bar is the busy end.

sources: [groundbox.dev/pricing](https://groundbox.dev/pricing) · [vercel.com](https://vercel.com/docs/vercel-sandbox/pricing) · checked 2026-11-20

## Side by side

| Feature | Groundbox | Vercel Sandbox |
| --- | --- | --- |
| Price, 2 vCPU · 4 GB | $0.08 / hour | [$0.085 to $0.34 / hour](https://vercel.com/docs/vercel-sandbox/pricing) |
| Pause keeps memory | Yes, memory and disk | [No: the filesystem is saved, not memory](https://vercel.com/docs/sandbox/concepts/persistent-sandboxes) |
| CI runners too | Yes, on the same key and bill | [No: the pricing page lists sandboxes only](https://vercel.com/docs/vercel-sandbox/pricing) |
| Isolation | Firecracker VM | [Firecracker microVM](https://vercel.com/docs/sandbox/concepts/security) |
| Fork and snapshots | Fork a running sandbox; save points | [Snapshots](https://vercel.com/docs/vercel-sandbox/pricing) |
| Longest session | 720 hours, renewable | [24 hours on Pro, 45 minutes on Hobby](https://vercel.com/docs/vercel-sandbox/pricing) |
| Self-host | No | Not published |
| GPUs | Not offered | Not published |
| Largest size | 16 vCPU | [32 vCPU; 8 on Pro](https://vercel.com/docs/vercel-sandbox/pricing) |
| SDK languages | TypeScript and Python | [JavaScript / TypeScript and Python](https://vercel.com/docs/vercel-sandbox) |
| Security report | No SOC 2 report | [SOC 2 Type II](https://vercel.com/docs/sandbox/concepts/security) |
| Free to start | $5 of usage, no card | [Hobby, within monthly quotas](https://vercel.com/docs/vercel-sandbox/pricing) |

Vercel Sandbox runs untrusted code in Firecracker microVMs, billed on active CPU and provisioned memory. 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](https://groundbox.dev/compare).

## Who each is for

### Pick Vercel Sandbox for

- CPU billed only while busy
- up to 10,000 sandboxes at once on Pro
- a choice of regions
- an egress firewall that can inject credentials and a SOC 2 Type II report

### 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 | Vercel Sandbox |
| --- | --- | --- |
| Plans | Free: everything, with $5 of usage. $20 / month: $20 of usage included, then pay as you go | [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) |
| CPU | $0.04 per vCPU-hour, a dedicated core | [$0.128 per active CPU-hour (iad1); time waiting on I/O is not billed](https://vercel.com/docs/vercel-sandbox/pricing) |
| Memory | Included, up to 4 GB per vCPU | [$0.0212 per GB-hour of provisioned memory (iad1)](https://vercel.com/docs/vercel-sandbox/pricing) |
| Storage | 20 GB disk by default, up to 100 GB | [64 GB of ephemeral disk included; snapshots $0.08 per GB-month](https://vercel.com/docs/vercel-sandbox/pricing) |
| Billing | Per second, no minimum | [Memory in 1-minute minimum increments; $0.60 per million sandbox creations](https://vercel.com/docs/vercel-sandbox/pricing) |
| Sizes | 1 to 16 vCPU, up to 4 GB per vCPU | [1 to 32 vCPU, 2 GB per vCPU; 8 vCPU at most on Pro](https://vercel.com/docs/vercel-sandbox/pricing) |
| Default size | 2 vCPU, 4 GB RAM, 20 GB disk | [2 vCPU, 4 GB](https://vercel.com/docs/vercel-sandbox/pricing) |
| Longest session | 720 hours, renewable; 60 minutes by default | [5 minutes by default; 45 minutes on Hobby, 24 hours on Pro](https://vercel.com/docs/vercel-sandbox/pricing) |
| Sandboxes at once | 20 once a card is on file | [10 on Hobby, 10,000 on Pro](https://vercel.com/docs/vercel-sandbox/pricing) |
| Isolation | A Firecracker VM, a new one per job or sandbox | [Firecracker microVM](https://vercel.com/docs/sandbox/concepts/security) |
| Pause and resume | Yes, memory and disk; $0.05 per GB-month while paused | [The filesystem is saved on stop and restored on the next call](https://vercel.com/docs/sandbox/concepts/persistent-sandboxes) |
| Egress controls | An allowlist of hosts per sandbox | [Allow all, deny all, or a domain and CIDR allowlist](https://vercel.com/docs/sandbox/concepts/firewall) |
| SDKs | TypeScript and Python, plus a REST API, CLI and MCP server | [JavaScript / TypeScript and Python, plus a CLI](https://vercel.com/docs/vercel-sandbox) |
| Security reports | No SOC 2 report | [SOC 2 Type II](https://vercel.com/docs/sandbox/concepts/security) |

## 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. |
| --- | --- |
| Vercel Sandbox | $8.48 to $34.08, from CPU idle the whole time to CPU busy the whole time |

Vercel bills provisioned memory all the time and CPU only while busy, at its iad1 rates. Pro usage first comes out of the plan's $20 monthly credit. All our prices are on the [pricing page](https://groundbox.dev/pricing).

### 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](https://groundbox.dev/benchmark).

## Switch in four steps

1. Create an API key in the dashboard. An agent can also sign itself up with groundbox signup and send its person a claim link.
2. Install an SDK: npm i @groundbox/sdk or pip install groundbox.
3. 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.
4. Or give the agent the MCP server instead of SDK code: it has the same tools.

Details in the docs: [First sandbox](https://groundbox.dev/docs/sandboxes), the [SDKs](https://groundbox.dev/docs/sdks) and the [MCP server](https://groundbox.dev/docs/mcp).

```
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 Vercel Sandbox? | At list price, one 2 vCPU, 4 GiB sandbox for 100 hours costs $8.00 on Groundbox and $8.48 to $34.08 on Vercel Sandbox, before plan fees and credits. Vercel bills CPU only while busy, so a mostly idle sandbox can cost about the same as on Groundbox. |
| --- | --- |
| How do I move an agent from Vercel Sandbox 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 Vercel Sandbox? | Each Groundbox sandbox is its own Firecracker VM on dedicated cores. Vercel 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. A Vercel sandbox stops after 5 minutes by default; a session lasts at most 45 minutes 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

Vercel Sandbox's facts come from its own pages, read on the day shown. Prices change; their pages are the final word.

- [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

## Also compared

## Try it on your own repo.

[Start free, no card](https://groundbox.dev/signup)[Book a call](https://cal.com/groundbox/30min)
