Skip to main content
The Cost endpoint returns aggregated inference cost metrics from the Aria Compute ROUTER. Use it to analyze spending patterns across users, models, and entrypoints over a selected time window. Results can be grouped by dimensions you choose via query parameters. All authenticated callers may access this endpoint.

Endpoint

Authentication

Authenticate with a session cookie or pass Authorization: Bearer <api-key>.

Query Parameters

string
Start of the time range in ISO 8601 format.
string
End of the time range in ISO 8601 format.
string
Comma-separated grouping dimensions. Supported values: user, model, entrypoint.

Response

array
Cost aggregation rows.