RealCloudCost

aws / serverless / fargate vs lambda

Fargate vs Lambda: which costs less

For 100 million requests a month, Lambda costs $0.00 a month, $0 less than Fargate.

aws list prices · checked 17 november 2026 · sources

Start from a typical API then change anything in the form below

spec sheet use1-100mchecked 2026-11-17

An API on Arm US East (N. Virginia)

  1. 01Lambda [1]$0.00cheapest
  2. 02Fargate [2]$0.00cheapest
Cheapest, a month$0.00

a year $0

setup formyou write in blue

Your setup change any box, the sheet follows

Fargate tasks running

the sheet on the right updates as you writethe sheet above updates as you write

What decides it

Lambda bills the work, Fargate bills the time. Lambda charges for each request and each millisecond it runs, and nothing when idle. Fargate charges for every second a task is up, busy or not. Low or uneven traffic favors Lambda; steady high traffic favors Fargate.

A Fargate task serves many requests at once. One task handles many concurrent requests; one Lambda instance handles one at a time. Size the tasks for your peak, not for one request.

Count what each needs around it. Fargate usually sits behind a load balancer; Lambda behind API Gateway or a function URL. Both add their own charges, priced on their own pages here.

Sources

  1. [1]Lambda request and compute prices. AWS Price List API, AWSLambda offer, read 2026-11-17.
  2. [2]Fargate vCPU and memory prices. AWS Price List API, AmazonECS offer, version 20261111234623, read 2026-11-17.

Both on Arm (Graviton), 730 hours a month, on-demand, in USD before tax, Savings Plans, credits or private discounts. The free tier, load balancers, API Gateway and data transfer are not counted. You set how many Fargate tasks your traffic needs. The calculator runs in your browser; nothing you type is sent anywhere.