Models

Returns usage statistics grouped by models.

Returns usage statistics grouped by models.

get/stats/usage_by_model

Request

Query parameters

intervalstring required

The length of an interval for which the stats will be obtained. The interval ends now.

Response

Successful operation

llm_namestring required
llm_costnumber double required
call_countinteger required
input_tokensinteger required
output_tokensinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.