Serverless Compute Cost Comparison
Compare the same monthly request volume across Cloudflare Workers Paid, AWS Lambda Event (us-east-1 x86) and Vercel Fluid. Scenario A (default): 15M req — Workers ~$8, Lambda ~$2.80, Vercel iad1 ~$16.54. Scenario B (I/O-heavy) shows Workers' CPU-billing advantage when waiting on DB/API. Estimates only; provider pages prevail.
計算在瀏覽器完成。不會上傳數據。
| Provider | Subscription | Requests / inv | Compute | Total / mo | Math |
|---|
—
Scenario A (API-ish default): 15M requests — Workers 7 ms CPU → ~$8; Lambda 50 ms @ 512 MB → ~$2.80 (free-tier compute); Vercel Fluid iad1 10 ms active + 1 GB + 50 ms alive → ~$16.54. Scenario B (I/O-heavy): same 15M; Lambda 200 ms @ 1024 MB; Vercel 5 ms active / 200 ms alive — shows Workers' CPU-billing advantage when waiting on DB/API (Lambda wall-clock and Vercel provisioned memory keep charging). Narrative: Workers = request + CPU-ms (+ $5 floor); Lambda = request + GB-s wall time (+ free tier); Vercel Fluid = active CPU + provisioned memory + invocations. Static-asset heavy → Workers wins hard (assets free). Deep AWS event integrations → Lambda still fits. Next.js on Vercel → Fluid is the default path — compare before assuming “free on Hobby.” Soft-link: CDN pack and object-storage pack for the storage → CDN → functions funnel. Soft-link Workers AI calculator — inference tokens ≠ Workers request/CPU (different product).
Estimates only. Official list prices as of 2026-11-03 (Asia/Shanghai); provider pages prevail. Sources: Workers · Lambda · Vercel Fluid
Cloudflare Workers Cost Calculator · AWS Lambda Cost Calculator · Vercel Functions Cost Calculator · Serverless Postgres Cost Comparison · CDN Bandwidth Cost Comparison · Object Storage Cost Comparison · CI/CD Cost Comparison
同組工具
- Cloudflare Workers Cost Calculator Workers Paid requests + CPU-ms → monthly $.
- AWS Lambda Cost Calculator Lambda Event us-east-1 x86 requests + GB-s → monthly $.
- Vercel Functions Cost Calculator Vercel Fluid CPU + memory + invocations → monthly $.
- Serverless Postgres Cost Comparison Neon vs Supabase vs PlanetScale Postgres monthly $.
- Redis / Cache Cost Comparison Upstash vs ElastiCache vs Cloudflare KV monthly $.
- CDN Bandwidth Cost Comparison Bunny vs Cloudflare vs CloudFront vs Fastly monthly CDN $.
- Object Storage Cost Comparison R2 vs S3 vs B2 storage + egress monthly bill.
- Cloudflare Workers AI Cost Calculator Workers AI tokens + Neurons footnote.
怎麼用
- 數據會上傳嗎?
- 不會。這些計算和二維碼都在你的瀏覽器裏完成。
- 这些 AI 价格会变吗?
- 会。厂商常改公开价。可编辑每百万单价或方案字段,预算前请对照官网定价页。
- 使用数据会上传吗?
- 不会。Token 与订阅计算都在浏览器完成,不会发到服务器。