---
title: "Choose a pricing model"
description: "A free plan, plans with monthly and yearly prices in one currency or several, prepaid credits, plans that grant credits, usage beyond the plan and gifts: what each model is good for, and how the catalog expresses it."
canonical_url: "https://nuxt-backend.dev/docs/build/billing/pricing-models"
---
# Choose a pricing model

> A free plan, plans with monthly and yearly prices in one currency or several, prepaid credits, plans that grant credits, usage beyond the plan and gifts: what each model is good for, and how the catalog expresses it.

Version: nuxt-backend 0.6.x · Tab: Build · Kind: concept · Status: stable

Every page: [llms.txt](https://nuxt-backend.dev/llms.txt) · Skill for coding agents: [nuxt-backend](https://nuxt-backend.dev/.well-known/skills/nuxt-backend/SKILL.md)

Commands use npm; use your project's package manager.

- [Try it live in the playground](https://nuxt-backend.dev/playground/pricing)
- [API reference](https://nuxt-backend.dev/docs/reference/api/billing)
- [Source](https://github.com/qruto/nuxt-backend/blob/main/src/convex/catalog.ts)

Decide how your product charges before you write the catalog: for access, for what people use, or for both. Every model below is a shape of the same file, `backend/billing.catalog.ts`, pushed with `npx nuxt-backend billing sync`.

- **Polar does natively:** subscriptions with trials, one-time products, meters and meter-credit benefits granted each cycle, metered prices with a cap, prices in many currencies, and tax as the merchant of record (checked on 2026-10-25).
- **The package adds:** the catalog as code, a free plan every workspace starts on, gates and quotas your functions enforce, and spends that reserve before they charge.

Pick the shape that matches how your product creates value, then [declare it](https://nuxt-backend.dev/docs/build/billing/catalog#declare).

## The model

<table>
<thead>
  <tr>
    <th>
      Model
    </th>
    
    <th>
      You charge for
    </th>
    
    <th>
      Catalog shape
    </th>
    
    <th>
      Good for
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <a href="#plans">
        Plans
      </a>
    </td>
    
    <td>
      Access, for as long as it is paid
    </td>
    
    <td>
      <code>
        plans.<key>.prices
      </code>
    </td>
    
    <td>
      Features people use every day
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="#prepaid-credits">
        Prepaid credits
      </a>
    </td>
    
    <td>
      Use, paid up front
    </td>
    
    <td>
      <code>
        meters
      </code>
      
       and <code>
        packs
      </code>
    </td>
    
    <td>
      AI generations, renders, exports
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="#plans-that-grant-credits">
        Plans that grant credits
      </a>
    </td>
    
    <td>
      Access plus an allowance
    </td>
    
    <td>
      <code>
        plans.<key>.credits
      </code>
    </td>
    
    <td>
      A comic-strip maker like Panels: a plan with 500 credits a month
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="#usage-beyond-the-plan">
        Usage beyond the plan
      </a>
    </td>
    
    <td>
      Use past the allowance, invoiced after
    </td>
    
    <td>
      <code>
        plans.<key>.usage
      </code>
    </td>
    
    <td>
      Work that can't stop at zero
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="#the-free-plan">
        The free plan
      </a>
    </td>
    
    <td>
      Nothing yet
    </td>
    
    <td>
      <code>
        prices: { month: 0 }
      </code>
    </td>
    
    <td>
      A new workspace that tries before it pays
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="#gifts">
        Gifts
      </a>
    </td>
    
    <td>
      A pack, or a plan, for someone else
    </td>
    
    <td>
      <code>
        packs
      </code>
      
      , and plan passes
    </td>
    
    <td>
      Word of mouth
    </td>
  </tr>
</tbody>
</table>

## Plans

A plan is a subscription: access to features for as long as it is paid. Give it a price per interval it is sold at, and each becomes a product of its own at the provider:

```ts [backend/billing.catalog.ts]
plans: {
  pro: { name: 'Pro', prices: { month: 2900, year: 29000 }, features: ['priority_support'] },
}
```

- **Monthly and yearly.** A yearly price below twelve monthly ones is a discount for commitment. The pricing page shows a monthly / yearly switch whenever a plan has both, and says what the year saves ("Save 16%"), computed from the two live prices and rounded down. A subscriber switches between them like between plans: to the yearly price at once, with the Polar organization's proration setting deciding what is charged now, and back to the monthly one when the paid year ends.
- **Trials.** `trial: { interval: 'day', count: 14 }` opens either price with a free trial the provider runs: it collects the card, sends the reminder and charges at the end. Turn on trial-abuse prevention in the provider (doctor warns until you do). A reverse trial, where a new workspace gets the paid plan without a card and falls back to free, runs on [plan passes](https://nuxt-backend.dev/docs/build/growth/offers/plan-passes).
- **Retiring a plan.** A plan you stop selling keeps its subscribers: mark it `retired: true` and the sync archives its products. Nobody new buys it or switches to it; everyone on it keeps it, renews on it, and can leave it. See [Retire a plan](https://nuxt-backend.dev/docs/build/billing/catalog#retire-a-plan).

## Prepaid credits

Credits suit products whose cost follows use: AI calls, renders, exports. A customer buys a pack once and spends it down; nothing is charged after the fact.

```ts [backend/billing.catalog.ts]
meters: { credits: {} },
packs: {
  credits100: { name: '100 credits', price: 1000, credits: { meter: 'credits', units: 100 } },
  credits500: { name: '500 credits', price: 4000, credits: { meter: 'credits', units: 500 } },
},
```

Bigger packs carry more units for the price. The pricing page shows each pack's price per credit, how much less that is than the costliest pack on the same meter ("20% less per credit") and marks the one cheapest as the best value: all computed from the live products, never from the catalog file, and never a promotion that is not real. Pack credits roll over by default; a pack whose credits lapse is left out of the comparison, and the sync warns about it. Your functions spend with `spendCredits`, or reserve, run and settle so a failed run costs nothing ([Spend credits in your functions](https://nuxt-backend.dev/docs/build/billing/credits/spending)).

## Plans that grant credits

A plan can carry an allowance, granted every billing cycle:

```ts [backend/billing.catalog.ts]
plans: {
  pro: { name: 'Pro', prices: { month: 2900, year: 29000 }, credits: { meter: 'credits', units: 500 } },
},
```

`units` is the monthly allowance: the yearly price grants twelve times it, once a year, so the monthly card reads "500 credits / month" and the yearly one "6,000 credits / year". Set each cycle yourself with `units: { month: 500, year: 5000 }`. Plan credits do not roll over by default: what a month does not use lapses with it. Packs top the same meter up, and those credits keep.

<note>

A yearly price grants the whole year's credits at its start. So a switch from a yearly price to a monthly one never happens mid-year: `changePlan` and the pricing page's "Switch to monthly billing" schedule it for the paid year's end, whatever the proration setting, and it reads back as `useBilling().pendingChange`. A customer cannot pay for a year, spend its credits, and take most of the price back.

A yearly plan can grant its credits every month instead, on Polar's meter cycle ([Grant credits every month on a yearly plan](https://nuxt-backend.dev/docs/build/billing/credits#grant-credits-every-month-on-a-yearly-plan)).

</note>

## Usage beyond the plan

`usage` adds a metered price on top of a plan: the customer pays for what they used past the allowance, invoiced at the end of each cycle, with an optional cap.

```ts [backend/billing.catalog.ts]
plans: {
  pro: { name: 'Pro', prices: { month: 2900 }, credits: { meter: 'credits', units: 500 }, usage: [{ meter: 'credits', unitAmount: 5, cap: 5000 }] },
},
```

Spends then pass `allowOverage: true` to go past the balance ([Spend credits in your functions](https://nuxt-backend.dev/docs/build/billing/credits/spending)). [Charge for usage beyond the plan](https://nuxt-backend.dev/docs/build/billing/subscriptions/overage) puts it together.

## The free plan

A plan priced `{ month: 0 }` is the free plan: a real subscription at the provider that every workspace the sign-in and workspace routes make starts on (call `billing.startFreePlan(ctx, id)`, or run the backfill, for one your own code writes), so what it includes is granted like a paid plan's, every month.

```ts [backend/billing.catalog.ts]
plans: {
  free: { name: 'Free', prices: { month: 0 }, credits: { meter: 'credits', units: 20 }, quotas: { projects: 1 } },
},
```

- **Credits and quotas for everyone.** Give the free plan a monthly allowance and a quota, and a new workspace can try the metered features without buying anything; the paid plans raise both.
- **An upgrade, not a second plan.** Checking out a paid plan upgrades the free subscription in place, with the plan's trial; when a paid plan ends, the workspace is back on the free plan.
- **Without one.** A catalog with no free plan leaves a new workspace without a subscription: `useBilling().isFree` is `true`, and `useFeatures()` grants nothing. Gate the paid features, and the free tier is what is left.

See [The free plan](https://nuxt-backend.dev/docs/build/billing/catalog#the-free-plan) for how it starts, and how existing workspaces join it.

## Prices in several currencies

Price a plan or a pack per currency (`prices: { usd: { month: 2900 }, eur: { month: 2700 } }`) and every visitor sees and pays the price in their own, at the provider's native price in it, on the same product and the same subscription. Set the amount per currency yourself, round numbers included: nothing is converted at a rate. See [Currencies](https://nuxt-backend.dev/docs/build/billing/catalog#currencies).

## Gifts

A customer buys a pack for someone else by email; the recipient signs in and claims it into their own account. The purchaser pays and gets the receipt. See [Send and receive gifts](https://nuxt-backend.dev/docs/build/growth/offers/gifts). A plan can be gifted too, as a [plan pass](https://nuxt-backend.dev/docs/build/growth/offers/plan-passes): a free workspace gets the plan for 1, 3 or 12 months, with no card and no renewal.

## Workspaces, users and add-ons

By default the active workspace pays: its members share one plan and one credit balance. Set `billTo: 'user'` to bill each person instead ([Bill users instead of workspaces](https://nuxt-backend.dev/docs/build/billing/setup#bill-each-person)). With `multipleSubscriptions`, one entity can hold several subscriptions at once. There are no per-seat prices: a subscription belongs to the workspace or the user as a whole. See [Who pays](https://nuxt-backend.dev/docs/build/billing/setup#who-pays).

## Why it works this way

Polar is the merchant of record, so it holds the money, the tax and the ledger. The catalog describes what Polar should sell, and the package keeps no balance or order of its own. That is why code never rewrites a price a customer holds: the customer agreed to it at Polar's checkout, and Polar locks a subscription to the price it started with (checked on 2026-10-25). Credits follow the same rule. They are units on Polar's meters, granted by benefits, so the portal, the invoice and your functions read one number.

## What it is not

- **Not per seat.** A plan never counts people. Polar's seat-based pricing is in beta, and the catalog leaves it out ([Roadmap](https://nuxt-backend.dev/docs/start/roadmap)).
- **Not a wallet.** Credits are units of service on a meter, never money, and they are never paid out or transferred.
- **Not auto top-up.** A balance grows when someone buys a pack. The app never charges a card on its own.
- **Not a hidden price test.** A price test runs through a disclosed discount cohort ([Run an experiment](https://nuxt-backend.dev/docs/build/growth/measure/experiments)).

## What this means for you

- Start with the model your costs follow: plans for access, packs for consumption, a plan with an allowance when both matter, and a free plan when a new workspace should get something before it pays.
- Offer a yearly price beside a monthly one when you want commitment; the pricing page handles the switch and the saving.
- Never delete a plan someone holds: retire it.
- Credits, trials and prices shown to customers are always the provider's live ones. A new plan, pack or price, and a changed trial, follow the catalog on the next sync. A price or a credit grant on a product that exists already is never rewritten: the sync reports it as drift, and you change it in the provider dashboard (the page follows within seconds) or publish it under a new key.


## Sitemap

See the full [sitemap](https://nuxt-backend.dev/sitemap.md) for all pages.
