> For the complete documentation index, see [llms.txt](https://docs.ionos.com/cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/cloud/ai/ai-model-hub/dcd-how-tos/track-cost-and-usage.md).

# Track Cost and Usage

View AI Model Hub token and image usage and monthly cost in the Data Center Designer, and export usage as a CSV file.

The **Cost & usage** tab of the <code class="expression">space.vars.ionos\_cloud\_ai\_model\_hub</code> in the Data Center Designer (DCD) shows how many tokens and images your contract has consumed and what that consumption costs. A token is a small unit of text, roughly a word or part of a word. This guide explains how to select a period, read the usage and cost charts, and export the data as a comma-separated values (CSV) file.

## Prerequisites

* A user account that has the **Access and manage AI Model Hub** privilege. For more information, see [<mark style="color:blue;">Get Started with AI Model Hub in the DCD</mark>](https://docs.ionos.com/cloud/ai/ai-model-hub/dcd-how-tos/get-started.md#prerequisites).
* Permission to view the billing data of the contract. Without it, the tab shows an error instead of the data. For who can view cost data in the DCD, see [<mark style="color:blue;">How can I monitor the costs incurred through usage of the AI Model Hub?</mark>](https://docs.ionos.com/cloud/ai/ai-model-hub/faqs.md#how-can-i-monitor-the-costs-incurred-through-usage-of-the-ai-model-hub)

## Open the Cost & usage tab

1. In the **DCD**, go to **AI** > **AI Model Hub**.
2. Select the **Cost & usage** tab.

![The Cost & usage tab with the viewing period controls and the Daily and Monthly toggle](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-e303e81b9bcf2affb113d55e653f38638c718901%2Fai-model-hub-dcd-usage.png?alt=media)

{% hint style="info" %}
**Note:** The tab combines the usage of your whole contract. It does not break usage down by API token. For the cost of all your <code class="expression">space.vars.ionos\_cloud</code> services, see [<mark style="color:blue;">Cost and Usage</mark>](https://docs.ionos.com/cloud/set-up-ionos-cloud/management/usage/cost-and-usage.md).
{% endhint %}

## Select a viewing period

Use **Viewing period** at the top of the tab to select the month that you want to review:

1. Select the arrows to move to the previous or next month.

   Alternatively, select a **year** and a **month** from the lists.

The charts and tables update for the selected month.

The current month is the latest period that you can select.

## Review usage

The **Usage** section shows how much of each model you used in the selected month.

* **Tokens** chart: Shows input tokens and output tokens as stacked bars.
  * Select **Daily** (default) to view one bar for each day of the month.
  * Select **Monthly** to see the last six months, ending with the selected month.
* **All models** list: Select a model to show only its usage in the chart. If you select an image generation model, the chart shows the number of images instead of tokens. The tables always list all models.
* **Month total per model** table: Lists **Input tokens**, **Output tokens**, and **Images** for each model, with a **Total** row.

## Review cost

The **Cost** section shows the cost of the usage in the currency of your contract.

* **Per month** chart: Shows the cost of the last six months, ending with the selected month.
* **Month total per model** table: Lists **Input cost**, **Output cost**, **Image cost**, and **Total** for each model.

A note at the start of the **Cost** section tells you how reliable the figures are:

| Month                                          | What the figures are                           |
| ---------------------------------------------- | ---------------------------------------------- |
| The current month                              | Estimates. They change as usage accrues.       |
| A month that has ended but is not invoiced yet | Estimates until the invoice is issued.         |
| An invoiced month                              | The amount billed for your AI Model Hub usage. |

In the chart, lighter bars mark months that are estimates.

![The Cost section with the note about the figures and the hint about estimated months](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-86557fad197a404f4d1e13360354748cb5bbe783%2Fai-model-hub-dcd-usage-cost.png?alt=media)

To project the cost of a model before you use it, open the cost estimator from the **Models** tab. For more information, see [<mark style="color:blue;">Estimate the cost of a model</mark>](https://docs.ionos.com/cloud/ai/ai-model-hub/dcd-how-tos/browse-model-catalog.md#estimate-the-cost-of-a-model).

{% hint style="info" %}
**Note:** Prices and costs shown in the AI Model Hub are estimates. They exclude taxes, credits, and other terms that may apply to your contract. Your invoice is the authoritative record of your charges.
{% endhint %}

## Export usage as a CSV file

1. Select the month that you want to export.
2. Select **CSV** next to the **Viewing period** controls.

The DCD downloads a file named `amh-usage-<YYYY-MM>.csv`, for example `amh-usage-2026-10.csv`, where `amh` stands for AI Model Hub. The file has one row for each model with the columns **Model**, **Input tokens**, **Output tokens**, **Images**, and **Est. cost**. The cost column header includes the currency, for example `Est. cost (EUR)`.

The **CSV** button is only available when the selected month has usage.

{% hint style="success" %}
**Result:** You can view the AI Model Hub usage and cost of your contract for each month.
{% endhint %}

## Troubleshooting

| Message                                                                                                     | What to do                                                                          |
| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
| **No usage recorded for this period.**                                                                      | You did not use any model in the selected month. Select another month.              |
| **You don't have permission to view this data. Contact your administrator if you think this is a mistake.** | Your user cannot read the billing data of the contract. Contact your administrator. |
| **Your session has expired. Please sign in again and retry.**                                               | Log in to the DCD again.                                                            |

## Next steps

* [<mark style="color:blue;">Browse the Model Catalog</mark>](https://docs.ionos.com/cloud/ai/ai-model-hub/dcd-how-tos/browse-model-catalog.md) to compare prices and estimate costs.
* [<mark style="color:blue;">Use the Playground</mark>](https://docs.ionos.com/cloud/ai/ai-model-hub/dcd-how-tos/use-playground.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ionos.com/cloud/ai/ai-model-hub/dcd-how-tos/track-cost-and-usage.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
