Comparison

Updated October 25, 2026

· ~2 min read

AWS Lambda vs Knative vs OpenFaaS: Serverless on AWS or on Your Own Kubernetes?

AWS Lambda
Knative
OpenFaaS
Serverless
Kubernetes

Lambda made "serverless" mean no servers at all: you pay per request and per millisecond, $0.20 per million requests plus compute by GB-second, and AWS runs everything underneath, scaling from zero to thousands of concurrent executions. Knative and OpenFaaS bring the same developer experience (deploy a container or function, scale to zero, scale on requests) to a Kubernetes cluster you run.

The difference is what "serverless" leaves you responsible for.

At a glance

AWS Lambda

Knative

OpenFaaS

What you run

Nothing

A Kubernetes cluster plus Knative

A Kubernetes cluster (or faasd) plus OpenFaaS

Cost model

Per request and GB-second

Cluster capacity, idle or not

Cluster capacity, idle or not

Limits

15-minute runs, memory up to 10 GB

Your cluster

Your cluster

Cold starts

Managed, with SnapStart and provisioned concurrency

Scale-from-zero latency you tune

Scale-from-zero latency you tune

Portability

AWS

Any Kubernetes

Any Kubernetes or a single VM

The point most comparisons miss

Scale to zero on Kubernetes scales your pods to zero, not your bill: the nodes underneath still run unless the cluster autoscaler removes them, and the control plane always does. Lambda's economics come from AWS pooling capacity across every customer. If a workload is idle most of the time, nothing self-hosted competes with that; if it is busy all the time, a container on Fargate or a node you already pay for usually beats both.

Which should you use?

Question 1 of 1

Do you already run Kubernetes that this must live on?

Our verdict

On AWS, use Lambda for event-driven and spiky work — it is cheaper than anything you can run at low and moderate volume, needs no cluster, and integrates natively with SQS, EventBridge, S3, API Gateway and DynamoDB. Use ECS on Fargate rather than Knative when you outgrow Lambda's limits but want to stay managed. Choose Knative only when you already run Kubernetes and want scale-to-zero services that run the same way on any cluster; OpenFaaS for a simpler functions platform on Kubernetes or at the edge.

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 Cost Optimization & FinOps Sprint

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

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

Move to serverless where it pays

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.