Vercel's sandboxAn isolated environment where AI-generated code or agent actions run without being able to touch anything real.Full definition → Drives let an AI agentAn AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.Full definition → keep files after the sandbox running its code stops. A Drive mounts as a directory and can be reused by another sandbox, so a workspace, dataset or downloaded dependencies can survive across separate runs. The public-beta announcement makes persistence independent of any single sandbox instance.
Sharing follows a specific rule: one sandbox can mount a Drive for writing at a time, while others can read snapshots concurrently. Each snapshot captures the Drive when mounted and does not receive later changes. Parallel review or testing can therefore use a fixed view of the files while subsequent work continues separately.
Key takeaways · AI-distilled
A Vercel Sandbox Drive supports only one read-write mount at a time; once written to, other sandboxes can read it concurrently only via point-in-time, read-only snapshots that exclude later writes.
Each sandbox can mount up to four Drives at separate paths; Drives default to a 1 TiB size cap (1 GiB on the Hobby plan) and can be configured up to 16 TiB by request.
A Drive is pinned to the region where it was created, and any sandbox mounting it must run in that same region, with no failover-region fallback.
In the iad1 region, Drive storage costs $0.05/GB-month, reads $0.0015/GB, and writes $0.004/GB; the Hobby plan includes 15 GB of storage and 30 GB each of reads and writes free per month.
Terms in this piece · Glossary
sandbox — An isolated environment where AI-generated code or agent actions run without being able to touch anything real.
AI agent — An AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.