Vercel’s in-function concurrency lets one warm function instance absorb multiple simultaneous requests instead of spinning up a new instance per invocation. The practical effect is twofold: cold starts happen less often because each warm instance does more work, and billing moves toward active CPU rather than idle duration, so handlers that spend their lives waiting on a database stop being billed for the wait. The win is real but workload-shaped, and it quietly reverts one of serverless’s oldest promises, the guarantee that one request means one isolated execution.
How does in-function concurrency change the serverless model?
Under classic serverless, one request mapped to one instance: a request arrived, an instance booted or warmed, served it, then went idle or died. Vercel’s beta announcement states the old arrangement plainly: “Traditionally, serverless architecture maps one function instance to a single invocation.” In-function concurrency, the core of what Vercel calls Fluid compute, collapses that unit. A single instance now handles multiple concurrent invocations by filling the idle gaps in already-running instances, so a function blocked on a database reply can service a second request in the meantime. The February 2025 launch changelog describes the scaling change as “moving beyond the traditional 1:1 invocation-to-instance model.”
The interesting part is not the efficiency claim but the inversion of the isolation boundary. The Fluid docs explain that traditional serverless isolates each invocation in its own microVM, which is safe but slow to start and wasteful whenever that microVM sits idle. Fluid replaces it with invocations sharing “the same physical instance (a global state/process) concurrently.” What used to be a hard wall between requests becomes a shared process, and that has consequences further down.
The optimized concurrency that drives the model is documented for the Node.js and Python runtimes, per the Fluid docs, and the February 2025 launch changelog adds that those runtimes carry “No restrictions on native modules or standard libraries.” Since that launch, Fluid has been available on all plans and ships with preset defaults, so new projects inherit it as the compute surface rather than a setting to find.
What happens to cold starts under in-function concurrency?
Cold starts become less frequent, not extinct. Because each warm instance serves more requests, a given burst needs fewer fresh instances, so fewer requests pay the boot tax. The launch changelog calls this “Fewer cold starts with smarter scaling and pre-warmed instances,” and the Fluid docs describe “automatic bytecode optimization, and function pre-warming on production deployments.” On Node.js 20+, bytecode caching stores the compiled form of your JavaScript after its first execution, so later cold starts skip recompilation. The docs are specific about the limits: the first request is not cached yet, the optimization applies only to production, and it especially helps functions that are not invoked often, whose cold starts cannot lean on warm-instance reuse in the first place.
Note what the claims actually say. The docs promise that Fluid “Reduces the effects of cold starts,” which is a reduction, and two triggers remain structural regardless: a region with no warm instances still boots cold, and a new deployment still brings new code that has to initialize. Anyone who reads a vendor cold-start headline and budgets for zero startup latency on a fresh deploy or a new region is reading the chart wrong.
How does billing change: active CPU versus idle duration?
Vercel’s compute pricing shifts away from wall-clock duration. The Fluid launch page describes the model as “CPU that’s charged when active, not idle. No more paying for I/O wait times, network latency, and API calls.” The Fluid docs list the priced components as “active CPU, provisioned memory, and invocations,” which is worth parsing: invocations still bill, so this is not a purely CPU-metered model, but the idle-wait component of the old bill is gone.
Under the old model, a function blocked for two seconds on a slow downstream API still billed you for two seconds of compute, because the instance was alive and occupied. A third-party analysis summarizes the old arrangement as “paying for both the active and idle parts of your function execution.” Under active-CPU billing, a handler that is simply waiting on network no longer bills for the wait.
That is a genuine structural improvement for the right workload, and it is the foundation of every cost-savings number Vercel publishes. It is also why those numbers should be read as conditional rather than universal.
Reconciling the savings numbers
Two vendor figures circulate, and they are not measuring the same thing.
The February 2025 launch changelog credits optimized concurrency with “lowering compute costs by up to 85% for high-concurrency workloads.” The October 2024 public-beta changelog is more conservative, reporting that overlapping invocations “can increase efficiency by 20%-50%, reducing gigabyte-hours and lowering costs.” The launch page adds a customer testimonial, attributed only to a “Lead Fullstack developer,” claiming “cutting costs by over 50% with zero code changes.”
These are consistent only if you read them as describing one workload class. The headline figure is a ceiling on best-case, heavily I/O-bound traffic, and the changelog’s own wording scopes it to high-concurrency workloads; the beta range is the changelog’s reported figure for what overlapping invocations can do; the testimonial lands between them and carries the weight of an unnamed vendor-page quote. Treat the savings as a function of how much of your handler’s time is idle I/O, not as a flat discount.
The workload fork: when do I/O-bound handlers win and CPU-bound handlers regress?
Whether concurrency saves you money or costs you latency depends entirely on what your function does while a request is open.
For I/O-bound handlers, database queries and external API calls, the instance spends most of its time waiting on network, so concurrent requests share that wait with little CPU contention. This is where the efficiency gains actually accrue, and the Fluid docs single out exactly this shape: tasks “like fetching embeddings, querying vector databases, or calling external APIs can be I/O-bound.” For CPU-bound functions, image processing, cryptography, anything that saturates a core, concurrent requests now share the same CPU and contend for it. Vercel is unusually direct about this in the beta changelog: the capability “may increase latency for purely CPU-bound workloads.” That changelog also said Vercel was “limiting the number of concurrent invocations per instance, and will be gradually increasing the limit based on feedback,” itself an admission that the safe ceiling is workload-dependent. The beta framing is historical now: in-function concurrency entered public beta in October 2024, Fluid reached all plans in February 2025, and the current Fluid docs present optimized concurrency as a standard capability with preset defaults rather than a gated beta.
The cost-savings claim is therefore workload-shaped. A function that calls an LLM API and blocks for eight seconds is an ideal candidate. A function that resizes images is not, and under concurrency it may get slower and bill more, not less.
The shared-state trap: module-level mutations and race conditions
Concurrency reverts the isolation guarantee that masked a whole class of latent bugs, and Vercel’s documentation names the mechanism precisely: invocations share “the same physical instance (a global state/process) concurrently.”
A common serverless pattern is to cache a database client or config object in a module-level variable, initialized once outside the handler. Under one-request-one-instance, that variable was effectively single-tenant: only one request touched it at a time. Under in-function concurrency, that same variable is shared across concurrent requests on the same instance. Any mutation of it, a counter, a lazily-initialized client, a mutable cache, is now a potential race condition that per-instance isolation used to hide. I would treat that as a pre-existing bug in your code rather than a Fluid defect: the unsafe mutation was always there, and the platform stopped masking it. The same logic applies to event-loop contention. A handler that does heavy synchronous work now blocks other concurrent requests on the same instance instead of sitting alone in its own instance.
Error isolation, at least, is preserved. The Fluid docs specify that when uncaught exceptions or unhandled rejections occur in Node.js, Fluid logs the error and lets current requests finish before stopping the process, so one broken request does not crash the others sharing the instance.
Can you tune the per-instance concurrency limit?
Mostly no, and the part that reads like tuning belongs to Vercel rather than to you. The published model is platform-managed: the beta changelog described Vercel “limiting the number of concurrent invocations per instance” and raising the limit gradually, and the launch page lists “Dynamic scaling: Automatically adjusts concurrency and resource allocation based on real-time demand.” The settings the Fluid docs document for user configuration are CPU class, memory, region, and max duration, with a precedence order running from function code through vercel.json and the dashboard down to Fluid defaults. A per-instance concurrency setting is not part of that documented surface; if your plan exposes one, verify it against the current configuration docs before counting on it.
That leaves coarser levers, and they are still enough to act on. Split CPU-bound handlers into a project or environment you keep off Fluid: the dashboard route is project-wide, and the fluid property in vercel.json is the documented way to target specific environments or individual deployments. Match the CPU configuration to the work. Load-test your specific function mix and watch both cost and p99 latency, because the two can move in opposite directions as the platform packs more concurrent requests onto a CPU-bound instance.
One guardrail is built in. The February 2025 launch changelog lists runaway cost protection that “Detects and stops infinite loops and excessive invocations.” How far invocations fan out is a property of your code, not of the packing model, but the guardrail earns its place under many-to-one concurrency, where a request stuck in a loop shares a process with concurrent requests instead of sitting alone in its own sandbox.
The honest framing is that Fluid trades a fixed, safe, expensive isolation model for a cheaper, contention-prone one, with the concurrency dial managed by the platform. The default is tuned for the common case, but the common case is I/O-bound API handlers, and your workload may not be.
Why are AI and LLM handlers the canonical beneficiary?
The workload that benefits most is the one that spends the most time blocked on a slow external call, and few workloads block longer than LLM inference. Vercel’s Fluid docs name the case directly: the model “is especially valuable for AI applications, where tasks like fetching embeddings, querying vector databases, or calling external APIs can be I/O-bound.”
An LLM API call can take seconds to minutes, and under the old model every parallel request that was just waiting on that call sat in its own instance, billing you for idle compute across all of them. The dev.to analysis frames this as the feature’s most cost-relevant use case: GenAI requests “take many seconds or even minutes to respond,” time “you ultimately pay for while your traditional serverless functions remain idle.” The same analysis points to a second AI-relevant behavior: Fluid functions no longer shut down connections immediately after responding, which is what enables streaming responses of the kind AI interfaces depend on, and the launch page lists streaming among the model’s features for “AI, media, and real-time apps.”
The takeaway for an operator is narrower than the marketing suggests. Audit your handlers, separate the I/O-bound from the CPU-bound, fix the shared-state bugs the old model was hiding, and decide deliberately where Fluid runs. It is a genuine improvement for the workload it was built for. It is not a free performance upgrade, and treating it as one is the fastest way to ship a latency regression on top of a billing improvement.
Join the discussion
Share a useful perspective or ask a question about this article.