Supabase Edge Functions
Supabase Edge Functions let you run TypeScript or JavaScript serverless functions close to your users. · Supabase · Compute
Overview
Supabase Edge Functions provide a simple way to run serverless TypeScript or JavaScript code at the edge, tightly integrated with your Supabase project.
Good fit
Use when you need to deploy lightweight serverless APIs or event-driven logic close to your Supabase project.
- API endpoints
- event-driven logic
- Supabase integrations
Not a fit
Avoid if you require long-running processes, advanced compute resources, or need to run non-JS/TS code.
- heavy compute workloads
- non-JS/TS runtimes
- long-running jobs
Quickstart · 5 steps
- Sign up for a free Supabase account.
- Create a new project in the Supabase dashboard.
- Install the Supabase CLI and initialize functions in your project directory.
- Write your TypeScript or JavaScript function in the 'functions' folder.
- Deploy your function using the Supabase CLI.
Other free compute options
Free tierWhat you get freeRiskCard
Cloudflare · Compute
100,000 requests/day · 10ms CPU time/request · Up to 100 Workers per account
Billing risk: None
No card
Vercel · Compute
1,000,000 Edge Requests/month included · 100 GB Fast Data Transfer/month included · 1 team seat on the Hobby plan
Billing risk: None
No card
Vercel · Compute
1,000,000 Function Invocations/month included · 4 hours Fluid Active CPU/month included · 360 GB-hrs Fluid Provisioned Memory/month included
Billing risk: None
No card
Trigger.dev · Compute
$5 compute credits per month · 20 concurrent runs · Unlimited tasks
Billing risk: None
No card