> ## Documentation Index
> Fetch the complete documentation index at: https://getlago.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Compare pricing models and check which ones support your billing configuration.

A pricing model defines how a Rate calculates an amount. Choose the model that matches your pricing, then configure it with `rate_model` and `rate_properties`.

## Model comparison

| Rate model | `rate_model` | How it prices | Main `rate_properties` |
| - | - | - | - |
| [Standard](https://getlago.com/docs/v2/guide/rate-cards/pricing-models/standard.md) | `standard` | One unit price for every unit | `amount` |
| [Graduated](https://getlago.com/docs/v2/guide/rate-cards/pricing-models/graduated.md) | `graduated` | Each tier prices its own slice of the quantity | `graduated_ranges` |
| [Volume](https://getlago.com/docs/v2/guide/rate-cards/pricing-models/volume.md) | `volume` | The total quantity picks one tier for all units | `volume_ranges` |
| [Package](https://getlago.com/docs/v2/guide/rate-cards/pricing-models/package.md) | `package` | A fixed amount per bundle of units | `amount`, `package_size` |
| [Percentage](https://getlago.com/docs/v2/guide/rate-cards/pricing-models/percentage.md) | `percentage` | A percentage of a measured monetary amount | `rate`, `fixed_amount` |
| [Graduated percentage](https://getlago.com/docs/v2/guide/rate-cards/pricing-models/graduated-percentage.md) | `graduated_percentage` | Percentage tiers on a measured monetary amount | `graduated_percentage_ranges` |
| [Dynamic](https://getlago.com/docs/v2/guide/rate-cards/pricing-models/dynamic.md) | `dynamic` | The amount comes from each event's `precise_total_amount_cents` | None |

Tiered models share one tier shape, `RateTierInput`: `to_value` (upper bound, decimal string, `null` on the last open-ended tier), `per_unit_amount`, `flat_amount` and `rate`. Upper bounds must increase. Do not send `from_value`.

## Model availability

Availability depends on the Product type, metric aggregation, `recurring` setting, proration and billing timing. Select the billing timing below. ✅ means available and ❌ means unavailable. "n/a" means the row has no separate proration setting.

### Metered products

> [tab] Arrears
>
> | Aggregation | `recurring` | Proration | Standard | Graduated | Volume | Package | Percentage | Graduated percentage | Dynamic |
> | - | - | - | - | - | - | - | - | - | - |
> | Count | `false` | n/a | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
> | Count unique | `false` | n/a | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
> | Count unique | `true` | Full (`false`) | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
> | Count unique | `true` | Prorated (`true`) | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ |
> | Latest | `false` | n/a | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ |
> | Max | `false` | n/a | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
> | Sum | `false` | n/a | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
> | Sum | `true` | Full (`false`) | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
> | Sum | `true` | Prorated (`true`) | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ |
> | Weighted sum | `false` | n/a | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
> | Weighted sum | `true` | Full (`false`) | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
> | Weighted sum | `true` | Prorated (`true`) | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |

> [tab] Advance
>
> | Aggregation | `recurring` | Proration | Standard | Graduated | Volume | Package | Percentage | Graduated percentage | Dynamic |
> | - | - | - | - | - | - | - | - | - | - |
> | Count | `false` | n/a | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ | ❌ |
> | Count unique | `false` | n/a | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ | ❌ |
> | Count unique | `true` | Full (`false`) | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ | ❌ |
> | Count unique | `true` | Prorated (`true`) | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
> | Latest | `false` | n/a | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
> | Max | `false` | n/a | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
> | Sum | `false` | n/a | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ |
> | Sum | `true` | Full (`false`) | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ |
> | Sum | `true` | Prorated (`true`) | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
> | Weighted sum | `false` | n/a | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
> | Weighted sum | `true` | Full (`false`) | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
> | Weighted sum | `true` | Prorated (`true`) | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |

Aggregation is the billable metric's `aggregation_type`: `count_agg`, `unique_count_agg`, `latest_agg`, `max_agg`, `sum_agg`, `weighted_sum_agg`. Proration is the rate card's `proration`.

### Fixed products

Fixed products use configured quantities. They have no billable metric and no `recurring` setting.

> [tab] Arrears
>
> | Proration | Standard | Graduated | Volume | Package | Percentage | Graduated percentage | Dynamic |
> | - | - | - | - | - | - | - | - |
> | Full (`false`) | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ |
> | Prorated (`true`) | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ |

> [tab] Advance
>
> | Proration | Standard | Graduated | Volume | Package | Percentage | Graduated percentage | Dynamic |
> | - | - | - | - | - | - | - | - |
> | Full (`false`) | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
> | Prorated (`true`) | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |

Fixed Products support `standard`, `graduated` and `volume`. `volume` is never billed in advance. `dynamic` requires a Sum metric.

### Related options

| Option | Field | Availability |
| - | - | - |
| Spending minimum | Rate `min_amount_cents` | Arrears only. Unavailable with advance billing. See [spending minimums](https://getlago.com/docs/v2/guide/rate-cards/spending-minimums.md). |
| Display on invoice | Rate card `display_on_invoice` | Listed for advance billing. |
| Regroup paid fees | Rate card `regroup_paid_fees` | Only for hidden advance fees (`display_on_invoice: false`). |

## Compare graduated and volume pricing

Consider 250 units with these prices: 1 USD per unit up to 100 units, 0.50 USD per unit up to 200, and 0.10 USD per unit above 200. This example has no flat fees.

* Graduated pricing applies each tier's price to the units in that tier: 100 × 1 + 100 × 0.50 + 50 × 0.10 = 155 USD.
* Volume pricing uses the tier reached by the total quantity: all 250 units cost 0.10 USD each, for a total of 25 USD.

Choose Standard for one unit price, Graduated for a separate price per tier, Volume for one price based on total quantity, or Package for bundles. Check the availability tables before configuring the Rate.

To change the pricing model on an active Rate, create a new Rate with a later `effective_from`. Pending Rates remain editable. See [Rates](https://getlago.com/docs/v2/guide/rate-cards/rates.md).

> [card] [Standard](https://getlago.com/docs/v2/guide/rate-cards/pricing-models/standard.md)
>
> One unit price.

> [card] [Graduated](https://getlago.com/docs/v2/guide/rate-cards/pricing-models/graduated.md)
>
> Tiered unit prices.

> [card] [Rates](https://getlago.com/docs/v2/guide/rate-cards/rates.md)
>
> Where the rate model is set.

> [card] [Create a rate](https://getlago.com/docs/v2/api-reference/rates/create.md)
>
> `POST /rate_cards/{rate_card_code}/rates`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.