FunctionPriceBook

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

AWS Lambda

FaaS (request + GB-second) · $0.20 / 1M

Cloudflare Workers

Edge FaaS (request + CPU-ms) · $0.30 / 1M

Google Cloud Run

Serverless containers (vCPU-s + GiB-s + request) · $0.40 / 1M

Vercel Functions

FaaS / Fluid compute (invocation + active CPU + memory) · $0.60 / 1M

Azure Functions

FaaS (Consumption / Flex Consumption) · $0.20 / 1M

AWS Fargate

Serverless containers (vCPU-hour + GB-hour) · Not request-priced

Browse all 17 platforms →

All platforms by price per 1M requests

PlatformPricing modelPer 1M requestsPer GB-secondFree requests/mo
DigitalOcean FunctionsFaaS (GB-second only, no per-request fee)No per-request fee$0.0000185 / GB-ssee notes
Scaleway Serverless FunctionsFaaS + containers (EU, request + GB-s)$0.17 / 1M$0.0000055 / GB-s1M req/mo
AWS LambdaFaaS (request + GB-second)$0.20 / 1M$0.0000167 / GB-s1M req/mo
Azure FunctionsFaaS (Consumption / Flex Consumption)$0.20 / 1M$0.000016 / GB-s1M req/mo
Cloudflare WorkersEdge FaaS (request + CPU-ms)$0.30 / 1Mn/a3M req/mo
Azure Container AppsServerless containers (consumption)$0.40 / 1M$0.000004 / GB-s2M req/mo
Google Cloud FunctionsFaaS (now on Cloud Run model)$0.40 / 1M$0.0000025 / GB-s2M req/mo
Google Cloud RunServerless containers (vCPU-s + GiB-s + request)$0.40 / 1M$0.0000025 / GB-s2M req/mo
Vercel FunctionsFaaS / Fluid compute (invocation + active CPU + memory)$0.60 / 1Mn/a1M req/mo
Deno DeployEdge FaaS (requests + CPU-time)$2.00 / 1Mn/a1M req/mo
Supabase Edge FunctionsEdge FaaS (per invocation, Deno)$2.00 / 1Mn/a0.5M req/mo
AWS FargateServerless containers (vCPU-hour + GB-hour)Not request-pricedn/asee notes
Fly.io MachinesMicro-VMs (per-second, scale-to-zero)Not request-pricedn/asee notes
ModalServerless compute (per CPU-s + GiB-s, GPU)Not request-priced$0.0000022 / GB-ssee notes
Netlify FunctionsFaaS (invocations + GB-hour, credit-based)Not request-pricedn/a0.125M req/mo
RailwayUsage-based containers (per-minute vCPU + RAM)Not request-pricedn/asee notes
RenderWeb services / containers (instance-hour)Not request-pricedn/asee 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

Has a perpetual free tier

Full ranking →

Cheapest per 1M requests

  1. DigitalOcean Functions — No per-request fee
  2. Scaleway Serverless Functions — $0.17 / 1M
  3. AWS Lambda — $0.20 / 1M
  4. Azure Functions — $0.20 / 1M
  5. Cloudflare Workers — $0.30 / 1M
  6. Azure Container Apps — $0.40 / 1M

Full ranking →

Guides

Serverless pricing compared (2026)

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 differ

Cold 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 cost

AWS 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 serverless

Serverless 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 project

For 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-24

Where 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