Skip to main content

Overview

This endpoint returns consumption-only billing aggregates for the selected API key, including total cost, total requests, usage unit breakdowns, and breakdowns by requested model name (model), vendor, scene, accessChannel, cache class, plus a daily cost trend.

Notes

  • Recharge, invoices, and other organization-level financial records are intentionally excluded.
  • Monetary response fields remain available in USD and now also include RMB display companions such as total_cost_cny and per-breakdown cost_cny.
  • api_key.exchange_rate is the USD→CNY rate used for all *_cny values in that response.

Request / Response

Use the interactive OpenAPI panel above for the exact schema.