Skip to main content

Vercel Functions can now run up to 30 minutes

By Steven Van ·

Pro and Enterprise teams can now set Node.js and Python function timeouts up to 30 minutes, in beta with Fluid compute required.

Vercel Functions on the Node.js and Python runtimes can now run for up to 30 minutes, more than double the previous 800 second limit. The longer duration is in beta, available to Pro and Enterprise teams, and requires Fluid compute.

It's aimed at work that needs more time to finish, such as long LLM reasoning and tool calls, multi-minute streaming responses, document and media processing, OCR and extraction, web scraping and browser automation, and long Workflow steps or Queue handlers. Active CPU billing still applies only while code is executing, and pauses while a function waits on I/O like model calls, database queries, or third-party APIs.

To opt in, set maxDuration to a value above 800 in the route file (Next.js App Router) or in vercel.json for other runtimes. During the beta, durations above 800 seconds must be set per function rather than as a project-wide default, and are supported on Node.js 20.x, 22.x and 24.x, Bun 1.x and 1.4.x, and Python 3.12 through 3.14. Secure Compute and Static IPs don't support durations above 800 seconds during the beta. Full details are in the documentation.

Vercel
Vercel
The platform for frontend developers — deploy, preview, and scale web apps and AI agents with zero config.
View Vercel →

Read the original announcement →

Read Vercel Functions can now run up to 30 minutes on Creators Toolbox