What is included, and what is not
Included: each provider's function compute (CPU, duration or GB-hours), request or invocation charges, the plan's included allowance or usage credit, and optionally the plan fee. Not included: bandwidth and CDN requests, build minutes and Netlify production deploys, storage and databases (Vercel Blob, Netlify Blobs, Cloudflare KV, D1, R2 and Durable Objects), image optimization, logs and observability, AWS data transfer, provisioned concurrency, Lambda@Edge, Savings Plans, taxes and enterprise pricing. Only AWS's US East (N. Virginia) prices are used for Lambda.
How each provider bills functions
| Provider | What you pay for | Included each month |
|---|---|---|
| Vercel Functions (Fluid compute) | Active CPU from $0.128/hour, Provisioned Memory from $0.0106/GB-hour, invocations $0.60 per million (Pro) | Hobby: 4 CPU-hours, 360 GB-hours, 1,000,000 invocations. Pro: $20 usage credit |
| Netlify Functions | Compute at 10 credits per GB-hour; extra credits $10 per 1,500 on Pro | Free 300, Personal 1,000, Pro 3,000 credits |
| Cloudflare Workers | $0.30 per extra million requests and $0.02 per extra million CPU ms on Paid ($5/month minimum) | Paid: 10,000,000 requests, 30,000,000 CPU ms. Free: 100,000 requests a day |
| AWS Lambda Event Functions | $0.20 per million requests, $0.0000166667/GB-s on x86 or $0.0000133334/GB-s on Arm | 1,000,000 requests and 400,000 GB-seconds |
A GB-second is one second of run time at 1 GB of memory, so a 512 MB function running for two seconds uses one GB-second. A GB-hour is the same idea over an hour. Vercel and Cloudflare bill CPU time separately from wall-clock time, which is why a function that spends most of a request waiting for a database or an AI model can cost much less there than its duration suggests.
Official sources: Vercel Fluid compute pricing, Vercel Pro plan credit, Netlify pricing, Netlify functions billing, Cloudflare Workers pricing and AWS Lambda pricing, all checked 27 November 2026.
How to get accurate inputs
- Requests: take a month of function invocations from your current host's usage page or logs, not page views. Cached responses usually don't run a function.
- Duration: use the average billed duration from your logs or monitoring.
- Active CPU: Vercel shows Active CPU in its usage dashboard. If you don't know it, start with duration for CPU-bound work and a small fraction of duration for routes that mostly wait on APIs.
- Memory: use the memory you configure, not what the function actually uses, because that is what most providers bill.
Related guides and tools
For the pricing models behind these numbers, read the guides: serverless pricing compared (all four providers, six worked examples), Vercel Functions pricing (Active CPU, Provisioned Memory, Hobby vs Pro and regional rates) and AWS Lambda pricing (free tier, GB-seconds, Arm vs x86 and API Gateway).
Hosting is only one part of what a site costs. For the full picture, use the Website Cost Calculator and read website maintenance cost and how much a website costs. Choosing a framework first? See Next.js vs React. If your function calls an LLM, this tool does not estimate model tokens: use the AI Token Calculator for that part of the bill. All tools are on the free tools page.
Planning a web app and want the architecture and running costs worked out before you build? Send me a short brief.