> ## 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.