Skip to main content
Volume pricing uses the total quantity to select one tier. That tier’s unit price applies to every unit, and its flat fee is added once.

How it works

The total quantity for the billing period selects one tier. That tier’s per_unit_amount applies to all units, and its flat_amount is added once. The last tier has to_value: null and is open-ended. Volume is billed in arrears only.

Availability

  • Billing timing: arrears only, for every product type.
  • Fixed Products: available, with or without proration.
  • Metered Products: available for every aggregation except Weighted sum with recurring: true and proration.
See the availability matrix.

Configure the rate

Set rate_model to volume and describe the tiers in rate_properties.volume_ranges. Each tier uses these fields: Do not send from_value. The Rate Card must use billing_timing: "arrears".

Example

This example prices 65,000 API calls over one full monthly billing period in USD, with no proration or spending minimum. Each unit is one API call: With 65,000 calls in the billing period, the total falls in tier 3: The calculated fee for these 65,000 API calls is 49 USD before tax. With graduated tiers instead, the same 65,000 calls would be split across tiers 1 to 3.

Check the result

Check the total quantity and the tier it selects. Multiply all units by that tier’s unit price, then add its flat fee once. Use Contract current usage to inspect provisional values. See Rates to check which Rate applies.

Graduated

Each tier prices its own slice.

Rate cards

Set billing_timing.

Create a rate

POST /rate_cards/{rate_card_code}/rates

Pricing models

Compare every rate model.