# Sandbox persistence is now GA

DevFeed: [Sandbox persistence is now GA](<https://devfeed.tech/articles/sandbox-persistence-is-now-ga-1081.md>)

Original publisher: [Read original article](<https://vercel.com/changelog/sandbox-persistence-is-now-ga>)

Author: Harpreet Arora

Published: 2026-05-26T00:01:00Z

Content type: release

Language: en

Sources: [Vercel News](<https://devfeed.tech/sources/vercel-news.md>)

Topics: [Persistence](<https://devfeed.tech/topics/persistence.md>), [Vercel](<https://devfeed.tech/topics/vercel.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [SDKs](<https://devfeed.tech/topics/sdks.md>)

Tags: [cli](<https://devfeed.tech/tags/cli.md>), [compute](<https://devfeed.tech/tags/compute.md>), [filesystem](<https://devfeed.tech/tags/filesystem.md>), [fork](<https://devfeed.tech/tags/fork.md>), [network](<https://devfeed.tech/tags/network.md>), [persistence](<https://devfeed.tech/tags/persistence.md>), [sandbox](<https://devfeed.tech/tags/sandbox.md>), [sdk](<https://devfeed.tech/tags/sdk.md>), [snapshots](<https://devfeed.tech/tags/snapshots.md>), [storage](<https://devfeed.tech/tags/storage.md>), [upgrade](<https://devfeed.tech/tags/upgrade.md>), [vercel](<https://devfeed.tech/tags/vercel.md>), [workflow](<https://devfeed.tech/tags/workflow.md>)

## AI overview

Vercel Sandboxes now provide generally available persistence. Filesystem state is automatically saved and restored between sessions, with persistence enabled by default and sandboxes addressable by durable names. Users can opt out for ephemeral workloads, while persistent sandboxes resume from the latest snapshot automatically.

## Source excerpt

Vercel Sandboxes now automatically save and restore filesystem state between sessions. Persistence is on by default, meaning no snapshots to manage or state to track manually. Each sandbox has a durable, customizable name that acts as a unique reference in your project. You can create, retrieve, or resume a sandbox by name. Vercel spins sessions up and down automatically, without interrupting your workflow. Create a persistent sandbox When you call Sandbox.create(), persistence is enabled by default: Each automatic snapshot consumes snapshot storage, which is billed separately from compute. For ephemeral workloads, opt out of persistence to minimize storage costs: To opt out of persistence with the CLI, pass --non-persistent to sandbox create. Non-persistent sandboxes discard their filesystem when the session ends. Resume a persistent sandbox Resuming is automatic. Any call on a stopped sandbox, like runCommand() or writeFiles(), starts a new session from the most recent snapshot. Other improvements Sandbox.fork(): Create a new sandbox from an existing one Sandbox.getOrCreate(): Idempotent retrieve-or-create for long-lived sandboxes Sandbox.delete(): Permanently delete a sandbox Richer sandbox.stop(): Returns snapshot metadata plus active-CPU and network-transfer totals Lifecycle hooks: onCreate and onResume hooks for create, get, and getOrCreate Tags: Assign custom properties to sandboxes for multi-tenant tracking Get started Upgrade to the latest version to create persistent sandboxes by default: pnpm install @vercel/sandbox@latest # SDK pnpm install -g sandbox@latest # CLI Learn more about persistent sandboxes in the documentation. Read more