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

# Billing Summary

> Return wallet balance, total lifetime spend, and last-30-day GPU and token usage.

Check your current wallet balance, total settled spend, and aggregated usage over the last 30 days. Admin users who call this with an empty user scope receive an aggregate view across all users.

## Endpoint

**GET** `/v1/billing/summary`

Authentication: `Authorization: Bearer $ARIA_PIN_KEY`

## Response

<ResponseField name="user_id" type="string">
  The user ID, or empty for an admin aggregate view.
</ResponseField>

<ResponseField name="balance" type="number">
  Current wallet balance in the configured currency.
</ResponseField>

<ResponseField name="currency" type="string">
  billing currency (for example, `USD`).
</ResponseField>

<ResponseField name="total_spent" type="number">
  Total settled spend across all billing records.
</ResponseField>

<ResponseField name="usage_30d" type="object">
  GPU and token usage for the last 30 days.

  <Expandable>
    <ResponseField name="gpu_seconds" type="number">
      Total GPU seconds consumed.
    </ResponseField>

    <ResponseField name="tokens" type="integer">
      Total tokens processed.
    </ResponseField>
  </Expandable>
</ResponseField>

## Example

```bash theme={null}
curl http://<pin-host>:8001/v1/billing/summary \
  -H "Authorization: Bearer $ARIA_PIN_KEY"
```

```json theme={null}
{
  "user_id": "usr_abc",
  "balance": 124.5,
  "currency": "USD",
  "total_spent": 75.5,
  "usage_30d": {
    "gpu_seconds": 3600.0,
    "tokens": 5000000
  }
}
```


## Related topics

- [Aria Compute PIN API: Post-Training & Evaluation](/api-reference/pin/introduction.md)
- [Billing Usage](/api-reference/pin/billing/usage.md)
- [Prepaid wallet, top-ups, and usage billing](/concepts/wallet-billing.md)
- [OAuth and Serve Account Linking for Router](/api-reference/router/auth/oauth.md)
- [List Evaluations](/api-reference/pin/evaluations/list.md)
