Serverless Pricing November 2026: AWS Lambda vs Google Cloud Run vs Azure Functions vs Cloudflare Workers vs Vercel
The same API, serving 10 million requests a month, costs $3.13 on one platform and $44.03 on another. Both numbers come from list prices. No platform is overcharging. The gap exists because serverless pricing in 2026 is no longer one model. It is at least three different meters wearing the same marketing label. Two launches made this matter more this quarter. AWS added Lambda Web Functions in October 2026, which bill active CPU instead of wall-clock time. Vercel’s Fluid compute has settled on Active CPU plus provisioned memory. The question is no longer “which provider is cheapest?” It is “which meter matches the shape of my workload?” This page records list prices checked on 23 November 2026 from each vendor’s own pricing pages. It then computes three monthly bills with every formula shown, so you can rerun the maths with your own numbers.
What this covers: current verified rates for five platforms, the three billing meters behind them, worked bills for an API, an IoT ingest stream and a CPU-heavy image job, and the gotchas that move real invoices.
Context and Background
Five years ago a serverless price comparison was easy. Every function platform charged per request plus per GB-second, a unit that multiplies configured memory by billed wall-clock duration. AWS Lambda set that template in 2014 and Azure Functions’ Consumption plan copied it. Comparing them was a matter of lining up two rates.
That template broke when platforms began running many requests at once inside one instance. Google Cloud Run always did this. Each container instance accepts up to 80 concurrent requests by default (80 per vCPU when deployed with gcloud) and up to 1,000 if configured, per the Cloud Run concurrency documentation. Once requests share an instance, billing per request duration makes no sense. You bill the instance instead.
Cloudflare took the opposite route. Workers run in V8 isolates, not containers. The platform bills CPU milliseconds and states that there is no charge for wall-clock duration. A request that waits two seconds for an upstream API costs the same as one that answers instantly, if both burn the same CPU.
In 2025 and 2026 the hybrids arrived. Vercel’s Fluid compute bills Active CPU and, separately, provisioned memory for as long as an instance has requests in flight. Azure moved new Linux workloads toward Flex Consumption, which bills instance memory while it is executing and lets concurrent executions share it. AWS shipped Lambda Web Functions in October 2026. They bill active vCPU-seconds plus memory for the environment’s lifetime, with up to 128 concurrent requests per environment according to the AWS weekly roundup.
The result is that a single serverless pricing table misleads. This piece complements our measurement of serverless cold starts across Lambda SnapStart, Cloudflare Workers and Cloud Run, which covered latency. Here we cover the money. It follows the same living-benchmark method as our cloud object storage pricing comparison. We verify list prices on the retrieval date, name the region and label every assumption. This page is updated periodically. When a vendor changes a rate, we recompute the bills rather than patching a single cell.
How Serverless Pricing Works in 2026: Three Meters, Not One
Serverless pricing in November 2026 falls into three meters. Wall-clock meters (Lambda Event Functions, Azure legacy Consumption) bill memory multiplied by each invocation’s duration. Instance meters (Cloud Run, Azure Flex Consumption) bill instance time shared by concurrent requests. CPU meters (Cloudflare Workers, plus the CPU part of Vercel and Lambda Web Functions) bill only active CPU time.

