Tools Web

实用计算

AWS Lambda 费用计算

填写每月请求数、内存 MB(默认 512)与平均持续时间毫秒。查看 Always Free 之后的请求费与计算费及合计。MVP 仅覆盖经典事件函数、按量、us-east-1、x86 — 请注意区域/架构声明。仅供估算,以 AWS Lambda 价格页为准。

计算在浏览器完成。不会上传数据。

Monthly total
—

Requests · compute
—

Breakdown
—

Region / architecture disclaimer: MVP models classic Lambda Event Functions, on-demand, US East (N. Virginia), x86 only. Requests: $0.20 / million after Always Free 1M requests/month. Duration: GB-seconds = (memory_MB/1024) × wall seconds; first-tier on-demand x86 $0.0000166667 / GB-second; free 400,000 GB-seconds/month. Smoke A: 15M × 50 ms @ 512 MB → 375,000 GB-s (within free) + 14M × $0.20 = $2.80. Out of scope (footnote): MicroVMs, Web Functions, Managed Instances, Provisioned Concurrency, SnapStart, Durable Functions, Tenant Isolation, ephemeral storage add-on, Lambda@Edge.

Estimates only. Official list prices as of 2026-11-03 (Asia/Shanghai); the provider's pricing page prevails. Source: AWS Lambda pricing

无服务器计算费用对比 · Cloudflare Workers 费用计算 · Vercel Functions 费用计算 · AWS CloudFront 费用计算

怎么用

本计算器使用哪些 Lambda 价格?
经典事件函数、按量、美国东部(北弗吉尼亚)、x86:前 100 万请求免费后每百万 $0.20;前 40 万 GB 秒免费后 $0.0000166667/GB 秒(截至 2026-11-03)。
场景 A(1500 万 × 50 ms @ 512 MB)?
GB 秒 = 15e6 × 0.050 × (512/1024) = 375,000 — 在 40 万免费额度内,计算费 = $0。计费请求 = 1400 万 × $0.20 = $2.80。合计 ≈ $2.80。
GB 秒如何计算?
GB 秒 = (内存_MB / 1024) × 墙钟秒 × 请求数。Lambda 按 1 ms 粒度收取墙钟时间,不同于 Workers 只按 CPU-ms。
哪些不在范围内?
Lambda MicroVMs、Web Functions、Managed Instances、预置并发、SnapStart、Durable Functions、租户隔离、临时存储附加与 Lambda@Edge(不同费率)仅作脚注。
为什么要区域声明?
Lambda 费率因区域与架构(x86 vs arm)而异。本 MVP 固定 us-east-1 x86 目录价(AWS 示例所用),以便算式可核对。