AWS Lambda vs GCP Cloud Functions: Pricing Comparison (2026)
Updated Apr 6, 2026AWSGCP
Overall Winner
GCP
AWS Wins
1
GCP Wins
4
Ties
0
Pricing Analysis
GCP wins 4 of 5 price comparisons, averaging 44% lower prices in categories where it leads.
Prices range from $0.000600/hr to $2.30/hr across comparable tiers.
Choose AWS
Best for Light API (1M req/mo, 128MB, 100ms) workloads
Choose GCP
Best for Medium API (10M req/mo, 256MB, 200ms) workloads
Side-by-Side Pricing
Comparing AWS Lambda and GCP Cloud Functions across 5 equivalent tiers. On-demand hourly rates are shown in USD for the default region.
Sort by:
Family:
| Category | AWS Lambda | GCP Cloud Functions | Diff | Cheapest |
|---|---|---|---|---|
Light API (1M req/mo, 128MB, 100ms) | $0.0006/hr Lambda 128MB ($0.44/mo) | $0.0009/hr Cloud Functions 128MB ($0.66/mo) | +36.8% | AWS |
Medium API (10M req/mo, 256MB, 200ms) | $0.0142/hr Lambda 256MB ($10.37/mo) | $0.0115/hr Cloud Functions 256MB ($8.39/mo) | +18.8% | GCP |
Heavy API (100M req/mo, 512MB, 150ms) | $0.1986/hr Lambda 512MB ($144.98/mo) | $0.1373/hr Cloud Functions 512MB ($100.23/mo) | +30.9% | GCP |
Data Processor (5M req/mo, 1024MB, 500ms) | $0.0584/hr Lambda 1024MB ($42.63/mo) | $0.0206/hr Cloud Functions 1024MB ($15.04/mo) | +64.7% | GCP |
Heavy Processor (50M req/mo, 2048MB, 1s) | $2.2968/hr Lambda 2048MB ($1,676.66/mo) | $0.7202/hr Cloud Functions 2048MB ($525.75/mo) | +68.6% | GCP |
When to Choose AWS Lambda
- ✓Light API (1M req/mo, 128MB, 100ms) - saves $0.22/mo (36.8% cheaper)
When to Choose GCP Cloud Functions
- ✓Medium API (10M req/mo, 256MB, 200ms) - saves $1.97/mo (18.8% cheaper)
- ✓Heavy API (100M req/mo, 512MB, 150ms) - saves $44.82/mo (30.9% cheaper)
- ✓Data Processor (5M req/mo, 1024MB, 500ms) - saves $27.59/mo (64.7% cheaper)
- ✓Heavy Processor (50M req/mo, 2048MB, 1s) - saves $1,150.92/mo (68.6% cheaper)
Monthly Cost Examples
Light API (1M req/mo, 128MB, 100ms)
AWS Lambda 128MB$0.44/mo
GCP Cloud Functions 128MB$0.66/mo
Heavy API (100M req/mo, 512MB, 150ms)
AWS Lambda 512MB$144.98/mo
GCP Cloud Functions 512MB$100.23/mo
Heavy Processor (50M req/mo, 2048MB, 1s)
AWS Lambda 2048MB$1,676.66/mo
GCP Cloud Functions 2048MB$525.75/mo
Individual Pricing Details
Related Comparisons
AWS EC2 vs Azure Virtual Machines Pricing
Compare AWS EC2 and Azure Virtual Machines pricing side by side
AWS EC2 vs DO Droplets Pricing
Compare AWS EC2 and DO Droplets pricing side by side
AWS EC2 vs GCP Compute Engine Pricing
Compare AWS EC2 and GCP Compute Engine pricing side by side
AWS vs Azure
Overall pricing comparison
AWS vs GCP
Overall pricing comparison
AWS vs DO
Overall pricing comparison
AWS vs Hetzner
Overall pricing comparison
AWS vs Linode
Overall pricing comparison
AWS vs OCI
Overall pricing comparison
AWS vs Vultr
Overall pricing comparison