# Billing and usage

> Where your licence, seats, AI credits and storage are shown, and what happens when one runs out.

**Dashboard → Licensing & Billing** holds everything personal. Organisation
billing sits on the organisation and needs `license.read`.

## What is on it

| Panel | Shows |
| --- | --- |
| Your licence | Current plan, status, and the switch between monthly and annual |
| AI credits | Balance, or the remaining free allowance |
| Your organisations | Each org you belong to, its licence and its seats |
| Self-service billing | Invoices, payment method and the customer portal |

Prices are shown in the billing currency fixed when you first subscribe.

## Seats

A Teams licence is bought for an organisation, from that organisation's
**Settings → Billing**. The sequence is on
[Setting up an organisation](/foliums/blueprintr-user-guide/teams/setting-up-an-organisation).
It is bought in seats, and the seat count is the subscription quantity.
Changing it is a subscription change. The org's licence panel is the authority
on how many are used.

## AI credits

Paid plans meter AI in **credits**; the free tier meters in
[uses instead](/foliums/blueprintr-user-guide/account/plans). Credits are consumed by
generation, the assistant, and the editor's AI.

> [!IMPORTANT]
> A failed generation still costs. The work was done and paid for upstream
> whether or not you liked the answer, and no refund is issued automatically.
> Budget for a retry.

Credit packs top up separately from the plan and do not expire at the end of a
billing period.

### If a pack is refunded

Refunding a credit-pack charge takes the credits back. How the reversal is
calculated:

> [!FIELDS]
>
> > [!FIELD Cumulative, not per-event|idempotent]
> >
> > The reversal targets how many credits *should* be gone given everything
> > refunded so far, then acts on the difference. A replayed webhook resolves
> > to nothing; a second partial refund reverses only the new slice.
>
> > [!FIELD Monotonic|one-way]
> >
> > The target never decreases, so an out-of-order event can never hand
> > credits back. Restoring credits is an operator decision.
>
> > [!FIELD Floors at zero|no debt]
> >
> > If you already spent below the refunded amount, the balance goes to zero
> > and the shortfall is recorded. You are never carried at a negative
> > balance.

## Storage

Uploads count against the owner's quota: 500 MB free, 5 GB premium, 20 GB per
team or organisation, 100 GB enterprise. A single file is capped at 20 MB and a
single diagram document at 5 MB.

> [!TIP]
> A write that **reduces** your total is never rejected, whatever your quota
> says. If you are blocked, delete something and continue. You do not need the
> limit raised first.

Hitting the 5 MB document ceiling usually means a diagram has grown into
something that wants splitting rather than compressing.
[Files and folders](/foliums/blueprintr-user-guide/blueprints/files-and-folders) lists
what counts toward the total and what does not.
