Guide
How much does a sandbox for AI agents cost?
For a 4 vCPU, 8 GiB sandbox, hosted prices run from about 3 cents to 33 cents an hour, and self-hosting costs only your hardware. Per-second billing and pausing matter more than the hourly rate.
How much does an AI sandbox cost per hour?
List prices for 4 vCPU and 8 GiB (checked Nov 23, 2026): Jasmine Cloud $0.030 (early access), Boat $0.036 plus a $20/month minimum, E2B and Daytona about $0.331.
Prices change, so check each provider's pricing page before you decide.
How much does one agent task cost?
At $0.030 an hour, a 30-second task costs about $0.00025, so a dollar runs roughly four thousand of them.
Why does per-second billing matter?
Agent tasks are short. Billing by the minute or the hour can cost several times what you used; per-second billing charges for what ran.
Do I pay while my agent is thinking?
Not if you pause the sandbox. On Jasmine Cloud a paused sandbox keeps its memory and running processes and only pays for storage; self-hosted, a paused sandbox uses no CPU at all.
Is there a free option?
Yes: Jasmine is free to self-host on any Linux machine with KVM. Jasmine Cloud, in early access, will give $2 of credit with no card, and credit is prepaid, so you can never owe money.
Related
- What is an AI sandbox?
- How to give Claude Code, Codex or Cursor a sandbox
- Fix "no /dev/kvm" (Firecracker, Jasmine, and other microVMs)
- The best sandboxes for AI agents, measured
Updated 2026-11-25.
Try it in a minute
Self-host it with one command, free. Jasmine Cloud, the hosted version, is in early access.