Fluid compute
Fluid compute offers a blend of serverless flexibility and server-like capabilities. Unlike traditional serverless architectures, which can face issues such as cold starts and limited functionalities, fluid compute provides a hybrid solution. It overcomes the limitations of both serverless and server-based approaches, delivering the advantages of both worlds, including:
- Zero configuration out of the box: Fluid compute comes with preset defaults that automatically optimize your functions for both performance and cost efficiency.
- Optimized concurrency: Optimize resource usage by handling multiple invocations within a single function instance. Can be used with the Node.js and Python runtimes.
- Dynamic scaling: Fluid compute automatically optimizes existing resources before scaling up to meet traffic demands. This ensures low latency during high-traffic events and cost efficiency during quieter periods.
- Background processing: After fulfilling user requests, you can continue executing background tasks using waitUntil. This allows for a responsive user experience while performing time-consuming operations like logging and analytics in the background.
- Automatic cold start optimizations: Reduces the effects of cold starts through automatic bytecode optimization, and function pre-warming on production deployments.
- Cross-region and availability zone failover: Ensure high availability by first failing over to another availability zone (AZ) within the same region if one goes down. If all zones in that region are unavailable, Vercel automatically redirects traffic to the next closest region. Zone-level failover also applies to non-fluid deployments.
- Error isolation: Unhandled errors won't crash other concurrent requests running on the same instance, maintaining reliability without sacrificing performance.
You can enable fluid compute through the Vercel dashboard or by configuring your vercel.json file for specific environments or deployments.
You can reach our customer support team by emailing info@yourcompany.example.com, calling +1 555-555-5556, or using the live chat on our website. Our dedicated team is available 24/7 to assist with any inquiries or issues.
We’re committed to providing prompt and effective solutions to ensure your satisfaction.
We offer a 30-day return policy for all products. Items must be in their original condition, unused, and include the receipt or proof of purchase. Refunds are processed within 5-7 business days of receiving the returned item.
- Navigate to your project's Functions Settings in the dashboard
- Locate the Fluid Compute section
- Toggle the switch to enable fluid compute for your project
- Click Save to apply the changes
- Deploy your project for the changes to take effect
When you enable it through the dashboard, fluid compute applies to all deployments for that project by default.
Enable for specific environments and deployments
You can programmatically enable fluid compute using the fluid property in your vercel.json file. This approach is particularly useful for:
- Testing on specific environments: Enable fluid compute only for custom environments environments when using branch tracking
- Per-deployment configuration: Test fluid compute on individual deployments before enabling it project-wide
{
"$schema":"https://openapi.vercel.sh/vercel.json",
"fluid":true
}
Available runtime support
Fluid compute is available for the following runtimes:
Optimized concurrency
Fluid compute allows multiple invocations to share a single function instance, this is especially valuable for AI applications, where tasks like fetching embeddings, querying vector databases, or calling external APIs can be
I/O-bound
How multiple requests are processed in the fluid compute model with optimized concurrency.

