Skip to main content
Volume-based pricing uses tiers to determine a single flat charge based on the total usage volume. Unlike graduated pricing, where each tier has its own rate, volume-based pricing charges a single flat amount based on which tier the total usage falls into.
Example
A data platform charges:
  • 0–1,000 records: $100 flat
  • 1,001–10,000 records: $500 flat
  • 10,001+: $1,000 flat
A customer who processes 15,000 records falls into the 10,001+ tier and pays a flat $1,000 Compare this to graduated pricing, where each tier is charged separately and summed together

Setting up

Use the tiers array with tierBehavior: 'volume' on a plan item price:
autumn.config.ts
Push changes with atmn push.

How volume-based pricing works

At the end of the billing period, Autumn:
  1. Looks at the total usage for the feature
  2. Finds the tier the total falls into
  3. Charges the flat amount for that tier

Tier configuration

Each tier has the following fields:
Tiers must be in ascending order by to. The final tier should use "inf".

Combining flat and per-unit amounts

Each tier can include both flat_amount and amount — a fixed fee plus a per-unit charge when that tier is the matching tier. This is useful for combining a base fee with per-unit volume pricing.
A customer with 5,000 records would pay: (5,000 × 0.08)+0.08) + 50 = $450

Graduated vs volume-based

See Graduated Pricing for the alternative model.