Vercel Functions a 30 minuti: cosa decidere prima di spostare job AI lunghi nel serverless

Tech

Il 15 giugno 2026 Vercel ha annunciato Functions Node.js e Python fino a 30 minuti per team Pro ed Enterprise. Oltre 800 secondi la funzione è in beta e richiede Fluid Compute. Il cambiamento è utile per LLM lunghi, OCR, estrazione, media processing e automazioni limitate.

Vercel Functions a 30 minuti: cosa decidere prima di spostare job AI lunghi nel serverless
La scelta resta architetturale: se l’utente aspetta, Function lunga e streaming possono bastare. Se il job deve riprendere dopo errori, salvare step o dormire a lungo, servono Workflow o code. Se servono file, browser o workspace di un agente, meglio Sandbox.

Cosa cambia

Il 15 giugno 2026 Vercel ha annunciato Functions Node.js e Python fino a 30 minuti per team Pro ed Enterprise. Oltre 800 secondi la funzione è in beta e richiede Fluid Compute. Il cambiamento è utile per LLM lunghi, OCR, estrazione, media processing e automazioni limitate.

La scelta resta architetturale: se l’utente aspetta, Function lunga e streaming possono bastare. Se il job deve riprendere dopo errori, salvare step o dormire a lungo, servono Workflow o code. Se servono file, browser o workspace di un agente, meglio Sandbox.

Decisione pratica

RuntimeBest fitWatch out
FunctionUser waits, streaming matters, bounded inputNeeds explicit maxDuration, cancellation, logs
Workflow / QueueRetry, checkpoint, durable stepsRequires idempotency and state design
SandboxBrowser, filesystem, tests, agent workspaceNeeds permission and cleanup rules
Checklist

Verify plan, runtime, beta availability and Fluid Compute settings.

Keep provider and database timeouts below the function maximum.

Add progress logs, correlation ids, cancellation and cost alerts.

Use idempotency keys before moving mutations into longer requests.

Rischi

Prima del deploy verificate piano, runtime, beta, maxDuration, timeout esterni, osservabilità, cancellazione e alert di costo. Una Function più lunga non è una state machine durable.

Community discussions around Vercel timeouts show that developers have long been balancing streaming, queues and separate workers for LLM and long API work. Treat those discussions as product signal, while relying on the official Vercel changelog and docs for the actual limits.

Fonti