Comparison

Updated October 25, 2026

· ~2 min read

AWS Lambda vs Cloudflare Workers vs Vercel Functions in 2026: Cost, Limits and Fit

AWS Lambda
Cloudflare Workers
Vercel
Serverless
Edge Computing

The three are often compared as if they were the same product. They bill different things. Lambda charges for memory multiplied by wall-clock time, so a function waiting 180 ms on a database pays for the wait. Workers charges for CPU time only; the wait is free. Vercel's Fluid Compute charges active CPU and provisioned memory separately, and the platform charges per developer seat.

For I/O-heavy web workloads that difference dominates the bill. For compute-heavy or long-running work it barely matters, and the limits decide instead.

In October 2026 AWS narrowed the gap with Lambda Web Functions: your HTTP server runs on Lambda, many requests share an environment, and you pay for requests, active vCPU time and the memory the environment holds. For web traffic, Lambda now bills much like Vercel and Workers do.

How each one bills

AWS Lambda

Cloudflare Workers (Paid)

Vercel Functions (Pro)

Base

None

$5/month per account

$20/month per developer seat, with usage credit

Requests

Event Functions $0.20 per million (1M free); Web Functions $0.30 per million

$0.30 per million after 10M included

$0.60 per million invocations

Compute

Event Functions: $0.0000166667 per GB-second x86, $0.0000133334 Arm (400k GB-s free), wall-clock. Web Functions (Arm): about $0.10 per active vCPU-hour plus $0.013 per GB-hour held

$0.02 per million CPU ms after 30M included; waiting on I/O is free

Active CPU from $0.128/hour plus provisioned memory from $0.0106/GB-hour

Egress

Standard AWS data transfer

No charge

1 TB included, then from $0.15/GB

Worked example: 50M requests a month, 512 MB, 200 ms wall-clock, 20 ms CPU

Platform

Approximate monthly compute cost

What it leaves out

Lambda x86

~$86

API Gateway ($1.00/M for HTTP APIs) or a free function URL; CloudFront in front

Lambda Arm

~$71

Same

Lambda Web Functions (Arm)

~$47

One environment holding 0.5 GB all month; Node.js at launch; still needs CloudFront or an API front door

Cloudflare Workers

~$36

Database round trips from the edge; Hyperdrive or Smart Placement if the database is in one region

Vercel Functions

~$80 before seats, upper bound

Memory assumed unshared; Fluid Compute concurrency lowers it. Seats on top

Limits that decide most projects

AWS Lambda

Cloudflare Workers

Vercel Functions

Languages

Node.js, Python, Java, .NET, Ruby, custom runtimes, container images

JavaScript, TypeScript, WebAssembly; Python in beta

Node.js, Python, Go, Ruby and more via runtimes

Duration

15 minutes; durable functions can suspend for up to a year

Up to 5 minutes CPU per request; 15 minutes for Cron and Queues

Configurable per plan

Memory

128 MB to 10 GB

128 MB per isolate

Configurable per plan

Private network access

VPC, private subnets, RDS, ElastiCache

Cloudflare Tunnel, Hyperdrive

Secure Compute on Enterprise

Where it runs

The Region you choose

Cloudflare locations worldwide, or placed near your backend

Regions you choose

The latency question

Running at the edge only helps if the work can finish at the edge. A Worker in Sydney that queries a Postgres database in Virginia pays the Pacific round trip on every query, often several per request. Cloudflare's Smart Placement moves the Worker near the backend for this reason. Edge execution is a clear win for auth checks, redirects, A/B assignment, personalization from cached data and anything served from KV or R2. For transactional work against a regional database, put compute next to the database.

Which one

Question 1 of 3

Does the code need AWS resources in a VPC, or AWS event sources?

Our verdict

**Lambda:** you need the AWS ecosystem (IAM, VPC access, SQS, EventBridge, Step Functions), languages beyond JavaScript, up to 10 GB of memory or 15-minute jobs. For HTTP services in Node.js, Web Functions now make Lambda price-competitive with the edge platforms. **Workers:** request-path code close to users, I/O-heavy APIs where paying for CPU only is a large saving, and teams happy inside Cloudflare's data products. **Vercel:** a Next.js team that values previews and framework integration over the lowest unit price, and is fine with per-seat pricing. Most companies we work with end up with more than one: Workers or CloudFront Functions at the edge, Lambda or containers next to the data.

Related solutions

Serverless Migration

Move from expensive always-on compute to serverless architecture: reduce costs, eliminate patching, and scale automatically.

3–8 weeks
$12k–$30k
View

AWS Architecture Review

A focused, senior-level review of your current AWS architecture, with a prioritized list of what to fix and why.

1 week
$4k–$8k
View

AWS Cost Optimization & FinOps Sprint

Reduce your AWS bill by 20–60% while improving performance and reliability.

1–3 weeks
$6k–$18k
View

Get your serverless costs and architecture reviewed

We work with startups and growing companies on AWS architecture decisions. Tell us about your situation and we will recommend the right approach.

As of October 25, 2026. Provided as is, for general information, and accurate to the best of our knowledge on the date shown. Not legal, compliance, tax, financial or other professional advice. Prices, limits and vendor services change; check current vendor documentation before relying on anything here. Terms of use.