Vercel Serverless Functions
Deploy serverless APIs and backend logic with zero-config on Vercel’s global edge network. · Vercel · Compute
Overview
Vercel Serverless Functions let you deploy backend logic and APIs with minimal configuration, scaling automatically and running close to your users on Vercel’s edge network.
Good fit
Use for lightweight APIs, webhooks, or backend logic that benefit from global edge deployment and simple scaling.
- prototyping
- static site backends
- personal projects
- small teams
Not a fit
Avoid for long-running processes, heavy compute workloads, or when you need fine-grained control over infrastructure.
- need long execution times
- require custom runtimes
- heavy compute workloads
Quickstart · 5 steps
- Sign up for a free Vercel account.
- Install Vercel CLI or connect your GitHub/GitLab/Bitbucket repository.
- Create an `api/` directory in your project and add a JavaScript or TypeScript file.
- Write your serverless function code and export a default handler.
- Deploy your project with `vercel` CLI or push to your connected repository.
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
Trigger.dev · Compute
$5 compute credits per month · 20 concurrent runs · Unlimited tasks
Billing risk: None
No card
Windmill.dev · Compute
Unlimited executions/month · Up to 50 users (max 10 with SSO) · 3 workspaces
Billing risk: None
No card