Figure 1: The three serverless billing meters in 2026 and which platform uses which. Vercel Fluid compute and Lambda Web Functions are hybrids that bill CPU and memory separately.
The diagram starts with four workload properties: request count, wall time per request, CPU time per request and memory. Each meter multiplies a different subset of them. Wall-clock meters ignore CPU time. CPU meters ignore wall time. Instance meters care about how requests overlap. The hybrids split the bill into a CPU line and a memory line, then bill memory by instance lifetime.
Meter 1: wall-clock GB-seconds per invocation
On AWS Lambda Event Functions (the classic model, which AWS now names Event Functions to distinguish it from Web Functions) you pay $0.20 per million requests. You also pay $0.0000166667 per GB-second on x86 or $0.0000133334 per GB-second on Arm in US East (N. Virginia). Each concurrent request gets its own execution environment, so two overlapping requests are billed twice. CPU is not a separate line. AWS allocates CPU in proportion to memory, and its documentation puts one full vCPU-equivalent at 1,769 MB. That means a full x86 vCPU-second costs about 1.769 × $0.0000166667 ≈ $0.0000295 on Lambda. The free tier covers 1 million requests and 400,000 GB-seconds per month.
The key property is that time spent waiting is billed exactly like time spent computing. A function that spends 80 ms of a 100 ms request waiting for PostgreSQL pays for all 100 ms. Since 1 August 2025, AWS also bills the INIT (cold start) phase for ZIP-packaged functions on managed runtimes, per the AWS Compute Blog announcement on INIT billing. Heavy initialisation code now shows up on the invoice.
Azure Functions’ legacy Consumption plan is the same shape. It charges $0.000016 per GB-second and $0.20 per million executions, with a free grant of 400,000 GB-seconds and 1 million executions. Memory is the observed amount rounded up to the nearest 128 MB, capped at 1,536 MB. Each execution has a 100 ms minimum.
Meter 2: instance time shared by concurrent requests
Cloud Run’s request-based billing charges $0.000024 per vCPU-second and $0.0000025 per GiB-second, plus $0.40 per million requests (Tier 1 regions such as us-central1). The clock runs only while an instance has at least one request in flight, including startup and shutdown. If 50 requests overlap on one instance, you pay for one instance’s time, not 50. Billable time is rounded up to the nearest 100 ms. The monthly free tier is 180,000 vCPU-seconds, 360,000 GiB-seconds and 2 million requests.
Cloud Run also offers instance-based billing. It is cheaper per second ($0.000018 per vCPU-second and $0.000002 per GiB-second) but bills the whole instance lifetime, with a one-minute minimum and no per-request fee. Cloud Run Jobs use the same instance-based rates. The difference between these two Cloud Run modes is one of the most underused levers in serverless cost work, as Scenario B shows.
Azure Functions Flex Consumption bills per instance in the same spirit. The on-demand rate is $0.000026 per GB-second of instance memory while the instance is executing, plus $0.40 per million executions. The monthly free grant is 100,000 GB-seconds and 250,000 executions. You choose an instance size of 512 MB (0.25 vCPU), 2,048 MB (1 vCPU) or 4,096 MB (2 vCPU). Microsoft’s cost documentation is explicit that ten concurrent requests on one 2,048 MB instance cost the same GB-seconds as one. The catch is a 1,000 ms minimum billable execution period, rounded up to 100 ms after that. “Always ready” instances add a baseline charge of $0.000004 per GB-second whether they run or not, then $0.000016 per GB-second while executing, with no free grant.
Meter 3: active CPU time only
Cloudflare Workers Standard costs a $5 monthly minimum, which includes 10 million requests and 30 million CPU-milliseconds. Beyond that you pay $0.30 per million requests and $0.02 per million CPU-ms. Duration is not billed and neither is egress. Normalised, $0.02 per million CPU-ms is $0.00002 per CPU-second, cheaper than any other CPU rate here. The trade-off is the runtime. Each isolate is capped at 128 MB of memory, and a single request can use at most 5 minutes of CPU on the paid plan.
Vercel and Lambda Web Functions split the difference. Vercel bills Active CPU at $0.128 per hour in Washington D.C. (iad1), or $0.0000356 per CPU-second. It bills provisioned memory at $0.0106 per GB-hour and invocations at $0.60 per million. Memory accrues while an instance has any request in flight, including I/O waits, and stops when the instance pauses. Lambda Web Functions bill $0.0000276944 per active vCPU-second, $0.0000036667 per GB-second of memory and $0.30 per million requests, using the Arm rates on the AWS pricing page. AWS says memory is charged for as long as each execution environment runs, and that concurrent requests share it.
Verified Serverless Pricing Rate Card, 23 November 2026
The table below lists only rates we read on the vendors’ own pages or APIs on 23 November 2026. Regions are US East (N. Virginia) for AWS, Tier 1 for Cloud Run (the free tier is applied at us-central1 pricing), East US for Azure via the Azure Retail Prices API, global for Cloudflare and iad1 for Vercel. “Not published” means we could not find the number on an official page. It does not mean zero.
| Platform and mode | Request fee per 1M | Compute rate | Monthly free allowance |
|---|---|---|---|
| Lambda Event Functions, x86 | $0.20 | $0.0000166667 per GB-s (first 6B GB-s tier) | 1M requests, 400,000 GB-s |
| Lambda Event Functions, Arm | $0.20 | $0.0000133334 per GB-s (first tier) | shared with x86 |
| Lambda Provisioned Concurrency, x86 | $0.20 | $0.0000041667 per GB-s provisioned + $0.0000097222 per GB-s duration | none |
| Lambda Web Functions, Arm | $0.30 | $0.0000276944 per vCPU-s + $0.0000036667 per GB-s | not published |
| Cloud Run, request-based | $0.40 | $0.000024 per vCPU-s + $0.0000025 per GiB-s | 2M requests, 180,000 vCPU-s, 360,000 GiB-s |
| Cloud Run, instance-based and Jobs | none | $0.000018 per vCPU-s + $0.000002 per GiB-s | 240,000 vCPU-s, 450,000 GiB-s |
| Azure Flex Consumption, on demand | $0.40 | $0.000026 per GB-s | 250,000 executions, 100,000 GB-s |
| Azure Flex Consumption, always ready | $0.40 | $0.000004 per GB-s baseline + $0.000016 per GB-s executing | none |
| Azure legacy Consumption | $0.20 | $0.000016 per GB-s | 1M executions, 400,000 GB-s |
| Cloudflare Workers Standard | $0.30 beyond 10M | $0.02 per 1M CPU-ms beyond 30M | $5 minimum covers allowance |
| Vercel Fluid compute, Pro | $0.60 | $0.128 per CPU-hour + $0.0106 per GB-hour | $20 credit within $20 platform fee |
A few rows need context. Lambda’s duration price falls in volume tiers. For x86 it drops to $0.000015 after 6 billion GB-seconds and to $0.0000133334 after 15 billion. Arm drops to $0.0000120001 and $0.0000106667 at its own thresholds. We read the tier values from a July 2026 cost guide because the AWS page’s tables did not render in our fetch, so treat the tiers as secondary-sourced. None of our scenarios reach them.
Cloud Run’s committed use discounts are large. A one-year Cloud Run CUD cuts the request-based CPU rate from $0.000024 to $0.00001992, which is 17% off. A three-year Compute Flexible CUD cuts instance-based CPU from $0.000018 to $0.00000972, which is 46% off. Vercel’s rates vary by region. Cleveland and Portland match iad1, while São Paulo reaches $0.221 per CPU-hour.
What we excluded matters as much as what we included. AWS lists Lambda Managed Instances, which run functions on EC2 instances you choose. They charge EC2 On-Demand prices plus a 15% management fee for CPU instances (9.75% for G-series GPU instances), plus $0.20 per million requests. Lambda Durable Functions charge $8.00 per million operations. Cloud Run GPUs and Cloudflare Durable Objects have their own meters. None of these fit an apples-to-apples function comparison, so they are mentioned but not priced into the scenarios. Netlify is out of scope this month.
Worked Serverless Pricing Bills: Three Workloads, Every Formula Shown
Rates alone do not answer the serverless pricing question “what will I pay?” Workload shape does. We modelled three workloads and computed each bill with a Python script, applying free tiers, minimums and stated rounding. All three scenarios assume a 30-day month (2,592,000 seconds), traffic spread evenly through the month, a single region and no egress, logging, API gateway or storage charges. These are illustrative models built on verified rates. They are not measured invoices.

