All posts
Serverless

Lambda Web Functions: Run Express or Hono on Lambda and Pay for Active CPU

By

October 25, 2026

6 min read

Launched in October 2026, Web Functions run a normal HTTP server on Lambda: no adapter, many concurrent requests per environment, native streaming, and billing on requests, active vCPU and held memory. AWS's worked examples, how it compares with Event Functions and function URLs, and what to check before moving.

AWS Lambda
Lambda Web Functions
Node.js
Express
Hono
Serverless

Running a web framework on Lambda used to mean an adapter that translated API Gateway or function URL events into HTTP requests, one request per environment, billed on wall-clock time. Web Functions remove all three constraints: your server listens on a port, an environment handles concurrent requests, and you pay for CPU only while code is running.

Pricing (US East, Arm)

Dimension

Price

Requests

$0.30 per million

Active vCPU

$0.0000276944 per vCPU-second (about $0.10 per vCPU-hour)

Memory held by the environment

$0.0000036667 per GB-second (about $0.013 per GB-hour)

From the Lambda pricing page. Compute is billed at 1 ms granularity; memory is billed for as long as the environment runs, including between requests.

Want a second opinion on this for your system?

Book a free 30-minute call. You'll leave knowing what we'd do first and roughly what it costs, whether or not you hire us.

AWS's worked examples

Workload

Monthly requests

Per request

Monthly cost

Server-side rendered web app

15 million

150 ms total, 40 ms CPU, ~500 MB

~$25.78

I/O-heavy API backend

10 million

200 ms total, 50 ms CPU, ~300 MB

~$19.61

Authorization middleware

100 million

50 ms total, 12 ms CPU, ~145 MB

~$64.56

Assumes one environment running all month and serving all traffic; excludes free tier and data transfer.

Before you move a service

  • Runtime: Node.js at launch, on Arm. Check native dependencies have Arm builds.

  • Concurrency safety: module-level state is now shared by simultaneous requests, as on any server. Code written for one-request-per-environment Lambda can have bugs that only appear here.

  • Regions: launched in US East (N. Virginia, Ohio), US West (Oregon), Europe (Ireland) and Asia Pacific (Tokyo).

  • Idle cost: memory is billed while an environment runs, so a rarely used service may cost more than an Event Function that scales to zero between requests.

hoolco Monthly Review

Once a month: what changed in tech that month and what it means for you, from cloud and AI to security and the tools you build with. Every item links to its source. No sales pitch, unsubscribe in one click.

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.