概覽
這個端點返回所選 API Key 的消費帳單聚合結果,包括總費用、總請求數、按計量單位拆分的用量,以及按請求中的模型名(model)、廠商、scene、accessChannel、快取類型統計的拆分與按天費用趨勢。
注意事項
- 儲值、發票等組織級財務流水不會包含在這裡。
範例
請求 / 回應
使用上方的互動式 OpenAPI 面板以取得確切的架構。Response example
Important fields
API key summary using the same fields as list/create/update responses.
Aggregated totals for the selected filters.
Aggregated breakdowns for the selected filters.
Total request count.
Total cost in USD as a JSON number for display.
Exact total cost in USD as a decimal string.
Total prompt tokens.
Total completion tokens.
Total tokens.
Usage quantity grouped by usage unit.
Breakdown by requested public model.
Breakdown by logical public model.
Breakdown by public model vendor.
Breakdown by public request scene.
Breakdown by
platform or byok access channel.Daily cost trend.