Flashbox
BetaPay-per-command Linux sandboxes for chat agents: idle time, rollback, fork and file reads are free, every command ends in a checkpoint, and heavy installs and builds are routed automatically to a native machine that shares the sandbox's files.
- Boot rank
- #28 / 119
- 77% of published starts are slower
- Idle billing
- Zero cost while idle
- 347 listings stay free while idle
- State kept on pause
- Memory + processes retained
- Resume: The next call resumes a hibernated sandbox from its newest checkpoint in under 30 ms; whether running processes come back depends on whether that checkpoint saved memory, which it does while a background process is running
Overview
Flashbox answers a specific accounting problem rather than a new isolation problem: a chat agent spends most of a conversation waiting for a person to read and a model to think, so billing the machine by the second charges for silence. The unit here is the command. A conversation gets its own Alpine sandbox with Bash, Node, Bun and Python, and each shell command, file write or process start costs $0.00005 with a second of CPU included; idle time, rollback, fork and reads are free, and the first 100,000 commands a month are free even after the beta. Every command ends in a checkpoint, so an agent can roll back a bad edit or fork a known-good state into up to eight new sandboxes, and checkpoints are kept 7 days. The sandbox itself is deliberately small, 256 MiB of RAM and a 2 GiB disk, with installs, builds, test suites and compilers automatically handed to a native machine that sees the same files, which is how a tiny VM can still run pip install or tsc at a normal speed. The interfaces are the part that fits an agent stack: a hosted MCP server, a dependency-free TypeScript SDK, plain HTTP that Python reaches with requests, and a CLI. Security claims are narrower than the marketing suggests and documented honestly: commands run as a non-root user, private and metadata addresses are blocked, network allowlists exist, and secrets are redacted, but the vendor does not name the hypervisor or container boundary behind the sandbox, and sandboxes and checkpoints are stored in Europe with a draft privacy notice. Treat it as an early beta with an unusual price model rather than as a hardened multi-tenant runtime.
Key capabilities
- $0.05 per 1,000 commands, with 1 second of CPU included in each
- Free during the beta; 100,000 commands a month free afterwards
- Idle time, rollback, fork and file reads cost nothing
- Every command ends in a checkpoint you can roll back or fork
- Heavy installs, builds and tests offload to a native machine with the same files
- Hosted MCP server, TypeScript SDK, HTTP API and CLI
- Network allowlists, with private and cloud-metadata addresses always blocked
- Secrets are never stored and are redacted from command output
- Hibernates after 60 seconds idle; resume from the newest checkpoint
- Sandbox data stored in Europe and deleted after 7 days unless retained
flashbox-agent.ts
import { Flashbox } from "flashbox";
const fb = new Flashbox(); // reads FLASHBOX_API_KEY
const sb = await fb.create({ network: { allow: ["api.github.com"] } });
const before = await sb.run("echo draft > notes.md");
await sb.run("rm notes.md");
await sb.rollback(before.checkpoint.id); // notes.md is back
const [a, b] = await fb.fork(before.checkpoint.id, 2); // try alternatives
const r = await sb.run("pip install pandas"); // routed to a native machine
console.log(r.route.target, r.cost.usd);Similar alternatives
Technical specifications
- Runtime architecture
- A small Alpine Linux (aarch64) machine per conversation, described by the vendor as isolated and run as a normal user who cannot become root; the underlying hypervisor or container boundary is not documented
- Runtime notes
- Shell work runs in the sandbox; installs, builds, tests and native-only tools such as ffmpeg and pandas are offloaded to a full-speed native machine with the same files
- 256 MiB of memory and a 2 GiB disk per sandbox; writes are limited to /workspace, /tmp and the home directory
- Cold-start boot time
- A sandbox is ready in a median of 4 ms, under 30 ms at the tail, measured on the vendor's production fleet on 2026-11-25
- Max vCPU
- Not published as a vCPU count; each command includes 1 second of CPU and a per-command CPU budget of 5 seconds by default, up to 30
- Max memory
- 256 MiB RAM
- Storage model
- 2 GiB disk per sandbox
- Network isolation
- Sandboxes can reach the public internet on ports 80 and 443 by default and are checked per connection against private networks, loopback and cloud metadata addresses. A create-time allowlist restricts egress to named hosts, or networking can be disabled entirely. Secrets passed to a command are never stored and their values are redacted from output, though processes the command leaves running keep them in memory.
Lifecycle & capabilities
- Filesystem persistence
- Supported
- Memory / disk snapshot
- Supported
- Instant forking
- Supported
- GPU acceleration
- Unknown
- GUI desktop / VNC
- Unknown
- Mobile / cloud phone
- Unknown
- Browser automation
- Unknown
- Network egress control
- Supported
- Pause / auto-sleep
- Supported
- MCP protocol server
- Supported
- REST API & SDKs
- Supported
- Idle billing
- Zero cost while idle
- State kept on pause
- Memory + processes retained
- Resume latency
- The next call resumes a hibernated sandbox from its newest checkpoint in under 30 ms; whether running processes come back depends on whether that checkpoint saved memory, which it does while a background process is running
- Session limit
- A sandbox hibernates after 60 seconds without a call, or 5 minutes while background processes run; checkpoints are kept 7 days, and an account can run 20 sandboxes at once out of 500
- SDKs
- TypeScript
Pricing model
Official VerifiedRate read 26 Nov 2026.
Billed per command, where a command is a shell command, an API file write or a process start: $0.05 per 1,000 commands, each including 1 second of CPU, with the first 100,000 commands every month free. CPU beyond that second costs $0.002 per CPU-minute, and background-process CPU between commands costs the same $0.002. Network is 10 GB a month included, then $0.05 per GB in both directions. Idle sandboxes, memory, disk and checkpoints kept for 7 days are $0; pinned checkpoints kept past retention are $0.10 per GB-month. Reading files, listing checkpoints, rollback, fork and sandbox creation are free. Nothing is charged during the beta, and the dashboard still shows what usage would cost.