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

# Billing

> Review funds, prices, usage, credits, and invoices

## Check the account

```bash theme={null}
mthr billing summary
```

The summary shows the current cost estimate, credit balance, and latest
invoice.

Before creating compute, inspect the active prices and minimum charges:

```bash theme={null}
mthr billing catalog
```

The catalog is the authority for unit prices and minimum billable time.

## Check readiness

```bash theme={null}
mthr billing account
```

The account view (alias `mthr billing funds`) reports your prepaid funds —
available, held, and spendable, where spendable equals available minus held —
and whether compute admission is `allowed` or `blocked`. Held funds cover live
compute; each create holds up to the next minimum charge. When admission is
blocked, the `Blocking` line names the reason.

Use `mthr billing portal open` to add a payment method or billing address, and
`mthr billing fund` to add prepaid funds.

## Add funds

```bash theme={null}
mthr billing fund --amount 25
```

`--amount` is in US dollars; the server accepts $10 to $10,000. The command
shows the charge and asks you to confirm; pass `-y` to skip the prompt in
automation. You can also add funds from Billing in the Mount Thor portal.

Spendable funds must cover a create's hold before compute is admitted. Confirm
the balance with `mthr billing account`.

## Review usage and cost

```bash theme={null}
mthr billing usage --period 7d
mthr billing costs --period 2026-06
```

Usage accepts `24h`, `7d`, or `month`. Costs accepts `current` or a closed
month in `YYYY-MM` format.

Current-period costs are estimates. Closed invoices are the official total.

## Review credits

```bash theme={null}
mthr billing credits
```

Credits and prepaid funds contribute to the balance used for compute admission.

## Review invoices

```bash theme={null}
mthr billing invoices
mthr billing invoice INVOICE_ID
```

Use an ID from the invoice list. Invoice detail includes finality, totals, and
hosted invoice links.

## Export billing data

```bash theme={null}
mthr billing export --period 2026-06 > billing-2026-06.csv
```

Usage rows in the export remain estimates. `invoice_summary` rows contain
official invoice totals.

## Manage payment details

```bash theme={null}
mthr billing portal open
```

The hosted portal manages billing addresses and payment methods.
