Serverless Functions Pricing: Examples & Companies

6 companies in the corpus Updated partial analysis
Definition

Serverless Functions Pricing is Pricing for serverless function platforms, billed per invocation plus compute time consumed.

Also known as: FaaS PricingLambda-Style Pricing

What is it

Serverless functions pricing is pricing for serverless function platforms, billed per invocation plus compute time consumed.

The defining trait is that it is two-dimensional. A platform charges once for how often a function runs (the invocation count) and again for what each run consumes (compute time plus memory). With no provisioned server, an idle function costs nothing — you pay only when code executes. This is the “Function-as-a-Service” (FaaS) or Lambda-style model, and five companies in the UsagePricing corpus build their billing around it: Vercel, Modal, Upstash, Trigger.dev, and Pipedream.

The variable that actually moves the bill is the unit of compute time. Some platforms bill wall-clock duration — the entire span a function is alive, including time spent waiting on a database or upstream API. Others bill only active CPU time and treat I/O wait as free. On an I/O-heavy workload the difference can be 5–10x on the identical code, which is why Vercel’s 2025 switch from wall-clock to Active CPU billing was the category’s most consequential pricing move.

Same function — four ways to meter its compute time
Everyone bills per invocation — the compute unit swings the bill WALL-CLOCK I/O billed whole time alive wait time counts ACTIVE CPU −90% Vercel · I/O free $0.128/CPU-hr PER SECOND by the sec Modal · CPU+GPU $0.0000131/core-s CREDIT 1 = 30s Pipedream 30s @ 256MB ← BILLS IDLE / I/O WAIT BILLS ACTIVE WORK ONLY →

How it works

A serverless function bill is built from a small set of metered dimensions, summed after an included free quota. The dimensions and how each company on this page rates them:

DimensionWhat it metersExample on this page
InvocationsCount of times the function ranVercel $0.60 per million invocations (1M included on Hobby and Pro); Trigger.dev $0.000025 per run ($0.25 per 10,000 runs)
Compute timeCPU-active (or wall-clock) execution timeVercel Active CPU $0.128/CPU-hour; Modal CPU $0.0000131/core/sec; Trigger.dev $0.0000169–$0.00068/sec by machine size
MemoryRAM reserved while the function runsVercel $0.0106/GB-hour; Modal $0.00000222/GiB/sec
GPU timeAccelerator seconds for AI workloadsModal H100 at $0.001097/sec (~$3.95/hr), A100 80GB at $0.000694/sec, T4 at $0.000164/sec
Per-operation (data)Each request to a managed datastoreUpstash Redis $0.20/100K commands; QStash $1/100K messages; Vector $0.40/100K requests
Credit-metered computeA credit that maps to run duration × memoryPipedream: 1 credit = 30 seconds of workflow compute at 256MB of memory

The compute-time unit (charted above) is the pivotal choice, but the same rate card still resolves to a concrete number. Two worked examples show how the summed dimensions land:

Unit math (Vercel Pro): Function cost = (invocations − 1M) × $0.60/M + (Active CPU-hours × $0.128) + (memory GB-hours × $0.0106), drawn against the $20 monthly usage credit before metered overage begins.

Unit math (Modal): A lightweight function using 1 vCPU and 4 GiB for 60 seconds costs about $0.0008 — 60 × ($0.0000131 + 4 × $0.00000222) — because CPU and memory both bill per second, so seconds of work cost cents, not a rounded-up hour.

Upstash extends the same logic past compute: it meters the operation against a managed datastore — commands, messages, workflow steps, vector queries — so a function’s database scales to zero on the identical per-use basis. Steady workloads on any of the five can escape metering entirely for a flat plan (Upstash Fixed plans from $10/month, Modal’s $250/month Team tier) that trades per-unit cost for predictability.


Companies using this

Five companies in the corpus tag serverless functions as a primary use case, each approaching the model from a different workload: Vercel (functions inside its frontend cloud), Modal (Python-native compute for GPU and batch jobs), Upstash (serverless data billed per operation), Trigger.dev (background jobs billed per compute-second plus a per-run fee), and Pipedream (workflow automation on credit-metered compute). The table below lists each with its pricing model, billing units, and free-tier status.


Patterns observed

Scale-to-zero is the shared floor: idle functions cost nothing, and the bill accumulates only during execution. What differs is how finely a vendor slices the active time. Trigger.dev prices per second by machine size ($0.0000169–$0.00068/sec), so a short job on a small machine and a long job on a large one land on the same continuous curve rather than a step function — the closest any of these five comes to charging purely for the work done.

