🧰 Flashbox: an AI agent sandbox billed per command instead of per second

In brief
- 🧰 Flashbox is a Linux sandbox in which AI agents run commands, one per conversation.
- 💶 You pay per command, 0.00005 dollars including one second of CPU; idle time, reads, rollback and fork are free.
- ⏪ Every tool call is a checkpoint you can roll back to or fork from.
- 🆓 100,000 commands a month are free and nothing is charged during the beta; data is stored in Europe.
🧰 [Flashbox](https://flashbox.app) is a new service that gives AI agents their own Linux machine to run commands in, one sandbox per conversation. What sets it apart from known providers such as E2B is the billing: Flashbox does not charge for running time per second but for each command. 💶 A command costs 0.00005 dollars according to the maker, with one second of CPU included; each further CPU minute costs 0.002 dollars. Idle time, reading files, rollback and fork are free. The reasoning: an agent conversation is mostly people reading and the model thinking, so the machine is usually waiting. An hour with 120 tool calls costs 0.006 dollars this way, the maker says, against about 0.067 dollars at E2B's list price. ⏪ Every tool call is saved as a checkpoint you can return to or fork a copy from. 100,000 commands a month are free, and nothing is charged during the beta. The service can be used now through an MCP server, a TypeScript SDK, an HTTP API or in the terminal.
⚙️ **How it feels.** According to the project page a sandbox is ready in under 30 milliseconds; one code example gives 4 milliseconds. Commands behave like a terminal: changing directory or setting an environment variable carries over to the next command. Heavy jobs such as package installs, builds or data analysis move automatically to a full-speed machine with the same files; *npm install typescript* takes about 8.8 seconds there. Folders can be uploaded and downloaded as archives, and the sandbox can create links to single files to hand to users.
⏪ **Undo.** The example on the site shows what the checkpoints are for: an agent accidentally deletes the source folder, and one call returns the sandbox to its state before that command, in 211 milliseconds and at no cost according to the maker. With *fork* a second sandbox starts from a checkpoint, for instance to try another approach.
📊 **The maker's price comparison.** Flashbox works through one agent hour on its page: a conversation open for an hour with 120 short tool calls, with the other providers at list price for one virtual CPU and 1 GiB of memory, busy or idle. On that basis the hour costs about 0.067 dollars at E2B and Daytona, about 0.095 at Modal, about 0.040 at Vercel Sandbox, about 0.011 at Cloudflare Containers and about 0.024 dollars at Fly Sprites; at Flashbox only the commands are charged. The maker says it checked prices and start times on November 23. The scenario is its own: anyone running long, compute-heavy jobs also pays the CPU minutes at Flashbox, and then the gap shrinks.
🛡️ **Security and data.** Each sandbox is isolated, runs without root and cannot reach private networks or cloud metadata. Network access can be limited to an allowlist; secrets such as API tokens are passed in and redacted from the output. Data is stored in Europe, the maker says, and deleted after seven days unless you keep it.
🔌 **Getting it in.** For Claude Code a single command adds Flashbox's MCP server with an API key. There is also an npm package for TypeScript and an HTTP API for any language; *npx flashbox demo* starts a trial session in the terminal that shows the time and cost of every command. The service is mainly of interest to developers running agents with many short commands and long pauses for thinking.