Genel Bakış
Bu uç nokta, seçilen API anahtarı için tüketime dayalı faturalandırma toplamlarını döndürür. Buna toplam maliyet, toplam istek sayısı, faturalandırma birimine göre kullanım ile istekte gönderdiğiniz model adı (model), sağlayıcı, scene, accessChannel, cache sınıfı ve günlük maliyet eğilimine göre kırılımlar dahildir.
Notlar
- Yükleme, fatura ve kuruluş düzeyindeki diğer finansal kayıtlar dahil değildir.
Örnek
İstek / Yanıt
Kesin şema için yukarıdaki etkileşimli OpenAPI panelini kullanın.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.