# Groundbox vs Fly.io Machines for agent sandboxes.

**Fly.io Machines are general microVMs you can place in many regions, run through a REST API and the flyctl CLI.** Pick Fly.io for many regions, volumes, Machines that start on an incoming request, or its Sprites sandboxes. Pick Groundbox for TypeScript and Python SDKs and an MCP server, a spend cap on every key, 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

Fly.io Machines$0.092 / hour

sources: [groundbox.dev/pricing](https://groundbox.dev/pricing) · [fly.io](https://fly.io/pricing/) · checked 2026-11-20

## Side by side

| Feature | Groundbox | Fly.io Machines |
| --- | --- | --- |
| Price, 2 vCPU · 4 GB | $0.08 / hour | [$0.092 / hour](https://fly.io/pricing/) |
| Pause keeps memory | Yes, memory and disk | [Yes, for Machines with 2 GB or less](https://docs.fly.io/reference/suspend-resume) |
| CI runners too | Yes, on the same key and bill | [No: the pricing page lists no CI runners](https://fly.io/pricing/) |
| Isolation | Firecracker VM | [Firecracker microVM](https://docs.fly.io/reference/suspend-resume) |
| Fork and snapshots | Fork a running sandbox; save points | [Clone copies the config; volume snapshots](https://docs.fly.io/machines/overview.md) |
| Longest session | 720 hours, renewable | Not published |
| Self-host | No | Not published |
| GPUs | Not offered | Not published |
| Largest size | 16 vCPU | [16 CPUs](https://docs.fly.io/machines/guides-examples/machine-sizing) |
| SDK languages | TypeScript and Python | [None: a REST API and the flyctl CLI](https://docs.fly.io/machines/) |
| Security report | No SOC 2 report | [SOC 2 Type 2](https://fly.io/legal/security-questionnaire/) |
| Free to start | $5 of usage, no card | [No plan fee; pay as you go](https://docs.fly.io/about/pricing) |

Fly.io Machines are Firecracker microVMs you start through a REST API, in many regions. Fly also sells Sprites, a sandbox for agents. 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 Fly.io Machines for

- many regions, priced per region
- a proxy that stops idle Machines and starts them on the next request
- persistent volumes and volume snapshots
- Sprites: sandboxes billed on the CPU and memory they use

### Pick Groundbox for

- SDKs for TypeScript and Python and an MCP server
- 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 | Fly.io Machines |
| --- | --- | --- |
| Plans | Free: everything, with $5 of usage. $20 / month: $20 of usage included, then pay as you go | [No plan fee; pay as you go](https://docs.fly.io/about/pricing) |
| CPU | $0.04 per vCPU-hour, a dedicated core | [performance-2x with 4 GB: $0.0917 an hour in iad; other regions cost more or less](https://fly.io/pricing/) |
| Memory | Included, up to 4 GB per vCPU | [$6 per GB-month past what the size includes](https://fly.io/pricing/) |
| Storage | 20 GB disk by default, up to 100 GB | [Volumes and stopped root disks $0.15 per GB-month](https://docs.fly.io/about/pricing) |
| Billing | Per second, no minimum | [Per second while running](https://docs.fly.io/about/pricing) |
| Sizes | 1 to 16 vCPU, up to 4 GB per vCPU | [1 to 16 CPUs, shared or performance](https://docs.fly.io/machines/guides-examples/machine-sizing) |
| Default size | 2 vCPU, 4 GB RAM, 20 GB disk | [1 shared CPU, 256 MB (API default)](https://docs.fly.io/machines/api/machines-resource) |
| Isolation | A Firecracker VM, a new one per job or sandbox | [Firecracker microVM](https://docs.fly.io/reference/suspend-resume) |
| Pause and resume | Yes, memory and disk; $0.05 per GB-month while paused | [Suspend keeps memory, for Machines with 2 GB or less](https://docs.fly.io/reference/suspend-resume) |
| Fork and snapshots | Fork a running sandbox with its files and processes; save points to rewind to | [fly machine clone copies a Machine's config; volume snapshots](https://docs.fly.io/machines/overview.md) |
| SDKs | TypeScript and Python, plus a REST API, CLI and MCP server | [A REST API and the flyctl CLI](https://docs.fly.io/machines/) |
| Agent sandboxes | $0.04 per vCPU-hour with memory included, 1 to 16 vCPU | [Sprites: $0.0385 per CPU-hour and $0.021875 per GB-hour of actual use; 8 vCPU, 100 GB disk](https://fly.io/pricing.md) |
| Security reports | No SOC 2 report | [SOC 2 Type 2](https://fly.io/legal/security-questionnaire/) |

## 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. |
| --- | --- |
| Fly.io Machines | $9.17 for a performance-2x Machine with 4 GB, in iad |

Fly prices sizes, not vCPU and memory apart, and other regions cost more or less. Shared-CPU Machines cost less than performance ones. 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 Fly.io? | At list price, one 2 vCPU, 4 GiB sandbox for 100 hours costs $8.00 on Groundbox and $9.17 (a performance-2x Machine with 4 GB, in iad) on Fly.io, before plan fees and credits. |
| --- | --- |
| How do I move an agent from Fly.io 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 Fly.io? | Each Groundbox sandbox is its own Firecracker VM on dedicated cores. Fly.io Machines 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. Fly.io states no time limit for a running Machine. |
| 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

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

- [Fly.io pricing](https://fly.io/pricing/), checked 2026-11-20
- [Fly.io docs: pricing](https://docs.fly.io/about/pricing), checked 2026-11-19
- [Fly.io docs: Machine sizing](https://docs.fly.io/machines/guides-examples/machine-sizing), checked 2026-11-19
- [Fly.io docs: Machines API](https://docs.fly.io/machines/api/machines-resource), checked 2026-11-19
- [Fly.io docs: suspend and resume](https://docs.fly.io/reference/suspend-resume), checked 2026-11-19
- [Fly.io docs: Machines overview](https://docs.fly.io/machines/overview.md), checked 2026-11-19
- [Fly.io docs: Machines](https://docs.fly.io/machines/), checked 2026-11-19
- [Fly.io security questionnaire](https://fly.io/legal/security-questionnaire/), checked 2026-11-19
- [Fly.io Sprites](https://fly.io/sprites.md)
- [Fly.io Sprites pricing](https://fly.io/pricing.md), 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)
