Stack Cost AI

Serverless And Function As A Servicesmall scale stack.

For each requirement below, pick the option that fits your build — recommended first, then free and cheaper alternatives — or skip what your project doesn't need. Tap the info icon next to any requirement to see why it matters.

FaaS Platform / Compute Runtime

Pricing & free-tier limitsLambda Free: 1M req + 400k GB-sec/mo forever, $0.20/1M req + $0.0000166667/GB-sec after, Prov Conc $0.0000041667/GB-sec. CF Workers Free 100k req/day, Paid $5/mo includes 10M req + $0.50/M after, $0.02/GB-sec wall-clock. Vercel Free 100GB-hrs/mo, Pro $20/mo + $40/100GB-hrs overage, 1000GB-hrs $0.18/GB-hr. Netlify Free 125k req/mo + 100hrs runtime, Pro $19/mo 2M req.

Event Source / Queue

Pricing & free-tier limitsSQS Free 1M req/mo forever, $0.40/M req Standard after ($0.50/M FIFO), first 1GB transfer free $0.09/GB after. CF Queues Free 1M ops/mo, $5/mo includes 10M ops $0.40/M after. QStash Free 500 msgs/day, $10/mo 75k msgs $0.50/M over. Upstash Queue Free 10k msg/day.

Event Bus / Orchestration

Pricing & free-tier limitsEventBridge Free 100k custom events/mo same bus (14M Scheduler free 12mo), $1.00/M events custom after, $0.10/M AWS events, Archive Replay $0.10/100k events, Schema $0.10/M discovered. Inngest Free 100k step runs/mo, $20/mo 500k $0.30/1k over. Cloudflare Event Notifications $5/mo 1M events.

API Gateway for FaaS

Pricing & free-tier limitsAPI GW REST $3.50/M req + $0.09/GB data out, first 1M free 12mo, WebSocket $1.00/M + $0.25/M connection-min. HTTP API $1.00/M req + $0.09/GB out, Free 1M 12mo. Cloudflare API Gateway Free with Workers, Enterprise $20/mo 1M calls incl + $1/M over, rate limiting included. Kong OSS free self-host, Konnect $250/mo.

Object Storage for FaaS Artifacts & State

Pricing & free-tier limitsS3 $0.023/GB-mo first 50TB, $0.0225 next 450TB, PUT $0.005/1k, GET $0.0004/1k, Free 5GB 12mo. R2 Free 10GB storage + 10M Class A + 10M Class B ops/mo forever, $0.015/GB-mo + $4.50/M Class A + $0.36/M Class B after, egress free. B2 $0.006/GB-mo storage $0.005/1k download, free egress via CF.

Secrets Management for FaaS

Pricing & free-tier limitsAWS Secrets $0.40/secret/mo + $0.05/10k API calls, rotation Lambda free, 30-day trial. Doppler Free 5 users, 100 secrets, 100 config syncs, Starter $8/user/mo unlimited secrets $0.50/secret over 1000. Infisical Free 3 env, $20/mo Starter $0.20/secret over. Vault HCP $0.095/hr dev cluster ~$69/mo + Standard $0.30/hr ~$219/mo.

Log Management & Aggregation for FaaS

Pricing & free-tier limitsCloudWatch $0.50/GB ingested (first 5GB free forever), $0.03/GB-mo archive, Insights $0.005/GB scanned, 3-day free Live Tail. Better Stack Free 1GB/mo 3-day retain, $24/mo 10GB 7-day, $0.45/GB over. Axiom Free 500MB/day 30-day, $25/mo 10GB. Datadog $0.10/GB ingested + $1.70/M indexed events + $0.10/GB 15mo rehydrate.

Monitoring & Distributed Tracing for FaaS

Pricing & free-tier limitsX-Ray Free 100k traces/mo recorded + 1M retrieved/mo forever, $5/M traces recorded after + $0.50/M scanned. Lambda Insights $0.02/GB-hr. Grafana Cloud Free 10k metrics series, 50GB logs, 50GB traces, $8/user/mo Pro. Datadog APM $31/host/mo $0.10/GB ingest, Infra $15/host/mo, Serverless $1.70/M invocations enhanced metrics.

Error Tracking for Functions

Pricing & free-tier limitsSentry Free 5k errors/mo, 10k transactions, 50 replays, 1 user. Team $26/mo includes 50k errors $0.00026/error over, 100k transactions. Business $80/mo 100k errors. GlitchTip OSS free self-host or Cloud $12/mo 10k events. Highlight Free 500 errors/mo, $50/mo 10k $0.02/error over.

CI/CD for Function Deployment

Pricing & free-tier limitsGitHub Actions Free 2000 min Linux + 500MB packages + Actions Cache, Pro $4/mo 3000 min $0.008/min after, $0.25/GB storage over. GitLab Free 400 min/mo $0.008/min over shared. AWS CodeBuild $0.005/min Linux 2vCPU, $0.30/GB cache, CodePipeline $1/active pipeline/mo free 1. Depot $50/mo 2x faster.

