Ikhtisar
Endpoint ini mengembalikan agregat billing berbasis konsumsi untuk API key yang dipilih, termasuk total biaya, total request, usage per unit penagihan, serta breakdown berdasarkan nama model yang dikirim di permintaan (model), penyedia, scene, accessChannel, kelas cache, dan tren biaya harian.
Catatan
- Top-up, invoice, dan catatan keuangan tingkat organisasi lainnya tidak termasuk.
Contoh
Permintaan / Respons
Gunakan panel OpenAPI interaktif di atas untuk skema yang tepat.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.