Figure 2: One request, four bills. The same 100 ms request with 20 ms of CPU work is billed as 100 ms of memory on Lambda Event Functions, 20 ms on Workers, shared instance time on Cloud Run and split CPU plus memory on Vercel.
The sequence diagram shows the anatomy behind Scenario A. A request spends 20 ms parsing, authenticating and serialising, and 80 ms waiting on a database. Every platform sees the same 100 ms. What differs is which part of it lands on the invoice.
The concurrency model we used
For the instance-metered platforms we need billable instance-seconds, not request-seconds. With random (Poisson) arrivals at rate λ per second and duration d, the fraction of time at least one request is in flight is 1 − e^(−λd). For Scenario A, λ = 10,000,000 ÷ 2,592,000 = 3.86 requests per second and d = 0.1 s. That gives 1 − e^(−0.386) = 0.320, or 829,687 busy instance-seconds a month. We verified this against a one-day simulation of about 333,000 random arrivals, which gave 0.321.
Rounding and minimums push the number up, and vendors do not fully document how. We bracket Cloud Run with two cases. The low case bills busy time exactly. The high case bills every 100 ms slot that contains any activity, which our simulation put at 1,390,023 seconds. For Azure Flex, we merged each busy period into a window of at least 1,000 ms. The instance then ends up billed for 98% of the month, 2,542,704 seconds. That is our interpretation of the documented minimum, not a Microsoft-published figure. For Lambda Web Functions, AWS’s own example assumes the environment runs all month, so we show that as the high case and busy time as the low case.
Scenario A: a JSON API, 10M requests, 100 ms, 512 MB
Assumptions: 10 million requests a month, 100 ms wall time, 20 ms of real CPU, 512 MB memory. Vercel’s smallest size on Pro is 2 GB with 1 vCPU, so Vercel is modelled at 2 GB. Cloud Run is modelled at 1 vCPU and 0.5 GiB. Free tiers are applied.
- Lambda Event, x86: requests (10M − 1M) × $0.20/M = $1.80. Compute is 10M × 0.1 s × 0.5 GB = 500,000 GB-s, and (500,000 − 400,000) × $0.0000166667 = $1.67. Total $3.47.
- Lambda Event, Arm: $1.80 + 100,000 × $0.0000133334 = $1.33. Total $3.13.
- Lambda Event with one Provisioned Concurrency environment, x86: 0.5 GB × 2,592,000 s × $0.0000041667 = $5.40. Duration is 500,000 GB-s × $0.0000097222 = $4.86 and requests 10M × $0.20 = $2.00, with no free tier. Total $12.26.
- Lambda Web Functions, Arm: CPU 10M × 0.02 s = 200,000 vCPU-s × $0.0000276944 = $5.54. Requests 10 × $0.30 = $3.00. Memory is 0.5 GB × 829,687 s × $0.0000036667 = $1.52 (low) or 0.5 × 2,592,000 × $0.0000036667 = $4.75 (high). Total $10.06–$13.29.
- Cloud Run, request-based: low case (829,687 − 180,000) × $0.000024 = $15.59 CPU, plus (414,843 − 360,000) × $0.0000025 = $0.14 memory, plus (10M − 2M) × $0.40/M = $3.20. That is $18.93. The 100 ms-slot high case gives $29.04 + $0.84 + $3.20 = $33.08. Total $18.93–$33.08.
- Cloud Run, instance-based, one instance always on: (2,592,000 − 240,000) × $0.000018 = $42.34, plus (1,296,000 − 450,000) × $0.000002 = $1.69. Total $44.03.
- Azure Flex, on demand, 512 MB: (0.5 × 2,542,704 − 100,000) × $0.000026 = $30.46, plus (10M − 250,000) × $0.40/M = $3.90. Total $34.36.
- Azure Flex, one always-ready instance: baseline 0.5 × 2,592,000 × $0.000004 = $5.18. Executing 0.5 × 2,542,704 × $0.000016 = $20.34, plus 10M × $0.40/M = $4.00. Total $29.53.
- Azure legacy Consumption: (500,000 − 400,000) × $0.000016 = $1.60, plus (10M − 1M) × $0.20/M = $1.80. Total $3.40.
- Cloudflare Workers: $5.00 minimum. Requests stay within the 10M allowance. CPU is 10M × 20 ms = 200M CPU-ms, so (200M − 30M) × $0.02/M = $3.40. Total $8.40.
- Vercel Pro: CPU 200,000 s = 55.56 h × $0.128 = $7.11. Memory 2 GB × 829,687 s = 460.9 GB-h × $0.0106 = $4.89. Invocations 10 × $0.60 = $6.00. Usage is $18.00, inside the $20 credit. Bill $20.00, the platform fee.
The lesson of Scenario A is that free tiers dominate small workloads. Lambda and Azure legacy Consumption look nearly free because 400,000 GB-seconds absorbs 80% of the compute. Strip the free tiers, as you should if other functions in the account already consume them, and the order changes. Workers stays at $8.40, Lambda Arm becomes $8.67, Azure legacy becomes $10.00 and Lambda Web Functions stay at $10.06–$13.29. Cloud Run request-based rises to $24.95–$39.10. At 3.86 requests per second, a mostly idle instance does not amortise its vCPU-second rate.
Scenario B: IoT telemetry ingest, 200M tiny requests
Assumptions: 200 million small HTTP posts a month from devices, about 77 per second. Each takes 10 ms wall time and 2 ms CPU. Lambda and Azure legacy Consumption use 128 MB. Cloud Run, Azure Flex and Web Functions use the 512 MB class; Web Functions’ minimum memory is not published, so 0.5 GB is an assumption. Vercel uses 2 GB. Busy fraction is 1 − e^(−77.16 × 0.01) = 0.538, or 1,393,795 instance-seconds.
- Lambda Event, x86 or Arm: requests (200M − 1M) × $0.20/M = $39.80. Compute is 200M × 0.01 s × 0.125 GB = 250,000 GB-s, inside the free tier. Total $39.80.
- Lambda Web Functions: CPU 400,000 vCPU-s × $0.0000276944 = $11.08. Requests 200 × $0.30 = $60.00. Memory $2.56 (low) to $4.75 (high). Total $73.63–$75.83.
- Cloud Run, request-based: low case (1,393,795 − 180,000) × $0.000024 = $29.13, memory $0.84, requests (200M − 2M) × $0.40/M = $79.20. That is $109.17. The high case, with the instance billed all month, is $139.43. Total $109.17–$139.43.
- Cloud Run, instance-based, one instance: the same $44.03 as Scenario A, because there is no request fee. Total $44.03.
- Azure Flex, on demand: the instance is effectively always executing. (1,296,000 − 100,000) × $0.000026 = $31.10, plus (200M − 250,000) × $0.40/M = $79.90. Total $111.00.
- Azure legacy Consumption: the 100 ms minimum applies, so 200M × 0.1 s × 0.125 GB = 2,500,000 GB-s. Then (2,500,000 − 400,000) × $0.000016 = $33.60, plus $39.80 executions. Total $73.40.
- Cloudflare Workers: $5 + (200M − 10M) × $0.30/M = $57.00 + (400M − 30M CPU-ms) × $0.02/M = $7.40. Total $69.40.
- Vercel Pro: CPU 111.11 h × $0.128 = $14.22. Memory 2 GB × 1,393,795 s = 774.3 GB-h × $0.0106 = $8.21. Invocations 200 × $0.60 = $120.00. Bill $142.43.
Scenario B is where request fees take over. Request fees are 100% of the Lambda bill, 82% of Workers, 84% of Vercel and about 72% of Cloud Run request-based and Azure Flex. Compute is almost irrelevant. The two cheapest options show the two ways to win. Lambda, at $39.80, wins by having the lowest request fee ($0.20 per million) while the free tier swallows its tiny compute. Cloud Run instance-based, at $44.03, wins by having no request fee at all. A single 1 vCPU instance at about 15% CPU utilisation handles 77 requests per second comfortably.
The two diverge as volume grows. Without the free tier, Lambda’s Scenario B bill becomes 200 × $0.20 + 250,000 × $0.0000166667 = $44.17, a dead heat with Cloud Run. Double the traffic to 400 million requests and Lambda roughly doubles to about $88, while one Cloud Run instance at 30% utilisation stays at $44.03. One instance gives no redundancy, though. Production would add a second instance in another zone, so the crossover in favour of Cloud Run sits closer to 400 million requests than 200 million.
This matches what we see in MQTT store-and-forward edge gateway designs. Batch 50 readings into one HTTP post at the gateway and every request-metered bill in Scenario B falls by roughly 98% on its request line.
Scenario C: CPU-heavy image job, 1M images
Assumptions: 1 million images a month, each needing 2 seconds of fully CPU-bound work on 1 vCPU and 2 GB of memory, one image per instance at a time. Lambda is modelled at 2,048 MB, slightly more than one vCPU-equivalent, and we conservatively keep 2.0 s. The Arm figure assumes the same runtime, which you must benchmark.
- Lambda Event, x86: 1M × 2 s × 2 GB = 4,000,000 GB-s. Then (4,000,000 − 400,000) × $0.0000166667 = $60.00. Requests are inside the free tier. Total $60.00.
- Lambda Event, Arm: 3,600,000 × $0.0000133334 = $48.00. Total $48.00.
- Lambda Web Functions: CPU 2,000,000 vCPU-s × $0.0000276944 = $55.39. Memory 2 GB × 2,000,000 s × $0.0000036667 = $14.67. Requests $0.30. Total $70.36.
- Cloud Run, request-based, 1 vCPU and 2 GiB: (2,000,000 − 180,000) × $0.000024 = $43.68, plus (4,000,000 − 360,000) × $0.0000025 = $9.10. Requests are inside the free tier. Total $52.78.
- Cloud Run Jobs, instance-based: (2,000,000 − 240,000) × $0.000018 = $31.68, plus (4,000,000 − 450,000) × $0.000002 = $7.10. Total $38.78. This ignores per-task startup overhead and the one-minute minimum, which are negligible if each task processes hundreds of images.
- Azure Flex, on demand, 2,048 MB: (4,000,000 − 100,000) × $0.000026 = $101.40, plus (1M − 250,000) × $0.40/M = $0.30. Total $101.70.
- Azure legacy Consumption at the 1.5 GB cap: (1M × 2 s × 1.5 GB − 400,000) × $0.000016 = $41.60. Executions are inside the free grant. Total $41.60, if the job fits in 1.5 GB.
- Cloudflare Workers: $5 + (2,000M − 30M CPU-ms) × $0.02/M = $39.40. Total $44.40, but see below.
- Vercel Pro, Standard 2 GB: CPU 555.56 h × $0.128 = $71.11. Memory 1,111.1 GB-h × $0.0106 = $11.78. Invocations $0.60. Bill $83.49.
CPU-bound work inverts Scenario B. When CPU time equals wall time, CPU metering saves nothing and its per-second rates are higher. Vercel’s $0.0000356 and Web Functions’ $0.0000277 per CPU-second sit above Cloud Run Jobs’ $0.000018. Cloudflare’s number is cheap on paper, but a 128 MB isolate cannot decode a large image the way a 2 GB container can. Treat it as feasible only for small, WebAssembly-friendly transforms.
Results matrix
| Platform and mode | A: API 10M | B: IoT 200M | C: Image 1M |
|---|---|---|---|
| Lambda Event, x86 | $3.47 | $39.80 | $60.00 |
| Lambda Event, Arm | $3.13 | $39.80 | $48.00 |
| Lambda Web Functions, Arm | $10.06–$13.29 | $73.63–$75.83 | $70.36 |
| Cloud Run, request-based | $18.93–$33.08 | $109.17–$139.43 | $52.78 |
| Cloud Run, instance-based or Jobs | $44.03 | $44.03 | $38.78 |
| Azure Flex, on demand | $34.36 | $111.00 | $101.70 |
| Azure legacy Consumption | $3.40 | $73.40 | $41.60 |
| Cloudflare Workers Standard | $8.40 | $69.40 | $44.40, memory-limited |
| Vercel Pro | $20.00 | $142.43 | $83.49 |
Methodology caveats for these serverless pricing models. Every rate is a verified list price as of 23 November 2026. Every bill is a model with labelled assumptions: even traffic, one region, a single-instance concurrency model for the instance meters, and no egress, logging or gateway costs. Real traffic is bursty and diurnal, which raises instance-metered bills because peaks force extra instances. CPU-ms figures assume the same code runs the same speed everywhere, which it does not. V8 isolates, Graviton and x86 cores differ. Rerun the script with your own p50 CPU time and request mix before deciding.
Why Billing Models Differ, and What It Means for Architecture
The meters behind serverless pricing are not arbitrary. Each reflects what the provider actually has to reserve for you.
Lambda Event Functions dedicate a Firecracker microVM to one request at a time. While your code waits on a socket, the memory and CPU slice are still reserved for you. AWS cannot hand them to anyone else, so it bills wall-clock time. The upside is strong isolation and predictable per-request performance. The downside is that I/O-heavy code pays for idle time. Since August 2025 that includes cold-start initialisation, which our cold start benchmark shows can run to hundreds of milliseconds on JVM runtimes. SnapStart trades that for a cache charge of $0.0000015046 per GB-second, with a three-hour minimum, and $0.0001397998 per GB restored. Caching a 512 MB snapshot for a full month costs about $1.95 by that formula.
Cloud Run, Azure Flex and Vercel’s memory line bill the instance because the instance is the resource they reserve. An instance waiting on 50 database calls costs them the same as one waiting on one. Passing that saving to you is what makes them competitive for I/O-heavy APIs at moderate traffic.
Cloudflare’s isolates are cheap enough to keep warm across thousands of tenants on one machine. Cloudflare is not reserving memory per customer in the same way, so it bills the scarce resource, CPU. That is a structural cost advantage, paid for with the 128 MB memory cap and a JavaScript and WebAssembly-first runtime.
The hybrids are an admission that both views are right. CPU is the scarce resource while code runs, and memory is the scarce resource while it waits. Lambda Web Functions price memory at $0.0000036667 per GB-second, about a fifth of the Event Functions GB-second rate, because it no longer bundles CPU. That design rewards code that waits.
There is a direct architectural lesson. Under wall-clock meters, the cheapest code finishes fast, even if it burns more CPU, for example by caching aggressively in memory. Under CPU meters, the cheapest code burns little CPU, even if it waits longer. Practices like fanning out parallel API calls inside one request, streaming LLM tokens or holding WebSockets are expensive on Lambda Event Functions and cheap on Workers or Web Functions. The meter should shape the code, and the code should shape the platform choice.

