Export usage to CSV
Download every request in a period as a CSV file for your own reports.
- Open app.nexrouting.com/usage and choose the period, and a model or key if you like.
- Choose Export CSV. The file has every request that matches.
There is one row per request, with these columns:
- time_utc
- When the request came in, in UTC.
- request_id
- The ID from the
x-request-idheader. - model, lane
- The model ID and the lane: standard or eco.
- key, source
- The name of the key, and where the request came from: api or playground.
- endpoint
- For example chat/completions or messages.
- input_tokens, output_tokens, cached_tokens
- The tokens of the request.
- cost_usd
- The cost in US dollars, with six decimals.
- latency_ms, status, stream
- How long it took, the status code, and whether it was streamed.
The file is UTF-8 and opens in Excel and Google Sheets.