Infrastructure as Code for FaaS

Pricing & free-tier limitsTerraform CLI OSS free, Terraform Cloud Free 500 resources, Team $20/user/mo + $0.00014/RUM, Plus $35/user. Pulumi OSS free, Team $75/mo 3 members + $10/user over + $0.50/100 credits, Enterprise custom. SAM/CDK free - pay deployed resources only.

Container Registry for Functions

Pricing & free-tier limitsECR $0.10/GB-mo storage, Free 500MB-mo storage 12mo, data transfer $0.09/GB out first 1GB free, scanning $0.01/image basic. GHCR Free 500MB storage + 1GB transfer, Pro $4/mo 2GB + 10GB transfer + $0.25/GB storage over. Docker Hub Free 1 private repo, Pro $5/mo unlimited private + 5k pulls/day.

Edge / CDN for Function Responses

Pricing & free-tier limitsCloudflare Free unmetered CDN, Workers cache $0.50/M cache ops, Pro $20/mo. CloudFront Free 1TB transfer + 10M req 12mo, $0.085/GB first 10TB NA/EU after, $0.0075/10k HTTPS req, $0.02/M Function invocations. Fastly $50/mo min + $0.12/GB NA, Bunny $1/mo min + $0.01/GB.

DNS & Domain Management for APIs

Pricing & free-tier limitsCloudflare DNS Free unlimited queries + free DNSSEC. Route 53 $0.50/zone/mo + $0.40/M standard queries, $0.60/M Geo/ Latency + $0.70/M Resolver. NS1 Free 500k queries + $50/mo 1M $0.50/M over. Cloudflare DNS Enterprise $200/mo custom SLA.

Managed Database for Function State (Serverless DB)

Pricing & free-tier limitsDynamoDB Free 25GB storage + 25 RCU/WCU forever, On-Demand $1.25/M writes $0.25/M reads, storage $0.25/GB-mo, PITR $0.20/GB-mo, Global $1.875/M replicated writes. D1 Free 5GB + 5M rows read/day, $5/mo 100M rows read $0.75/M after, storage $0.75/GB-mo. Turso Free 9GB storage + 500M rows, $29/mo 24GB. PlanetScale Free 5GB + 1B row reads.

Caching Layer for Functions (KV / Redis)

Pricing & free-tier limitsUpstash Redis Free 10k cmds/day 256MB, $0.20/100k cmds + $0.25/GB-mo storage after, Pay $10/mo credits. Workers KV Free 100k reads/day 1GB + 1k writes/day, $5/mo 10M reads + 1M writes + $0.50/M reads over. Momento Free 50GB transfer/mo, $0.50/GB after + $0.70/M req. ElastiCache Serverless $0.125/GB-hr + $0.125/M ECPU, min 1GB.

Message Streaming / Event Streaming Platform

Pricing & free-tier limitsMSK Serverless $0.27/GB ingress & egress + $0.10/GB-mo storage, min 5MB/s. Confluent Standard $0.40/GB ingress + $0.11/GB-mo storage + $0.10/hr CKU, Free $400 trial + 10GB ingress permanent. Redpanda Serverless Free 1k partitions, $1.50/hr baseline. Upstash Kafka Free 10k msgs/day, $10/mo 100k msgs/day $0.30/100k over.

Scheduler / Cron Triggers for Functions

Pricing & free-tier limitsEventBridge Scheduler Free 14M invocations/mo 12mo, $1.00/M invocations after. Workers Cron Free unlimited with Workers Paid, invocation counts as Worker request $0.15/M on Unbound. Trigger.dev Free 5k tasks/mo + cron, $29/mo 25k tasks $0.50/1k over. Cronitor $29/mo 250 jobs $0.15/1k executions over with alerts.

Local Development & Testing Toolkit

Pricing & free-tier limitsLocalStack Community free (S3, Lambda, SQS, API GW mocked), Pro $35/dev/mo 10k API calls + advanced services (Step Functions, MSK), Team $99/dev/mo SSO. Wrangler/SAM/Miniflare free OSS. SST Cloud free solo, $20/mo team seats. Gitpod Free 50hrs/mo, $30/mo 100hrs.

Options and prices come straight from our research sheets for a small scale serverless and function as a service project. Prices are estimates and change often — always confirm on the provider's page before committing.

How this small scale serverless and function as a service checklist works.

Each requirement below is something a small scale serverless and function as a service build typically needs. Pick one of the four researched options — recommended, free, cheaper or paid — add your own with "Other", or skip the requirement if your project doesn't need it. Nothing is mandatory; the plan on the right tracks what you've decided so nothing gets forgotten.

Your picks are saved in this browser automatically, so you can come back anytime. Options are researched per build level and refreshed as vendors change their plans — always verify details on the provider's page before committing.