Vercel Functions support up to 30-minute execution duration
Vercel Functions on Node.js and Python runtimes can now run for up to 30 minutes for Pro and Enterprise teams, more than doubling the previous limit. Longer execution times are powered by Fluid Compute, which charges for active CPU time only, pausing billing during I/O operations.
Vercel Functions using the Node.js and Python runtimes now support execution durations up to 30 minutes for Pro and Enterprise teams, more than 2x the previous 800 second limit. Support for additional runtimes is coming soon.
Use longer-running Functions for work that needs more time to finish, including:
Fluid Compute keeps long-running work cost-efficient. Active CPU billing only applies while your code is executing, and pauses while your Function is waiting on I/O such as AI model calls, database queries, and third-party APIs.
Set to opt in. For Next.js App Router, configure it in the route file:maxDuration
For other runtimes and frameworks, configure for a specific function path in :maxDurationvercel.json
Durations above 800 seconds are in beta and require Fluid Compute. Learn more about configuring max duration for Vercel Functions .in the documentation
Source: original entry ↗
More from Vercel
Follow Vercel to get its new changes in your feed and email digest.
OpenAI Decisions API now available on AI Gateway
OpenAI's Decisions API is now accessible through Vercel's AI Gateway with an OpenAI-compatible endpoint, enabling decision models to answer typed questions and return probabilities, choices, and scores for routing, triage, and guardrails use cases. Support is available across the OpenAI SDK, AI SDK, HTTP API, and CLI with the latest versions.
Timestamp attributes now supported in Vercel Flags
Vercel Flags now supports timestamp attributes for entities, allowing you to create time-based targeting rules. Use this feature to run limited-time campaigns, show content between specific dates, or target users based on registration date.
Glyph Cluster now available in stealth on AI Gateway
Glyph Cluster, a reasoning model for coding and long-context analysis, is now available as a stealth model on Vercel's AI Gateway for Pro and Enterprise plan teams with purchased AI Gateway credits at no cost during the stealth period. The model supports function calling, streams responses, and can be accessed via AI SDK, OpenAI-compatible APIs, and coding agents.