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

# Billing

> You buy credits up front, then each scan draws on them. You pay for the work a scan does, not a flat fee.

Credits are prepaid. You add credits, then you run scans. A scan costs more when
it reviews more code. There is no flat fee per scan.

| What                           | Amount  | Credits |
| ------------------------------ | ------- | ------- |
| Minimum top-up                 | \$20    | 2,000   |
| Maximum top-up                 | \$2,000 | 200,000 |
| Auto-reload threshold, minimum | \$5     | 500     |

After a scan finishes, its charge appears as one entry under **Activity** on the
Billing page.

## Export a statement

Under **Activity**, choose a date range, then select **Export statement**. The
statement opens in a new tab, ready to print or save as a PDF.

<Info>
  **Export statement** stays inactive until you choose a range, because a
  statement needs a period. A very long range is cut short, and the statement
  says so on the page.
</Info>

## Add credits

<Steps>
  <Step title="Open Billing">
    Select **Billing** in the sidebar.
  </Step>

  <Step title="Enter an amount">
    Select **Add credits**, then enter an amount in the Credits field.
  </Step>

  <Step title="Pay">
    Select **Buy credits**. Stripe opens to collect your card.
  </Step>
</Steps>

Your balance updates as soon as the payment clears.

## Auto-reload

Auto-reload adds credits for you before a scan pauses. It needs a card on file.

<Steps>
  <Step title="Save a card">
    If you have no card yet, select **Buy credits** once. This charges at least \$20.
  </Step>

  <Step title="Set the two values">
    Set **When balance drops below**, at least 500 credits. Then set **Bring
    balance up to**, at least 500 credits above it.
  </Step>

  <Step title="Turn it on and save">
    Turn the toggle to **On**, then select **Save**.
  </Step>
</Steps>

To stop auto-reload, turn the same toggle to **Off**.

## If your credits run low

A running scan pauses. It does not fail, and it does not lose finished work.

To finish a paused scan, add credits, open the scan, then select **Resume scan**.

## If a scan does not finish

A scan uses credits as it works. If you cancel it, or if it fails partway, the
credits it already used are not returned.

A large scan can also use more credits than you expect. Auto-reload keeps that
from interrupting your next scan.
