# billing

> Your organization's billing (owners): the card on file through Stripe Checkout, the free start, Nexus credits and their auto top-up, paying after the fact up to a monthly usage limit, the receipts, an unpaid month and when model calls stop for it, the monthly statements and Stripe's billing portal.

Your organization's billing (owners): the card on file through Stripe Checkout, the free start, Nexus credits and their auto top-up, paying after the fact up to a monthly usage limit, the receipts, an unpaid month and when model calls stop for it, the monthly statements and Stripe's billing portal.

## nexus billing show

```sh
nexus billing show
```

The Stripe mode, the card on file, the free start left, Nexus credits, paying after the fact, Nexus's rate, and an unpaid month with the time model calls stop.

## nexus billing card

```sh
nexus billing card add [--no-browser] [--no-wait]
```

Add or replace the card through Stripe Checkout, then wait until Stripe saves it (up to 10 minutes).

| Option | Meaning |
| --- | --- |
| `--no-browser` | Only print the Stripe Checkout link; do not open a browser |
| `--no-wait` | Print the link and return without waiting for the card |

```sh
nexus billing card add
```

## nexus billing statement

```sh
nexus billing statement [--period YYYY-MM]
```

One month's bill: each charge, the total and what is charged (default: this month so far).

| Option | Meaning |
| --- | --- |
| `--period <YYYY-MM>` | The month, as YYYY-MM in UTC (default: this month so far) |

```sh
nexus billing statement --period 2026-09
nexus billing statements --json
```

## nexus billing statements

```sh
nexus billing statements
```

The closed months, newest first: the total, the invoice's state and its page on Stripe.

```sh
nexus billing statements --json
```

## nexus billing receipts

```sh
nexus billing receipts
nexus billing receipts open <paymentId> [--no-browser]
```

Every payment, newest first: its date, what it paid for, its amount, its status and its id.

- `nexus billing receipts open <paymentId> [--no-browser]`: Open Stripe's receipt of one payment.

| Option | Meaning |
| --- | --- |
| `--no-browser` | Only print the receipt link; do not open a browser |

## nexus billing portal

```sh
nexus billing portal [--no-browser]
```

Open Stripe's billing portal: cards, invoices and tax ids.

| Option | Meaning |
| --- | --- |
| `--no-browser` | Only print the portal link; do not open a browser |

```sh
nexus billing portal
```

## nexus billing confirm

```sh
nexus billing confirm [--no-browser]
```

Confirm a charge the bank wants the cardholder to confirm (3-D Secure) on the bank's page: the same charge, not a new one.

| Option | Meaning |
| --- | --- |
| `--no-browser` | Only print the bank's page; do not open a browser |

## nexus billing credits

```sh
nexus billing credits
nexus billing credits buy <usd> [--payment-token-stdin] [--dry-run] [--no-browser] [--no-wait]
```

Nexus credits: what is left, bought, spent and held. Nexus-run AI spends them after the free start.

- `nexus billing credits buy <usd> [--payment-token-stdin] [--dry-run] [--no-browser] [--no-wait]`: Buy Nexus credits (from $25): a delegated Stripe payment token from stdin, the payment method on file, or Stripe Checkout.

| Option | Meaning |
| --- | --- |
| `--payment-token-stdin` | Read the agent wallet's Stripe shared payment token (spt_) from stdin; no browser or saved card needed |
| `--dry-run` | Say what `credits buy` would charge, and charge nothing |
| `--no-browser` | Only print the Stripe Checkout link; do not open a browser |
| `--no-wait` | Return without waiting for Stripe to take the payment |

```sh
nexus billing credits buy 10
```

## nexus billing auto-topup

```sh
nexus billing auto-topup
nexus billing auto-topup set --below <usd> --add <usd> [--dry-run]
nexus billing auto-topup off [--dry-run]
```

Auto top-up of Nexus credits: on or off, its line, its amount and today's top-ups.

- `nexus billing auto-topup set --below <usd> --add <usd> [--dry-run]`: Turn it on: when credits fall below --below, Nexus adds --add ($25 to $500) with the payment method on file.
- `nexus billing auto-topup off [--dry-run]`: Turn auto top-up off.

| Option | Meaning |
| --- | --- |
| `--below <usd>` | Top up when the credits left fall below this many dollars |
| `--add <usd>` | Dollars one top-up buys, from 10 to 500 |
| `--dry-run` | Say what would change, and change nothing |

```sh
nexus billing auto-topup set --below 10 --add 50
```

## nexus billing after-the-fact

```sh
nexus billing after-the-fact
nexus billing after-the-fact on [--limit <usd>] [--dry-run]
nexus billing after-the-fact off [--dry-run]
nexus billing after-the-fact limit <usd> [--dry-run]
```

Paying after the fact: on or off, the monthly usage limit, what the card was used for this month, what is owed and a failed charge.

- `nexus billing after-the-fact on [--limit <usd>] [--dry-run]`: Turn it on: the card on file pays for Nexus-run AI after the free start and the credits, charged each $25 of unpaid usage, up to the limit a month (default $25).
- `nexus billing after-the-fact off [--dry-run]`: Turn paying after the fact off.
- `nexus billing after-the-fact limit <usd> [--dry-run]`: Set the monthly usage limit; paying after the fact stays on or off as it is.

| Option | Meaning |
| --- | --- |
| `--limit <usd>` | The monthly usage limit in dollars (default 25) |
| `--dry-run` | Say what would change, and change nothing |

```sh
nexus billing after-the-fact on --limit 50
```