Figure 3: A decision tree derived from the three worked scenarios. Request volume is checked first because in Scenario B request fees made up 72–100% of every per-request bill.
The tree encodes the results matrix, not opinion. Very high request counts go to the lowest request fee (Lambda’s $0.20 per million), to a meter without a request fee, or to batching. Mostly-waiting workloads go to CPU meters once the wait share is high. Below about 80% wait, Lambda Arm with its free tier was within cents of Workers in Scenario A. CPU-bound work that can be batched goes to Cloud Run Jobs. Interactive CPU-bound work goes to Lambda Arm or Cloud Run request-based, which were within about 10% of each other in Scenario C.
Trade-offs, Gotchas, and What Goes Wrong
The compute line is often not the biggest line. In a typical serverless request path, the function line can be smaller than the surrounding services. Amazon API Gateway, NAT gateway processing for functions in a VPC, CloudWatch Logs ingestion and egress can each exceed it. A function that logs 2 KB per request at 200M requests produces about 400 GB of logs a month, and log ingestion is billed per GB. Our cloud data transfer cost architecture guide covers the NAT and egress side in depth. Cloudflare’s no-egress-fee policy is a real advantage here that the compute comparison hides.

Figure 4: Function compute is one of six cost lines in a typical serverless request path. NAT, logs and egress often outweigh it.
Free tiers are per account, not per function. The Scenario A bills of $3.13 to $3.47 assume the free tier is unused. In a shared AWS account it has already been consumed by other functions by the second day of the month. Budget at no-free-tier rates.
Minimums distort tiny workloads. Azure Flex’s 1,000 ms minimum billable execution period turned a 32%-busy instance into a 98%-billed one in our model. Azure legacy Consumption’s 100 ms minimum made 10 ms requests ten times more expensive in compute. Cloud Run instance-based billing has a one-minute minimum. Lambda bills per millisecond with no minimum, which is why it wins for sparse, short invocations.
Concurrency settings are cost settings. On Cloud Run, Azure Flex, Vercel and Web Functions, a concurrency limit of 1 turns the instance meter into a per-request meter at a higher price. Teams often set concurrency to 1 for safety with non-thread-safe libraries, then wonder why the bill tripled. On the other hand, concurrency above what one vCPU can serve raises tail latency. Load-test the setting.
Arm is not free money. Lambda’s Arm rate is 20% lower per GB-second, but the saving only materialises if your code runs at least as fast on Graviton. Native dependencies, such as image codecs or older numerical libraries, sometimes run slower or are unavailable for arm64.
Vercel’s credit hides the meter until it does not. Scenario A fit inside the $20 Pro credit, so the bill was flat. At $0.60 per million, Vercel’s invocation fee is the highest per-request rate here, and Scenario B shows how quickly it scales.
Serverless pricing is regional and changes. Cloud Run Tier 2 regions, Vercel’s São Paulo rates and non-US Lambda regions all differ. Re-verify before you commit to a design.
Practical Recommendations
Good serverless pricing decisions start with measurement. Measure three numbers for each function: p50 wall time, p50 CPU time and requests per month. Most observability stacks can report the first and third. CPU time needs process-level metrics or a profiler. The ratio of CPU time to wall time tells you which meter favours you. Below about 0.2, CPU meters win. Close to 1.0, cheap per-second instance rates win. In between, a free tier or Arm pricing usually decides.
Next, look at the request line before the compute line. If you are above roughly 50 million requests a month of small payloads, every per-request meter becomes a tax. Batch at the client or gateway, pick the lowest request fee, or move the ingest path onto a meter without a request fee, such as Cloud Run instance-based billing, a container service or a message queue consumer. Then put the rest of the bill on the table. Tag functions, export billing data in a normalised schema such as the one described in our FinOps FOCUS billing pipeline walkthrough, and alert on sudden shifts using cloud cost anomaly detection.
Finally, do not migrate platforms to save less than about 30% on a line that is under 10% of your total cloud bill. Engineering time costs more than the saving.
- Measure p50 wall time, p50 CPU time and monthly requests per function.
- Compute the CPU-to-wall ratio and pick the meter that rewards it.
- Check whether request fees exceed 50% of the projected bill, and batch if they do.
- Budget at no-free-tier rates in shared accounts.
- Test Arm (Graviton) builds before assuming the 20% Lambda discount.
- Set instance concurrency deliberately, never to 1 by default.
- Add API gateway, NAT, logs and egress before comparing totals.
- Re-check serverless pricing pages quarterly. This page will be refreshed when rates change.
Frequently Asked Questions
Which serverless platform is cheapest in 2026?
No single platform wins serverless pricing for every workload. In our November 2026 models, Lambda Event Functions on Arm and Azure legacy Consumption were cheapest for a small API, at about $3 a month with free tiers. For 200 million tiny IoT requests, Lambda ($39.80) and Cloud Run instance-based billing ($44.03) were nearly tied, because one has the lowest request fee and the other has none. Cloud Run Jobs was cheapest for CPU-heavy batch image processing at $38.78. Workload shape decides: request count, CPU-to-wall-time ratio and whether traffic is steady or spiky.
How is AWS Lambda pricing calculated?
AWS Lambda Event Functions charge $0.20 per million requests plus a duration charge of memory multiplied by billed time. That is $0.0000166667 per GB-second on x86 or $0.0000133334 on Arm in US East (N. Virginia). Duration is billed per millisecond, and since August 2025 includes the INIT phase for ZIP-packaged functions on managed runtimes. The free tier covers 1 million requests and 400,000 GB-seconds a month. Lambda Web Functions, launched in October 2026, instead bill active vCPU-seconds, memory and $0.30 per million requests.
Is Cloud Run cheaper than Lambda?
It depends on concurrency and request count. Cloud Run bills instance time, so many overlapping requests share one bill. That helps at steady, moderate-to-high traffic. Cloud Run’s request fee of $0.40 per million is double Lambda’s $0.20, so request-based Cloud Run lost badly to Lambda in our IoT scenario. Cloud Run instance-based billing has no request fee and came within $4.23 of Lambda at 200 million requests, overtaking it as volume grows. For a sparse, small API, Lambda’s per-millisecond billing and larger free tier made it several times cheaper.
Does Cloudflare Workers charge for wall-clock time?
No. Cloudflare Workers Standard bills requests and CPU milliseconds only. Its pricing documentation states there is no charge or limit for duration, and no charge for egress or bandwidth. The plan costs a $5 monthly minimum, which includes 10 million requests and 30 million CPU-ms. Beyond that you pay $0.30 per million requests and $0.02 per million CPU-ms. Time spent waiting on fetch calls or KV reads does not count as CPU time. The trade-offs are a 128 MB memory cap per isolate and a 5-minute CPU limit per request.
What is Azure Functions Flex Consumption pricing?
Flex Consumption on-demand billing in East US is $0.000026 per GB-second of instance memory while executing, plus $0.40 per million executions. The monthly free grant is 100,000 GB-seconds and 250,000 executions. Instance sizes are 512 MB, 2,048 MB or 4,096 MB. Concurrent executions on one instance share its memory charge, but the minimum billable execution period is 1,000 ms. Always-ready instances add $0.000004 per GB-second baseline and $0.000016 per GB-second while executing, with no free grant. The legacy Consumption plan remains $0.000016 per GB-second and $0.20 per million executions.
How does Vercel bill serverless functions?
Vercel Functions on Fluid compute bill three things. Active CPU costs $0.128 per CPU-hour in iad1 and pauses while code waits on I/O. Provisioned memory costs $0.0106 per GB-hour and runs while any request is in flight. Invocations cost $0.60 per million. The Pro plan’s $20 monthly platform fee includes $20 of usage credit. Hobby includes 4 CPU-hours, 360 GB-hours and 1 million invocations. The default function size on Pro is 2 GB with 1 vCPU, upgradable to 4 GB with 2 vCPUs. Rates vary by region.
Further Reading
- Serverless cold starts compared: Lambda SnapStart vs Cloudflare Workers vs Cloud Run shows the latency side of the same platforms.
- Cloud object storage pricing, November 2026 is our companion living benchmark for S3, GCS, Azure Blob, R2, B2 and Wasabi.
- Cloud data transfer cost architecture covers the NAT, PrivateLink and egress lines that often outweigh function compute.
- Cloudflare Durable Objects explained explains stateful edge compute and its separate duration meter.
- Container image lazy pulling and cold starts covers the startup time that Cloud Run and Lambda now bill.
- Official sources: AWS Lambda pricing, Cloud Run pricing, Azure Functions pricing, Cloudflare Workers pricing and Vercel Fluid compute pricing.
By Riju — about
