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 Push changes with
tiers array with tierBehavior: 'volume' on a plan item price:autumn.config.ts
atmn push.How volume-based pricing works
At the end of the billing period, Autumn:- Looks at the total usage for the feature
- Finds the tier the total falls into
- Charges the flat amount for that tier
| Total usage | Matching tier | Charge |
|---|---|---|
| 500 | 0–1,000 | $100 |
| 5,000 | 1,001–10,000 | $500 |
| 15,000 | 10,001+ | $1,000 |
Tier configuration
Each tier has the following fields:| Field | Type | Description |
|---|---|---|
to | number or "inf" | The upper boundary of this tier |
flat_amount | number | Flat fee charged when total usage falls in this tier |
amount | number | Optional per-unit price applied to the total usage when this tier is the matching tier |
Tiers must be in ascending order by
to. The final tier should use "inf".Combining flat and per-unit amounts
Each tier can include bothflat_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.
Graduated vs volume-based
| Graduated | Volume-based | |
|---|---|---|
| Rate applied | Each tier at its own rate | Single flat amount for the matching tier |
| Total charge | Sum of each tier’s charge | Flat amount of the matching tier |
| Best for | Rewarding growth with lower marginal rates | Simpler pricing with volume discounts |

