Free tool

Serverless Cost Calculator

Enter how many times your function runs each month, how long it runs and how much memory it uses, and compare an estimated monthly bill on Vercel Functions, Netlify Functions, Cloudflare Workers and AWS Lambda side by side. Prices are official list prices in USD, excluding tax, last checked 27 November 2026.

100% browser-based. Your usage figures never leave your device.

Try an example

Examples only, not claims about a typical app. The 3M-request example mirrors one of AWS's own pricing examples.

Plans, region and advanced settings
Vercel
Netlify

Accounts created before 4 September 2025 may be on a legacy plan billed by request count, which this tool does not model.

Cloudflare Workers

Free: 100,000 requests a day and 10 ms CPU per request. Paid: 10,000,000 requests and 30,000,000 CPU ms included each month.

AWS Lambda (US East (N. Virginia))

Estimated monthly cost

USD, excl. tax · list prices checked 27 November 2026

  • Vercel

    Pro

    $88.89/month

    About $1,066.67 a year (monthly × 12)

    Vercel breakdown
    Pro platform fee1 deploying seat$20.00
    Active CPU555.56 h × $0.128/h$71.11
    Provisioned Memory1,111.11 GB-hrs × $0.0106/GB-hr$11.78
    Invocations10,000,000 × $0.60 per 1M$6.00
    Included Pro usage credit$20.00/month, shared with all Vercel usage−$20.00
    • Usage credit: $20.00 of $20.00 used by functions ($0.00 left for bandwidth, CDN and other usage)
    • Provisioned Memory assumes each request has the instance to itself for its full duration (concurrency 1, the conservative default). Fluid compute can share one instance across many requests, which lowers this line.
    • Memory: 2 GB. Region: Washington D.C., USA (iad1).

    Official pricing · checked 2026-11-27

  • Netlify

    Pro

    $40.00/month

    About $480.00 a year (monthly × 12)

    Netlify breakdown
    Pro plan3,000 credits included$20.00
    Function compute555.56 GB-hrs × 10 credits = 5,555.6 credits$0.00
    Extra credit packs2 × 1,500 credits for $10.00$20.00
    • Credits: 5,555.6 of 3,000 included (555.56 GB-hrs compute)
    • Plan credits are shared with deploys, bandwidth and web requests, so less may be left for functions.

    Official pricing · checked 2026-11-27

  • Cloudflare Workers

    Paid

    $44.40/month

    About $532.80 a year (monthly × 12)

    Cloudflare Workers breakdown
    Workers Paid subscriptionMonthly minimum per account$5.00
    Requests0 over the 10,000,000 included × $0.30 per 1M$0.00
    CPU time1,970,000,000 ms over the 30,000,000 included × $0.02 per 1M ms$39.40
    • Requests: 10,000,000 of 10,000,000 included used
    • CPU: 30,000,000 of 30,000,000 included ms used
    • Billed on CPU time only: time spent waiting on fetch, KV or database calls is free.
    • Workers have a fixed 128 MB memory limit per isolate, lower than the 1,024 MB entered.

    Official pricing · checked 2026-11-27

  • AWS Lambda

    Event Functions, x86

    Lowest estimate

    $28.47/month

    About $341.60 a year (monthly × 12)

    AWS Lambda breakdown
    Requests9,000,000 billable × $0.20 per 1M$1.80
    Duration (x86)1,600,000 billable GB-s × $0.0000166667/GB-s$26.67
    • Free tier requests: 1,000,000 of 1,000,000 used
    • Free tier compute: 400,000 of 400,000 GB-s used
    • Region: US East (N. Virginia). Other regions are priced differently.
    • Memory: 1,024 MB.

    Official pricing · checked 2026-11-27

These are list-price estimates for function usage only. Bandwidth, build minutes, KV/D1, images and enterprise contracts are not included unless shown. No provider is "best" from this alone; the badge only marks the lowest estimate on these inputs.

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

ProviderWhat you pay forIncluded 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 FunctionsCompute at 10 credits per GB-hour; extra credits $10 per 1,500 on ProFree 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 Arm1,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.

FAQ

How is this serverless cost estimate calculated?
It multiplies your monthly requests, duration, active CPU time and memory by each provider's official list prices, checked on 27 November 2026, then subtracts each plan's included usage. All maths runs in your browser. Vercel bills Active CPU, Provisioned Memory and invocations; Netlify bills compute in GB-hours through credits; Cloudflare Workers bills requests and CPU milliseconds; AWS Lambda Event Functions bill requests and GB-seconds.
Why is Cloudflare Workers often cheaper on these numbers?
Workers Paid ($5/month) includes 10,000,000 requests and 30,000,000 CPU milliseconds, and charges only for CPU time, not for time spent waiting on the network. Functions that mostly wait on APIs or databases use little CPU, so they cost little. CPU-heavy work narrows the gap, and Workers have a 128 MB memory limit.
What is the difference between duration and active CPU time?
Duration is wall-clock time from the start of a request to the end, including waiting on databases or AI APIs. Active CPU time is only the time your code is actually computing. AWS Lambda Event Functions and Netlify bill on duration × memory; Vercel Fluid compute and Cloudflare Workers bill CPU time separately, so an I/O-heavy route can be far cheaper there.
Does this include bandwidth, deploys or a database?
No. It covers function usage and plan fees only. Bandwidth, CDN requests, build minutes, Netlify production deploys, storage, KV, D1, Durable Objects, image optimization, logs, taxes and enterprise contracts are not included.
How does Vercel Fluid compute pricing work?
Hobby includes 4 hours of Active CPU, 360 GB-hours of Provisioned Memory and 1,000,000 invocations a month, and pauses rather than billing overage. Pro is $20/month with $20 of usage credit; then Active CPU starts at $0.128 per hour, Provisioned Memory at $0.0106 per GB-hour and invocations cost $0.60 per million. Rates are higher outside the US regions.
How does Netlify credit-based function pricing work?
On plans for accounts created from 4 September 2025, functions use 10 credits per GB-hour (duration × memory, default 1,024 MB). Free includes 300 credits as a hard limit, Personal ($9) 1,000, and Pro ($20) 3,000. Extra credits cost $5 per 500 on Personal and $10 per 1,500 on Pro. Older legacy plans bill by request count and are not modelled here.
How does AWS Lambda pricing work, and what is the free tier?
Event Functions cost $0.20 per million requests plus $0.0000166667 per GB-second on x86 (or $0.0000133334 on Arm) in US East (N. Virginia). The monthly free tier covers 1,000,000 requests and 400,000 GB-seconds. Ephemeral storage above 512 MB costs $3.09e-8 per GB-second.
Why might this differ from my actual invoice?
Region, real concurrency on Vercel, cold starts, other usage sharing your plan credits, legacy plans, very high volume discounts, taxes and negotiated contracts all change the bill. Treat the result as a list-price estimate and check the provider's usage page once you are live.
Is this an official calculator?
No. It is an independent estimate built from each provider's official list prices, with links to every source. Always confirm on the provider's own pricing page before you commit.
Do my numbers get sent to a server?
No. The calculator runs 100% in your browser. Your usage figures are only stored in the page address if you copy a share link.