- How is this different from running code in a normal function?
- A function runs code you wrote and reviewed. Sandbox is for code you did not write: what an agent generates or a customer uploads. Each sandbox gets its own microVM and kernel, with its own network rules.
- Does a sandbox make an agent safe?
- It limits what the code can reach. It does not decide whether an action is right. Our post on agent sandboxes and policy, at mindcat.ai/blog/ai-agent-sandbox-policy, covers that gap and the rules we add on top.
- Can the sandbox run in the UAE or Saudi Arabia?
- No. Sandbox runs in all 19 Vercel regions, and none is in the Gulf. Mumbai (bom1) is the closest, and snapshots and Drives stay in the region where they were made. We confirm the region per project before you sign.
- What does it cost?
- As of 16 October 2026, Pro pays $0.128 per active CPU hour and $0.0212 per GB-hour of memory at Washington (iad1) rates, plus $0.60 per million sandboxes created. CPU is not charged while the code waits on a model or the network. Hobby includes a small monthly allowance and is for non-commercial use only.
- How long can a job run?
- A session starts at 5 minutes and can be extended to 45 minutes on Hobby or 24 hours on Pro and Enterprise. Stopping and resuming resets that limit, and snapshots keep the files.