Backend platforms · Service

Supabase Edge Functions

Small pieces of server code, written in TypeScript and run on Deno, for work a Supabase app must not do in the browser, such as calling a payment API with a secret key.

Supabase pieces · Free tier · updated

How it works

Each function is a TypeScript file that handles an HTTP request, deployed with the Supabase CLI and run close to users on a global network. Functions run on Deno, can import npm packages, read secrets from environment variables, and receive the caller's sign-in token so they can act on the user's behalf. Common jobs are webhooks, payments, sending email and calling AI APIs.

They are meant for short tasks: each request gets up to two seconds of CPU time (waiting on the network does not count) and 256 MB of memory, and a worker lives for at most 150 seconds on the Free plan or 400 seconds on paid plans. Outgoing SMTP ports are blocked, so email goes through an HTTP API such as Resend. Long jobs belong in a queue or another service.

Supabase Edge Functions pricing

Free tier

Free plan includes 500,000 invocations a month; Pro includes 2 million, then about $2 per million.

Supabase Edge Functions pricing page (opens in a new tab)Approximate, checked September 2026.What the other tools cost

More in Backend platforms

Supabase pieces

All 12 Backend platforms terms

Crafted in the dark. Shipped to the world.

Tell us what you are building. You get a private project space with a proposal and a line-by-line quote within a day.