Vercel Functions prioritize existing idle resources before allocating new ones, reducing unnecessary compute usage. This in-function-concurrency is especially effective when multiple requests target the same function, leading to fewer total resources needed for the same workload.
Optimized concurrency in fluid compute is available when using Node.js or Python runtimes. See the efficient serverless Node.js with in-function concurrency blog post to learn more.
Bytecode caching
When using Node.js version 20+, Vercel Functions use bytecode caching to reduce cold start times. This stores the compiled bytecode of JavaScript files after their first execution, eliminating the need for recompilation during subsequent cold starts.
As a result, the first request isn't cached yet. However, subsequent requests benefit from the cached bytecode, enabling faster initialization. This optimization is especially beneficial for functions that are not invoked that often, as they will see faster cold starts and reduced latency for end users.
Bytecode caching is only applied to production environments, and is not available in development or preview deployments.
frameworks that output ESM, all CommonJS dependencies
(for example,
react,
node-fetch) will be opted into bytecode caching.
Isolation boundaries and global state
On traditional serverless compute, the isolation boundary refers to the separation of individual instances of a function to ensure they don't interfere with each other. This provides a secure execution environment for each function.
However, because each function uses a microVM for isolation, which can lead to slower start-up times, you can see an increase in resource usage due to idle periods when the microVM remains inactive.
Fluid compute uses a different approach to isolation. Instead of using a microVM for each function invocation, multiple invocations can share the same physical instance (a global state/process) concurrently. This allows functions to share resources and execute in the same environment, which can improve performance and reduce costs.
Default settings by plan
Fluid Compute includes default settings that vary by plan:
- Hobby
- Standard
- 300s (5 minutes) / 300s (5 minutes)
- -
- Enterprise
- Standard / Performance
- 300s (5 minutes) / 800s
- 1800s (30 minutes)
- Beta
maxDuration on each Function rather than as a project default. Secure Compute does not
support durations above 800 seconds during the beta. See
configuring maximum
duration
for the supported runtimes and examples.
Vercel
Workflows, which allow your code to pause, resume, and
maintain state for minutes to months without duration limits.
Order of settings precedence
The settings you configure in your function code, dashboard, or vercel.json file will override the default fluid compute settings.
The following order of precedence determines which settings take effect. Settings you define later in the sequence will always override those defined earlier:
Our Services
Settings in your function code always take top priority. These include max duration defined directly in your code.
Precedence
Any settings in your vercel.json file, like max duration, and region, will override dashboard and Fluid defaults.
2
Changes made in the dashboard, such as max duration, region, or CPU, override Fluid defaults.
Software Delivery
4
Dashboard
3
These are the default settings applied automatically when fluid compute is enabled, and do not configure any other settings.
vercel.json
Pricing and usage
See the fluid compute pricing documentation for details on how fluid compute is priced, including active CPU, provisioned memory, and invocations.
Last updated August 24, 2026
Cross-link map: Fluid compute (/docs/fluid-compute)From the Vercel docs graph (built 2026-09-21T05:26:59.511Z), spanning vercel.com docs + KB, nextjs.org, ai-sdk.dev, and other Vercel documentation sites. Full graph as JSON: https://vercel.com/docs/graph.jsonSemantically closest pagesWhat is Compute? — Learn how compute works on Vercel with Fluid compute, and how it compares to traditional server and serverless models.Introducing Fluid computeHow Fluid compute works on VercelFluid: How we built serverless serversHow Vercel Services run on Fluid compute — The backends in a Vercel Services project run as Vercel Functions on Fluid compute by default. Learn how optimized concuThis page links to (19)Frameworks on Vercel — Vercel supports a wide range of the most popular frameworks, optimizing how your application builds and runs no matter wConfiguring Functions — Learn how to configure the runtime, region, maximum duration, and memory for Vercel Functions.Configuring Maximum Duration for Vercel Functions — Learn how to set the maximum duration of a Vercel Function.Configuring Memory and CPU for Vercel Functions — Learn how to set the memory / CPU of a Vercel Function.Configuring regions for Vercel Functions — Learn how to configure regions for Vercel Functions.@vercel/functions API Reference \(Node.js\) — Learn about available APIs when working with Vercel Functions.Vercel Functions Limits — Learn about the limits and restrictions of using Vercel Functions.Runtimes — Runtimes transform your source code into Functions, which are served by our CDN. Learn about the official runtimes suppoUsing the Bun Runtime with Vercel Functions — Learn how to use the Bun runtime with Vercel Functions to create fast, efficient functions.Edge Runtime — Learn about the Edge runtime, an environment in which Vercel Functions can run.Using the Node.js Runtime with Vercel Functions — Learn how to use the Node.js runtime to create functions and deploy Node.js servers on Vercel.Supported Node.js versions — Learn about the supported Node.js versions on Vercel.Using the Python Runtime with Vercel Functions — Learn how to use the Python runtime to run Python applications on Vercel.Using the Rust Runtime with Vercel functions — Build fast, memory-safe serverless functions with Rust on Vercel.Fluid compute pricing — Learn about usage and pricing for fluid compute on Vercel.What is Compute? — Learn how compute works on Vercel with Fluid compute, and how it compares to traditional server and serverless models.Project Configuration — Learn how to configure your Vercel projects using vercel.json, vercel.toml, vercel.ts, or the dashboard to control buildStatic Configuration with vercel.json — Learn how to use vercel.json to configure and override the default behavior of Vercel from within your project.Serverless servers: Efficient serverless Node.js with in-function concurrencyPages that link here (162)By site: ai-sdk (1) · vercel-changelog (33) · vercel-kb (64) · vercel-web (23) · vercel-docs (41)From ai-sdkGetting Timeouts When Deploying on VercelFrom vercel-changelogAdvanced Remix integration with streaming SSR and multi-runtime supportBun runtime now supports large functions and extended max durationBun runtime for Vercel Functions now accepts Bun.serve as an entrypointDeploy Hono backends with zero configurationDeployment-level configuration for Fluid computeEdge Config is now generally available Edge Function metrics now available in MonitoringEdge Functions are now available in Public BetaEdge Functions are now generally availableEdge Middleware and Edge Functions are now powered by Vercel FunctionsEnhanced geolocation information for Vercel FunctionsHydrogen 2 projects can now be deployed with zero configurationHydrogen projects can now be deployed with zero configurationImproved Node.js compatibility for Edge Middleware and Edge FunctionsImproved performance for Vercel Postgres from Edge FunctionsImprovements and fixesIP Geolocation now available for all plansImprovements and fixesMore flexible Environment Variables in Edge Functions and MiddlewareNew build and deploy capabilities in Vercel CLINew execution duration limit for Edge FunctionsNext.js 13.4 on VercelOpenAI will not support the Hong Kong region (hkg1) for FunctionsVercel Edge Functions can now be regional or globalRun scheduled jobs with Vercel Cron Jobs and Vercel FunctionsSupport for Remix v2Vercel CLI v28 is now availableVercel Cron Jobs are now generally availableVercel Edge Functions are now in public betaVercel Functions can now be up to 5GB in package sizeVercel Queues now in public betaWebSocket support is now in Public BetaWorkflow steps now support extended function durationsFrom vercel-kbAdd structured application logs to Vercel Functions — Learn how to add structured application logs to Vercel Functions to help troubleshoot function issues in real time.Durable agent approval workflows on Vercel — How enterprise architects choose a stack and decide where to run durable, human-in-the-loop agent approval workflows onHow to architect an AI evaluation dashboard on Vercel — Map eval orchestration, traces, and run storage to AI Gateway, Observability, and Marketplace Postgres, and learn when sAstro on Vercel vs Webflow Cloud — Compare running Astro on Vercel Functions with Fluid compute against Webflow Cloud on Cloudflare Workers. Learn how AstrBuild with an Express starter template — Deploy an Express app to Vercel from a template. Browse Express starters from Vercel and the community, then run them loBuild with a FastAPI starter template — Browse FastAPI starter templates for Vercel and deploy one in a few steps. Compare minimal, AI, agent, and full-stack FaBuild with a Flask starter template — Deploy a Flask app to Vercel from a starter template. Compare the Flask Hello World starter, AI SDK, alt text generator,Build with a Hono starter template — Deploy a Hono app to Vercel from a starter template. Compare the Hono API starter, MCP server, AI SDK, Slack Bolt, Next.Build with a Nitro starter template — Deploy a Nitro app to Vercel from a starter template. Compare the Nitro Starter, route rules, cached HTTP handler, plugiBuilding an AI chat app with RAG and source citations on Vercel — A production stack for AI chat with retrieval, reranking, source citations, and background ingestion on Vercel using NexConnection Pooling with Vercel Functions — Learn best practices for connecting to relational databases with Vercel Functions and Fluid computeHow to Deploy a TanStack Start app to Vercel — Deploy a TanStack Start app to Vercel with the Nitro Vite plugin. Covers Git and CLI deployment, Fluid compute defaults,Deploy a Node.js Fastify app on Vercel with Docker — Build a Node.js application with Fastify and Docker, then deploy it to Vercel Functions. Learn how to configure environmDeploy PHP on Vercel with Docker — Build a PHP application with FrankenPHP and Docker, then deploy it to Vercel Functions with managed configuration, storaDeploy Rust on Vercel with Docker — Build a Rust application with Axum and Docker, then deploy it to Vercel Functions. Learn how to configure environment vaHow Docker Compose concepts map to Vercel — Translate your Docker Compose file to Vercel: Compose services become Vercel Services, networks become bindings, and volDeploy ASP.NET Core on Vercel with Docker — Build a .NET application with Docker and deploy it to Vercel Functions. Learn how to configure environment variables, inEfficiently manage database connection pools with Fluid compute — How to create high-performance database connection pools without leaking connectionsHow Fluid compute pricing compares to EC2, Fargate, and EKS — Compare Fluid compute with Active CPU pricing to Amazon EC2, AWS Fargate, and Amazon EKS on cost per active vCPU-hour, aDeploy to Vercel with Self-Hosted Git Pipelines \(GitLab & Bitbucket\) — Learn how to use GitLab Pipelines to deploy to Vercel including support for self-managed GitLab.Building AI apps on Vercel: an overview — Learn the key AI concepts and tools for building and scaling AI apps.How to Effectively Load Test Your Vercel Application — Learn how to safely load test your Next.js app on Vercel. This guide covers realistic, policy-compliant testing of routeHow to enable CORS on Vercel — Learn how to enable CORS on Vercel with vercel.json, Routing Middleware, framework config, and route handlers, plus howHow can I improve function cold start performance on Vercel? — Learn how to confirm whether cold starts cause function latency on Vercel, and how Fluid compute reduces how often theyBuild a ChatGPT Connector \(MCP server\) — Build a ChatGPT MCP server with mcp-handler and Fluid compute. Add search, fetch, and OAuth, deploy to Vercel, then valiMigrate a Next.js app from Webflow Cloud to Vercel — Move your Next.js app from Webflow Cloud to Vercel: remove the OpenNext Cloudflare adapter, drop the base path, map storMigrate a TanStack Start app from Cloudflare to Vercel — Move your TanStack Start app off Cloudflare Workers and onto Vercel Functions, where Fluid compute scales it automaticalMigrate a TanStack Start app from Netlify to Vercel — Move your TanStack Start app off Netlify and onto Vercel Functions, where Fluid compute scales it automatically. Swap toMigrate an Astro app from Webflow Cloud to Vercel — Move your Astro app from Webflow Cloud to Vercel: swap the @astrojs/cloudflare adapter for @astrojs/vercel, drop the basNext.js on Vercel vs Cloudflare — Compare running Next.js on Vercel Functions with Fluid compute against Cloudflare Workers with the OpenNext Cloudflare aNext.js on Vercel vs Webflow Cloud — Compare running Next.js on Vercel Functions with Fluid compute against Webflow Cloud on Cloudflare Workers. Learn how NeNext.js on Vercel vs Netlify — Compare running Next.js on Vercel Functions with Fluid compute against Netlify Functions and the OpenNext adapter. LearnWhat is the Nitro Vite plugin? — The Nitro Vite plugin \(nitro/vite\) adds SSR, API routes, and deploy-anywhere server builds to any Vite app. Learn whatTroubleshoot and optimize Active CPU usage on Fluid compute — Diagnose which routes drive Active CPU usage and learn to optimize it. Separate traffic growth from per-request CPU workPublish and subscribe to realtime data on Vercel — Learn how to publish and subscribe to realtime data on Vercel with WebSockets, SSE, Redis, and Queues, and when a manageProduction architecture for a RAG chatbot on Vercel — Architect a production RAG chatbot on Vercel Functions with Fluid compute, AI Gateway, and a region-pinned vector store.How to send emails from an application on Vercel — Send email from Vercel Functions over an HTTP API instead of SMTP. Match the right Next.js pattern to your trigger and fCan I use SMTP with Vercel? — Vercel Functions can open SMTP connections on the Node.js runtime. Learn which ports are open, why you must await the seHow to ship an Elysia app on Vercel — Deploy a Elysia app to Vercel with zero configuration. Learn how to ship from a template, the Vercel CLI, or Git, and coHow to ship an Express app on Vercel — Deploy an Express app to Vercel with zero configuration. Configure response streaming, middleware, cron jobs, the Bun ruHow to ship a FastAPI app on Vercel — Deploy a FastAPI app to Vercel with zero configuration. Learn how the Python runtime, Vercel Functions, streaming, middlHow to ship a Fastify app on Vercel — Deploy a Fastify app to Vercel with zero configuration, then add streaming, lifecycle hooks, cron jobs, and observabilitHow to ship a Flask app on Vercel — Deploy a Flask app to Vercel with zero configuration. Learn how to ship from a template, the Vercel CLI, or Git, and conHow to ship an H3 app on Vercel — Deploy an H3 app to Vercel with zero configuration. Learn to configure streaming, middleware, cron jobs, the Bun runtimeHow to ship a Hono app on Vercel — Deploy a Hono app to Vercel with zero configuration. Learn how to ship from a template, the Vercel CLI, or Git, and confHow to ship a Koa app on Vercel — Deploy a Koa app to Vercel with zero configuration. Learn how to ship from the Vercel CLI or Git, and configure responseHow to ship a NestJS app on Vercel — Deploy a NestJS app to Vercel with zero configuration. Learn how to ship from a template, the Nest CLI, or Git, and confHow to ship a Nitro app on Vercel — Deploy a Nitro app to Vercel with zero configuration. Learn how to ship from a template, the Vercel CLI, or Git, and conTanStack Start on Vercel vs Cloudflare — Compare running TanStack Start on Vercel Functions with Fluid compute against Cloudflare Workers. Learn how the runtimesTanStack Start on Vercel vs Netlify — Compare running TanStack Start on Vercel Functions with Fluid compute against Netlify Functions. Learn how the compute mTroubleshooting Build Error: "Serverless Function has exceeded the unzipped maximum size of 250 MB" — Learn how to troubleshoot builds failing due to exceeding the maximum function size limit on Vercel.Using xmcp with Next.js — Add an MCP server to an existing Next.js app with xmcp. Create typed tools, add authentication, and deploy to Vercel asThe Complete Guide to Vercel Services — Vercel Services let you deploy multiple frontends and backends in one project on a shared domain. Learn how to define seHow Vercel Services run on Fluid compute — The backends in a Vercel Services project run as Vercel Functions on Fluid compute by default. Learn how optimized concuVercel vs Akamai — A detailed guide to Vercel vs Akamai: compute models, AI infrastructure, framework support, media streaming, CDN capabilVercel vs Fastly — A detailed guide to Vercel vs Fastly: full-stack application platform vs edge infrastructure layer, covering framework sVercel vs Kubernetes — Compare Vercel and Kubernetes on operational ownership, deployment workflow, scaling, and cost model to decide which plaVercel vs Netlify — A detailed guide to Vercel vs Netlify: runtimes, compute architecture, AI infrastructure, security, and when to choose eVercel vs Northflank — A detailed guide to Vercel vs Northflank: Fluid compute, CDN and caching, container image functions, security defaults,Vercel vs Railway — A detailed guide to Vercel vs Railway: serverless vs always-on containers, container images via Dockerfile.vercel, frameVercel vs Webflow Cloud — Compare Vercel and Webflow Cloud for deploying Next.js and Astro apps, including runtime, framework support, storage, prHow to Build a Weather API with Express and Vercel — Provide real-time weather data to apps and websites with a single Express route.Build a Weather API on Vercel: Express, FastAPI, and Nitro — Build a weather API on Vercel with FastAPI, Express, or Nitro. Compare the three runtimes, add caching and ObservabilityHow to Build a Weather API with Nitro and Vercel — Provide real-time weather data to apps and websites with a single Nitro route, Vercel cache storage, and Observability.From vercel-webA new programming model for durable executionAnyone can build agents, but it takes a platform to run themBehind the scenes of Vercel's infrastructure: Achieving optimal scalability and performanceAnnouncing the Build Output APIBuild your own web frameworkDeploying AI-driven apps on VercelIntroducing Edge Config: Globally distributed, instant configurationEdge Config: Ultra-low latency data at the edgeVercel Edge Functions are now generally availableNew features for SvelteKit: Optimize your application with easeBuilding a GPT-3 app with Next.js and streaming (historical)Introducing support for WebAssembly at the EdgeIntroducing the Vercel AI SDKRegional execution for ultra-low latency rendering at the edgeThe developer experience of the Frontend CloudThe real serverless compute to database connection problem, solvedUsing SvelteKit 1.0 on VercelUsing the latest Next.js 12.3 features on VercelReplacing Google Optimize with the Vercel Edge NetworkVercel Edge Middleware: Dynamic at the speed of static (historical)Remix without limits (historical)What does Vercel do? How to build zero-CLS A/B tests with Next.js and Vercel Edge ConfigFrom vercel-docsManaging Builds — Vercel allows you to increase the speed of your builds when needed in specific situations and workflows.Concepts — Learn how eve agents, sessions, channels, tools, skills, connections, and sandboxes fit together.Backends on Vercel — Vercel supports a wide range of the most popular backend frameworks, optimizing how your application builds and runs noElysia on Vercel — Build fast TypeScript backends with Elysia and deploy to Vercel. Learn the project structure, plugins, middleware, and hExpress on Vercel — Deploy Express applications to Vercel with zero configuration. Learn about middleware and Vercel Functions.Fastify on Vercel — Deploy Fastify applications to Vercel with zero configuration.Hono on Vercel — Deploy Hono applications to Vercel with zero configuration. Learn about observability, ISR, and custom build configuratiKoa on Vercel — Deploy Koa applications to Vercel with zero configuration.NestJS on Vercel — Deploy NestJS applications to Vercel with zero configuration.Nitro on Vercel — Deploy Nitro applications to Vercel with zero configuration. Learn about observability, ISR, and custom build configuratReact Router on Vercel — Deploy React Router applications with SSR or SPA mode, then configure the Vercel preset, streaming, caching, and analytiTanStack Start on Vercel — Deploy TanStack Start applications to Vercel with Nitro and configure Vercel Functions.Vite + Nitro on Vercel — Add a backend to any Vite app with Nitro and deploy to Vercel with zero configuration.Vercel Functions — Build API routes, webhooks, and agent request handlers with Vercel Functions, then test and debug them with Vercel CLI.Configuring Maximum Duration for Vercel Functions — Learn how to set the maximum duration of a Vercel Function.Configuring Memory and CPU for Vercel Functions — Learn how to set the memory / CPU of a Vercel Function.@vercel/functions API Reference \(Node.js\) — Learn about available APIs when working with Vercel Functions.Vercel Functions Limits — Learn about the limits and restrictions of using Vercel Functions.Using the Bun Runtime with Vercel Functions — Learn how to use the Bun runtime with Vercel Functions to create fast, efficient functions.Edge Runtime — Learn about the Edge runtime, an environment in which Vercel Functions can run.Using the Node.js Runtime with Vercel Functions — Learn how to use the Node.js runtime to create functions and deploy Node.js servers on Vercel.Using the Rust Runtime with Vercel functions — Build fast, memory-safe serverless functions with Rust on Vercel.Using WebAssembly \(Wasm\) — Learn how to use WebAssembly \(Wasm\) to enable low-level languages to run on Vercel Functions and Routing Middleware.Streaming — Learn how to stream responses from Vercel Functions.Fluid compute pricing — Learn about usage and pricing for fluid compute on Vercel.Legacy Usage & Pricing for Functions — Learn about legacy usage and pricing for Vercel Functions.WebSockets — Serve WebSocket connections in Vercel Functions for realtime features like chat, collaboration, and AI streaming.How requests flow through Vercel — Learn how Vercel routes, secures, and serves requests from your users to your application.What is Compute? — Learn how compute works on Vercel with Fluid compute, and how it compares to traditional server and serverless models.Glossary — Learn about the terms and concepts used in Vercel's products and documentation.Deploy MCP servers to Vercel — Learn how to deploy Model Context Protocol \(MCP\) servers on Vercel with OAuth authentication and efficient scaling.Production checklist for launch — Ensure your application is ready for launch with this comprehensive production checklist by the Vercel engineering team.Static Configuration with vercel.json — Learn how to use vercel.json to configure and override the default behavior of Vercel from within your project.Programmatic Configuration with vercel.ts — Define your Vercel configuration in vercel.ts with @vercel/config for type-safe routing and build settings.Projects overview — A project is where you deploy and operate frontend apps, APIs, backends, containers, and agent workloads on Vercel.Queues concepts — Learn delivery, retries, visibility timeouts, and deployment isolation in Vercel Queues.Poll Mode — Consume messages from Vercel Queues by polling on your own schedule, from any environment.Routing Middleware — Learn how you can use Routing Middleware, code that executes before a request is processed on a site, to provide speed aServices Pricing and Limits — Understand how billing works for Vercel Services, what's charged, and which limits apply.@vercel/blob — Learn how to use the Vercel Blob SDK to access your blob store from your apps.Workflow Pricing and Limits — Understand how Vercel Workflows billing works and the limits that apply to runs, streams, and platform resources.
Was this helpful?