# Billing

If you're on a paid plan your StableBuild bill is made up of three components:

1. Base subscription.
2. Traffic.
3. Storage.

You can see your current base subscription on **Dashboard > Billing**. You can also view all your past invoices here, change your payment method, or cancel your subscription.

#### Traffic

We charge for outgoing traffic (egress). Depending on your base subscription you'll have a certain amount of traffic included every month, any overages will be invoiced during your next billing cycle. You can see your traffic quota, usage, and overage pricing on **Dashboard** under "Usage this billing period".

<figure><img src="/files/Gi3Adn5e9iDkIibNO8PC" alt=""><figcaption><p>Traffic usage summary</p></figcaption></figure>

> **Note:** We count traffic when a download (e.g. a package from the OS repositories, or a layer from the Docker mirror) starts. Canceling a download thus still counts the complete file towards your quota.

To see raw traffic logs, go to **Billing > Raw usage logs**. Here you'll see each individual request, its size towards the traffic quote, and the API key that was used to request the file. If you see unexpected requests, this might be an indication that your API keys have leaked. In that case rotate your keys via **Dashboard > Keys**.

<figure><img src="/files/T6qPrZoc9PZQiSmRhC7i" alt=""><figcaption><p>Raw traffic logs</p></figcaption></figure>

#### Storage

We charge for storage of files in the [File mirror](/en/mirrors-and-caches/file-mirror.md), and for images and blobs in the [Docker mirror](/en/mirrors-and-caches/docker-mirror.md). We do not charge for storage of OS package registries and the PyPI mirror (as these are shared by all users). Depending on your base subscription you'll have a certain amount of storage included, any overages are calculated nightly, and will be invoiced during your next billing cycle. You can see your storage quota, usage, and overage pricing on **Dashboard** under "Usage this billing period".

<figure><img src="/files/BNz2wVTts2jeLd7ITvKZ" alt=""><figcaption><p>Storage usage summary</p></figcaption></figure>

Storage overages are calculated nightly. E.g. using 1GB more than your quota, with overage pricing at $0.05/GB/month will be charged at \~0.00167$ per day.

To see storage usage go to **File mirror > Cached files**, or **Docker mirror > Cached tags**. Each file or Docker image shows the size as counted towards your storage quota.

<figure><img src="/files/1iF0BclnRakWZEez1QtI" alt=""><figcaption><p>Listing files counted against storage quota</p></figcaption></figure>

To determine whether you can safely delete a file, you can use **Billing > Raw usage logs** to see if anyone is still requesting files or Docker images.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://stablebuild.gitbook.io/en/product/billing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
