1 min read
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({ // 15 minute timeout timeout: 15 * 60 * 1000,});
// Extend by 10 minutesawait 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.