Menu

Working with Sandbox

Last updated January 31, 2026

This page covers common tasks when working with Vercel Sandbox.

By default, sandboxes timeout after 5 minutes. For longer tasks, set a custom timeout when creating the sandbox:

To extend a running sandbox, call extendTimeout:

See Pricing and Limits for maximum durations by plan.

Connect to a running sandbox for interactive debugging with an SSH-like experience:

sandbox connect <sandbox-id>

Once connected, you have full shell access to inspect logs, check processes, and explore the filesystem.

See CLI Reference for all options.

View your sandboxes in the Sandboxes dashboard. For each project, you can see:

  • Total sandboxes created
  • Currently running sandboxes
  • Stopped sandboxes
  • Command history and sandbox URLs

Track compute usage across projects in the Usage dashboard, which measures:

  • Sandbox Provisioned Memory: Memory allocated to your sandboxes
  • Sandbox Data Transfer: Data transferred in and out
  • Sandbox Active CPU: CPU time consumed
  • Sandbox Creations: Number of sandboxes created
  • Sandbox Storage: Sandbox snapshot storage

There are three ways to stop a sandbox:

  1. Go to Sandboxes in Observability.
  2. Select your sandbox.
  3. Click Stop Sandbox.

Sandboxes stop automatically when their timeout expires. The default is 5 minutes.


Was this helpful?

supported.