Skip to content

Usage Statistics

Usage Statistics shows the model call usage and request details within the current workspace. You can filter the data by API key, called model, and time range, view usage trends, and export call request records.

View Usage Statistics

  1. Sign in to LLM Studio and select the workspace to view.
  2. In the left navigation, click Usage Statistics.
  3. Set the filters at the top of the page:

    • API Key: select the API key to view, or choose all.
    • Model: select the model to view, or choose all.
    • Time Range: select Last 1 Hour, Last 1 Day, or Last 2 Weeks, or set a start and end time.
    • Sampling Interval: in the time range selection window, choose the sampling interval of the statistics chart, then click Confirm.
  4. View the total usage statistics and model usage statistics on the page. Click the refresh button to the right of the filter bar to reload the data.

The Total Statistics area shows the total calls, total input, and total output under the selected conditions, in thousands of tokens. 1 thousand tokens equals 1,000 tokens.

The Model Usage Statistics area shows the usage of each model over time as a line chart. You can click Total, Input, or Output at the top right of the chart to switch metrics. The legend at the bottom of the chart distinguishes different models.

View Call Request Details

On the Usage Statistics page, scroll down to Call Request Statistics to view the record of each call request, including request time, request ID, called model, API key, user, status code, and the total, input, and output tokens.

You can filter requests by Status Code above the list, for example to view requests with status code 200 or 400. Click the refresh button at the top right of the list to reload it; use the pagination controls at the bottom of the list to change pages or adjust the number of items per page.

Export Call Request Records

  1. Set the API key, model, and time range at the top of the page as needed, and set the status code filter in the Call Request Statistics area.
  2. Click Export at the top right of the list.
  3. Choose the CSV or Excel format to download the call request records.

Note

The number of exported records and the file size are limited. If the export fails, shorten the time range or add filters and try again.

Comments