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
Preview with atmn push, then apply with atmn push --yes.

How volume-based pricing works

Autumn:
  1. Looks at the total volume for the feature
  2. Finds the tier the total falls into
  3. Charges the flat amount for that tier
Volume tiers work on prepaid and usage-based (pay-per-use or allocated) items. On usage-based items, volume bills only usage past the included amount, at the rate of the tier total usage reaches, plus its flat fee; at or below the included amount nothing is charged. On prepaid items, every unit (the included ones too) is charged at the rate of the tier the total lands in, plus its flat amount. Allocated items can’t have a flat amount on the first tier. A plan with volume-priced allocated seats can’t yet be attached to more than one entity on the same customer, because their seats would share one Stripe price. Volume tiers can’t be combined with threshold billing.

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 flatAmount 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) + $50 = $450

Graduated vs volume-based

See Graduated Pricing for the alternative model.