Tổng Quan
Endpoint này trả về các tổng hợp billing theo mức tiêu thụ cho API key đã chọn, bao gồm tổng chi phí, tổng số request, usage theo đơn vị tính phí và breakdown theo tên model được gửi trong request (model), nhà cung cấp, scene, accessChannel, loại cache, cùng xu hướng chi phí theo ngày.
Ghi Chú
- Nạp tiền, hóa đơn và các bản ghi tài chính ở cấp tổ chức sẽ không được đưa vào.
Ví Dụ
Yêu Cầu / Phản Hồi
Sử dụng bảng điều khiển OpenAPI tương tác ở trên để xem schema chính xác.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.