FunctionPriceBook
Serverless and FaaS pricing, compared by provider — requests, GB-seconds, free tiers and egress.
FunctionPriceBook compares serverless / function-as-a-service pricing across 17 platforms. For a small API the cheapest answer is usually $0: AWS Lambda (1M requests + 400k GB-s free, forever), Cloudflare Workers (100k req/day free, no egress charges) and Google Cloud Run (2M requests free) all swallow light workloads in their free tiers. Beyond that, request fees run from $0.20/1M (Lambda, Azure) to $0.40/1M (Cloud Run) to $0.60/1M (Vercel), and the bigger variable is usually egress — Cloudflare charges none while hyperscalers bill ~$0.09/GB. Use the cost calculator or a workload scenario to estimate your bill.
Source: Provider pricing pages. Data as of June 2026.
Popular platforms
FaaS (request + GB-second) · $0.20 / 1M
Cloudflare WorkersEdge FaaS (request + CPU-ms) · $0.30 / 1M
Google Cloud RunServerless containers (vCPU-s + GiB-s + request) · $0.40 / 1M
Vercel FunctionsFaaS / Fluid compute (invocation + active CPU + memory) · $0.60 / 1M
Azure FunctionsFaaS (Consumption / Flex Consumption) · $0.20 / 1M
AWS FargateServerless containers (vCPU-hour + GB-hour) · Not request-priced
All platforms by price per 1M requests
| Platform | Pricing model | Per 1M requests | Per GB-second | Free requests/mo |
|---|---|---|---|---|
| DigitalOcean Functions | FaaS (GB-second only, no per-request fee) | No per-request fee | $0.0000185 / GB-s | see notes |
| Scaleway Serverless Functions | FaaS + containers (EU, request + GB-s) | $0.17 / 1M | $0.0000055 / GB-s | 1M req/mo |
| AWS Lambda | FaaS (request + GB-second) | $0.20 / 1M | $0.0000167 / GB-s | 1M req/mo |
| Azure Functions | FaaS (Consumption / Flex Consumption) | $0.20 / 1M | $0.000016 / GB-s | 1M req/mo |
| Cloudflare Workers | Edge FaaS (request + CPU-ms) | $0.30 / 1M | n/a | 3M req/mo |
| Azure Container Apps | Serverless containers (consumption) | $0.40 / 1M | $0.000004 / GB-s | 2M req/mo |
| Google Cloud Functions | FaaS (now on Cloud Run model) | $0.40 / 1M | $0.0000025 / GB-s | 2M req/mo |
| Google Cloud Run | Serverless containers (vCPU-s + GiB-s + request) | $0.40 / 1M | $0.0000025 / GB-s | 2M req/mo |
| Vercel Functions | FaaS / Fluid compute (invocation + active CPU + memory) | $0.60 / 1M | n/a | 1M req/mo |
| Deno Deploy | Edge FaaS (requests + CPU-time) | $2.00 / 1M | n/a | 1M req/mo |
| Supabase Edge Functions | Edge FaaS (per invocation, Deno) | $2.00 / 1M | n/a | 0.5M req/mo |
| AWS Fargate | Serverless containers (vCPU-hour + GB-hour) | Not request-priced | n/a | see notes |
| Fly.io Machines | Micro-VMs (per-second, scale-to-zero) | Not request-priced | n/a | see notes |
| Modal | Serverless compute (per CPU-s + GiB-s, GPU) | Not request-priced | $0.0000022 / GB-s | see notes |
| Netlify Functions | FaaS (invocations + GB-hour, credit-based) | Not request-priced | n/a | 0.125M req/mo |
| Railway | Usage-based containers (per-minute vCPU + RAM) | Not request-priced | n/a | see notes |
| Render | Web services / containers (instance-hour) | Not request-priced | n/a | see notes |
Source: Provider pricing pages. Data as of June 2026.
Snapshot June 2026 — verify on the vendor's pricing page. "Not request-priced" means the platform bills by instance-hour, per-minute or credits, so a per-request figure is not comparable.
What you can look up
- Per-platform pricing — a page for every platform with the request fee, GB-second rate, free tier, scale-to-zero behaviour, egress and a worked example.
- Most generous free tier — which platforms give the most away each month (a high-intent question).
- Scale-to-zero / always-free — platforms that cost $0 when idle.
- Cheapest per request / per GB-second — request-fee ranking and GB-second ranking.
- Workload cost scenarios — e.g. a 1M req/mo API, a per-minute cron job or an image-resize endpoint, costed across providers.
- Head-to-head comparisons — like Lambda vs Workers, Lambda vs Cloud Run and Vercel vs Netlify.
- Monthly cost estimate — the calculator prices your requests + memory + duration + egress across every comparable provider.
Has a perpetual free tier
Cheapest per 1M requests
- DigitalOcean Functions — No per-request fee
- Scaleway Serverless Functions — $0.17 / 1M
- AWS Lambda — $0.20 / 1M
- Azure Functions — $0.20 / 1M
- Cloudflare Workers — $0.30 / 1M
- Azure Container Apps — $0.40 / 1M
Guides
A 2026 comparison of serverless / FaaS pricing: price per million requests, per GB-second, free tiers and egress across AWS Lambda, Cloudflare Workers, Google Cloud Run, Vercel, Azure Functions and more.
2026-06-18 Cold starts and how serverless pricing models differCold starts and pricing are linked: scale-to-zero saves money but adds latency, and wall-clock vs CPU-time billing changes what a cold start costs you. Here's how the models compare.
2026-06-02 AWS Lambda vs Cloudflare Workers: the true costAWS Lambda and Cloudflare Workers price serverless very differently — GB-seconds vs CPU-milliseconds, $0.09/GB egress vs none. Here's which is actually cheaper, with a worked example.
2026-05-12 The hidden costs of serverlessServerless looks free until the bill arrives. The real costs are egress, API gateways, NAT gateways, GB-seconds from over-provisioned memory, and platform minimums — here's what to watch.
2026-04-08 When serverless is cheaper than a VPS (and when it isn't)Serverless wins on spiky, low-volume and bursty workloads; a $5 VPS wins on steady, always-on traffic. Here's the break-even logic and the numbers behind it.
2026-03-19 The cheapest serverless for a side projectFor a side project the cheapest serverless is almost always $0 — here are the free tiers that actually let a small app run forever without a bill, ranked.
2026-02-24Where the data comes from
Every figure is a dated snapshot taken from each platform's own published pricing page — AWS Lambda, Cloudflare Workers, Google Cloud Run/Functions, Vercel, Netlify, Azure Functions/Container Apps, AWS Fargate, Deno Deploy, Fly.io, Supabase, Modal, Scaleway, DigitalOcean, Render and Railway. Serverless pricing changes frequently, so each page shows the June 2026 snapshot and links to the vendor's page. Worked examples, rankings and the calculator are transparent calculations over those inputs — see our methodology. Always verify the current price with the provider before relying on it.
Last updated: 2026-06-21