The free tiers here are among the most generous in the corpus, reflecting a developer-led, product-led motion where prototypes run free and convert once the app ships. Vercel’s Hobby tier bundles 1M invocations, 4 Active CPU hours, and 360 GB-hours of memory monthly; Modal’s Starter gives $30/month in compute credits (up to $10,000 for qualifying startups); Upstash offers a $0 tier on every one of its five products; Trigger.dev bundles $5/month of credits; and Pipedream’s Free plan includes 100 credits per month.


Counterexamples & variants

Upstash is the category’s most distinct variant: it applies serverless billing not to function execution but to data operations — the resource metered is a managed data store, not application code, yet the principle (pay per operation, zero idle cost) is identical. That symmetry is the point: Vercel functions and Upstash data compose a fully serverless stack where every layer scales to zero on the same logic.

Pipedream shows where the per-invocation-plus-compute model gets abstracted away. Rather than exposing raw invocation and CPU-second meters, it sells a hybrid subscription (Basic $29/mo, Advanced $49/mo, Connect $99/mo on annual billing) whose credits represent compute, layering a bundled AI-token allowance (1M–50M tokens/mo) on top. The buyer is a no-code automation builder, not an engineer wiring up GPU inference, so the billing deliberately hides the machine-level dimensions that matter to Modal’s customers.


What this means for buyers vs vendors

For buyers

Ask one question first: does the platform bill Active CPU or wall-clock time? On an I/O-bound workload — most web-API and LLM-proxy functions — the answer alone decides whether you overpay severalfold for the same code. Then profile your real traffic against the free-tier ceilings before you standardize, because these tiers are sized for prototyping and saturate fast once a production app is live; a bill that is free in a demo can jump the moment traffic is real. The introduction to usage-based pricing and choosing the right usage metric both cover how to read a function-level meter before you commit.

For vendors

Serverless billing fits any platform where customers run code in response to events — webhooks, API requests, scheduled jobs, inference calls. The one design decision that matters is compute-time denomination, and each option is a different bet: Active CPU aligns the bill with genuine work and reads as a customer-friendly innovation; per-second machine rates read as transparent; a credit abstraction trades precision for a simpler mental model. Pick the one that matches who signs the invoice. Then keep a free tier large enough for real prototyping, not toy examples — it is the PLG on-ramp the whole category runs on. The usage-based pricing implementation guide covers designing the metering pipeline underneath.


Company Product Pricing modelBilling unitsFree tier Verified
ModalServerless compute and GPU platform — per-second billing for Python functions, batch jobs, and model servingYes2026-05-29
NetlifyWeb development & deployment platform (Agent Runners / AI)Yes2026-07-06
PipedreamWorkflow automation and integration platform for developersYes2026-06-16
Trigger.devBackground jobs and workflow orchestration for developersYes2026-06-16
UpstashUpstash (Redis, Vector, QStash, Search, Workflow)Yes2026-06-03
VercelFrontend cloud platformYes2026-07-06

Explore this theme in the knowledge graph

FAQ

What is serverless functions pricing?

Serverless functions pricing is the billing structure for platforms that run code on demand without a provisioned server. It is two-dimensional: a charge per invocation (how many times the function ran) plus a charge for the resources each run consumed — compute time and memory — so you pay nothing while the function is idle.

What is the difference between wall-clock and Active CPU billing?

Wall-clock billing charges for the entire duration a function is alive, including time spent waiting on a database or API. Active CPU billing charges only for milliseconds the CPU is actually working and treats I/O wait as free. Vercel switched to Active CPU in June 2025 and reports up to 90% savings on I/O-heavy workloads, so the choice of metric can swing a bill 5–10x.

How is a serverless function bill calculated?

The bill sums invocations and resource consumption: (invocations × per-invocation rate) + (compute-time × time rate) + (memory × GB-time rate), usually after an included free quota. Vercel's Pro plan charges $0.60 per million invocations, $0.128 per Active CPU-hour, and $0.0106 per GB-hour of provisioned memory.

Which serverless function platforms have a free tier?

All five companies on this page do. Vercel's Hobby tier is free with 1M invocations and 4 Active CPU hours per month, Modal's Starter tier is free with $30/month in compute credits, Upstash gives every product a per-request free tier, Trigger.dev's Free plan bundles $5/month in credits, and Pipedream's Free plan includes 100 credits per month.

How does Modal's per-second billing compare to per-hour GPU pricing?

Modal prices every resource per second rather than per hour, so an idle or short-lived container is far cheaper than on per-hour clouds. Its H100 rate is $0.001097/sec (about $3.95/hour), and because billing tracks active use, a function that runs for seconds pays for seconds — not a rounded-up hour.

Related use cases

Back to companies