Skip to content
NewNexus 2.0 is here, and it’s open source. Read the launch post

CLI reference

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.

View as Markdown

nexus billing show

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

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).

OptionMeaning
--no-browserOnly print the Stripe Checkout link; do not open a browser
--no-waitPrint the link and return without waiting for the card
Examples
nexus billing card add

nexus billing statement

nexus billing statement [--period YYYY-MM]

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

OptionMeaning
--period <YYYY-MM>The month, as YYYY-MM in UTC (default: this month so far)
Examples
nexus billing statement --period 2026-09
nexus billing statements --json

nexus billing statements

nexus billing statements

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

Examples
nexus billing statements --json

nexus billing receipts

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.
OptionMeaning
--no-browserOnly print the receipt link; do not open a browser

nexus billing portal

nexus billing portal [--no-browser]

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

OptionMeaning
--no-browserOnly print the portal link; do not open a browser
Examples
nexus billing portal

nexus billing confirm

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.

OptionMeaning
--no-browserOnly print the bank's page; do not open a browser

nexus billing credits

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.
OptionMeaning
--payment-token-stdinRead the agent wallet's Stripe shared payment token (spt_) from stdin; no browser or saved card needed
--dry-runSay what credits buy would charge, and charge nothing
--no-browserOnly print the Stripe Checkout link; do not open a browser
--no-waitReturn without waiting for Stripe to take the payment
Examples
nexus billing credits buy 10

nexus billing auto-topup

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.
OptionMeaning
--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-runSay what would change, and change nothing
Examples
nexus billing auto-topup set --below 10 --add 50

nexus billing after-the-fact

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.
OptionMeaning
--limit <usd>The monthly usage limit in dollars (default 25)
--dry-runSay what would change, and change nothing
Examples
nexus billing after-the-fact on --limit 50

Generated from the CLI's own command list (nexus help --json), version 0.45.0. nexus help and nexus <command> --help always show your installed version.