Skip to content
Dashboard

Vercel Edge Functions are now generally available

, Damien Simonin Feugas, , Craig Andrews, , Seiya Nuta, , , Angela Zhang, ,

Faster, cheaper, more flexible compute for your workloads.

Copy link to headingWhat are Edge Functions?

pages/api/hello.ts
export const config = {
runtime: 'edge'
}
export default function handler(req: Request) {
return new Response("Hello World");
}

A hello world Edge Function in Next.js. Edge Functions are natively available in Next.js, SvelteKit, Astro, and Nuxt or as a standalone function. runtime: 'edge' can be leveraged with Vercel CLI 28.9.0 and above.

We’ve been using an Edge API Route to proxy requests to our backend and rewrite headers on the fly. The lightweight nature of the Edge Runtime and the ability to stream responses ensures that response times stay fast. Additionally, the switch from regular API Routes reduced our costs significantly."
Connor Bär Senior Frontend Engineer

Copy link to headingMaximum speed, minimum cost

Copy link to headingWhat's changed: Even more flexibility

Copy link to headingRegional Edge Functions

We shifted Keystone's API Routes incrementally from Serverless to Edge Functions and couldn't be happier. It was very straightforward for us to make the change on Vercel, and as a result, we've been able to reduce costs and we've seen our compute efficiency drastically improve."
Tormod Ulsberg Principal Architect

Copy link to headingSupport for WebAssembly

Copy link to headingIncreased workload size and improved infrastructure

Copy link to headingThe future of Edge Functions

Copy link to headingPricing and Limits

Copy link to headingNext steps

Ready to deploy?