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

# 用量与分析

> 监控 API 用量、成本和模型分布。

用量页面让你全面掌握 API 消耗、成本和性能情况。

## 可用指标

* **请求总数** — 按天、周、月统计，附带趋势图
* **成本明细** — 按模式、模型和已启用技能划分
* **模型分布** — 处理你请求的 Theo 引擎分布情况(饼图)
* **延迟百分位** — p50、p95、p99 响应时间
* **缓存命中率** — 由语义缓存提供服务的请求占比
* **令牌消耗** — 提示令牌与补全令牌对比
* **错误率** — 4xx 与 5xx 响应明细

## 筛选

可按以下条件筛选用量数据：

* **日期范围** — 自定义起止日期
* **API 密钥** — 查看特定密钥的用量
* **模式** — 按 `fast`、`think`、`code` 等筛选
* **技能** — 查看各技能对用量的贡献

## API 访问

所有仪表盘指标同样可通过 REST API 获取：

```bash theme={null}
curl "https://www.hitheo.ai/api/v1/usage?from=2026-04-01&to=2026-04-14" \
  -H "Authorization: Bearer $THEO_API_KEY"
```

详见 [Get Usage](/api-reference/usage/get)。


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