Example
A data platform charges: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
- 0–1,000 records: $100 flat
- 1,001–10,000 records: $500 flat
- 10,001+: $1,000 flat
Setting up
- CLI
- Dashboard
Use the Preview with
tiers array with tierBehavior: 'volume' on a plan item price:autumn.config.ts
atmn push, then apply with atmn push --yes.How volume-based pricing works
Autumn:- Looks at the total volume for the feature
- Finds the tier the total falls into
- 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 bothflatAmount 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.
Graduated vs volume-based
See Graduated Pricing for the alternative model.