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

# Credit and billing

> How prepaid credit works and what happens when it runs out.

Qai Platform is prepaid. Requests are charged by the tokens they use, and the cost comes off your credit as you go.

## See your balance

The **Billing** page shows your current balance and what you have spent this month. **Observability** shows your remaining credit too, with an estimate of how long it lasts at your current rate. Credit never expires.

## When credit runs out

Once your balance reaches zero, requests to open-weight models are refused with HTTP `429` and the error code `budget_exceeded`:

```json theme={null}
{
  "error": {
    "type": "rate_limit_error",
    "code": "budget_exceeded",
    "message": "budget exceeded"
  }
}
```

Requests work again as soon as credit is added; your keys do not need to change. Requests that were already running when the balance ran out can take it slightly below zero.

## Add credit

Credit is added by the Qai team. Ask in the [Qai Discord](https://discord.gg/T34HuPHMRa). Card payments and automatic top-ups are not available yet.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.