Skip to content

Comparison: Serverless (Lambda, Cloud Run) vs. Kubernetes (EKS, GKE)

Serverless vs. Kubernetes: where the cost curves cross

Find the point where serverless pay-per-request pricing becomes more expensive than running your own cluster, and what the operations work on each side really costs.

Decision framework

Which one fits your situation

Scenario 01

If your traffic is bursty or idle for long periods…

Serverless (Cloud Run or Lambda) is usually cheaper, because you don't pay for idle capacity.

Scenario 02

If you run steady, high traffic around the clock…

Kubernetes with spot capacity and good bin-packing usually costs less per request — if you have people to run it.

Trade-offs

Side by side

How the two options compare on the dimensions that usually decide this choice.

Serverless (Lambda, Cloud Run) compared with Kubernetes (EKS, GKE)
DimensionServerless (Lambda, Cloud Run)Kubernetes (EKS, GKE)Verdict
Cost at low or bursty trafficClose to zero when idle, because it scales to zeroA fixed baseline: the control plane plus always-on nodesServerless wins on low and variable workloads
Cost at steady high volumePer-request and per-GB-second pricing adds upHigh utilization through bin-packing and discounted spot capacityKubernetes wins on steady high volume
Operations overheadLow: the provider runs the platformNeeds engineers who can operate and upgrade the clusterServerless needs less operations staffing

Questions

Frequently asked questions

It depends on request duration, memory, concurrency and how steady the traffic is, so we model it with your own numbers rather than quote a rule of thumb. Include the people cost of running a cluster, not just the compute.

Yes, though how much they matter varies. Lambda cold starts range from tens of milliseconds to seconds depending on runtime, package size and configuration; provisioned concurrency and SnapStart reduce them. Cloud Run can keep minimum instances warm, and Cloudflare Workers start lightweight isolates very quickly.

Talk the decision through with an engineer

Share your constraints — team, traffic, budget, compliance. We'll reply within one business day, and the call is about your decision, not our preferred stack.