> For the complete documentation index, see [llms.txt](https://docs.apismart.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apismart.ai/api-usage/usage-logs-and-costs.md).

# Usage Logs and Costs

Use **Usage Logs** to review API requests, consumption, costs, latency, status, and error information.

This page can help you verify request costs, investigate failed requests, and identify unexpected API usage.

***

### Open Usage Logs

In the ApiSmart Console, open:

```
Console → Usage Logs
```

<figure><img src="/files/tDmahZvS6LHqT5lN6sGT" alt=""><figcaption></figcaption></figure>

The top of the page displays an overview of recent API activity.

| Metric               | Description                              |
| -------------------- | ---------------------------------------- |
| **Total Cost ($)**   | Total API cost for the selected period   |
| **Total Tasks**      | Number of recorded API requests or tasks |
| **Avg Latency (ms)** | Average request latency                  |
| **Success Rate**     | Percentage of successful requests        |

***

### Filter Usage Records

Use the available filters to locate specific requests:

* **Date**
* **Token Name**
* **Model Type**
* **Model Name**
* **Billing Mode**
* **Status**

<figure><img src="/files/6iDwZyHwzNZK9pQGcd4M" alt=""><figcaption></figcaption></figure>

Select **Search** to apply the filters or **Reset** to clear them.

You can also use **Export Selected** to export selected records when needed.

***

### Review Request Details

The Usage Logs table may include:

| Field             | Description                             |
| ----------------- | --------------------------------------- |
| **Request ID**    | Identifier for the request              |
| **Time**          | Time the request was recorded           |
| **Token Name**    | API Token used for the request          |
| **Model**         | Model that processed the request        |
| **Type**          | Request or model type                   |
| **Billing Mode**  | Billing method used                     |
| **Duration (ms)** | Request processing time                 |
| **Consumption**   | Billable usage recorded for the request |
| **Cost**          | Cost charged for the request            |
| **Status**        | Request result                          |
| **Error Message** | Error details when available            |

> **Consumption** is model-specific. It may represent text usage, generated images, video duration, or another billing unit depending on the selected model.

For pricing details, see [**Understand Model Pricing and Billing**](/models-and-pricing/model-pricing-and-billing.md).

***

### Review Request Costs

To verify the cost of a request:

1. Find the request in **Usage Logs**.
2. Confirm the **Model** and **Billing Mode**.
3. Review **Consumption** and **Cost**.
4. Compare the result with the model’s current **Price Configuration**.

For video, image, and language models, billing units may differ.

***

### 🛠️ Troubleshoot with Usage Logs

If a request fails or costs more than expected, review:

* **Request ID**
* **Model**
* **Token Name**
* **Consumption**
* **Cost**
* **Status**
* **Error Message**

If you see usage you do not recognize, check which **API Token** generated the request and disable the affected Token if necessary.

See [**Secure Your API Tokens**](/api-tokens/secure-your-api-tokens.md) for additional security guidance.

> 🔐 Never provide your full API Token to support.

***

### 🚀 Next Steps

Continue with:

* [**Understand Model Pricing and Billing**](/models-and-pricing/model-pricing-and-billing.md)
* [**View Your Balance and Transaction Records**](/account-and-wallet/view-your-balance-and-transaction-records.md)
* [**Create and Manage API Tokens**](/api-tokens/create-and-manage-api-tokens.md)
* [**Secure Your API Tokens**](/api-tokens/secure-your-api-tokens.md)
* [**API Basics**](/api-guides/api-basics.md)
