You can now extend the duration of a running Vercel Sandbox using the new extendTimeout method.
This lets long-running sandboxes stay active beyond their initial timeout, making it easier to support workflows like chained agentic tasks or multi-step code generation that take longer than expected.
const sandbox = await Sandbox.create({
await sandbox.extendTimeout(10 * 60 * 1000);
You can extend the timeout multiple times until the maximum runtime for your plan is reached.
Pro and Enterprise plans support up to 5 hours, with the Hobby plan supporting up to 45 minutes.
Get started with Sandbox now and learn more in the docs.