Articles

Does Vercel have cold starts? When they still happen, and how to reduce them

Yes, but Fluid compute makes them rarer. When Vercel functions still start cold, on Hobby, in previews and after archiving, and how to cut startup time.

Updated

Yes, but less often than on classic serverless. Vercel Functions scale to zero, so a request that arrives when no instance is running waits for one to start. Fluid compute, the default for new projects since April 23, 2025, sends concurrent requests to instances that are already running, caches compiled code in production, and on paid plans keeps production instances warm. Cold starts still happen on functions that get little traffic, on the Hobby plan, in preview deployments, and after a function has been archived. Static pages and cached responses come from Vercel’s CDN and don’t start a function at all.

Gregale publishes this page. Vercel’s behavior comes from its own docs, checked on December 3, 2026: Fluid compute, function runtimes, debugging slow functions and its guide to function cold start performance, last updated November 18, 2026. Gregale’s numbers come from its own cold start measurements.

When a Vercel function starts cold

SituationWhat happens
Static page or cached responseNo function runs
Busy production function with Fluid computeRequests share running instances, so cold starts are rare
Production function on Pro or EnterpriseVercel keeps instances warm, so a cold start is less likely
Production function on HobbyNo warm instances; the first request after a quiet spell starts one
Preview deploymentNo bytecode cache and no warm instances
Function not called for 2 weeks (a few days in preview)Archived; the next request adds at least 1 second
Project created before April 23, 2025, Fluid offOne request per instance, so every new instance is a cold start

Vercel’s pages differ on when a preview function is archived: the runtimes page says within 3 days, the cold start guide 48 hours.

How long a Vercel cold start takes

Vercel doesn’t publish a typical number, because it depends mostly on your code. Its guide says startup time grows with the size of the function, mostly its dependencies, and that large dependencies can take seconds or more to load. An archived function adds at least a second on top.

To see your own, call the same route three times with the Vercel CLI:

bash
vercel httpstat /api/slow-endpoint
vercel httpstat /api/slow-endpoint
vercel httpstat /api/slow-endpoint

If the first call is much slower than the next two, that’s a cold start. The Observability tab in the dashboard shows how long functions take to start and what share of requests were cold.

Does Vercel sleep?

Not the way Render’s free tier or Heroku’s Eco dynos do. A Vercel project doesn’t go to sleep as a whole: static files and cached pages are always served. Functions scale to zero between requests, and after two weeks without a call they’re archived. On Hobby there are no warm instances, so a function that gets a few requests a day will usually start cold.

A scheduled ping won’t fix that on Hobby, either: Hobby cron jobs can run at most once a day.

How to reduce cold starts on Vercel

Vercel’s advice is to check first that startup is the problem. Slow responses often come from waiting on a database or an API, which no startup fix changes. If Observability does show cold starts:

  • Turn on Fluid compute if the project was created before April 23, 2025.
  • Run functions near your data. The default region is iad1 (Washington, D.C.); pick the one closest to your database.
  • Ship smaller functions. Remove heavy dependencies, check the bundle with a bundle analyzer, and use dynamic imports for code only some requests need.
  • Cache responses with Cache-Control and stale-while-revalidate, so repeat visitors don’t wait on a function.
  • Upgrade Next.js, and on the Pages Router set bundlePagesExternals to true under experimental.
  • Move to a paid plan if warm production instances are worth $20 a month to you.

Older advice says to move routes to the Edge runtime to avoid cold starts. Vercel now recommends migrating from Edge to Node.js, and Next.js 16.3 no longer supports runtime = 'edge'.

Where Gregale fits

Many teams keep the frontend on Vercel and run the backend somewhere else, especially an API in Python, Go or Java, or one packaged as a Docker image. On Gregale the backend also scales to zero: an app parks after 1 minute idle on Free and Hobby, 5 minutes on Pro and 10 minutes on Scale. The next request restores it from a memory snapshot taken when the app first became ready, so the app’s startup code doesn’t run again.

Five test apps on Gregale, December 1, 2026Restore from snapshotFirst answer seen by a client
Go (net/http)50 ms460 ms
Node.js 24 (Express 4)68 ms487 ms
Bun (Hono)68 ms484 ms
Python (FastAPI on uvicorn)83 ms500 ms
Java 25 (Spring Boot 4)78 ms514 ms

The first answer was measured from a laptop about 170 ms from the region, on a new TLS connection; the same request to an app that was already running took about 310 ms. A parked app answers about 150 to 200 ms slower than a running one. The restore barely depends on how long the app takes to boot: the Spring Boot app took 4.2 seconds to boot from scratch and 78 ms to restore.

That doesn’t beat a warm Vercel instance, and on a busy Pro project most requests find one. It matters for a backend that’s quiet most of the day, or one whose startup takes seconds. See migrating from Vercel and a FastAPI backend for a Next.js app on Vercel.

What we verified

Vercel’s behavior is from its docs and cold start guide, checked on December 3, 2026. We didn’t measure Vercel cold starts for this page, and Vercel doesn’t publish a typical time. The Gregale numbers are from our cold start measurements of December 1, 2026, and the idle timeouts from Gregale’s plans page.

Questions

Does Vercel have cold starts?

Yes. Vercel Functions scale to zero, so a request that finds no running instance waits for one to start. Fluid compute makes this rarer by sharing running instances, caching compiled code in production and, on paid plans, keeping production instances warm.

Does Vercel’s free Hobby plan have cold starts?

Yes, more often than paid plans. Vercel keeps production instances warm only on paid plans, and Hobby cron jobs run at most once a day, so a function with little traffic on Hobby usually starts cold.

How long is a Vercel cold start?

Vercel doesn’t publish a typical time. It depends mostly on the size of the function and its dependencies, which can take seconds or more to load. A function archived after two weeks without calls adds at least another second.

How do I reduce cold starts on Vercel?

Confirm in Observability that startup is the cause, then turn on Fluid compute for projects created before April 23, 2025, run functions in your database’s region, trim dependencies, cache responses with Cache-Control, and keep Next.js up to date.