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

# Billing Overview

> How ASG billing works

# Billing Overview

<Warning>
  **⚠️ Mainnet Only** — All payments use **Solana mainnet USDC**. There is no devnet or testnet mode.
</Warning>

ASG uses a simple, transparent billing model: **pay-per-use with instant settlement**.

<Tip>
  **Free tools:** `get_status`, `echo`, and `sandbox_cancel` skip the payment flow entirely — no quote, no 402. Use them to verify your setup before depositing funds.
</Tip>

## The Model

```mermaid theme={null}
flowchart LR
    Quote[Get Quote] --> Pay[Pay USDC]
    Pay --> Execute[Execute]
    Execute --> Receipt[Get Receipt]
```

## Key Principles

### 1. Prepaid Only

All usage is prepaid. You pay for a Quote, then execute. No credit lines, no invoices.

### 2. Micro-USD Precision

All amounts are in **microusd** — 1/1,000,000 of a USD:

* \$1.00 = 1,000,000 microusd
* \$0.01 = 10,000 microusd
* \$0.000001 = 1 microusd

### 3. Instant Settlement

Payments settle on Solana in \~400ms. No waiting.

### 4. Exact Pricing

You pay exactly the quoted amount. The quote tells you the price before execution — no surprises.

## Flow Example

| Step           | What Happens            | Amount            |
| :------------- | :---------------------- | :---------------- |
| 1. **Quote**   | Request tool, get price | Quote: \$0.0024   |
| 2. **Pay**     | Send USDC on Solana     | Paid: \$0.0024    |
| 3. **Execute** | Tool runs               | —                 |
| 4. **Receipt** | Get proof of work       | Debited: \$0.0024 |

## Billing Terms

| Term        | Definition                |
| :---------- | :------------------------ |
| **Quote**   | Price commitment with TTL |
| **Payment** | USDC transfer on Solana   |
| **Receipt** | Proof of completed work   |

## Next Steps

<CardGroup cols={2}>
  <Card title="Pricing" icon="tag" href="/billing/pricing">
    Detailed rates for all services
  </Card>

  <Card title="Gasless" icon="gas-pump" href="/billing/gasless">
    How we cover transaction fees
  </Card>

  <Card title="Receipts" icon="receipt" href="/billing/receipts">
    Understanding receipts
  </Card>
</CardGroup>
