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

# Choose a pricing model

> Ledger prices allowances, credits, AI usage in dollars, seats, licenses, tiers, storage, trials, top-ups and any currency. Five decisions map your pricing page to the patterns.

Ledger bills almost any usage-based pricing page from one catalog, and the patterns combine on a single plan. Find each line of your pricing page below, then answer five questions to put it together.

## Every pattern

| Pattern | What it prices |
| - | - |
| [Metered allowances](https://docs.integrateledger.com/pricing/metered.md) | An allowance per feature each period, such as 500 messages a month, or unlimited |
| [Credits](https://docs.integrateledger.com/pricing/credits.md) | One shared pool, with a cost in credits per action, flat or [falling with use](https://docs.integrateledger.com/pricing/tiers.md) |
| [AI usage in dollars](https://docs.integrateledger.com/pricing/ai-credits.md) | Model calls priced from their tokens at each model's rates, plus your markup |
| [Prepaid dollar balance](https://docs.integrateledger.com/pricing/dollar-balance.md) | Usage at cost in dollars, down to fractions of a cent, on a plan or prepaid alone |
| [Overage](https://docs.integrateledger.com/pricing/overage.md) | Usage past the allowance, billed on the next invoice, up to a monthly cap, with [variants](https://docs.integrateledger.com/pricing/overage.md#overage-controls) that stop at the balance, give free units or record without billing |
| [Pay as you go](https://docs.integrateledger.com/pricing/pay-as-you-go.md) | A \$0 plan that bills every use |
| [Usage limits](https://docs.integrateledger.com/pricing/usage-limits.md) | A cap on use per day, week or month, on a feature, a model or the credit pool |
| [Usage alerts](https://docs.integrateledger.com/pricing/usage-alerts.md) | A webhook when a customer crosses a share of their allowance or a usage limit |
| [Free plans](https://docs.integrateledger.com/pricing/free-plans.md) | A monthly allowance from signup, without Stripe |
| [Free trials](https://docs.integrateledger.com/pricing/trials.md) | A paid plan free for a number of days, with or without a card |
| [Per-seat pricing](https://docs.integrateledger.com/pricing/per-seat.md) | A price per seat, prorated when the count changes |
| [Seat licenses](https://docs.integrateledger.com/pricing/seat-licenses.md) | Seats of another plan sold inside a plan, each seat with its own allowances |
| [Tiered pricing](https://docs.integrateledger.com/pricing/tiers.md) | Seat, overage or credit-cost prices in graduated or volume bands |
| [Limits](https://docs.integrateledger.com/pricing/limits.md) | A cap on how many of something a customer holds, such as projects |
| [Feature flags](https://docs.integrateledger.com/pricing/feature-flags.md) | A feature on for some plans and off for others, such as SSO |
| [Annual plans](https://docs.integrateledger.com/pricing/annual.md) | Billed yearly, granted monthly or yearly, with overage each month |
| [Lifetime plans](https://docs.integrateledger.com/pricing/lifetime.md) | Paid once, with credits and allowances kept for good |
| [Storage](https://docs.integrateledger.com/pricing/storage.md) | A held amount billed by GB-month, in arrears |
| [Prices in other currencies](https://docs.integrateledger.com/pricing/currencies.md) | A catalog, a plan or a pack in euros, pounds or yen, or one plan priced in several currencies |
| [Rollover](https://docs.integrateledger.com/pricing/rollover.md) | Unused credits or units carried into the next period, up to a maximum |
| [Top-ups and auto top-ups](https://docs.integrateledger.com/pricing/top-ups.md) | Credits for any amount, bought automatically with the saved card when the balance runs low |
| [Credit packs](https://docs.integrateledger.com/pricing/credit-packs.md) | A fixed number of credits, bought once, never expiring |
| [Recurring add-ons](https://docs.integrateledger.com/pricing/add-ons.md) | Extra credits or allowance every month, on the plan's invoice |
| [Prepaid quantity](https://docs.integrateledger.com/pricing/prepaid-quantity.md) | Credits or units priced in prepaid packs above the included amount |
| [Plan groups](https://docs.integrateledger.com/pricing/plan-groups.md) | Several product lines per customer, each with its own tiers, on one invoice |
| [Entity plans](https://docs.integrateledger.com/pricing/entity-plans.md) | A plan for each workspace, project or user inside a customer, on the customer's invoice |
| [Discounts and promotion codes](https://docs.integrateledger.com/billing/discounts.md) | Coupons such as 20% off for three months, redeemed with codes like `LAUNCH20` |
| [Grant codes](https://docs.integrateledger.com/billing/discounts.md#grant-codes) | A code that grants credits or units, such as 500 free credits with `WELCOME` |
| [Referral programs](https://docs.integrateledger.com/billing/referrals.md) | Rewards for the referrer and the friend, at signup or first payment |
| [Past-due grace](https://docs.integrateledger.com/billing/renewals-and-lifecycle.md#ignore-past-due) | Overage and renewal grants kept for your best customers while Stripe retries a payment |
| [Custom plans per customer](https://docs.integrateledger.com/billing/custom-plans.md) | One customer's negotiated price, credits or items over a plan |
| [Plan versions](https://docs.integrateledger.com/billing/plan-versions.md) | New terms for new customers, while subscribers keep theirs, and moves of subscribers onto new terms |
| [Renames and variants](https://docs.integrateledger.com/concepts/plans-and-items.md#rename-a-plan) | A plan's new ID with the old one kept as an alias, a new name in place, and [price-test variants](https://docs.integrateledger.com/concepts/plans-and-items.md#test-a-price-with-a-variant) |
| [Entities](https://docs.integrateledger.com/customers/entities.md) | A credit allowance or cap for each user, seat, agent or workspace inside a customer |
| [Accounts](https://docs.integrateledger.com/customers/accounts.md) | Customers that are one business, grouped and shown together |
| [Reservations](https://docs.integrateledger.com/customers/reservations.md) | Credits or units held before expensive work, settled at the real cost |
| [Check and track](https://docs.integrateledger.com/customers/check-and-track.md) | Every action gated and recorded in real time: `check` under 25 ms and `track` under 100 ms at p99 ([Limits](https://docs.integrateledger.com/limits.md)) |

## Five decisions

Your catalog has **features**, the things customers use, and **plans**, what they buy. Each feature has one of five types: `credits`, `metered`, `held`, `boolean` or `ai_tokens` ([Features](https://docs.integrateledger.com/concepts/features.md)). Each plan lists **items**, what it includes of each feature ([Plans and items](https://docs.integrateledger.com/concepts/plans-and-items.md)). Answer these five questions before you write the catalog. Each answer names a pattern page with a complete catalog.

## 1. One shared credit pool, or an allowance per feature

* **An allowance per feature** ("500 messages and 50 exports a month"): make each action a `metered` feature and give each plan an item with `included`. Each feature has its own balance and resets each period. See [Metered allowances](https://docs.integrateledger.com/pricing/metered.md).
* **One shared pool** ("1,000 credits a month; an image costs 4"): make each action a `credits` feature with a `creditCost`, and give plans `monthlyCredits`. Every action draws on one balance, so you can price an expensive action higher without a new plan. See [Credits](https://docs.integrateledger.com/pricing/credits.md).

You can mix them: metered messages and credit-priced images on the same plan.

## 2. A hard limit, or overage

* **A hard limit**: leave overage out. When the allowance runs out, `check` answers `allowed: false` and you offer an upgrade, a [credit pack](https://docs.integrateledger.com/pricing/credit-packs.md) or a [top-up](https://docs.integrateledger.com/pricing/top-ups.md).
* **Overage**: give the plan or the item an overage price. Uses past the allowance are billed on the next invoice, up to one cap. See [Overage](https://docs.integrateledger.com/pricing/overage.md).
* **Nothing included, every use billed**: a \$0 plan with overage only. See [Pay as you go](https://docs.integrateledger.com/pricing/pay-as-you-go.md).
* **A pace on top**: cap any window inside the allowance ("never more than 200 a day") with a [usage limit](https://docs.integrateledger.com/pricing/usage-limits.md), and hear when customers near it with a [usage alert](https://docs.integrateledger.com/pricing/usage-alerts.md).

## 3. Per seat, or flat

* **Flat**: the plan's `priceCents` is the whole price.
* **Per seat**: make seats a `held` feature and give its item a `price`. The plan then bills each period for the seats held, prorated when the count changes. See [Per-seat pricing](https://docs.integrateledger.com/pricing/per-seat.md), and [Tiered pricing](https://docs.integrateledger.com/pricing/tiers.md) for prices that fall with volume.
* **A cap on a count, no price** ("3 projects on Free"): a `held` item with `included`. See [Limits](https://docs.integrateledger.com/pricing/limits.md).
* **Billed by what was held over the month** ("25 cents a GB-month"): a `held` item with a `measured` price. See [Storage billed by GB-month](https://docs.integrateledger.com/pricing/storage.md).
* **On or off** ("SSO on Business"): a `boolean` feature. See [Feature flags](https://docs.integrateledger.com/pricing/feature-flags.md).

## 4. Monthly or annual

Plans bill monthly unless you set `billingInterval: "year"`. An annual plan is its own plan, beside the monthly one, and still grants its allowance every month unless you set `resetInterval: "year"`. See [Annual plans](https://docs.integrateledger.com/pricing/annual.md).

## 5. Recurring or one-off

* **Recurring**: every plan above. It renews until cancelled.
* **Paid once, kept for good**: a plan with `billingInterval: "one_off"`. Its credits and allowances never expire. See [Lifetime plans](https://docs.integrateledger.com/pricing/lifetime.md).
* **A one-time top-up beside a plan**: a [credit pack](https://docs.integrateledger.com/pricing/credit-packs.md), or a [top-up](https://docs.integrateledger.com/pricing/top-ups.md) of any amount.
* **Extra credits or allowance every period, beside a plan**: a [recurring add-on](https://docs.integrateledger.com/pricing/add-ons.md), billed on the plan's invoice.

## From your pricing page to a pattern

| Your pricing page says | Use |
| - | - |
| "Free: 50 messages a month" | A \$0 plan with a metered item. [Free plans](https://docs.integrateledger.com/pricing/free-plans.md) |
| "Pro: 500 messages a month" | A metered item with `included: 500`. [Metered allowances](https://docs.integrateledger.com/pricing/metered.md) |
| "Unlimited messages on Business" | A metered item with `unlimited: true`. [Metered allowances](https://docs.integrateledger.com/pricing/metered.md#unlimited) |
| "500 messages, then 1 cent each" | A metered item with `overageUnitAmountCents`. [Overage](https://docs.integrateledger.com/pricing/overage.md) |
| "No monthly fee, 5 cents an image" | A \$0 plan with `included: 0` and an overage price. [Pay as you go](https://docs.integrateledger.com/pricing/pay-as-you-go.md) |
| "1,000 credits a month; an HD image costs 4" | `credits` features and `monthlyCredits`. [Credits](https://docs.integrateledger.com/pricing/credits.md) |
| "Need more? Buy 500 credits for \$10" | A credit pack. [Credit packs](https://docs.integrateledger.com/pricing/credit-packs.md) |
| "Pro, plus 10,000 extra credits for \$20 a month" | A plan with `addOn: true`, attached beside Pro. [Recurring add-ons](https://docs.integrateledger.com/pricing/add-ons.md) |
| "Cancel the SSO add-on any time" | Cancel the add-on item. [Recurring add-ons](https://docs.integrateledger.com/pricing/add-ons.md#cancel-an-add-on) |
| "Editor Pro and Campaigns Starter, one invoice" | A `group` per product line. [Plan groups](https://docs.integrateledger.com/pricing/plan-groups.md) |
| "Workspace Pro: \$20 a month per workspace" | A plan attached with `entityId`. [Entity plans](https://docs.integrateledger.com/pricing/entity-plans.md) |
| "Add any amount from \$5" | `topUps` bounds. [Top-ups](https://docs.integrateledger.com/pricing/top-ups.md) |
| "Unused credits roll over, up to 500" | `rollover` on the plan. [Rollover](https://docs.integrateledger.com/pricing/rollover.md) |
| "Tops up automatically when you run low" | An `autoTopUp` on the plan or the customer. [Auto top-ups](https://docs.integrateledger.com/pricing/top-ups.md#auto-top-up-per-customer) |
| "1,000 messages a month, at most 200 a day" | A metered item and a `usageLimits` entry. [Usage limits](https://docs.integrateledger.com/pricing/usage-limits.md) |
| "We'll email you at 80% of your credits" | A `usage_percentage` alert. [Usage alerts](https://docs.integrateledger.com/pricing/usage-alerts.md) |
| "Enterprise: custom pricing" | A `customOnly` plan attached with `customize`. [Custom plans](https://docs.integrateledger.com/billing/custom-plans.md) |
| "Up to 3 projects" | A held item with `included: 3`. [Limits](https://docs.integrateledger.com/pricing/limits.md) |
| "SSO and audit log on Business" | Boolean items. [Feature flags](https://docs.integrateledger.com/pricing/feature-flags.md) |
| "$49 a month with 3 seats, then $10 a seat" | A held item with a `price`. [Per-seat pricing](https://docs.integrateledger.com/pricing/per-seat.md) |
| "$5 a seat for the first 10, $4 after" | A seat price with `tiers`. [Tiered pricing](https://docs.integrateledger.com/pricing/tiers.md) |
| "Team: $20, then $40 a seat, 100 summaries each" | A plan with `licenses`, seats assigned to entities. [Seat licenses](https://docs.integrateledger.com/pricing/seat-licenses.md) |
| "Images cost 2 credits, 1 after 1,000 a month" | `creditCostTiers` on the feature. [Credits](https://docs.integrateledger.com/pricing/credits.md#cheaper-at-volume) |
| "More at \$10 per 1,000 credits" | `prepaid` on the plan or a metered item. [Prepaid quantity](https://docs.integrateledger.com/pricing/prepaid-quantity.md) |
| "€27 a month in Europe" | `currencyOptions` on the plan, attach with `currency`. [Prices in other currencies](https://docs.integrateledger.com/pricing/currencies.md) |
| "$290 a year, or $29 a month" | A second plan with `billingInterval: "year"`. [Annual plans](https://docs.integrateledger.com/pricing/annual.md) |
| "14 days free, then \$29 a month" | A `trial` on the plan, with or without a card. [Free trials](https://docs.integrateledger.com/pricing/trials.md) |
| "20% off the first 3 months" | A reward with a `repeating` coupon and a promotion code. [Discounts and promotion codes](https://docs.integrateledger.com/billing/discounts.md) |
| "Lifetime deal: \$499 once" | A plan with `billingInterval: "one_off"`. [Lifetime plans](https://docs.integrateledger.com/pricing/lifetime.md) |
| "Model calls at list price plus 20%" | An `ai_tokens` feature with `markupPercent`. [AI usage in dollars](https://docs.integrateledger.com/pricing/ai-credits.md) |
| "Each teammate gets 200 credits a month" | An entity per member with `allowanceCredits`. [Entities](https://docs.integrateledger.com/customers/entities.md) |
| "\$10 of usage, billed at cost per request" | Credits worth a fraction of a dollar. [Prepaid dollar balance](https://docs.integrateledger.com/pricing/dollar-balance.md) |
| "Parse: $10 per 1,000 pages, $5 free to start" | A feature per product and a \$0 plan. [Per-unit API](https://docs.integrateledger.com/pricing/recipes/per-unit-api.md) |
| "Pro: $20 a month with $20 of usage, then at cost up to your limit" | A dollar balance with overage, seats and entities. [AI coding tool](https://docs.integrateledger.com/pricing/recipes/ai-coding-tool.md) |
| "1,000 free credits, then pay as you go" | Signup credits, then a \$0 plan with overage. [Free credits, then pay as you go](https://docs.integrateledger.com/pricing/recipes/free-credits-then-pay-as-you-go.md) |
| "\$20 a seat, 500 credits per member" | A seat price plus an entity per member. [Seats with credits](https://docs.integrateledger.com/pricing/recipes/seats-with-credits.md) |
| "10 GB free, then 25 cents a GB-month" | A held item with a `measured` price. [Storage](https://docs.integrateledger.com/pricing/storage.md) |
| "Up to 10 concurrent sessions" | A held feature kept in step with `count`. [Concurrent sessions](https://docs.integrateledger.com/pricing/recipes/concurrency.md) |

## Several plans

A customer holds one base plan per [group](https://docs.integrateledger.com/pricing/plan-groups.md), plus any [recurring add-ons](https://docs.integrateledger.com/pricing/add-ons.md) beside it, and each of its [entities](https://docs.integrateledger.com/pricing/entity-plans.md) can hold plans of its own. List each group's plans on the billing page sorted by price: the pricier ones are upgrades, the cheaper ones downgrades. [Upgrades and downgrades](https://docs.integrateledger.com/billing/upgrades-and-downgrades.md) covers moving between them.

Changing a plan's terms publishes a new plan version, and current subscribers keep theirs. See [Plan versions](https://docs.integrateledger.com/billing/plan-versions.md).

## Publish

Write the catalog in `ledger.config.ts` or `ledger.catalog.json`, then review and publish it:

```bash theme={"system"}
npx integrateledger-cli diff        # what would change
npx integrateledger-cli push --yes  # publish it
```

The push validates the whole catalog before it publishes anything and reports every problem with its path, such as `plans.1.items.0.included`, so only a fully valid catalog goes live. [CLI](https://docs.integrateledger.com/cli.md) has every command.


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