Lambda Web Functions vs Cloud Run vs Vercel vs Workers
The short answer
All four are serverless HTTP platforms that serve many concurrent requests per instance and scale to zero; they differ in what they bill while your code waits on a model. As of December 4, 2026:
- Vercel (Fluid compute) — best for Next.js front ends and preview deployments. Bills active CPU, not idle CPU.
- AWS Lambda Web Functions — best for an existing Node.js web server (Python 3.15 is in public preview) that needs AWS: VPC, IAM, multi-Region routing. Bills active CPU plus memory held.
- Google Cloud Run — best for anything in a container, any language, plus GPUs. Default billing charges for the whole request.
- Cloudflare Workers — best for edge APIs and agent glue code that mostly waits on LLM calls. Bills CPU time only, never duration.
AWS re-promoted Lambda Web Functions at re:Invent (November 30–December 4, 2026); they launched on October 12, 2026.
Compared
| Lambda Web Functions | Cloud Run (request-based) | Vercel Fluid compute | Cloudflare Workers (Standard) | |
|---|---|---|---|---|
| What you deploy | Port-listening Node.js server (.zip); Python 3.15 in preview | Any container | Framework project (Next.js etc.) | JS/TS/Wasm isolate |
| CPU price | $0.0000276944/active vCPU-s (≈$0.10/vCPU-hour) | $0.000024/vCPU-s while serving (≈$0.086/hour) | $0.128/active CPU-hour (Washington, D.C.) | $0.02 per million CPU-ms (≈$0.072/CPU-hour) |
| Memory price | $0.0000036667/GB-s, for the environment’s life | $0.0000025/GiB-s while serving | $0.0106/GB-hour provisioned | Not billed |
| Requests | $0.30/million | $0.40/million | $0.60/million (Pro) | $0.30/million after 10M |
| Waiting on an LLM | CPU paused, memory billed | CPU and memory billed | CPU paused, memory billed | Not billed |
| Free allowance | Lambda free tier | 180,000 vCPU-s, 360,000 GiB-s, 2M requests/month | Hobby: 4 CPU-hours, 360 GB-hours, 1M invocations | Free plan 100,000 requests/day |
| Plan minimum | None | None | Pro $20/month | $5/month |
| Regions | 5 at launch, multi-Region routing | Global | Global | Global edge |
Prices are list rates in each vendor’s base US region, read December 4, 2026; AWS figures are US East (N. Virginia), Arm.
Lambda Web Functions
AWS’s October 12, 2026 launch turned Lambda into a host for ordinary web servers: your code listens on a port, Lambda gives you an HTTPS endpoint, and one warm environment handles many concurrent requests, which AWS says cuts cold starts “by orders of magnitude”. Responses stream natively, which suits token-by-token LLM output. Endpoints accept IAM or app-managed auth and per-Region request-rate and maxEnvironments caps, useful for keeping an agent backend from flooding a database. Custom domains and AWS WAF need CloudFront in front.
The catch is memory: an environment is billed for the memory it holds for as long as it runs, including idle time between requests. Three of AWS’s published examples land at $25.78 (15M SSR requests), $19.61 (10M I/O-heavy API calls) and about $65 (100M lightweight authorizer calls) a month.
Cloud Run
Cloud Run takes any container, so Python agent frameworks, custom runtimes and GPU inference (NVIDIA L4 from $0.0001867 per second) all fit. Under default request-based billing you pay for CPU and memory from the start of a request to its end, so a handler waiting 20 seconds on a model pays for 20 seconds. Switch to instance-based billing ($0.000018 per vCPU-second in us-central1) for steady, busy services.
Vercel Fluid compute
Vercel bills active CPU only while code runs, pauses CPU billing during I/O, and bills provisioned memory until the last in-flight request finishes. Rates vary by region, from $0.128 per CPU-hour in Washington, D.C. and Portland to $0.221 in São Paulo. A Hobby team that exceeds its allowance is paused until the 30-day window resets, so production apps belong on Pro.
Cloudflare Workers
Workers charge for requests and CPU milliseconds; there is no charge or limit for duration, so an agent loop that spends most of its life awaiting an API pays almost nothing for the wait. Limits: CPU time per invocation defaults to 30 seconds and can be raised to 5 minutes, code runs in isolates rather than containers, and there is no native Python web server. A spending limit can block new invocations at a threshold.
Which to pick
- Next.js product site with AI features → Vercel; compare hosts in AWS Amplify vs Vercel vs Netlify.
- Express or FastAPI backend calling Bedrock, RDS or private services → Lambda Web Functions.
- Containerised agent, Python stack, or GPU inference → Cloud Run.
- Edge API, MCP endpoint or webhook that mostly waits on LLMs → Cloudflare Workers.
Model costs usually dwarf hosting; check current API prices.
Last verified: December 4, 2026.