Docs
Spend and caps
What your sandboxes cost, and limits that stop runaway agents.
Boxport keeps a ledger of the sandboxes it creates for you, at your vendors' list prices.
- A create holds its worst case: its size at full use until the vendor's own timeout (5 minutes on E2B and Modal, 30 on Daytona).
- A kill replaces the hold with the charge for the time it ran. A sandbox you never kill is charged up to its timeout.
- For Modal, which bills CPU only while busy, the charge uses the
busyshare you sent with the create.
These are estimates. Your vendors' invoices are what you pay.
Caps
curl -X PUT https://boxport.dev/v1/spend/caps -H "Authorization: Bearer $BOXPORT_KEY" \
-d '{"daily": 5, "perSandbox": 0.5}'
Providers that would break a cap are left out of placement. If none are left, the create gets 402. The daily cap counts open holds, so parallel creates can't overrun it.