Vercel Edge

V8-isolate Edge runtime inside Vercel. Tight Next.js integration, now runs on Vercel Functions after the 2025 Edge Functions deprecation.

VISIT VERCEL EDGE

Key takeaway: The reason to run on Vercel Edge is Next.js, not the edge. Middleware, streaming responses, previews, and image handling arrive already wired together, and since the move onto Vercel Functions you simply pick the Edge or Node runtime per function. Choose Cloudflare Workers instead when cost at volume or network reach is the deciding factor, because Vercel's network is smaller and its pricing is not the cheapest per request.

Quick facts

  • CategoryV8 isolate
  • LanguageV8 / TS
  • PricingFreemium
  • LicenseProprietary
  • Created2021
  • GitHub starsclosed
  • Cold startinstant
  • PoPs~50
  • Node-compatYes

What it is

Vercel Edge is the V8-isolate Edge runtime on the Vercel platform, used for Edge Middleware, edge API routes, and streaming responses for AI apps. In June 2025 Vercel deprecated the standalone Edge Functions product and moved the Edge runtime onto Vercel Functions, unifying pricing across all compute. You now pick the Edge or Node runtime per function. Smaller global PoP network than Cloudflare; the value is in the Next.js integration.

Further reading

Best for

  • Next.js apps using Edge Middleware + streaming responses
  • Teams already on Vercel who want one vendor and one bill
  • AI products that need streaming token responses with low TTFB

When not to pick it

Skip the Edge runtime for cost-sensitive workloads at scale, where Cloudflare Workers is cheaper, or for heavy dependencies that need the Node runtime. Skip Vercel entirely if you are not on the platform; the value is in the integration.

My take

Vercel Edge is the right pick for Next.js teams who prioritise DX and integration over raw cost. Since the 2025 fluid-compute move, the edge-vs-serverless split is gone: you choose a runtime per function. Cloudflare Workers still wins on price and PoP count; Vercel wins on Next.js ergonomics.

What the Edge Functions deprecation actually changed

In June 2025 Vercel retired Edge Functions as a separate product and folded the Edge runtime into Vercel Functions. The practical effect is that you no longer pick between two billing products with two mental models. You choose a runtime per function, Edge or Node, and both bill through the same compute model. Edge stopped being a deployment tier and became a runtime characteristic. Middleware still defaults to Edge, because it sits in front of every matched request and has to stay small and fast. If you inherited a codebase written before the change, migration is mostly deleting stale assumptions rather than rewriting handlers. What has not improved is documentation drift. Plenty of tutorials, and some older guidance, still describe the two-product split, so check anything you read against the current docs before you copy it into a project.

Choosing the runtime per function

The Edge runtime gives you instant start, web-standard APIs, small bundle limits, and no native modules. The Node runtime gives you full npm and heavier dependencies at the cost of a real start time. A workable rule: Edge for middleware, auth gates, geolocation and locale routing, redirects, and token streaming where time to first byte is what users feel. Node for anything touching a Postgres driver, image processing, or a fat vendor SDK. Because the point-of-presence network is a fraction of the size of Cloudflare's, the geographic advantage of picking Edge is thinner than the name suggests; often you are choosing it for start time, not distance. On lock-in, handler code ports to Workers or Deno Deploy with modest effort. The platform glue does not: middleware conventions, incremental regeneration, and image optimisation are Vercel-shaped, and they are the actual reason teams stay.

Frequently asked questions

Are Vercel Edge Functions deprecated?

The standalone Edge Functions product was deprecated in June 2025, but the Edge runtime itself was not. It moved onto Vercel Functions, where you select the Edge or Node runtime per function and everything bills through one compute model. Existing edge code keeps working. What disappeared was the separate product and its separate pricing, not the capability.

Vercel Edge or Cloudflare Workers?

Vercel Edge if you are building Next.js and want middleware, streaming, previews, and image handling to work without wiring anything up. Cloudflare Workers if cost at scale or network reach decides it, since Workers is cheaper per request and runs on far more points of presence. Both are V8 isolates, so handler logic ports between them reasonably cleanly.

Does Vercel Edge work with Next.js middleware?

Yes, that is its primary job. Next.js middleware runs on the Edge runtime by default because it executes before every matched request and must stay fast and small. Geolocation, locale routing, A/B splits, and auth gates are the standard uses. Keep middleware dependency-light; anything heavy belongs in a Node-runtime route handler instead.

Links

Compare Vercel Edge side-by-side

Similar tools you should also consider

If Vercel Edge is your pick, the next conversation is short

The 30-min call is where your edge runtime choice becomes a real architecture, an integration plan with your data layer + auth + build pipeline, and a price range you can take to your stakeholders.