All patterns
Snapshot from AWS Lambda
Verified on 2026-03-09
Pay As You Go API
1M free requests and 400,000 GB-seconds each month.
After the free tier, the public page prices requests separately from GB-second compute usage.
Lambda is a classic infrastructure usage model: no commit required, two billable meters, and a generous free tier to smooth adoption.
Implementation
This snippet is the closest Owostack implementation of the live pricing shape above. It is not a literal copy of the vendor's internal billing system.
const requests = metered("requests", {
name: "Requests",
});
plan("api", {
name: "API",
price: 0,
currency: "USD",
interval: "monthly",
features: [
requests.config({
usageModel: "usage_based",
pricePerUnit: 20,
billingUnits: 100,
reset: "monthly",
}),
],
});Rules
Requests and compute are billed separately after the free tier.
The public rate is published per GB-second for compute.
The code sample focuses on one meter, but the live product prices two meters.