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

# 用量与账单

Usage 页面用于查看调用记录、统计数据、模型分布、趋势和错误请求。

入口：<https://aigateway.akile.ai/usage>

## 可查看的数据

* 调用记录列表。
* 指定 API Key 的用量。
* 按时间范围统计。
* Dashboard 用量趋势。
* 模型调用分布。
* 错误请求列表和详情。
* 单个 API Key 的每日用量。

## 常见筛选方式

* 按 API Key 筛选：定位某个项目或环境的消耗。
* 按日期范围筛选：查看某段时间的成本。
* 按模型查看：分析模型使用占比。
* 查看错误请求：定位失败原因。

## 成本排查

如果余额消耗异常：

1. 先看 Dashboard 趋势是否有峰值。
2. 按 API Key 拆分用量。
3. 查看模型分布，确认是否调用了高成本模型。
4. 检查是否有异常错误重试。
5. 给异常 Key 设置额度或暂时禁用。

## 余额提醒

站点已开启余额低额提醒。默认低余额阈值由平台配置决定，收到提醒后应及时充值、兑换或调整调用策略。


---

# 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 dynamically by asking a question.

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

```
GET https://ai-docs.akile.ai/kong-zhi-tai/usage-and-billing.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
